Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

6.

Data Transmission and Comparison Design Examples

6.1

CMP - Material Mixing Machine

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

X0 = ON when the Power On switch is pressed.

X1

X1 = ON when the button Process is pressed.

Y0

Power On Indicator

Y1

Material A outlet

Y2

Material B outlet

Y3

Agitator

D0

Feeding time of material A

D1

Total feeding time of material A and B

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

DVP-PLC Application Examples

6-1

6. Data Transmission and Comparison Design Examples


Program Description:
z

When the Power On switch is pressed, X0 = ON. The Power On indicator Y0 will be ON. .

When Process button is pressed, X1 = ON. SET Y3 instruction will be executed so as to


execute TMR instruction. Timer T0 will be activated in this case.

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

DVP-PLC Application Examples

6. Data Transmission and Comparison Design Examples

6.2

ZCP - Water Level Alarm Control

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

Feed water valve. ( The lower bound value = K1000)

Y1

Normal level indicator

Y2

Upper limit alarm. ( The upper bound value = K4000)

D0

Data register of the measuring value(K0~K4000)

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

The water level is measured by analogue level measuring instrument(Voltage output of


0~10V). Delta DVP04AD extension module converts the measured value into the value of
K0~K4000 and judges the water level by the value saved in D0

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.

DVP-PLC Application Examples

6-3

You might also like