
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
Summary of Contents for CS1W-MCH71 -
Page 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Page 3: ...iv ...
Page 29: ...xxx ...
Page 33: ...xxxiv ...
Page 35: ...xxxvi ...
Page 39: ...xl ...
Page 69: ...24 Performance Section 1 7 ...
Page 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Page 283: ...238 Saving Data Section 5 4 ...
Page 417: ...372 Command Details Section 6 3 ...