Professional Documents
Culture Documents
CMP ZCP PDF
CMP ZCP PDF
6.1
Control Purpose:
z
There are materials A and B in the mixing machine. Enabling the indicator(Y0) when the
Power On switch is pressed. Controlling the material A outlet (Y1) to start feeding and
starting the agitator Y3 by pressing the button Process(X1). When material A feeding
process reaches the set time D0, enabling the material B outlet(Y2) to start feeding while the
agitator keeps working. Stopping all processes when the whole mixing time(D1) is achieved.
Devices:
Device
Function
X0
X1
Y0
Power On Indicator
Y1
Material A outlet
Y2
Material B outlet
Y3
Agitator
D0
D1
Control Program:
X0
Y0
X1
SET
Y3
TMR
T0
D1
CMP
D0
T0
ZRST
Y1
Y3
RST
T0
Y3
M0
M0
Y1
M1
Y2
M2
T0
6-1
When the Power On switch is pressed, X0 = ON. The Power On indicator Y0 will be ON. .
At the same time, CMP instruction will also be executed. When the PV(present value) in T0
is smaller than the SV(set value) in D0, M0 = ON. Therefore, M0 will be ON to turn on coil Y1.
Material A feeding process will start. However, when the PV in T0 the SV in D0, M1 and
M2 will be ON but M0 will be OFF. Y2 will be ON in this case and the material B feeding
process will start while process A is stopped.
When the PV in T0 reaches the SV in D1, the NO(Normally Open) contact T0 will be ON to
execute ZRST and RST instructions. Y1, Y2, Y3 and T0 will be reset, and the agitator will
stop until the Process button is pressed again.
6-2
6.2
Control Purpose:
z
Controlling the water level in water tower by using analogue level measuring instrument.
When the water is at normal level, enable the normal level indicator. When there is only 25%
water volume in the water tower, start the feed water valve. When the level reaches the upper
bound, enable the alarm and stop the feed water valve.
Devices:
Device
Function
Y0
Y1
Y2
D0
Control Program:
M1000
FROM
K0
K6
D0
K1
ZCP
K1000
K4000
D0
M0
SET
Y0
M0
M1
Y1
M2
Y2
RST
Y0
Program Description:
z
When the value in D0 < K1000(25% water volume), M0 = ON to set the feed water valve Y0.
When the value is between K1000~K4000, M1 = ON to set the normal level indicator Y1.
When the value > K4000(the level reaches the upper bound), M2 = ON to set the upper limit
alarm Y2. At the same time, Y0 will be reset, and the feed water valve will be shut down.
For the application of API78 FROM instruction, please refer to DVP-PLC Application
Manual Programming.
6-3