Haven't seen this before

Home machine…tool set…load program…check x/y location…all good…move to side and check z…all good. Looked over g-code…all looks good in relation to alignment… Push start and it goes up in z til limit switch and shuts down with this error. Anyone seen this before? Went back couple of times making sure alignment was good on part. Even at “go to x/y” & “z” shows on screen correct probe to part origin. Looked over program several times…all moves are in relation to the part origin. Don’t know why it’s going straight up in z until faults. And…there is no going back…have to do full shut down to clear this… frustrating!

Can you post a pic of the work are? Also the g-code?

Yes… here is current machine/ setup and the first 33 lines of code. 34 and up just x/y/z movements during machining. Can post fusion file if need be. Error happens just before it tries to turn spindle on. It crashed before but now spindle tries to turn on but errors out.

Update: this was in relation to the flood Coolant signal and stupid me plugging the control box in the normally on plug. When cut control sent M8… committed suicide. All is good now once I took the stupid human factor out of it.