Skip to content

PLC Automation Consultancy & Training | Liam Bee

Learn PLC automation properly, through structured courses, deep technical guides, and industrial consultancy.

  • All Posts
  • ⚙️Technical Services
  • Siemens TIA Portal Book
  • Do & Grow Membership
    • View Do & Grow Membership
    • Getting Started With Do & Grow
  • Courses
    • View All Courses
  • Membership Account
    • Sign In
    • Dashboard
    • My Courses
    • My Grades
    • My Memberships
    • My Achievements
    • My Certificates
    • Notifications
    • Edit Account
    • Redeem a Voucher
    • Order History

Membership Catalog

  • Do & Grow Membership

    Do & Grow Membership

    Liam (Site Owner) Liam (Site Owner)

Consulting Services

Member Benefit

Browse Ad-Free

Do & Grow members never see advertisements while logged in. Just learning, courses, and engineering content, distraction free.


Unlock Ad-Free Access
Free 30-Min Call

Book a Quick Discussion

Check the Technical Services page first, but if your project does not quite fit, or you are not sure what you need yet, you can book a discussion here.

General Discussion Banner
Not displaying nicely?

Latest YouTube Content

Want to take this course ad free and have access to the full course immediately?
Take a look here:
https://liambee.me/course/siemens-tia-portal-asset-oriented-programming/

In this lesson, we update the output mapping layer to add safeguarding for simulation mode. The goal is to prevent any physical outputs from being driven while the system is running in simulation, even though the logic itself is still executing normally.

The lesson starts by revisiting the simulation concept introduced earlier in the course, where the input mapping layer allows inputs to be sourced either from real world IO or from simulated data. The same principle is now applied to outputs, but with an added safety focus.

You learn why it is important to block physical outputs when simulation mode is active. If simulated feedback is being used while real outputs are still being driven, this can lead to unexpected behavior, equipment damage, or unsafe conditions. The output mapping layer is the correct place to prevent this from happening.

The implementation is kept simple and robust. When simulation mode is active, all physical outputs are forcibly set to zero using a fill command, and the block exits early using a return. This ensures that no downstream logic can accidentally drive outputs during simulation.

The lesson explains why temporary variables must be initialized before use, how the fill command works, and why the block must be set to non optimized access for this approach. The tradeoffs between optimized and non optimized blocks are discussed, along with the practical reasons for choosing non optimized access in this architecture.

A live demonstration shows that even if an output is manually forced in a watch table, it is immediately reset by the output mapping logic while simulation mode is active. This confirms that the safeguard is working as intended.

Finally, the lesson explains how this approach can be selectively relaxed if required. Specific outputs can still be allowed to operate in simulation mode by re enabling them after the blanket reset. This provides flexibility for commissioning or testing scenarios without changing the core control logic.

This lesson reinforces the importance of using the mapping layers not just for signal routing, but also for safety, flexibility, and project specific behavior.

#AlwaysLearning #Siemens #TIAPortal #Automation #PLC #HMI #TIA #DoAndGrow
Siemens TIA Portal – Asset Oriented Programming - Safeguarding Outputs In Output Mapping Layer
Subscribe

Latest Tip

The Testing tab becomes available only when the pr The Testing tab becomes available only when the project is connected online to a PLC. It exposes operational controls that directly affect the running controller, including run, stop, and memory reset actions.

These controls act immediately on the device without additional confirmation layers. A single action can stop a process or clear program memory, which makes this tab one of the most powerful areas of the Task Pane.

TIA Portal intentionally separates these controls from normal engineering tools by placing them in a contextual tab. This reduces accidental interaction but does not remove responsibility from the engineer.

Understanding when the Testing tab appears and what it controls is essential for safe commissioning, troubleshooting, and live system work.

Watch more about this in The Complete Guide To TIA Portal V20 on YouTube: https://www.youtube.com/watch?v=pXX8jD81m_U

#AlwaysLearning #Siemens #TIAPortal #Automation #PLC #HMI #DoAndGrow

Featured Courses

🔹The Complete Guide To Siemens TIA Portal V20🔹

--> In Active Development <--
⭐ Included In Do & Grow ⭐

Learn all there is to learn about Siemens TIA Portal V20

🔸SIEMENS TIA PORTAL
ASSET ORIENTED PROGRAMMING🔸

Take a look at the biggest TIA Portal Course in AOP Design!

➡️ Find Out More

Most Viewed Post
  1. TIA Portal – TON / TOF / TP Timers And Different Use Cases (16,259)

You missed

Siemens

Do UDTs Break Cross Referencing? | TIA Portal, InOut Parameters & Asset Oriented Programming

June 10, 2026 Liam (Site Owner)
Node-RED

🚀 New Course: Node-RED Basic Nodes & Uses

June 1, 2026 Liam (Site Owner)
Siemens

How to Use the FILL Instruction in Siemens TIA Portal

May 14, 2026 Liam (Site Owner)
Node-RED

Connecting Node-RED To PLCSIM Advanced

May 12, 2026 Liam (Site Owner)

PLC Automation Consultancy & Training | Liam Bee

Learn PLC automation properly, through structured courses, deep technical guides, and industrial consultancy.

Proudly powered by WordPress | Theme: Newsup by Themeansar.

  • Privacy Policy
  • Powered By Icons8
×