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
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: What is Trace Function in Tia Portal?
Share
Notification Show More
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
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > What is Trace Function in Tia Portal?

What is Trace Function in Tia Portal?

Last updated: March 4, 2021 12:03 pm
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

This article is about how to use trace function in TIA PORTAL.

You can find trace function in CPU-1200 and CPU-1500 models of Siemens PLC.

With this trace feature, you can configure specific data that you want to trace and record when the CPU meets a trigger condition that you define. The CPU stores the recorded data, and STEP 7 provides tools for retrieving and analyzing the recorded data.

So the traces function is used to track or record the Input or Output at the required condition. You can simply have to add Input or Output to the list and you can record the value and check the functionality of your processes within TIA PORTAL.

Trace Function

Follow the below steps to learn how to add Inputs or outputs to record the value.

Step 1:

Open TIA PORTAL. Create a new project and select CPU-1200 or CPU-1500.

Step 2:

In our example, I will write a simple program to check the functionality of the trace function.

I have written a simple program to turn ON the output for the specified time.

Here, I want to monitor the timer. So, I have to use trace function to do that.

IEC Timer in Tia Portal

Step 3:

To Add timer go to “trace” as shown in the below window.

Expand “trace” and click on add new trace. Now click on a newly added trace.

Tracing within a Siemens PLC

Step 4:

Double-clicking on the trace will open window as you can see below.

In “configuration” add a tag that you want to monitor. Here I have added timer.

Trace tool

Step 5:

In “sampling” define your cycle to record data. Here, I choose 100 means that it will record data until 100 cycles.

Trace Function

Step 6:

Here, in “trigger” choose when you want to start to record value.

Here I have chosen trigger when I will press the START button.

Trigger on Tag

Step 7:

Now after configuration, click on the icon as shown in the red square to transfer trace configuration to the device.

trace configuration

Step 8:

Clicking on the button will open up the record window.

Now click on an icon in the red circle to start recording.

trace functions for all CPU tags

Step 9:

To monitor the tag, make sure to stay online in the simulation environment.

As you can see with turning ON switch, recording of the selected timer has started which is in our case timing of the 5 seconds.

Traces in TIA Portal

Step 10:

To stop the recording press the icon as shown in the below window.

You can add as many variables as you want to monitor their status.

Siemens Trace

Author: Suhel Patel

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:

  • Upload Siemens PLC Program
  • Digital Logic Functions
  • Wonderware Intouch Project
  • Memory Structure of Siemens
  • Open Platform Communication
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

Programming Schneider PLC Manual Sequential Machine
Does Really a Safety Barrier is Important? – PLC DCS Systems
Analog Measurement using Ladder Logic
PLC Program to Read Temperature in PLC
Difference Between Normal Counters and Fast Counters – Learn PLC
Sequential Operation of Output Bits using Two Push buttons
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Timer during Motor Direction Change PLC Program
Types of Industrial Control Systems
PLC Program to Separate Different Size Objects
PLC Program for Conditional Control Logic
Smart Spray System using Wecon PLC
Redundant Automation Systems – Need and Advantages
Electrical Cabinet Air Conditioner – Enclosure Cooling, Maintenance
How to use FIFO Block in TIA Portal? – Siemens PLC Programming

Keep Learning

TP Timer in CodeSys

Timers in Codesys – Timer ON, Timer OFF, Pulse Timer

4-20mA Loop Power Supply Questions

4-20mA Loop Power Supply Questions and Answers

Quiz on Electrical Meters and Measurement

200+ Quiz on Electrical Meters, Measurement, and Troubleshooting

VFD Braking

DC Injection Braking in VFD

Scaling in PLC

PLC Ladder Logic for Sensor Scaling with Offset

PLC program to control pump

Troubleshooting PLC Permissive Inputs

Communication Protocols in PLC

Various Communication Protocols in PLC

Real-time and historical SCADA Trends

What are Trends in SCADA?

Learn More

As-found and As-left Calibration

As-found and As-left Documentation during Calibration

Arc Fault Breaker (AFB) Electrical Problem Solved

Premature Arc Fault Breaker Failures

Thermocouple Temperature Ranges

Thermocouple Temperature Range Questions and Answers

Leaking Plug Valves pose Safety Hazards and Lead to Plant Shutdown

Leaking Plug Valves Pose Safety Hazards and Lead to Plant Shutdown

strain gauge with Diaphragm

Strain Gauge Working Principle

Coriolis Mass Flowmeter Principle

Coriolis Mass Flow Sensor Theory

Siemens PLC Course for Beginners

Siemens PLC Course for Beginners: Problems and Solutions

Transducers MCQ

Transducers MCQ

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?