Home » What is Midline Instruction in Siemens PLC?
PLC Tutorials

What is Midline Instruction in Siemens PLC?

This article is about the use of midline instruction in the siemens PLC.

Many times, in industrial PLC programming we have to use the same rung condition with additional input.

Now, to write that same logic, again and again, become tedious and consume more time.

In siemens PLC software, TIA PORTAL and Simatic manager allow using midline (#) instruction to replace that whole rung with this midline instruction.

So, by using this instruction you can save lots of time and reduce the complexity of programming.

Midline Instruction

Let understand midline instruction with one simple example.

Step 1:

open TIA PORTAL or Simatic manager. Create a New Project. Open programming environment.

As you can see on the left side with (#) is a midline instruction.

Open TIA PORTAL or Simatic manager

Step 2:

Let create a simple example. Here, you can see that Network 1 and Network 2 has the same input used till I0.6.

To write the same logic I will replace it with midline instruction.

midline instruction

Step 3:

You can see in the below window that I have replaced the same logic of Network 1 with midline instruction.

What is Midline Instruction in Siemens PLC

We have to add midline instruction at the end of the network. So, simply it copies all the data before it.

We have to use the same address in the second network.

As we energize all the input midline instruction copies all the data. In the second network, M0.0 will stay energized.

Which reduces the time and complexity of logic, makes it simple.

Midline output instruction

Author: Suhel Patel

Read Next:

Share With Your Friends

Related Articles

Architecture of Allen Bradley PLC

S Bharadwaj Reddy

PLC Counter Instructions

S Bharadwaj Reddy

PLC Program for Continuous Filling Operation

S Bharadwaj Reddy

Sink or Source? Normally Open or Normally Closed?

S Bharadwaj Reddy

Relay Operation, Types, Symbols & Characteristics

S Bharadwaj Reddy

Features of SCADA

S Bharadwaj Reddy

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

What is Midline Instruction in Siemens PLC?

WordPress Image Lightbox
Send this to a friend