Mitsubishi Electric Q Series Programming Manual page 318

Motion controller
Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

6 MOTION PROGRAMS FOR POSITIONING CONTROL
[Program Example]
Jump to
N230
Jump to
N260
The program for which jumps the specified sequence No. if the condition is satisfied.
O00201 ;
N200 G91 ;
N210 G01 X100. Y100. F2000. ;
X200. ;
Y200. ;
IF [#@100] GOTO230 ;
N220 G01 Y300. F1500. ;
X300. ;
N230 G02 X50. Y50. I0. J50. F800. ;
N240 G01 X100. Y500. F2000. ;
IF [#@110 EQ 180] GOTO260 ;
N250 G00 X10. ;
Y100. ;
N260 G28 X0. Y0. ;
M02 ;
%
REMARK
Only one comparison instruction may be used in one block.
(If #@100 is true, execution jumps to N230.)
(If #@110 is 180, execution jumps to N260.)
6 - 131

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173hcpuQ172hcpu

Table of Contents