Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Always ON and OFF Bit using Ladder Logic and Statement List
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Always ON and OFF Bit using Ladder Logic and Statement List

Always ON and OFF Bit using Ladder Logic and Statement List

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

In this article, I will discuss how to create always ON and OFF bit in PLC programming using ladder logic and statement list in Siemens Simatic Manager.

Contents
Always ON and Always OFF bit using STLNetwork 1:Network 2:Always ON and Always OFF bit using Ladder LogicNetwork 1:Network 2:

Say in the plant when the machine lost its power and comes back after some time, then we need some functions to perform automatically when starting the machine.

For examples like a cold start or hot start, you want some facility to remain ON and some to remain OFF. The below discussed small two lines of code are used there.

There are many instances in the industry where we require to make some blocks always ON or OFF as per our applications.

In siemens PLC, you can use DB address or bit memory address to create always ON and OFF bit.

To create always ON and OFF bit, we simply have to write code OB and use that memory address anywhere in the program.

To create a bit, first, open Simatic Manager. Create a new project. Now I am going to write code in ladder logic and in statement list too.

You can write code in Function and then you can call it from OB or you can write in OB and you can use its address in the programming.

Always ON and Always OFF bit using STL

The below is the programming window of statement list (STL) where I have written the code of Always ON and OFF bit.

Logic for Always ON and Always OFF bit

Network 1:

I simply have used memory bit with AND NOT (AN) means NC contact in ladder logic.

In the second line of code, I have used “s” to set the same bit which I have used as input which allows this bit to remain always ON.

Network 2:

In this network, everything is the same except I want a bit to stay always OFF, I have used “R” means reset as an output coil.

Always ON and Always OFF bit using Ladder Logic

This is the window of ladder logic programming.

Bit always false in PLC

Network 1:

Here, in Network 1, I have used NC contact which always passes a signal, at output side set coil is used the same as input which makes it always true.

Network 2:

In network 2, I have used the Reset coil at the output side to make the bit always false.

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:

  • Extended Timer Logic in PLC
  • Rewire Tool in Simatic Manager
  • STL to Find the Highest Value
  • History of Microprocessors
  • Motor Control Function Block
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 !
Best 100 PLC Projects for Final Year Engineering Students
PLC based Automatic Packaging System
Free InTouch SCADA Tutorial Course for Beginners
Coil Type Timers in Siemens PLC Programming
PLC Programming for Traffic Barrier Control
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
2 Comments
  • AndNi says:
    November 15, 2021 at 6:36 pm

    This is the right code…

    AN M 0.0
    S M 0.0

    A M 0.1
    R M 0.1

    Reply
  • Madhu says:
    November 24, 2022 at 6:25 am

    Nice Explination, I already subscribed your you tube channnel

    Reply

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

Recent Comments

  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Commissioning Checklist for Industrial Automation System

Commissioning Checklists for Industrial Automation Systems

Simatic 300 Station Configuration

Monitor and Modify Variables in Simatic Manager

Allen Bradley SLC 500 PLC Programming

Dry Contact in PLC

What is a Dry Contact? – Basics of PLC Wiring

Download Free Robotics Software

Step by Step Guidelines to Download Free Robotics Software

Can a PLC Function Without an HMI or SCADA

Can a PLC Function Without an HMI or SCADA?

Boolean Algebra to PLC Logic

From Boolean Algebra to PLC Logic

Programmable Logic Controller Boiler Logic

PLC Ladder Logic for Start-up Control of Boilers

More Articles

Three Valve Manifold

3 Valve Manifold Operation

Different Types of HVAC Applications

Different Types of HVAC Applications

Analyzers Questions and Answers

Pulse Height Analyzer Questions & Answers

Top 100 555 Timer Projects for Engineering Students

Top 555 Timer Projects for Engineering Students

FF Function block location

Foundation Fieldbus Logics

Capacitance Type Level Transmitter Working Principle

Capacitance Level Transmitter Animation

Top 100 Control Systems Objective Questions & Answers

Top 100 Control Systems Objective Questions & Answers

Magnatic Level Indicators Working Animation

Magnetic Level Indicators Working Animation

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?