Flow Control - Omron CJ1W-CT021 Operation Manual

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Flow Control

6-1

Flow Control

Application Description
Relevant CIO-words
CIO 2000 (= n)
146
Covered configuration items in this example:
• Simple Counter (for a Simple Counter no DM-configurations have to be made).
In the following example a tank has to be filled with a fixed amount of liquid. Press-
ing the push button resets the Simple Counter, opens the Gate of the Simple
Counter and opens the valve. The liquid passes through the flow meter into the
tank. The pulse output of the flow meter measures the liquid flow that is propor-
tional to the number of pulses generated (5,000 pulses is equivalent to 1 litre).
After the tank has been filled with exactly 100 litres of liquid the valve and the Gate
of the Simple Counter are closed automatically.
Push Button (= Open Valve)
Tank
The push button is connected to Digital Input I0 and the valve is connected to Dig-
ital Output O0 of the High-speed Counter Unit. The pulses of the flow meter are
counted by Counter 1 which is configured as Simple Counter (corresponding DIP
switch at the front of the Unit is in the OFF-position).
The Machine Number of the High-speed Counter Unit is 0. The High-speed Coun-
ter is allocated 40 CIO-words starting from CIO 2000 (n = CIO 2000 + 0 x 10).
A short ladder program for the PLC must be written to control this application. The
ladder program interfaces with the High-speed Counter Unit via the Special I/O
Unit Area in CIO.
The following CIO-words are relevant to control the application and must be used
in the ladder program.
15 14 13 12 11 10 9
8
Flow Meter
7
6
5
4
3
2
1
0
O0
CT021
RUN ERC ERH
CH1
A B
Z
I0
O0
CH2
A B
Z
I1
O1
20
20
CN1
MODE
1
1
B
A
Valve
Manual Control Digital Output 0:
0 = Close Valve
1 = Open Valve
Selection Automatic/Manual:
1 = Manual Output Control
Section 6-1
Liquid

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents