6 - 11
6 MOTION PROGRAMS FOR POSITIONING CONTROL
Example for structure of program start/end
O10;
CALL P20;
GOSUB P21;
M02;
%
End
O11;
CALL P22;
GOSUB P23;
M02;
%
Return
O12;
G0 X10.Y10.;
G1 X20.Y20.F100;
M98 P24;
M02;
%
End
O13;
G0 V10.Z10.;
G1 V20.Z20.F100;
M98 P25;
M02;
%
Return
Control program
O24;
G0 X30.Y30.;
G1 X40.Y40.F100;
;
M99;
%
Return
O25;
G0 V30.Z30.;
G1 V40.Z40.F100;
M99;
%
Return
O20;
M02;
%
End
O21;
M02;
%
Return
O22;
M02;
%
End
O23;
M02;
%
Return
O1;
CALL P10;
GOSUB P11;
CALL JXJY P12;
GOSUB JVJZ P13;
M02;
%
Call
Start
Axis designation
program