672 HEIDENHAIN Technical Manual MANUALplus 620
Constraints:
 An axis that is not configured as "active", or an axis that was set to the 
"deactivated axis" activation status (e.g. with Module 9226 or 9418), is 
treated as if it were not present.
 For an axis set to the "displayed axis" or "manually operated axis" activation 
status the status information codes 2 and 8 are meaningless, and return the 
value 0. The other status information codes return a value corresponding to 
the configuration or activation status.
Call:
PS B/W/D/K <>Axis>
Axis-specific: Index from CfgAxes/axisList
For all axes: –1
PS B/W/D/K <>Status information>
See table above
CM 9038
PL B/W/D <>Information>
Axis-specific: Status information according to table
For all axes: Bit-encoded
(Bit 0 corresponds to logic axis 0, etc.)
Error recognition: 
Marker Value Meaning
NN_GenApiModule
Error
0 Information was read
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
1 Status information not available
2 Axis not found