1248 HEIDENHAIN Technical Manual MANUALplus 620
Interrogating the 
status of the NC 
program
Module 9429 Interrogate the status of the executed NC program
Use Module 9429 to interrogate the status of an NC program executed in an 
NC channel. 
Possible errors:
 The entered channel number is invalid
 The entered mode is invalid
 The entered string number is invalid
Call:
PS B/W/D/K <Number of the NC channel>
PS B/W/D <String number: Path name>
PS B/W/D/K <Mode>
0: Do not return a path name
1: Return the path name of the main program
2: Return the path name of the displayed program
3: Return the path name of the executed program
CM 9429
PL B/W/D <Status>
0: NC program is being run
1: NC program run is interrupted
2: NC program run has completed 
PL B/W/D <Substatus>
< of status 0: NC program is being run >
 0: Program not started yet
1: Program with external start is being run
2: Program with internal start is being run
3: System cycle is being run 
 
< of status 1: NC program run is interrupted >
0: Interruption due to external stop, silent emergency 
stop, error with "Stop" reaction
1: Interruption due to programmed stop
2 : Interruption at block end in the "Program Run, Single 
Block" operating mode
3: Interruption at end of the dry run
< of status 2: NC program run has completed >
0 : NC program run completed normally (M02 or 
END_PGM)
1: NC program run completely canceled by operator
2: NC program run canceled by operator
3: NC program run canceled by error with reaction 
"Cancel" 
4: NC program run canceled by emergency stop
5: NC program run canceled by programmed error
6: NC program run canceled due to program error 
PL B/W/D <Block number of the displayed NC program>
PL B/W/D <Help number, not yet supported>