Modified programming of modulo axis
This programming manual describes an extended modulo programming. This additional syntax supports the programming of the direction of rotation, the limiting to maximum one revolution in absolute dimensions and new variables for the check of actual modulo adjustments (Chapter 17.1).
<axis_name> [ [+] | - ] <expr>
<axis_name> Designation of modulo axis **.
<expr> The sign of the coordinate value describes the direction of rotation:
= - means rotation clock wise (cc)
+ means rotation counter clock wise (ccw)
no sign means rotation in direction of shortest way
The unit of the axis position is [Grad] or [mm]
**
Notice | |
Long axis designations are not supported (e.g. "C_MODULO"). |
Programming example
G90 G1 C+560 ó G90 G1 C+200 (Movement to reach pos. 200 in + direction,)
(Hypothesis : 360 deg. Modulo)
G90 G1 C-P1 (Go to position P1 (with implicit modulo) in direction)
Programming in absolute dimensions (G90):
- The value assigned to the axes is the position of the end point with reference to the program origin. (value between 0 and n degrees or mm, maximum one revolution).
- The value may be a numerical expression like : [3*2+5] , P1 , [P1+P2-3] , [-30].
- If programmed position = current position, no movement.
- The travel of a modulo axis is not limited by software stops.
Programming in incremental dimensions (G91)
- The value assigned to the axis indicates the amplitude of rotation of the axis with reference to the previous position. The sign of the value indicates the movement direction. A movement of more than one revolution is allowed.
- If the value is greater than the modulo value, the number of revolution is taken into account.
Further Information
See also