By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Automation CommunityAutomation Community
  • PLC
  • Automation
  • Instrumentation
  • Calibration
  • Electrical
  • Courses
    • Siemens PLC Course
    • Allen Bradley PLC Course
    • InTouch SCADA Course
    • WinCC SCADA Course
    • Siemens Tia Portal
    • Omron PLC Course
    • Advanced PLC Course
Search
  • Customize Interests
  • My Bookmarks
© Automation Community. All Rights Reserved.
Reading: Bottle Line Simulation in LogixPro PLC Simulator
Share
Notification Show More
Aa
Automation CommunityAutomation Community
Aa
  • PLC
  • Automation
  • Instrumentation
Search
  • PLC
  • Automation
  • Instrumentation
  • Calibration
  • Electrical
  • Courses
    • Siemens PLC Course
    • Allen Bradley PLC Course
    • InTouch SCADA Course
    • WinCC SCADA Course
    • Siemens Tia Portal
    • Omron PLC Course
    • Advanced PLC Course
Follow US
© 2023. All Rights Reserved.
Automation Community > Blog > Competition > Bottle Line Simulation in LogixPro PLC Simulator
CompetitionPLC

Bottle Line Simulation in LogixPro PLC Simulator

Sonali Charpe
Last updated: 2023/04/30 at 3:46 AM
Sonali Charpe
Share
9 Min Read
SHARE

LogixPro is a software used for learning the fundamentals of ladder logic programming. Ladder logic is a programming language used to program PLCs.

Contents
Bottle Line Simulation in LogixProInputs in the ProgramOutputs in the ProgramBottle Line ProcessPLC Program using LogixPro Simulator

LogixPro mimics Allen Bradley’s RS Logix 500 software. This makes PLC programming easier to understand.

The Bottle Line Simulator of Logix Pro 500 simulates an automated production line that produces two different beverages.

Bottle Line Simulation in LogixPro

Bottle Line Simulation in PLC

The I/O List in the Bottle Line Simulation is mentioned as follows.

  1.  Conveyors
  2.  Switches/Pushbuttons
  3.  Sensors
  4.  Fillers
  5.  Gates
  6.  Displays

Conveyors

  • Main Conveyor- It moves the bottles.
  • Divert Conveyor – On it, large bottles are diverted using divert gate.
  • Scrap Conveyor – Broken bottles are discarded through this by using a scrap gate

Switches and Push Buttons – Start, Stop, Run

Sensors –

  • LS1 – Detect the bottles  
  • LS2 – Detect large bottles
  • LS3 – Detect broken bottles
  • LS4 – Bottles are filled using a fill tube with sensor LS4
  • LS5 – Large fill valve has sensor LS5
  • LS6 – Small fill valve has sensor LS6
  • LS7 – Bottles are capped using Cap Ram with the help of sensor LS7   
  • LS8 – Bottles are discarded using a scrap gate with the help of sensor LS8
  • LS9 – Large bottles are diverted using divert gate with the help of sensor LS9
  • LS10 – For controlling the movement of boxes

Fillers – Bottles are filled up with a large charge for large bottles and small charges for small bottles using a fill tube.

Display – There is a large as well as a small LED display to show results.

Inputs in the Program

StartNOI:1/0
StopNCI:1/1
Exist SensorLS1I:1/6
Size Check SensorLS2I:1/7
Broken Check SensorLS3I:1/8
Fill Tube SensorLS4I:1/9
Large Charge SensorLS5I:1/10
Small Charge SensorLS6I:1/11
Cap Ram SensorLS7I:1/12
Scrap Gate SensorLS8I:1/13
Divert Gate SensorLS9I:1/14
Scrap Box SensorLS10I:1/15

Outputs in the Program

Main Conveyor              O:2/0
Scrap Conveyor            O:2/1
Divert Conveyor           O:2/2
Grinder                          O:2/3
Scrap Gate                    O:2/4
Divert Gate                    O:2/5
Fill Tube                       O:2/6
Large Fill                       O:2/7
Small Fill                       O:2/8
Cap Ram                     O:2/9
Run                               O:2/10
Large Bottle Count        O:4/0
Small Bottle Count       O:4/1
Scrap Bottle Count       O:4/2
Scrap Box Count          O:4/3

Other Elements Required During Designing

  • Timer
  • Counter
  • Limit Switches
  • Bit Shift Left (BSL)

Bottle Line Process

  •  When the Start button is pressed, the conveyor belt starts moving and the bottles shift to the left one by one.
  • There are three sensors that detect bottles, large bottles, and broken bottles respectively.
  • Afterward, the liquid is filled in the bottles according to bottle size through a fill tube.
  • Broken bottles are removed from the main conveyor through a scrap gate.
  • Then caps are fixed using Cap Ram.
  • Large bottles are transferred to Divert conveyor through divert gate
  • The broken bottles are crushed in the grinder and filled in the scrap box.
  • Once these boxes are completely filled, the scrap conveyor moves next box.

The below video demonstrates the bottle line simulation process.

PLC Program using LogixPro Simulator

The ladder logic for the bottle line process is mentioned below by the program rung-wise with the explanation of the code.

Rung 0 –

Once the programmer presses the start button the output will get energized and the simulator starts running. Here latching is provided to maintain the state until another input is received.

Rung 1 –

More Read

Level Sensors and Transmitters Questions and Answers

PLC Programming Questions and Answers

FOUNDATION Fieldbus Devices

PLC HMI Questions and Answers

Zigbee Communication Protocol Questions and Answers

 As the bottle gets detected by the sensor the timer gets on. It produces a delay of 10 sec and then the bottle is shifted.

This is done so that the bottles can get filled up properly and also other operations like fixing caps, discarding broken bottles, and diverting large bottles can be done appropriately.

Bottle Line Simulation in LogixPro Simulator

Rung 2 –

Once the delay is produced and the Done bit of the timer becomes 1 then the Main Conveyer belt starts rotating.

Rung 3 –

BSL i.e Bit Shift Left is used here to shift the bottles to left once for every low to high transition on its inputs

This helps to determine which one of the bottles needs to be filled, capped, discarded, or diverted.

Rung 4 –

LIM i.e Limit Test is used to compare specified operands to two limits which are low limit and high limit. Here this limit test specifies the time range between which the operation is needed to be performed.

Using binary bit following operations are performed here within this limit –

  • Fill Tube fills the bottle (5th bottle from LS3 sensor)
  • Cap is fixed (15th bottle from LS3 sensor)
  • Scrap gate is opened (9th bottle from LS3 sensor)
  • Divert gate is opened (5th bottle from Cap Ram)
PLC LogixPro Bottle Line Simulation

Rung 5 –

LS4 sensor determines which one of the beverages is needed to be filled in the bottle. If the bottle is large then a large charge i.e pink liquid is filled in the bottle (7th bottle from LS2 sensor).

If the bottle is small then a small charge i.e purple liquid is filled in the bottle (7th bottle from LS2 sensor). This is done using binary bits.

Rung 6 –

LS8 sensor determines that the broken bottle is discarded through a scrap gate and thus it starts the grinder for grinding the broken bottle.

Rung 7 –

As the main conveyor rotates the large bottle conveyer also starts rotating.

Rung 8 –

The grinded bottles are counted by using a counter. It counts up to 12 bottles.

Rung 9 –

When the counting is done i.e when 12 grinded bottles are filled in the box, the scrap conveyer starts rotating and the next box is placed below grinder.

LogixPro bottle line Simulator solution PDF

Rung 10 –

Whenever the scrap conveyor is rotating previous box which gets completely filled with grinded bottles is shifted and the next box is placed.

Rung 11 –

LS10 sensor controls the movement of the previous box and the next box. Once the next box is placed below the grinder the counter is reset and then it again starts counting.

Rung 12 and 13 –

Large bottles are counted by a counter and the count is shown on a large LED display.

TOD is used to convert the binary value of the decimal numbers to its equivalent BCD value.

Bottle Filling PLC Logic

Rung 14 and 15 –

Small bottles are counted by a counter and the count is shown on a small LED display. TOD is used to convert the binary value of a decimal number to its equivalent BCD value.

Rung 16 and 17 –

Scrap bottles are counted by a counter and the count is shown on a scrap LED display. TOD is used to convert the binary value of the decimal number to its equivalent BCD value.

PLC Ladder diagram Bottle filling plant

Rung 18 and 19 –

Boxes are counted by a counter and the count is shown on the Box LED display. TOD is used to convert the binary value of the decimal number to its equivalent BCD value.

Read Next:

  • HMI Screen Design
  • What is a Safety PLC?
  • RS232, RS422, RS485
  • Steam Turbine Trip
  • What is CODESYS?

You Might Also Like

DNP3 Communication – Distributed Network Protocol 3

Instrumentation Insights: Exploring Safety Integrity Level (SIL)

Safety PLC Interview Questions and Answers

PLC Hardware Questions and Answers – Automation Systems

Electrical Circuit Breaker Questions and Answers

TAGGED: LogixPro, PLC, PLC Example, PLC Logic, PLC Program, PLC Projects, Programmable Logic Controller

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
[mc4wp_form]
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Whatsapp Whatsapp LinkedIn
Share
Previous Article Cylinder Forward PLC Connection and Logic Hydraulic Clamping System using PLC Ladder Logic
Next Article Automation Community Results Automation Community Competition Results – February 2023
Leave a comment Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

120.5k Followers Like
10.1k Followers Follow
90.6k Subscribers Subscribe

Latest Articles

SNMP_question_and_answers
SNMP Questions and Answers
Automation August 25, 2023
Zigbee_question_and_answers
Zigbee Questions and Answers
Automation August 24, 2023
Z-Wave Questions and Answers
Z-wave Questions and Answers
Automation August 23, 2023
konnex_questions_and_answers
KNX (Konnex) Questions and Answers
Automation August 22, 2023
Actuator Sensor Interface Questions and Answers
AutomationInstrumentationPLC

Actuator Sensor Interface Questions and Answers (AS-i)

Dive into our comprehensive Actuator Sensor Interface Questions and Answers (AS-i) to…

Editorial Staff By Editorial Staff June 20, 2023
Profibus Questions and Answers
Automation

Profibus Questions and Answers

In this collection of Profibus Questions and Answers, we delve into the…

Editorial Staff By Editorial Staff May 22, 2023
Instrument Characteristics Questions and Answers
Instrumentation

Instrument Characteristics Questions and Answers

Instrumentation engineers test your instrument characteristics knowledge with our multiple-choice questions and…

Vivek By Vivek May 13, 2023
Voltmeter
ElectronicsElectrical

Voltmeter Questions and Answers – Electrical Devices

A voltmeter is an instrument used for measuring the electric potential difference,…

Editorial Staff By Editorial Staff July 17, 2023
Electrical Circuit Breaker Questions and Answers
ElectricalPLC

Electrical Circuit Breaker Questions and Answers

Explore a collection of questions and answers about circuit breaker which is…

Editorial Staff By Editorial Staff July 4, 2023
Siemens Logo PLC
CompetitionPLC

Getting Started with Siemens Industrial Automation

Siemens industrial automation has a vast range of products such as PLC,…

Sahil Usadadiya By Sahil Usadadiya March 7, 2023
Show More
//

We provide resoucres to million users and we are the number one business and industrial automation news network on the planet

Quick Link

  • Customize Interests
  • My Bookmarks

Top Categories

  • PLC
  • Automation
  • Instrumentation

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

[mc4wp_form id=”847″]

Follow US
© 2023 All Rights Reserved. Supported by Inst Tools.
login
Welcome Back!

Sign in to your account

Lost your password?