![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367644.webp)
599
Program Example
Section 10-1
Program
(Master axis)
01) PROG P025 Q00000001;
02) STOPMODE;
03) MOVEL [J01]50000 F500000;
04) NOPS;
05) #MW0000 = 1;
06) MOVEL [J01]100000;
07) MOVEL [J01]150000 F1000000;
08) NOPS;
09) #MW0000 = 0;
10) MOVEL [J01]200000;
11) DWELL T3000;
12) #MW0001 = 1;
13) WAIT #MW0002 = = 1;
14) MOVEL [J01]0;
15) #MW0001 = 0;
16) END;
Program
(Slave axis)
01) PROG P026 Q00000002;
02) PARALLEL N2;
03) MOVEL [J02]200000 F500000;
04) JOINT;
05) WAIT #MW0000 = = 1;
06) ADDAX [J02] [J01];
07) WAIT #MW0000 = = 0;
08) ADDAXR [J02];
09) JWAIT;
10) DWELL T3000;
11) WAIT #MW0001 = = 1;
12) #MW0002 = 1;
13) MOVEL [J02]0 F1000000;
14) #MW0002 = 0;
15) END;
Explanation of the
program
(Master axis)
01) A program No. and axes to be used are specified.
02) Stop Mode is selected.
03) The master axis moves to the position 50000 at 500 rpm.
04) to 05) After positioning is completed, 1 will be output to the global general
variable (MW0000).
Master axis
Slave axis
Superimposed only for this interval
ADDAX
command
ADDAXR
command
Содержание 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 ...