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: Electric Motor Forward Reverse with Repeat Cycle PLC Logic
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 > Electric Motor Forward Reverse with Repeat Cycle PLC Logic

Electric Motor Forward Reverse with Repeat Cycle PLC Logic

Discover how to control an electric motor system for forward and reverse operations with repeat cycle programming in a PLC.

Last updated: September 20, 2024 3:03 pm
Editorial Staff
PLC Tutorials
1 Comment
Share
8 Min Read
SHARE

Discover how to control an electric motor system for forward and reverse operations with repeat cycle programming in a PLC using CX-Programmer and CX-Designer

Contents
Electric Motor Forward Reverse with Repeat CycleInputs and OutputsOmron PLC ProgrammingSimulation

Introduction

This article discusses the PLC Electric Motor System Forward and Reverse program with Looping using CX-Programmer and Cx-Designer. This system can only be started if the Loop “Set Value” has been Set.

This system Runs automatically, the motor will Run in Forward mode during the “Set Value” time and will change to Reverse mode according to the “Set Value” time. This system will be Run again as many as Looping “Set Value” Looping.

Electric Motor Forward Reverse with Repeat Cycle

This PLC program only uses 2 buttons, the START_SYSTEM (0.00) button is used to turn ON the system, and the STOP_SYSTEM (0.01) button is used to turn OFF the system and Reset the data in memory word PV_LOOP (D0).

Before the system is Started, the “Set Value” in the memory word SV_LOOP (D1) must be Set. The memory word SV_LOOP (D1) is used as the “Set value” of the system Loop. For example, if the memory word SV_LOOP (D1) is Set to “3”, the system will be Run 3 times.

The memory word FORWARD_TIME (D10) is used as the “Set Value” of the timer TIMER_FORWARD (T0000) and the memory word REVERSE_TIME (D11) is used as the “Set Value” of the timer TIMER_REVERSE (T0001).

When the START_SYSTEM (0.00) button is pressed, the output FORWARD (100.00) will be ON. The FORWARD (100.00) output will be OFF when timer TIMER_FORWARD (T0000) has reached the “Set Value”.

When the TIMER_FORWARD (T0000) timer has finished counting, the REVERSE (100.01) output will be ON. The REVERSE (100.01) output will be OFF when timer TIMER_REVERSE (T0001) has reached the “Set Value”.

When the timer TIMER_REVERSE (T0001) has finished counting, the value in memory word PV_LOOP (D0) will increase (+1).

The sequence of this program will be executed again according to the “Set Value” memory word SV_LOOP (D1). When the program has been executed according to the “Set Value” memory word SV_LOOP (D1), the system will be OFF.

Electric Motor Forward Reverse with Repeat Cycle PLC Logic

Inputs and Outputs

CommentInput (I)Output(Q)Memory WordMemory BitsTimer
START_SYSTEM0.00    
STOP_SYSTEM0.01    
FORWARD 100.00   
REVERSE 100.01   
TIMER_FORWARD    T0000
TIMER_REVERSE    T0001
SYSTEM_ON   W0.00 
LOOP_CUTOFF   W0.01 
PV_LOOP  D0  
SV_LOOP  D1  
FORWARD_TIME  D10  
REVERSE_TIME  D11  

Omron PLC Programming

RUNG 0

In this Rung, the memory bit SYSTEM_ON (W0.00) will be ON when the memory word SV_LOOP (D1) has a value Not Equal to zero “0” and the START_SYSTEM (0.00) button is Pressed. Because it uses Latching, the memory bit SYSTEM_ON (W0.00) remains in the HIGH state even though the START_SYSTEM (0.00) button has been Released.

The memory bit SYSTEM_ON (W0.00) will be in the LOW state if the STOP_SYSTEM (0.01) button is Pressed or the NC contact of memory bit LOOP_CUTOFF (W0.01) is in the HIGH state.

Forward Reverse Motor Control with Repeat Cycle Using PLC

RUNG 1

In this Rung, the FORWARD (100.00) output will be ON if the NO contact of memory bit SYSTEM_ON (W0) is in a HIGH state and the value of memory word PV_LOOP (D0) is Less Than Or Equal to SV_LOOP (D1).

The timer TIMER_FORWARD (T0000) will count up to “Set value”.

The FORWARD (100.00) output will be OFF when the NC contact of timer TIMER_FORWARD (T0000) or TIMER_REVERSE (T0001) is in a HIGH state or if the value of memory word PV_LOOP (D0) is Greater Than SV_LOOP (D1).

RUNG 2

In this Rung, the REVERSE (100.01) output will be ON if the NO contact of memory bit SYSTEM_ON (W0.00) and the timer TIMER_FORWARD (T0000) in HIGH state and the value of memory word PV_LOOP (D0) is Less Than Or Equal to SV_LOOP (D1).

Because it uses Latching, the REVERSE (100.01) output will be ON even though the timer TIMER_FORWARD (T0000) is in the LOW state.

The timer TIMER_REVERSE (T0001) will count up to “Set value”.

The REVERSE (100.01) output will be OFF when the NC contact of timer TIMER_REVERSE (T0001) in a HIGH state or if the value of memory word PV_LOOP (D0) is Greater Than SV_LOOP (D1).

PLC-Based Motor Control with Repeating Cycle

RUNG 3

If the NO contact of timer TIMER_FORWARD(T0000) is in a HIGH state, then the value in memory word PV_LOOP (D0) will increase (+1).

RUNG 4

When the memory bit SYSTEM_ON (W0.00) in the HIGH state and the value in memory word PV_LOOP (D0) is equal to SV_LOOP (D1), then the memory bit LOOP_CUTOFF (W0.01) will become HIGH state and the value in memory word PV_LOOP (D0) changed to zero “0” due to the MOV(021) instruction.

PLC Logic Example for Motor Forward and Reverse

RUNG 5

When the STOP_SYSTEM (0.01) button is Pressed, the value in the memory word PV_LOOP (D0) changes to zero “0” because of the MOV(021) instruction.

Simulation

Simulation of Electric Motor PLC Programming

The simulation image above is a situation when the “Set value” of all parameters has not been Set and the system has not been Started.

Designing PLC Motor Control

The simulation image above is the situation when the “Set value” of all parameters has been set but the system has not been Started.

You can see that the SV_LOOP parameter is Set to “5” times, SV TIME FORWARD is Set to “5” seconds and SV TIME REVERSE is Set to “6” seconds.

PLC Motor Simulation

In the simulation image above you can see that the FORWARD light is ON and the timer is Starting to count.

Electrical Motor HMI Graphics

In the simulation image above, you can see that the REVERSE light is ON and the PV LOOP value is “1”, meaning that the Looping has been carried out 1 time.

Read Next:

  • Sanitizer Complex Ladder Logic PLC Example
  • Door Locking System PLC Application Example
  • CX-Programmer Products Sorting & Counting
  • Real-Time Clock in Omron CX Programmer
  • PLC Program for Ceramic Burning Oven
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

Mitsubishi Electric GOC Controllers
PLC Programming for Weight-Based Packaging
Instrumentation Earthing
EasyBuilder Pro Online Simulation of Mitsubishi FX3U PLC
Difference between Compact PLC and Modular PLC
#15 PLC Best Practices – Safe State when PLC Restarts
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
1 Comment
  • Shahroz says:
    December 21, 2024 at 12:07 am

    Is there any video of the execution of this program

    Reply

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

Download a Ladder logic program to GE PLC
PLC Program for Temperature Control using Thermostat
Create a User-Defined Function Block in Codesys
Advanced Skills Required for a PLC Programmer to Get a Job
Heating and Mixing of Products using PLC Example Tutorial
Split Range Control Application using PLC Ladder Logic
Top 100 PLC Objective Questions and Answers
Analog Measurement using Ladder Logic

Keep Learning

Parameters of SRT_DINT instruction

Tia Portal – OB20 Time Delay Interrupt Organization Block

OSI Reference model

SCADA Communication and Protocols

Compare DCS, PLC, RTU

Difference between DCS, PLC, and RTU ?

Concept of Interlocking in PLC

Concept of Interlocking in PLC

Top 5 Advantages of Human-Machine Interface (HMI)

Top 5 Advantages of Human-Machine Interface (HMI)

100 PLC Quiz Questions

100 PLC Quiz Questions : True or False

Interlock Philosophy

Types of Interlocks

Watchdog Timer in PLC

What is a Watchdog Timer in PLC?

Learn More

What is Wellhead Control Panel?

4-20ma-formulas-and-examples

4-20mA Formulas and Examples

Edge Detection in PLC

Edge Detection in PLC Programming

How to Choose HMI

How to Choose a Suitable HMI for Your Application?

Thermocouple cold junction compensation

Why Thermocouple Reference Junction Compensation Required ?

PLC IO Examples

Quiz: Identifying I/O Examples in PLC Systems

Calculate the Magnitude of Hydrostatic Pressure

Calculate the Magnitude of Hydrostatic Pressure

Electrical Conduit

What is Electrical Conduit? Types, Advantages, Disadvantages

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?