Mitsubishi Electric M700V Series Programming Manual page 540

Hide thumbs Also See for M700V Series:
Table of Contents

Advertisement

14. Coordinates System Setting Functions
(Example 5) Program example when continuously using 48 sets of added workpiece coordinate
P8
P7
P9
P10
P24
P23
P25
P26
P40
P39
P41
P42
L1000
G28 XYZ ;
Reference position return
#100=1 ;
Initialize added workpiece coordinate system
subprogram No.
G90 ;
Absolute value mode
WHILE [#100LE48]D01 ;
Repeat subprogram No. to 48
G54.1 P#100 ;
Set workpiece coordinate system
G22 L1001 ;
Call sub-program
#100=#100+1 ;
Subprogram No. +1
END1 ;
G28 Z ;
Return to reference position
G28 XY ;
M02 ;
14.10 Workpiece Coordinate System Setting and Offset
system offsets.
In this example, the offsets for each workpiece are set beforehand in P1 to P48 when
48 workpieces are fixed on a table, as shown in the drawing below.
P6
P5
P11
P12
P22
P21
P27
P28
P38
P37
P43
P44
P2
P4
P3
P15
P13
P14
P18
P20
P19
P31
P29
P30
P34
P36
P35
P47
P45
P46
L1001
G43 X-10.Y-10.Z-100.H10.; Contour
G01 X-30.;
Y-30.;
X-10.;
Y-10.;
G00 G40 Z10.;
G98 G81·X-20.Y-15.Z-150.R5.F40; Drilling
X-25.Y-20.;
X-20.Y-25.;
X-15.Y-20.;
G80 ;
G23 ;
528
P1
P16
P17
P32
P33
P48

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents