My now machine stops between program but the green light of start program button still on (it should be off when the machine stops running). i tried very simple program and it still didn't work.
( like: G40 G49 G80;
G50 G90 G00 X0. Y0. S2000;
G44 H1 Z2.0 M03; MACHINE IS STOPPED RIGHT HERE
Z0.;
G01 ..... )

I turned on the lock machine switch on the control and ran the program without running table and spindle, everything was ok. But when tried to run the machine with lock machine switch off it stopped between the program again.

please help me. Any idea always is helpful to me right now.