Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual page 154

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

Advertisement

• Movement commands immediately after G68 command must be made in absolute value command mode. When made in
incremental value mode, a minor error (error code: 1FC3H (details code: 0327H)) occurs.
• The operation for the local coordinate system setting during program coordinate rotation can be selected by setting the G-
code work parameter "coordinate rotation type".
Coordinate rotation type
Coordinate rotation type 0
Coordinate rotation type 1
Ex.
When coordinate rotation type 0 and coordinate rotation type 1 are selected.
Operation
Program
(1)
G90 G53 X0. Y0.
(2)
G68 X20. Y0. R90.
(3)
G52 X10. Y10.
(4)
X20.
5 G-CODE CONTROL PROGRAMS
152
5.6 G-Code
Operation
The local coordinate home position becomes the position on the coordinate system after program coordinate rotation.
However, the direction of shift is based on the coordinate system before rotation.
The local coordinate home position becomes the position on the coordinate system before program coordinate
rotation and that coordinate system is rotated.
0: Coordinate rotation type 0
Y
Work
coordinate
Work coordinate
system is virtually
rotated
The work coordinate system is virtually rotated.
Y
Work
coordinates
Local coordinates
Local coordinate setting
(X0, Y0)
The work coordinate home position after rotation is
deemed as (X0, Y0), and the local coordinate home
position is the position after shifting 10 in the X-axis
direction and 10 in the Y-axis direction.
*: The shift direction is not based on the X'-axis and Y'-
axis.
Y
(X''20, Y''30)
Work
Start point
coordinates
(X''10, Y''30)
The commanded X-axis moves on the rotated coordinate
system.
*: Axes with no movement command do not move.
1: Coordinate rotation type 1
Y
X
Work coordinate
Center of rotation
Work coordinate
system after
rotation
Work coordinate
system
The work coordinate system is not rotated.
Local coordinate
setting
X
(X10, Y10)
Local coordinate system is set on the work coordinate
system.
(X''10, Y''30)
X
Local
coordinates
Start point is
virtually rotated
The commanded X-axis moves on the rotated coordinate
system.
*: Axes with no movement command move to the
position on the rotated coordinate system.
X
Y
Local coordinates
Work coordinates
Center of
Y
(X''20, Y''-10)
rotation
Work
coordinates
Local coordinates
Start point (X''-10, Y''-1
X
X

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents