Continuous measurement is necessary in this case.
Continuous level measuring devices such as Ultrasonic or Pressure level
sensor can be used and for
temperature, RTD or Thermocouple can be used.
Output of these sensors are in analog form, so to deal with such analog data, analog modules are used in
PLC.
Analog modules convert analog signal into equivalent hex form.
Convert this into Temperature in degree centigrade and level in height in cm.
Generate time base to MOV output storing register value to display address after
converting into BCD
equivalent.
Use either number of timers or Sequential Output instruction to solve this problem.
PLC Program
Here is PLC program to Store Data of Various Process Sequentially, along with program explanation and
run time test cases.
List
of Inputs and Outputs
I:1
=
Level Input from Tank
(Input)
I:2
= Temperature
Input from of the Tank
(Input)
N7:0 and N7:1
= Store and
process data of tank level
(Register)
N7:2 and N7:3
= Store and process
data of tank Temperature
(Register)
T4:0, T4:1
= Timers to switch display data every 5secs
(Timers)
Dostları ilə paylaş: