
K#*2'5-H#%+&"#>#*'
Section 6-2
$((
6-2
Length Measurement
Covered configuration items in this example:
•
Circular Counter
•
Range Mode, setting Range Data
•
Programmable Output Pulses (Output Pulse Duration)
•
Digital Input Function (Functions 5 and 11)
•
Capturing and reading Captured Values
•
Logically AND-ing Output Patterns
Application Description
In this example the length of objects is measured. Improper sized objects are
removed from the line by activating the pusher for one second. The measured
length of improper sized objects is stored in EM of the PLC as a 32-bits Counter
Value. The High-speed Counter Unit is DM-configured and works stand-alone
except for storing the size of improper sized objects in EM; a short ladder program
is written to read and store the length of improper sized objects into the CS1-CPU.
The Unit is in Range Mode.
Two incremental encoders are used. Encoder 1 is connected to Counter 1 and
encoder 2 is connected to Counter 2. By using two encoders the system also
takes into account alterations in the speed of conveyor belt 1 and 2.
Encoder 1 is connected to the shaft of motor 1. The length of an object on con-
veyor belt 1 is proportional to the number of pulses that encoder 1 generates. As
an object passes photo-electric sensor D1, Counter 1 starts counting pulses. If the
number of pulses counted is within one of the predefined invalid ranges (i.e. the
length of the object is too small or too big), the object has to be removed from the
line by the pusher.
In order to activate the pusher at the right moment (i.e. the object with incorrect
length is in front of the pusher) encoder 2 and photo-electric sensor D2 are used.
When the end of the object leaves the beam of photo-electric sensor D2, Counter
2 is reset and continues counting. The pusher will be activated for one second as
soon as the object is in the predefined range of Counter 2.
Pusher
Photo-electric
sensor ( D1)
Motor 1
Encoder ( E1)
Photo-electric
sensor ( D2)
Motor 2
Encoder ( E2)
Conveyor belt 2
Conveyor belt 1
CT041
X10
1
MACH
X10
0
RUN
CH1
CH2
CH3
CH4
ER C
ERH
A
A
A
A
B
B
B
B
Z
Z
Z
Z
I0
I1
I2
I3
O0
O1
O2
O3
PS204S
Power
AB
AB
CN1
CN2
No.
1
20
1
20
W902-E2-03.book Seite 155 Donnerstag, 7. Oktober 2004 2:06 14
Содержание CS1W-CT021
Страница 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Страница 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Страница 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Страница 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Страница 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Страница 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Страница 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...