new machine DMU 80 evo with itnc 530 using hedienhain code.

The controller won't read an M1 (does fine with M0)
Is there anyway to optinal stop a program?
I'm new to programming outside of regular G code

Any help would be appreciated