Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: PLC Program to Read Temperature in PLC
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > PLC Program to Read Temperature in PLC

PLC Program to Read Temperature in PLC

This is a PLC Program to read the temperature in PLC. Learn PLC programming using example problems and solutions.

Last updated: November 3, 2023 12:21 pm
Editorial Staff
PLC Tutorials
3 Comments
Share
5 Min Read
SHARE

This is a PLC Program to read the temperature in PLC. Learn PLC programming using example problems and solutions.

Contents
Read Temperature in PLCProblem DiagramProblem SolutionI/O ListM memoryPLC Ladder diagram to read the temperaturePLC Logic ExplanationNetwork 1:Network 2:Network 3:

Read Temperature in PLC

Problem Description

Write a PLC program in which we can monitor the actual temperature.

Here we are using an external temperature controller and its output is also connected to PLC for monitoring the temperature of material in the tank.

Problem Diagram

Read Temperature in PLC

Problem Solution

RTDs devices with resistance that changes with temperature changes in a linear way.

This resistance value will change as temperature changes and by supplying a constant current, the measured voltage drop across the resistor can be used to determine the new resistance, and thus the temperature.

RTDs come in a variety of types, with the most common type is a PT100. It’s made from platinum that has been calibrated to be 100 ohms at 0 degrees C.

In above application, we want to measure material temperature of the tank, for that we use RTD sensor which will measure temperature of the tank and give signal to the temperature controller.

Temperature controller will send signal in the form of voltage (0-10V DC).If RTD detect 0degree temperature, it will send 0V DC and if maximum temperature detected, it will send 10V DC to PLC.

Temperature controller is directly connected to the PLC so PLC will read voltage.

Note: – Here we consider simple application for explanation. We need to measure material temperature of the tank by using RTD sensor. And also consider other components for control purpose.

Assume Scaling range of temperature controller is 0-100°C=0 to 10V DC and according to this signal PLC consider 0 to 27648.

I/O List

M memory

  • Analog value from the temp controller :- MW100
  • Actual value from the temp controller :- MD104
  • Multiplication :- MD108
  • Actual temperature in °C :- MD112

PLC Ladder diagram to read the temperature

PLC INT Value Conversion
PLC Temperature Controller
PLC Temperature Monitoring

PLC Logic Explanation

For this application, we used S7-300 PLC and TIA portal software for programming. We can implement this logic by using other PLC’s also.

Network 1:

In this network, we implement logic for value conversion. It is necessary to convert value from INT to DINT for multiplication purpose or for calculation. So by using conversion instruction analog value from the RTD (MW100) is converted into actual analog value (MD104).

Note:- Temperature controller provides 0-10V DC signal to PLC. ADC converter or analog input module will convert this analog signal into digital form, and the range of this digital signal is 0 to 27648. This digital range may change from one PLC to another.

Network 2:

we have the RTD temperature range which is 0 to 100 degc and the output voltage range is 0 to 10V DC. So we need to scale this voltage output in terms of temperature reading. Here multiply the value as per equation and final value will be stored in MD108.

Note:-Here temperature controller and temperature measurement range is 0-100°C.

Network 3:

Now for final result multiplied value is divided by 27648, result will be stored in MD112 (Actual temperature in °C).

Note:- Above application may be different from actual application. This example is only for explanation purpose only. We can implement this logic in other PLC also. This is the simple concept of temperature reading in S7-300 PLC, we can use this concept in other examples also.

All parameters considered in example are for explanation purpose only, parameters may be different in actual applications.

Author: Bhavesh

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Failsafe Wiring Practices
  • Basics of Switch NC NO Contact
  • Sinking vs Sourcing
  • PLC Equivalent Logic Gates
  • PLC Logic Functions
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
PLC Ladder Logic for Sensor Scaling with Offset
Omron PLC for Product Painting with Integrated Weighing System
OMRON PLC Tutorial: Car Parking System Application
Basics of PLC Programming
80+ PLC MCQ Questions
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
3 Comments
  • Indra Mohan Prasad Singh says:
    November 21, 2018 at 7:55 am

    good

    Reply
  • Rahul says:
    September 24, 2019 at 11:22 am

    When RTD sense 50 Celsius one out put is on writ program in RS logix 500

    Reply
  • Balotiya Yuvraj says:
    August 17, 2021 at 2:49 pm

    Can you describe hydraulics press machine in details.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

memory types in siemens plc

Memory Structure of Siemens PLC

Simple Conveyor Control PLC Program

XG5000 Example of Simple Conveyor Control PLC Program

Count the Number of Cartons in a Storage Area PLC Logic

Count the Number of Cartons in a Storage Area PLC Logic

PLC Interlock Example

PLC Interlock Logic with First Input Priority

Automated Garage Gate Control - PLC Ladder Logic

Automated Garage Gate Control – PLC Ladder Logic

Parameters of SRT_DINT instruction

Tia Portal – OB20 Time Delay Interrupt Organization Block

Earthing Calculations

Electrical Earthing Calculations

S7-1200 Hardware Configuration

S7-1200 Hardware Configuration – Siemens PLC Tutorials

More Articles

ATEX Certification Codes

Understanding Hazardous Area Classification

Using Clock Memory Bits in TIA Portal - Siemens PLC

Using Clock Memory Bits in TIA Portal – Siemens PLC

Difference Between RCCB and MCCB

Difference Between RCCB and MCCB

Selecting the Best Inductive or Capacitive Sensor

Selecting the Best Inductive or Capacitive Sensor

Discrete control system block diagram

Process Control Instrumentation

Power Electronics Objective Questions

Thyristor Firing Objective Questions

High-Speed and Fast Counters in PLC

What are High-Speed Counters and Fast Counters in PLC?

Measure Duty Cycle using Multimeter

How to Measure Duty Cycle using Multimeter

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?