By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
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: XG5000 Example of Simple Conveyor Control PLC Program
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Ask
  • Courses
  • Videos
  • Q & A
  • EE
  • Measure
  • Control
  • More
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 > XG5000 Example of Simple Conveyor Control PLC Program

XG5000 Example of Simple Conveyor Control PLC Program

Learn how to create a simple conveyor control PLC program in XG5000 with step-by-step instructions and practical examples.

Last updated: February 2, 2025 11:46 am
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

This article discusses a simple automation system using conveyors to transport products in the manufacturing process. This system consists of two conveyor sections that run sequentially: the first conveyor is activated when receiving the product, then the second conveyor starts operating after receiving the product from the first conveyor. Once the product reaches its final destination in the Packing Area, both conveyors will Stop and the amount of product that has been transferred will be recorded.

Contents
Simple Conveyor Control PLC ProgramAddressing of PLCPLC Programming

Simple Conveyor Control PLC Program

In this program, the Input Devices used are as follows:

  1. The PB_START (P00000) button is used to turn ON the system.
  2. The PB_STOP (P00001) button is used to turn OFF the system.
  3. The RESET_COUNTER (P00005) button is used to Reset the counter data.
  4. Sensor SENS1 (P00002) is used to detect products on Conveyor-1.
  5. Sensor SENS2 (P00003) is used to detect products on Conveyor-2.
  6. Sensor SENS3 (P00004) is used to detect products that have arrived at their final destination (Packing area).
Simple Conveyor Control PLC Program

Sequence-1

After the system is turned ON, Conveyor CONVEYOR1 (P00040) will Run if the SENS1 (P00002) sensor is Active because it detects the product.

Sequence-2

Conveyor CONVEYOR2 (P00041) will Start Running when Sensor SENS2 (P00003) has detected the product sent by Conveyor CONVEYOR1 (P00040).

When the product has arrived at the final destination area, the sensor SENS3 (P00004) will be Active because it detects the product, so that the Conveyor CONVEYOR1 (P00040) and CONVEYOR2 (P00041) Stop.

Next, the product will be counted in the memory word COUNTER (D00000).

Conveyor CONVEYOR1 (P00040) will Stop Running if within 5 seconds after Sensor SENS1 (P00002) is Active, Sensor SENS2 (P00003) does not detect the presence of the product that has been sent.

XG5000 Example of Simple Conveyor Control PLC Program

Addressing of PLC

CommentInput (I)Output (Q)Memory WordMemory BitsTimer
PB_STARTP00000    
PB_STOPP00001    
RESET_COUNTERP00005    
SENS1P00002    
SENS2P00003    
SENS3P00004    
CONVEYOR1 P00040   
CONVEYOR2 P00041   
COUNTER  D00000  
TIMER1    T0000
SYSTEM_ON   M00000 

PLC Programming

RUNG 5

In this Rung, the memory bit SYSTEM_ON (M00000) will be in the HIGH state if the PB_START (P00000) button is Pressed.

The memory bit SYSTEM_ON (M00000) will remain in the HIGH state even though the PB_START (P00000) button has been Released because it uses the SET Coil Instruction.

Creating a Basic Conveyor Control Program in XG5000

RUNG 12

In this Rung, if the PB_STOP (P00001) button is Pressed, the memory bit SYSTEM_ON (M00000) will be in the LOW state. Because it uses the RESET Coil Instruction.

RUNG 19

In this rung, the value in memory word COUNTER (D00000) will be Reset to zero “0” if the RESET_COUNTER (P00005) button is Pressed. Because the MOV instruction moves the zero value “0” to the memory word COUNTER (D00000).

Conveyor Control Programming

RUNG 27

In this Rung, Output CONVEYOR1 (P00040) will be ON when the NO contact of memory bit SYSTEM_ON (M00000) and Sensor SENS1 (P00002) in the HIGH state.

The CONVEYOR1 (P00040) output will remain in the ON state even though the Sensor SENS1 (P00002) in the LOW state, because it uses the SET Coil Instruction.

RUNG 31

In this Rung, when the NO contact of Output CONVEYOR1 (P00040) is ON, the TIMER1 (T0000) Timer will Start counting up to 5 seconds. if the NC contact of Output CONVEYOR2 (P00041) is ON, then Timer TIMER1 (T0000) will be OFF.

RUNG 40

Output CONVEYOR2 (P00041) will be ON when the NO contact of Output CONVEYOR1 (P00040) is ON and Sensor SENS2 (P00003) in HIGH state.

The CONVEYOR2 (P00041) Output will remain in the ON state even though the Sensor SENS2 (P00003) in the LOW state, because it uses the SET Coil Instruction.

How to Control a Conveyor System

RUNG 49

In this rung, when the NO contact of the SYSTEM_ON memory bit (M00000) and Sensor SENS3 (P00004) are in a HIGH state, the outputs CONVEYOR1 (P00040) and CONVEYOR2 (P00041) will turn OFF.

This is because in this rung, the outputs CONVEYOR1 (P00040) and CONVEYOR2 (P00041) use the RESET Coil instruction.

RUNG 60

In this rung, the value in the memory word COUNTER (D00000) will increase (+1) if the NO contact of the SYSTEM_ON memory bit (M00000) and Sensor SENS3 (P00004) are in a HIGH state.

Read Next:

  • PLC Logic Train Detection and Gate Operation
  • Weighing with Labeling PLC Automation Logic
  • Functional Block Diagram Analog Alarm Logic
  • Timer-Based Sequential PLC Programming
  • PLC Programming for Baking with Auto Mode

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 !
Comparison of Proportional Integral Derivative Controllers (PID)
How to Configure PID Controller in Various Schneider PLCs?
Software Redundancy in Siemens PLC – Hardware versus Software
Introduction to Functional Block Diagram in Studio 5000
Sequential PLC Programming for the Pneumatic Valves
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

Recent Comments

  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers
  • anuj kapoor on DCS Program to Maintain Draft in Furnace
  • anuj kapoor on IoT based Smart Boiler Control System with Cloud PLC and SCADA

Related Articles

CODESYS HMI Interface

CODESYS HMI Interface

two-way communication between PLC systems

Transferring Data Across PLC Systems – TSEND_C and TRCV_C

4 TO 20 MA ANALOG CURRENT SIGNALS

Basics of 4 to 20 mA analog Signals

Data Handling Instructions in PLC Programming

Data Handling Instructions in PLC Programming

PLC Program for Automatic Mixing Controlling in a Tank

PLC Program for Automatic Mixing Control in a Tank

Ladder Logic Example with Timers

Ladder Logic Example with Timers

Peripheral Inputs and Outputs in Siemens PLC

Peripheral Inputs and Outputs in Siemens PLC

Marshalling Panel

What is Marshalling Cabinet?

More Articles

Electrical Machines Questions and Answers

Induction Machines Equivalent Circuit Parameters

Transistor Load Line Analysis

Transistor Load Line Analysis

PLC Programming for Sequential Batch Mixing System

PLC Programming for Sequential Batch Mixing System

Hot Well Level Control System in Condensing Turbine

Hot Well Level Control System in Condensing Turbine

How do AC drives work

How do AC Drives Work? – Variable Frequency Drive (VFD)

Transmission Control Protocol

Difference Between TCP and UDP

Process Control Instrumentation Objective Questions

Process Control & Instrumentation Objective Questions – Set 6

Introduction to SCL Programming in Siemens PLC

Types of Expressions in the SCL Language of the Tia Portal

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?