Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Difference Between Static and Temp Memory in Siemens PLC TIA Portal
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Difference Between Static and Temp Memory in Siemens PLC TIA Portal

Difference Between Static and Temp Memory in Siemens PLC TIA Portal

Temp memory minimizes PLC program size and static memory maintains data over several scan cycles in the Siemens TIA portal.

Last updated: October 17, 2023 3:18 pm
Hussien Ghareb
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Totally Integrated Automation (TIA) software from Siemens is one of the best PLC Automation software platform in the world, it offers a lot of great features.

Contents
What is Static Memory?What is Temp Memory?Usage of Static and Temp Memory in PLCMonitoring Level of TanksDownload Siemens TIA Example LogicSummary

one of these features is the ability to size and configure your memory using Static or Temp locations, as a professional PLC programmer you have to organize your code and also your DataBase as that would really accelerate your scan cycle managing your PLC to perform faster.

So here we are to talk about those two types of memory (Static & Temp) and also we will see what is the difference between them.

What is Static Memory?

Static memory is a type of memory which is non-volatile, it stores data permanently with fixed addresses.

The stored data would be changed in case of overwriting so it could remain for several scan cycles without changing, this kind of memory only allocated at Function Blocks (FB).

What is Temp Memory?

For Temp memory We can say that it is a Volatile one as the data can not remain for just one cycle.

It stores data for a single scan cycle and after that, the data will be lost, this kind of memory is allocated in the organizational Blocks (OB), Functions (FC), or Function Blocks (FB).

We can summarize that “Static memory has a reserved place for storing data but Temp memory does not have”

Usage of Static and Temp Memory in PLC

Now, we already know what is the difference between both and what is really a static and temp memories are but the big deal is to know how and when you should use these memories.

As a PLC programmer, all of us know very well about Static memory, it is the place where our data is stored such as temperature reading, power consumption for the plant, or the status of your digital sensors in the plant.

All of this data should be stored in a static memory to ensure that the data will not be lost as we want to reuse it again in other places of your code.

Unlike the Temp memory, you can use it when the stored data is needed for just one scan cycle, after that the stored data will be useless so definitely there is no need to reserve a place for this data.

Here we can store it into a temp memory until the job is done after that the memory will be free again that would really make a huge minimization of your storage memory (for large plants coding), maybe you can use this type of memory in mathematical operations or transferring and conversion between data.

Monitoring Level of Tanks

The best way to understand anything is to relate it with an example so, here we are with a simple code that monitors the level of ten tanks, each tank has its own Level Transmitter.

and as all of us knows the analog input for Siemens PLC is detected by Input word (IW0, IW2, IW4 …..), but for more accurate calculation most programmers convert it to Real data type (Double word), so for now we should convert every level transmitter to a Real data type before the processing.

So, this situation is for you, would you prefer to use ten static area locations for the conversion of every level transmitter!! Or using single Temp area that can make the same thing for the ten transmitters!!

I think it would be much better if we used a single Temp memory for customize and minimize the size of memory.

Monitoring Level of Tanks in Tia Portal

Download Siemens TIA Example Logic

  • Tanks Level Monitoring Tia Portal Code
  • Tanks Operation Tia Portal Code

Summary

Temp memory would really minimize your program size if it can be used in your program.

Static memory has the ability to maintain data over several scan cycles to reuse it again in your code, both are important to use and to enhance your PLC program.

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:

  • Configuration of Siemens VFD
  • What is a Motion Controller?
  • Purpose of SCADA and HMI
  • Ferrules and Cross Ferruling
  • Basic PLC Question Bank
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 !

Continue Reading

Package System Architecture – Control & Instrumentation
How to Take Program Backup from Physical PLC? – Siemens PLC
Basics of Loop Checks
How to Troubleshoot Siemens PLC Programs?
Types of Limit Switches – Principle, Advantages, Disadvantages
Difference Between CompactLogix and ControlLogix
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

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

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

SCADA Engineer Job Responsibilities and Skills
PLC SCADA Engineers Interview Questions and Answers
FactoryTalk View Studio – Import and Export Tutorial
PLC Programming for Train Detection and Gate Operation
PLC Example with Switches
PLC Program for Food Processing Industry
PLC Batch System for 4 Tanks Mixing using CX-Programmer
Types of PLC

Keep Learning

Micro PLC

Micro PLC Hardware Configuration

Smart Drip Irrigation System Using PLC

Scheduled Daily Plant Watering PLC Program

Loss in Weight Liquid PLC System

Dosing Pump PLC Logic

Function Block Diagram - Studio 5000 Logix Designer

Define the Order of Execution in Functional Block Diagram of Studio 5000

What is meant by the Batching Process

Batch Simulator PLC Example Program using LogixPro Simulator

siemens plc db addressing

FB Block in Siemens PLC Programming

Automating Car Parking with Advanced PLC Logic

Complex Car Parking Logic in XG5000 LS Electric PLC

PLC Program for Automatic Door Control System

PLC Automatic Door Control System – Programming Example

Learn More

Automatic Coffee Machine

Automatic Coffee Vending Machine – PLC Logic Programming

Burst Transformers Root Cause Analysis

Root Cause Analysis – Burst Transformers and 11 kV Input Breakers

Safety Relief Valve Questions & Answers

Safety Relief Valve Questions & Answers

Fieldbus Interview Questions

Interview Questions on Fieldbus Communication

Radar Level Transmitter in Briddle level Measurement

Radar Level Transmitter in Briddle level Measurement

Power Electronics Objective Questions

Power Transistor Objective Questions

Power Systems Questions & Answers

Power Systems MCQ Series 16

What is a Fieldbus?

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

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?