Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 102
6 MOTION PROGRAMS FOR POSITIONING CONTROL
[Related Parameters]
Work coordinates system offset value : Specify the offset in the work coordinates
system using the distance from the basic
mechanical coordinates. (Refer to Section 5.4
for the work coordinate data.)
Up to six work coordinates systems can be set.
(Work coordinates systems 1 to 6)
[Program Example]
<Work coordinates system selection>
The program for which executes the positioning to the specified position in the work
coordinates system 1.
(The offset of the work coordinates system 1 is X500, Y500)
1) G90 ; (Absolute value command)
2) G28 X0. Y0. ; (Home position return)
3) G53 X0. Y0. ; (Axes travel to the basic mechanical coordinates
home position)
4) G54 X500. Y500. ; (Axes travel to the specified position in the work
coordinates system 1)
5) G91 G01 X500. F10. ; (Incremental value command positioning)
Y
Basic mechanical coordinates
Y
X
X
Work coordinates system 1
5)
4)
500
1000
500 1000 1500
500
500 1000
2)
3)
(Unit: mm)