
!)+('()*(*2
Section 6-3
$)-
6-3
Positioning
Covered configuration items in this example:
•
Linear Counter
•
Comparison Mode, setting Comparison Data
•
Digital Input Function (Function 05)
•
Using IOWR-instruction to change Comparison Data
Application Description
In this example a hole is drilled into an object. The drill bit is spun by a single
speed, single direction motor (motor 2) which can only be turned ON or OFF. The
feed motor has two speeds (fast/slow) and can travel in two directions (forward/
reverse). The High-speed Counter Unit controls the speed and direction of the
feed-motor and turns ON/OFF the drill-motor. Turning ON and OFF the feed-motor
is done by the PLC ladder program via a Digital Input- and Output Unit (e.g.
CS1W-MD292). A proximity switch is also connected to the Digital Input-and Out-
put Unit and reports to the CS1-CPU via the ladder program that an object is ready
to be treated. Consequently via the ladder program the feed-motor is turned ON.
An incremental encoder is connected to the shaft of the feed-motor. The encoder
is connected to Linear Counter 1. The Unit is in Comparison Mode and four Com-
parison Values are defined to control the speed and direction of the feed-motor
and to turn ON and OFF the drill-motor. The limit switch is used to reference the
home position of the drill-motor by resetting the Counter Value to zero.
After an object has been detected the feed-motor (M1) is turned ON (slow/for-
ward). When CV0 is passed M1 is switched to move fast. Reaching CV1 causes
the drill-motor (M2) to turn ON. At CV2 the feed-motor is switched to move slow.
Reaching CV3, when the hole has been completed causes the feed-motor to
reverse direction and to move back with fast speed (Counter 1 now counts down).
(Feed)
Motor 1
(Drill)
Motor 2
Limit
switch
M1 Slow/Foward
0
CV0=5000
CV1=35000 CV2=37000
CV3=40000
M1 Fast/Forward
M2 ON
M1 Slow/Forward
M1 Slow/Reverse
0
CV0=5000
CV1=35000
CV3=40000
M1 Fast/Reverse and M 2 OFF
M1 Fast/Reverse
Encoder
Motor 1 ON (=1) / OFF (=0)
Motor 1 Forward (=0) / Reverse ( =1)
Motor 1 Fast (=1) / Slow ( =0)
Motor 2 ON (=1) / OFF (=0)
Proximity switch
Object
CT041
No.
X1 0
1
MA C H
X10
0
RUN
CH 1
CH 2
CH 3
CH 4
ERC
ERH
A
A
A
A
B
B
B
B
Z
Z
Z
Z
I0
I1
I2
I3
O0
O1
O2
O3
P S204S
Po w e r
AB
A
B
CN 1
CN 2
CN1
CN 2
BA
A
B
OUT
IN
MD292
0
8
ERR
1
9
2
10
3
11
5
13
7
15
4
12
6
14
0
8
1
9
2
10
3
11
5
13
7
15
4
12
6
14
W902-E2-03.book Seite 160 Donnerstag, 7. Oktober 2004 2:06 14
Summary of Contents for CS1W-CT021
Page 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Page 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Page 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Page 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Page 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Page 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Page 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...