RUNG001 comprises all the conversion needed to control level of the tank.
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
to Analog module is 4mA, it stores 0000h into register and when 20mA, it stores FFFFh into register. Here
register N7:0. This conversion is done internally by the A-to-D converter in Analog Input Module.
Height of the tank is 10m or 1000cm. By converting it into equivalent hex, change in value per centimeter is
66 approximately which is stored in register N7:1.
Value of N7:1 is then multiplied with the preset value of tank level that is 900cm here.
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:6.
Current to Pneumatic converter then converts current signals into equivalent 3-15psi pneumatic signal and
adjusts valve opening.
Runtime Test Cases
Input
Output
Valve
percentage open
N7:0 = 0000h
O:6 = 0000h
Valve 100% Open
N7:0 = FFFFh
O:6 = E506h
Valve 90% Open
PLC Program to Control Three Mixing Devices in a Processing Line
This is a PLC Program to Control Three Mixing Devices in a Processing Line.
Problem Description
Control three mixing devices in a process line. Two mixing devices are running in the parallel to each
other. When any one of the mixing process stops, individual stop switches turn the third mixing device ON
and the device operated by the stop button is stopped. Implement automation of this system in PLC using
Ladder Diagram programming language.
Dostları ilə paylaş: