1244 HEIDENHAIN Technical Manual iTNC 530 HSCI
8.1.14 End of program run
If the program end is reached in the operating modes Program Run, Single
Block and Program Run, Full Sequence, the NC sets M4170. This marker is
reset with the next program start.
You can evaluate the information "Program end" during program run with pallet
changers, for example.
8.1.15 Returning to the contour
With HEIDENHAIN contouring controls you can resume an interrupted NC
program at a specified block number by scanning the previous blocks (see
"Mid-Program Startup" in the User's Manual).
If the program is aborted due to a power outage, and power-fail monitoring
is active, then after the Power interrupted message is acknowledged, the NC
program canceled message appears. The point of interruption is remembered,
and is offered for the mid-program startup.
Markers inform the PLC about individual conditions during mid-program
startup (block scan). Depending on these markers you can enable certain
functions such as the axis-direction buttons for MANUAL TRAVERSE.
M4156 is set if the MANUAL TRAVERSE soft key is pressed.
M4157 is set if the RESTORE POSITION soft key is pressed ("Return to Contour").
M4158 is set if the RESTORE POS. AT soft key is pressed. M4158 is reset if the
RESTORE POSITION or INTERNAL STOP soft key is pressed.
Set Reset
M4170 END PGM, M02 or M30 was executed NC NC
M functions M142 and M143 are not permitted with mid-program
startup.
If you perform a mid-program startup in a program containing M128, then
the TNC performs any compensation movements necessary. The
compensation movements are superimposed over the approach
movement.
You must enable these functions through machine parameters.
You must prepare the PLC program accordingly.