I have discovered that although the sequence HomeX, HomeY, HomeZ works as expected, a call to Home All, does not work the same way.
In particular, my G31 settings in the config.g file are respected by homez.g but not by homeall.g.
The issue is that homeall causes the head moves too far to the right pushing the proximity sensor beyond the white tape, causing the head to crash into the bed, catastrophically.
The workaround is to never use home all!
I would attach my config.g, homex.g homey.g, homez.g and homeall.g files, but I do not have permission. Contact me if needed.
Cheers,
Bob