Similarly Temperature monitoring and controlling is done as shown in the Ladder diagram below.
Ladder diagram to control and monitor Temperature of Oil and Water separation process
Let’s say, temperature to be controlled is 50 degree centigrade. According to used sensor RTD PT100, data
are processed and required temperature is controlled through Gas Supply for ignition.
Here display output address is O:7.
RUNG002 is to operate Oil Outlet Valve with address O:2/0.
When Level low is detected by Low level sensor with address I:1/1, outlet valve is opened and it is closed
when I:1/0 is detected that is high level.
Runtime Test Cases
Inputs
Outputs
Physical Elements
I:1/1 = 1
O:2/0 = 1
Open
oil outlet valve
I:1/0 = 1
O:2/0 = 0
Close oil outlet valve
I:3 = 8000h
O:3 = 0000h
Close
inlet valve fully
I:3 = 4000h
O:3 = 7FFFh
Inlet Valve 50% open
I:4 = 6018h
O:5 = 0000h
Gas
supply valve fully closed
I:4 = 300Ch
O:5 = 8000h
Gas supply valve fully closed
PLC Program to Store Temperature Data of a Process at Different Time
This is a PLC Program to Store Temperature Data of a Process at Different Time.