How to Troubleshoot Siemens PLC Programs?

This article is about the PLC programming troubleshooting method. In industrial PLCs where thousands of inputs and outputs are used, and we know how lengthy PLC programs are, depends on the application or plant usage.

Troubleshoot Siemens PLC Programs

Some times, People may change the logic parameters unknowingly and it may lead to a fault. Even some faults are created during the logic design stage due to the complexity of the design. The siemens plc software has different handy tools available in it to troubleshoot the faults generated in the programs.

Faults can be like overlapping of addressing, multiple same output instances, memory bit address overlapping,  many times a single program is used to work over and over, etc.

To find out such problems, there are four types of windows available in the siemens software which will help us to troubleshoot the issues.

They are:

  1. Cross Reference
  2. Call Structure
  3. Assignment List
  4. Dependency Structure

Let discuss how to use them in our program for troubleshooting and where to find them in the software.

Cross Reference

Cross-reference is used to find all the digital & analog inputs and outputs used in the logics. It will help us to know about the number of times the I/O’s are used in the program and also take users directly to the specific location of the I/O’s in the logic pages.

Here is an example of one of the programs, in which you can see how the cross-reference table looks like. It contains all the information like addressing, the language of the program, used inputs and outputs, etc.

Cross Reference in Siemens PLC

Call Structure

When you want to know which block is used in programming then call structure is used.

This is a reversal of cross-reference function in which we get to know that how many times SFC, FB block are used in OB (Organization Block) and here we get to know that how many times OB used in SFC and FBs.

Call Structure in Siemens PLC

Assignment List

The assignment list is a very useful feature when it comes to knowing that how many inputs, outputs, timers and counters used in our application and how many of them are still remaining, so we can use them in future logics.

Assignment List in Siemens PLC

Dependency Structure

Dependency structure is used to show where each and every block used within the programming.

But in step 7 it won’t take you directly on location however in TIA PORTAL it will take you to the location where the program is written.

Dependency Structure in Siemens PLC

NOTE:

To open these windows in step 7, use the info as shown in Drawing. After clicking on display you have the options.

Step 7 Reference Data

In TIA PORTAL, follow the below step shown in the drawing.

TIA Portal Options

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.

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

1 thought on “How to Troubleshoot Siemens PLC Programs?”

Leave a Comment

Share via
Follow us and never miss an update!