PROGRAMMING
B–63664EN/02
17. AXIS CONTROL FUNCTIONS
331
The roll–over function prevents coordinates for the rotation axis from
overflowing. The roll–over function is enabled by setting bit 0 of
parameter ROAx 1008 to 1.
For an incremental command, the tool moves the angle specified in the
command. For an absolute command, the coordinates after the tool has
moved are values set in parameter No. 1260, and rounded by the angle
corresponding to one rotation. The tool moves in the direction in which
the final coordinates are closest when bit 1 of parameter RABx No. 1008
is set to 0. Displayed values for relative coordinates are also rounded by
the angle corresponding to one rotation when bit 2 of parameter RRLx No.
1008 is set to 1.
Assume that axis A is the rotating axis and that the amount of movement
per rotation is 360.000 (parameter No. 1260 = 360000). When the
following program is executed using the roll–over function of the rotating
axis, the axis moves as shown below.
G90 A0 ;
Sequence
number
Actual
movement
value
Absolute coordinate
value after movement
end
N1 G90 A–150.0 ; N1 –150 210
N2 G90 A540.0 ; N2 –30 180
N3 G90 A–620.0 ; N3 –80 100
N4 G91 A380.0 ; N4 +380 120
N5 G91 A–840.0 ; N5 –840 0
Relative
coordinate value
–720°
–0°
–360°
–0° –0°
–0°
360°
–0°
N1
N2
N3
N4
N5
210°(Absolute)
180°
100°
120°
Absolute
coordinate value
17.2
ROTARY AXIS
ROLL–OVER
Explanations
Examples