![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367634.webp)
589
Program Example
Section 10-1
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.
10-1-14 Interrupt Feeding (MOVEI)
Explanation of the
operation
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.
Program
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;
Explanation of the
program
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.
ON
OFF
External
input
Axis
movement
Origin
return
Interrupt feed
amount
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.
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...