Omron CS1W-MCH71 MOTION CONTROL UNIT - 09-2004 Manual page 572

Motion control unit
Hide thumbs Also See for CS1W-MCH71 MOTION CONTROL UNIT - 09-2004:
Table of Contents

Advertisement

Program Example
10-1-20 Electronic Shaft (CONNECT)
Explanation of the
operation
Master
axis
Slave
axis
Program
06) The program will wait until the general input (IW0B01) becomes 1.
07) The slave axis performs 1 cycle of the cam operation based on the cam
table 1 while the master travels for 60000.
(The slave axis will start cam operation once the master reaches the posi-
tion 15000.)
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).
11) The program advance will be held until the general input (IW0B01)
becomes 0.
12) The general output (OW0BA0) is cleared to 0.
13) The present position of the master axis is entered into the position data
for the workpiece coordinate.
14) This is the end of WHILE command from 03).
15) The program is completed.
• The slave axis operates based on the specified gear ratio while synchro-
nizing to the master axis.
• In this example, the operation of the master axis is divided into 3 intervals.
The gear ratio for the slave axis against the master axis is changed to 1/2,
1, and 2 with CONNECT command. The operation is held for 3 seconds
between intervals.
Interval 1
×1/2 speed
01) PROG P022 Q00000003;
02) CONNECT [J02]1 [J01]2;
03) MOVEL [J01]50000 F500000;
04) DWELL T3000;
05) CONNECT [J02]1 [J01]1;
06) MOVEL [J01]100000;
07) DWELL T3000;
08) CONNECT [J02]2 [J01]1;
09) MOVEL [J01]150000;
10) DWELL T3000;
11) SYNCR [J02];
12) MOVE [J01]0 [J02]0;
13) END;
Interval 2
×1 speed
3-sec wait
Section 10-1
Interval 3
×2 speed
549

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Sysmac cs-series

Table of Contents