622 HEIDENHAIN Technical Manual iTNC 530 HSCI
Current tool axis You can define the current tool axis in two ways in the NC block:
 In the HEIDENHAIN conversational dialog with TOOL CALL
 In ISO programming with G17 to G20
In the PLC you can interrogate the current tool axis via markers (only axis 0 to 
9) or via module: This information is only available after each tool call with 
"TOOL CALL," and is then updated after each tool call.
Module 9035 Read status information (current tool axis)
Call:
PS B/W/D/K <100>
CM 9035
PL B/W/D <Current tool axis>
 0 to n: Axes 1 to n+1
–1: No information exists about the current tool axis
Error code:
Set Reset
M4526 Axis 1 is tool axis NC NC
M4527 Axis 2 is tool axis NC NC
M4528 Axis 3 is tool axis NC NC
M4529 Axis 4 is tool axis NC NC
M4530 Axis 5 is tool axis NC NC
M4531 Axis 6 is tool axis NC NC
M4532 Axis 7 is tool axis NC NC
M4533 Axis 8 is tool axis NC NC
M4534 Axis 9 is tool axis NC NC
Marker Value Meaning
M4203 0 No error
1 Error code in W1022
W1022 1 Status information invalid