Modulo programming in absolute coordinates
Programming examples
G90 G1 C+350 ó Go to the position 350 in + direction
P1 =+10
G90 G1 C+P1 ó G1 C+10 ó Go to the position 10 in +direction
P1= -350
G90 G1 C-P1 ó G1 C-(-350) ó G1 C-10 ó Go to position 10 in - direction
G90 G1 C+450 ó G1 C+(450 mod 360) ó Go to position 90 in + directionj
Examples for correct programming:
C+200 Rotate in positive direction to position 200
C-200 Rotate in negative direction to position 200
C+-200 Rotate in positive direction to position -200 (= +160)
C+[-200] Rotate in positive direction to position -200 (= +160)
C--200 Rotate in negative direction to position -200 (= +160)
C-[-200] Rotate in negative direction to position -200 (= +160)
C200 Rotate in shortest way to position 200
C[+200] Rotate in shortest way to position 200
C[-200] Rotate in shortest way to position -200
Examples for incorrect programming:
None, because the first sign after the axis name determines the direction of rotation and every additional sign belongs to the position expression.
Notice | |
The programming of two signs (direction and position) is only allowed, if the mode of the axis is "Modulo" (P-AXIS-00015)[2]-9. The positioning in shortest way is done if no sign is programmed directly after the axis name. |