![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367639.webp)
594
Program Example
Section 10-1
10-1-18 Link Operation (MOVELINK)
Explanation of the
operation
• Positioning is performed with a slave axis synchronizing to a specified
master axis.
• In this example, the master axis will start operating when the general
input becomes 1. The slave axis will start synchronization when the mas-
ter axis reaches the position 5000. In this synchronization, the slave axis
travels for 30000 while the master axis travels for 60000. 1 will be output
to the general output once the master axis reaches the position 90000.
The link operation is repeated with WHILE command.
Program
01) PROG P017 Q00000003;
02) #PL0010 = 0;
03) WHILE #IW0B00 <> 1;
04) OFFPOS C1 [J01]#PL0010;
05) WORK C1;
06) WAIT #IW0B01 = = 1;
07) MOVELINK [J02]30000 [J01]60000 A1000 D1000 Q5 I5000;
08) INC MOVEL [J01]90000 F300000;
09) NOPS;
10) #OW0BA0 = 1;
11) WAIT #IW0B01 = = 0;
12) #OW0BA0 = 0;
13) #PL0010 = #SL0206;
14) WEND;
15) END;
Explanation of the
program
01) A program No. and axes to be used are specified.
02) The position data used as a workpiece coordinate is cleared to 0.
03) When the general input (IW0B00) is not 1, the process through 03) to 14)
is repeated.
04) to 05) The workpiece coordinate system (C1) is enabled.
06) The program will wait until the general input (IW0B01) becomes 1.
07) The link operation, in which the slave axis travels for 30000 while the mas-
ter travels for 60000, is performed. The link start position is 5000.
(The slave starts synchronization once the master reaches the position
5000.)
08) The master axis moves from the present position to the position 90000
with linear interpolation.
09) to 10) After positioning is completed, 1 will be output to the general output
(OW0BA0).
Master axis
Slave axis
Link start position
Link distance
Содержание 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 ...