Omron CS1W-MCH71 Operation Manual page 634

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Program Example
10-1-14 Interrupt Feeding (MOVEI)
Explanation of the
operation
ON
External
input
OFF
Axis
movement
Origin
return
Program
Explanation of the
program
11) The program advance will be held until the general input (IW0B02)
becomes 1.
12) The general output (OW0BA1) is cleared to 0.
13) This is the end of WHILE command from 02).
14) The program is completed.
Positioning of [J01] to 100000 is performed. (A position exceeding the target
position)
Turning ON an external input stops the axis with interrupt feeding.
When positioning of [J01] is completed, other axes start operating. When
other axes complete their operations, [J01] returns to the origin and 1 is out-
put to the general output.
When no external input is turned ON, [J01] returns to the origin without opera-
tion of other axes.
Interrupt feed
amount
01) PROG P018 Q00000003;
02) STOPMODE;
03) MOVEI [J01]100000 D40000 V300000;
04) WAIT #SW022A = = 1;
05) NOPS;
06) IF #SW022A = = 2;
07) MOVEL [J02]10000 F300000;
08) MOVE [J02]0;
09) ENDIF;
10) MOVE [J01]0;
11) NOPS;
12) #OW0BA0 = 1;
13) WAIT #IW0B00 = = 1;
14) #OW0BA0 = 0;
15) END;
01) A program No. and axes to be used are specified.
02) Stop Mode is selected.
03) The first travel distance (50000) is entered into the position data. (A posi-
tion exceeding the target position)
04) The program will wait until the system variable (SW022A) becomes 1.
(Latch being requested)
05) The program will wait for completion of positioning.
Section 10-1
When the external input is
turned ON, the axis stops at
X, and the axis returns to the
origin after other axes
complete their operations.
When no external input turns
ON, the axis stops at Y and
returns to the origin.
589

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents