July 2013 6.1 Control loops 621
6.1.7 Reading axis information
Module 9038 Read general axis information
With Module 9038 you can interrogate the general status information of the 
axes. You can interrogate the status of a specific axis or of all axes at once. 
Bits 0 to 14 represent axes 1 to 15. Bit 15 represents the spindle (depends on 
MP4020 bit 14). If status information is read for only one axis, only bit 0 is 
changed. The following table shows the meanings of the return codes:
Call:
PS B/W/D/K <Axis>
Axis-specific: Dependence on MP4020 bit 14
Bit-encoded output for all axes: –1
PS B/W/D/K <Status information>
See table above
CM 9038
PL B/W/D <Information>
Error code:
Status 
information
Meaning
0 0: Axis (spindle) not active (MP10 or MP3010 or no encoder) 
1: Axis (spindle) active
1 Depending on the current traverse range: 
0: NC axis or not active 
1: PLC axis
2 0: No closed-loop axis (spindle), only display or not active 
1: Closed-loop axis (spindle)
3 Maximum temperature of the motor [°C]
4 0: Not a Hirth axis 
1: Hirth axis (MP420)
5 Hirth grid [1/10 µm] (MP430)
6 Modulo value (MP810)
7 0: Linear axis or not active 
1: Rotary axis in at least one of the traverse ranges
8 0: Analog axis (spindle) or not active 
1: Digital axis (spindle)
9 0: Not a slave axis 
1: Slave axis
Marker Value Meaning
M4203 0 Information was read
1 Error code in W1022
W1022 1 Status information not available on this iTNC
2 Axis not found