Hi ordibeheshd. The alarm is triggered when somewhere in the code it wants the machine to move past the limits set on the machine by the machine maker

If you ran that G code before and it worked maybe there is a shift on your G54 location (or whatever other start point you entered)? Also if that was set properly could you have entered an external shift by mistake in the offset/setting page? Look through the code and check where the alarm triggers and how high it wants the Z axis to move. Please let me know what you find.