720 HEIDENHAIN Technical Manual MANUALplus 620
Module 9035 Read NC status information
Module 9035 reads status information. A function number specifying the
desired status information is transferred.
Function number 19: Display active line in the *.CMA file
Call:
PS B/W/D/K <>19>
Display active line of the *.CMA file
CM 9035
PL B/W/D <>Active line number>
0: Line number
–1: No *.CMA file active
Error recognition:
Special case:
Modulo rotary axis
For a rotary axis with modulo counting method (MP_isModulo = TRUE), only
the compensation values for the entries of 0° to +360° are effective, relative
to the machine datum. Therefore, the datum for the nonlinear compensation
must lie within the 0° to +360° range. To compensate a full circle, set the
compensation value datum to the machine datum.
This special case does not apply to rotary axes without modulo counting
mode. Compensation values in the *.COM table can also have negative values
on rotary axes without modulo counting method.
Special case:
Master and slave
axes
Separate compensation tables can be created for master axes and slave axes.
The line number is displayed even if the active line does not contain any
*.COM file.
Marker Value Meaning
NN_GenApiModule
Error
0 No error
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
1 The transferred input parameter does not
identify any status information available with
the software version being used.
20 Information which is only available in a
submit/spawn job was requested in the
cyclic PLC program.