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: PLC SCL Program for Marking Machine
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 > PLC SCL Program for Marking Machine

PLC SCL Program for Marking Machine

Learn how to program a marking machine using SCL (Structured Control) language. Understand the components and logic behind this process.

Last updated: December 16, 2024 10:02 am
Viral Nagda
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

In this post, we will write a sample logic for a marking machine using SCL (Structured Control Language) language.

Contents
Marking MachineProgram InterlocksInputs and OutputsPLC SCL Program

Marking Machine

Let us first understand the case scenario. Refer to the below image. There are the following components used – start push button, stop push button, conveyor, bottle sensor, cylinder, cylinder up sensor, and cylinder down sensor.

The conveyor is a DOL starter. When the user presses the start button, the conveyor starts to run at a fixed speed (because there is no VFD). The conveyor is carrying bottles on it. When a bottle is sensed near the bottle sensor point, the conveyor stops.

The bottle comes just below the cylinder. When the cylinder up position is active, then the cylinder comes down till the down sensor is sensed. When the down sensor is sensed, after a time delay, the cylinder moves up until the up sensor is sensed. When the up sensor is sensed, the cylinder output stops. After a time delay, the conveyor starts again and the cycle continues.

Program Interlocks

Following are the interlocks for running the conveyor – the up sensor must be sensed, the conveyor must be healthy and not tripped, and the bottle sensor must not be sensed.

If any of the above conditions fails, then the conveyor will not run.

Following is the only interlock for operating the cylinder – the conveyor should be in stop condition.

Inputs and Outputs

Following are the PLC IO’s according to our requirement:

  1. Digital inputs – start PB, stop PB, conveyor run feedback, bottle sensor, up sensor, and down sensor.
  2. Digital outputs – conveyor and cylinder.
Marking Machine

PLC SCL Program

Let us write the logic now. We are using Rockwell PLC (Studio 5000) for practicing this. Refer to the below image. We will now study the logic line by line and see how it is in line with our requirements.

First, we will write the logic for interlocking the conveyor. As you can see, if the system is not running or there is no up sensor or the conveyor is tripped or the bottle is sensed, then the conveyor will not run.

Secondly, we will write the logic for interlocking the cylinder. As you can see, if the system is not running or the conveyor is on, then the cylinder will not operate.

PLC SCL Program for Marking Machine

Next, we start and stop the system according to the push buttons pressed. On pressing start, we latch the system running bit, and on pressing stop, we unlatch the system running bit.

Then, we start the conveyor. If there is no conveyor interlock, then the conveyor will turn on, else it will remain off.

Now, we have to stop the conveyor from sensing a bottle. So, as the bottle is sensed, we turn on a bit named bottle sensed and stop the conveyor written earlier. You can see in the first image the distance between bottle sensor and cylinder. This is because the conveyor will not stop immediately; it will take 2-3 seconds. So, the cylinder is placed in the position where the bottle will reach exactly after stopping the run command of the conveyor.

Now, we operate the cylinder in the down direction after a delay of 5 seconds. So, if there is no cylinder interlock present and the bottle is sensed and the down sensor is not active, then we take the cylinder down.

When the down sensor is sensed, then we turn on a bit named down sensed for turning off the cylinder down action.

Now, we operate the cylinder in the up direction after a delay of 5 seconds. So, if there is no cylinder interlock present and the bottle is sensed and the down sensor is sensed and no up sensor is sensed, then we take the cylinder up.

When the up sensor is sensed, then we turn on a bit named up sensed for turning off the cylinder up action.

With this action, after a delay of 5 seconds, we reset all the logic and restart the conveyor once again to mark the bottles by cylinder action.

In this way, we saw how to write a PLC program for a marking machine using SCL.

Read Next:

  • PLC Program for Sequential Motor Control
  • Sequential PLC Program Pneumatic Valve
  • PLC Program for Water Level Control Logic
  • Structured Text PLC for Sequential Process
  • Write a PLC Program for Selector Machine
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 !
How to Automatically Close Pop-up in FactoryTalk View Studio?
Difference Between PLC and SCADA
PLC Programming Best Practices and Tips
PLC Program for Automatic Liquid Mixing Application
PLC Count values higher than 999
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

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

Types of Industrial Control Systems

Types of Industrial Control Systems

Alarm and Trip Documentation

PLC Alarm and Trip Documentation

PID parameters

PID in Siemens TIA Portal

Advanced PLC Programming Training Course

Advanced PLC Course with Programming and Simulation

Yokogawa DCS CPU

System Cabinet Health Checks – PLC and DCS Industrial Automation

PLC Program for Control Valve Scaling

PLC Program for Control Valve Scaling

Siemens PLC Interview Questions & Answers

Siemens PLC Interview Questions and Answers

PLC Program for Password Management using Structured Text

PLC Program for Password Management using Structured Text

More Articles

Free Online Control Valves Course

Free Control Valves Course

Power MOSFET Symbols

Power MOSFET – Symbol, Types, Working, Characteristics, Advantages

grounded thermocouple junction

Types of Thermocouple Measuring Junction

SCADA Multiple Choice Questions

SCADA Multiple Choice Questions

Characteristics of Transducers Objective Questions

Characteristics of Transducers Objective Questions

Generator Action in a Motor

What is Synchroscope ?

Control Loops

Control Loops Objective Questions and Answers

DCS ESD Logic Overview Graphic Display

Automation System Process Functionalities

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?