Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: XG5000 Example of Simple Conveyor Control PLC Program
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
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 !

Continue Reading

How to Wire a Field instrument to Control Room with Example
Sequential Operation of Output Bits using Two Push buttons
Unknown Do’s Need to Know as a PLC Programmer
How to Get a PLC Programming Job With NO Experience?
PLC Program for Alarm Security System
PLC Program for Traffic Light Sequence using Functional Blocks
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Things to Take Care of When Designing SCADA System
Best Way to Build Troubleshooting Mindset for Automation Engineer
Difference Between Solid State Relay and Electromechanical Relay
What is Nest Loading? – DCS and PLC Control Systems
#16 PLC Best Practices – Create Trend for Cycle Time on HMI
What are User Defined Function Blocks in PLC?
Motor Control Signal Interface
Control Loops Objective Questions and Answers

Keep Learning

PLC attendance system design

Attendance System PLC Program using CX-Programmer

Edge Detection in PLC

Edge Detection in PLC Programming

Free Download PLC Simulator using Excel

PLC Simulator using Excel

Simulation in Machine Expert HVAC

How to do Simulation in Schneider PLC?

Reset Logic for pump Run Hours

PLC Program to Count Running Hours of any Equipment

PLC program for bread oven

Bread Oven Control in Auto and Manual Modes PLC Program

Flexible Input Output Modules

Flexible Input Output Modules

How to Run Multiple Motors with a Single VFD

How to Run Multiple Motors with a Single VFD?

Learn More

Butterfly valve Principle

Short Notes on Different Valve Types

RC Triggering

SCR Triggering Methods

Analog Electronics Objective Questions

Analog Electronics Objective Questions – Set 4

PLC Program using One Shot Rising Instructions

One Shot Rising and One Shot Falling Instructions in PLC

Counter Count Down Bit

Down Counter PLC Program

L2F insertion-style flowmeter

Optical Flow Meter Principle

Emergency Shutdown Valve

Emergency Shutdown Valve : Advantages

Power Systems Questions & Answers

Power Systems MCQ Series 14

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

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?