646 HEIDENHAIN Technical Manual iTNC 530 HSCI
Error code:
PLC positioning
through markers
and words
To ensure compatibility, a PLC positioning command is permissible for axes 1
to 9 with M4120 to M4128, D528 to D544 and W560 to W568.
Programming:
Enter the target position in the double words D528 to D544 in the unit
[0.0001 mm].
Enter the feed rate in words W560 to W568 [mm/min].
To start the PLC positioning movement: Set markers M4120 to M4124 for
the desired axis.
Marker Value Meaning
M4203 0 Function performed
1 Error code in W1022
W1022 1 Invalid axis programmed
2 Invalid mode, feed rate, acceleration or jerk
programmed, axis is in an open loop (Module 9155) or
absolute position is outside of modulo range
9 Axis is already being positioned
21 Program run, no NC-strobe output
33 Axis has not traversed the reference mark
Software limit switches are ignored!
Set Reset
D528-544 Target position for PLC positioning PLC PLC
W560-568 Feed rate for PLC positioning PLC PLC
M4120 PLC positioning axis 1 active NC/PLC NC/PLC
M4121 PLC positioning axis 2 active NC/PLC NC/PLC
M4122 PLC positioning axis 3 active NC/PLC NC/PLC
M4123 PLC positioning axis 4 active NC/PLC NC/PLC
M4124 PLC positioning axis 5 active NC/PLC NC/PLC
M4125 PLC positioning axis 6 active NC/PLC NC/PLC
M4126 PLC positioning axis 7 active NC/PLC NC/PLC
M4127 PLC positioning axis 8 active NC/PLC NC/PLC
M4128 PLC positioning axis 9 active NC/PLC NC/PLC