100% found this document useful (1 vote)
176 views3 pages

PLC Program To Store Temperature Data of A Process at Different Time - Sanfoundry

This PLC program stores temperature data from two tanks over time. It converts input from temperature transmitters into Centigrade temperatures and stores the temperature in registers every 5 seconds. The temperatures are then displayed on a trend display for comparison over time. The program uses ladder logic to perform the input conversion, data storage, and periodic display updating.

Uploaded by

Swati Madhe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
176 views3 pages

PLC Program To Store Temperature Data of A Process at Different Time - Sanfoundry

This PLC program stores temperature data from two tanks over time. It converts input from temperature transmitters into Centigrade temperatures and stores the temperature in registers every 5 seconds. The temperatures are then displayed on a trend display for comparison over time. The program uses ladder logic to perform the input conversion, data storage, and periodic display updating.

Uploaded by

Swati Madhe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

4/4/2017 PLC Program to Store Temperature Data of a Process at Different Time - Sanfoundry

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.

Problem Description
Temperature of two tanks are being controlled. To display and compare temperature of both the tanks,
graphical display is used. Update temperature of these tanks on the display every 5secs for comparison
with respect to time. Implement this process in PLC using Ladder Diagram programming language.

Problem Solution
Using RTD PT100, we can calibrate value 00000 to 65536 into -2500-6500C and divide into 800
equal parts.
Use MOV instruction to transfer Input data into register for further conversion usage.
Convert outputs of temperature transmitters into equivalent Temperature in Centigrade.
To do this, divide input by value change per centigrade, we get temperature inside that tank.

PLC Program & Program Description


Here is PLC program to Store Temperature Data of a Process at Different Time, along with program
explanation and run time test cases.

List of Inputs and Outputs


I:1 = Input from temperature transmitter1 (Input)
I:2 = Input from temperature transmitter2 (Input)
I:3/0 = Start PB (Input)
I:3/1 = Stop PB (Input)
O:4/0 = Master coil (Output)
N7:0 to N7:8 = Registers to store and process data (Register)

Ladder diagram to convert data into equivalent temperature in Centigrade

http://www.sanfoundry.com/plc-program-store-temperature-data-process-at-different-time/ 1/3
4/4/2017 PLC Program to Store Temperature Data of a Process at Different Time - Sanfoundry

When divided by total range of RTD PT100 that is -250 to 650 degree centigrade, we get 82 value
change per Centigrade.
Hence when divided by 82, we get answer in centigrade.
Important thing to note here is that the input here will always be greater 23124 which is value when
temperature is 32 degree centigrade that is room temperature.

Ladder diagram to update Trend display every 5secs

http://www.sanfoundry.com/plc-program-store-temperature-data-process-at-different-time/ 2/3
4/4/2017 PLC Program to Store Temperature Data of a Process at Different Time - Sanfoundry

RUNG002, RUNG003 and RUNG004 updates temperature data in corresponding registers every
5secs.
Timer is in auto reset mode, hence timer will keep running till it is manually stopped by operator.

Runtime Test Cases

Inputs Outputs Physical elements


I:3/0 = 1 O:4/0 = 1 Start temperature displaying
T4:0/DN = 1 N7:7 = N7:1, N7:8 = N7:3, Accum = 0 Update temperature & reset timer

http://www.sanfoundry.com/plc-program-store-temperature-data-process-at-different-time/ 3/3

You might also like