Problem Description


Ladder diagram to control draining of liquid from the tank



Yüklə 2,74 Mb.
Pdf görüntüsü
səhifə17/98
tarix23.07.2023
ölçüsü2,74 Mb.
#137216
1   ...   13   14   15   16   17   18   19   20   ...   98
PLC-4

Ladder diagram to control draining of liquid from the tank
Program Description

RUNG001 comprises all the conversion needed to control pumps.

Output of transmitter is in current signals which is 4-20mA.



When output is 4mA, Analog Input Module converts it into 16bit equivalent hex numbers. Hence when input
at I:3 to Analog module is 4mA, it moves 0000h into register and when 20mA, it moves FFFFh into register. Here
register N7:0.

Here height of the tank is 5m or 500cm. By converting it into equivalent hex, change in value per centimeter
is 132.

Value of N7:0 is then multiplied with 139 because when Level reaches 470cm, output is F0C0h. So when
output at 470cm is multiplied with 139, we get full FFFFh at N7:2 to operate pumps in full speed.

This multiplication is stored into N7:2 register. Digital to Analog conversion of value stored in N7:2 is
performed inside the processor and equivalent mA current is received from terminal O:4 and O:6.

Current to Voltage converter then converts current signals into voltage signal and adjusts motor speed.

Two pumps are used here hence speed of response is very good and smooth operation is achieved.
Reset operation to turn off Pumps when low level is detected

Both tanks have a Low Level switch at the bottom. When there is no material in the tank or very less
material is present, pump should not run in order to prevent it from failure. Limit switch with address I:1/0 is for
tank1 and I:1/1 is for tank2.
Runtime Test Cases
Inputs
Outputs Physical Elements
I:3 = F258h
O:4 = O:6 = 0000h
Pump1 and Pump2 are off
I:3 = 792Ch
O:4 = O:6 = 8000h
Pump1 and Pump2 = 4000RPM
I:3 = 50C8h
O:4 = O:6 = 5474h
Pump1 and Pump2 = 2640RPM
I:1/0 = 1
O:4 = 0000h Pump1 off
I:1/1 = 1
O:6 = 0000h
Pump2 off
PLC Program to Change Preset Value of Counter According to Various 
Products
This is a PLC Program to Change Preset Value of Counter According to Various Products.

Yüklə 2,74 Mb.

Dostları ilə paylaş:
1   ...   13   14   15   16   17   18   19   20   ...   98




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin