Program Example
Program
Program
Explanation of the
program
552
Master axis
Slave axis
ADDAX
command
(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;
(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;
(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 500rpm.
04) to 05) After positioning is completed, 1 will be output to the global general
variable (MW0000).
Superimposed only for this interval
Section 10-1
ADDAXR
command
Need help?
Do you have a question about the CS1W-MCH71 MOTION CONTROL UNIT - 09-2004 and is the answer not in the manual?
Questions and answers