Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual page 142

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

Advertisement

■Program that positions to a specified position from the position of the local coordinate
system offset of multiple work coordinate systems
• Work coordinate system offset setting amount
Address
Offset setting amount
Work coordinate system 1 (G54)
X
1000
Y
500
Operation
Program
(1)
G90 G54 X0. Y0. F100.
(2)
G52 X1500. Y500.
(3)
G00 X0. Y0.
(4)
G01 X500.
(5)
Y500.
(6)
G55 G00 X0. Y0.
(7)
G01 X500.
(8)
Y500.
(9)
G54 G00 X0. Y0.
(10)
G52 X0 .Y0.
(11)
G00 X0. Y0.
Y
3500
1000
3000
500
(2)
2500
2000
1500
1000
1000
500
(2)
500
(1)
500
1000
• Local coordinate system is created by (2) at the position of "X1500, Y500" of work coordinate system 1. (Local coordinate system is not created in work
coordinate system 2)
• Move to "X0, Y0" of local coordinate system of work coordinate system 1 by (9).
• Local coordinate offset is cancelled by (10), and the coordinates match the coordinate system of (1).
5 G-CODE CONTROL PROGRAMS
140
5.6 G-Code
Y
(8)
(7)
500
1000
1500
(6)
Y
Y
(9)
500
(4)
(3)
(10)
(11)
500
1000
1500
1500
2000
2500
Work coordinate system 2 (G55)
1000
2500
Remarks
Move to "X0, Y0" of the work coordinate system 1 by absolute value command
Set the local coordinate system offset "X1500, Y500" (no axis movement)
Move to "X0, Y0" on the local coordinate system
Move to "X500, Y0" on the local coordinate system
Move to "X500, Y500" on the local coordinate system
Move to "X0, Y0" on the work coordinate system 2
Move to "X500, Y0" on the work coordinate system 2
Move to "X500, Y500" on the work coordinate system 2
Move to "X0, Y0" on the local coordinate system of work coordinate system 1
Cancel the local coordinate system offset (no axis movement)
Move to "X0, Y0" on the work coordinate system 1
X
Work coordinate system 2
(5)
X
500
1000
Local coordinate system
X
Work coordinate system 1
X
2500
2500
Basic machine coordinate
[Unit: mm]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents