Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual page 155

Motion controller, g-code control, melsec iq-r series
Hide thumbs Also See for MELSEC iQ-R16MTCPU:
Table of Contents

Advertisement

Operation
Program
(5)
Y10.
(6)
G69
(7)
M02
• After a G68 command, generally command two axes on the rotated plane using an absolute value. When the first
movement command after coordinate rotation is for one axis only, the operation differs according to the G-code control
work parameter "Coordinate rotation type".
G-code program
0: Coordinate rotation type 0
(1) N02 G90 G53 X0. Y0.
Only the commanded axis in (3) (X-axis) moves.
(2) G68 X40. Y0. R90.
(3) X50.
(4) Y50.
(5) G69
(6) M02
• After a G68 command, generally command two axes on the rotated plane using positioning/linear interpolation by absolute
value. When the first movement command after coordinate rotation is a circular interpolation command, make a movement
command to the position of the start point by positioning/linear interpolation, even when the circular interpolation command
does not result in any movement. When a circular interpolation command is made immediately after coordinate rotation, the
operation differs according to the G-code control work parameter "Coordinate rotation type".
G-code program
0: Coordinate rotation type 0
(1) N02 G90 G53 X0. Y0.
The starting point of circular interpolation does not rotate
(2) G68 X40. Y0. R90.
with coordinate rotation and is the same position before
(3) G03 X50. R-26. F500
coordinate rotation when viewed from the basic machine
(4) G00 Y50.
coordinate system. Thus circular interpolation is performed
(5) G69
from this start point to the end point.
(6) M02
0: Coordinate rotation type 0
Y
(X''20, Y''30)
Work
coordinates
The commanded Y-axis moves on the rotated coordinate
system.
*: Axes with no movement command do not move.
Y
(4)
(3)
Local
50
Start
coordinates
point
before rotation
Local coordinates
after rotation
Y
(3)
(4)
Local
50
Start
coordinates
point
after rotation
Local coordinates
after rotation
1: Coordinate rotation type 1
(X''20, Y''10)
X
(X''10, Y''30)
Local coordinates
The commanded Y-axis moves on the rotated coordinate
system.
*: Axes with no movement command move to the
position on the rotated coordinate system.
1: Coordinate rotation type 1
Operation in (3) is the same as a "X50. Y0." command.
X
Center of
rotation
The start point
is virtually
rotated
1: Coordinate rotation type 1
When rotated with coordinate rotation, the position of the
virtually rotated start point and the actual position of the axis
are different when viewed from the basic machine
coordinate system. Therefore the axis cannot move along
the path of circular interpolation from the start point to the
end point, and a minor error (error code: 1FC3H (details
code: 0313H)) occurs.
X
Actual
Center
position
of rotation
of axis
Start point
is rotated
virtually
5 G-CODE CONTROL PROGRAMS
(X''20, Y''10)
Y
(X''20, Y''-10)
Work
coordinates
Local coordinates
Y
(4)
(3)
X
Local
50
coordinates
Center of
before rotation
rotation
Local coordinates
after rotation
Start point
Cannot complete the movement
Y
and a minor error occurs
(4)
(3)
X
Local
50
coordinates
Center
before rotation
of rotation
Local coordinates
Start
after rotation
point
5.6 G-Code
X
5
153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents