638 HEIDENHAIN Technical Manual iTNC 530 HSCI
Call:
PS K/B/W/D/S<Coupling function>
PS K/B/W/D <Coupling axis>
PS K/B/W/D <Mode>
Bit 0 = 0 Coupling function not active
Bit 0 = 1 Coupling function active
CM 9228
PL B/W/D <Error codes>
0: Coupling function is activated/deactivated
1: Invalid axis programmed (invalid axis number, no auxiliary
axis, slave axis)
2: Invalid mode programmed
3: Axis has not yet been homed
4: Invalid PLC string programmed as formula
5: Programmed axis not in closed loop
6: Auxiliary-axis positioning (Module 912x) or free rotation
(Module 9223) active
7: Coupling function is already active for programmed axis
Error code:
;Example: Activate coupling function
L S"X*2“
= SG_CouplingFunction
PS K &SG_CouplingFunction
PS k+3
PS k %01
CM 9228
PL DL_Return_value
;Example: Deactivate coupling function
PS K &SG_CouplingFunction
PS k+3
PS k %00
CM 9228
PL DL_Return_value
Marker Value Meaning
M4203 0 No error
1 Error code in W1022 (also see return values of the
module)
W1022 1 Invalid mode programmed
2 Invalid axis or open-loop axis programmed, positioning
of auxiliary axes (Module 912x) or free rotation
(Module 9223) active
11 Invalid PLC string programmed as formula
28 Coupling function is already active for programmed
axis
33 Axis not yet referenced