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: Allen Bradley Studio 5000: Motor Running Hours 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 > Allen Bradley Studio 5000: Motor Running Hours PLC Program

Allen Bradley Studio 5000: Motor Running Hours PLC Program

Discover how to write a PLC program for calculating and controlling motor running hours in the Rockwell Studio 5000 platform.

Last updated: September 20, 2024 6:07 am
Viral Nagda
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Motor running hours are an extremely important parameter in industrial automation. It is necessary to calculate it for efficient performance, maintenance, and switching of multiple motors.

Contents
Motor Running Hours PLC ProgramAllen Bradley Studio 5000

Motor Running Hours PLC Program

In the PLC program, motor running hours can be implemented with the help of timers and counters. In this post, we will see how to write a PLC program for calculating and controlling motor running hours using functional block diagram language in the Studio 5000 platform.

Let us understand the scenario first. We simply have a motor run feedback which we use to calculate the running hours. As the run feedback is received, the values start to accumulate in seconds, minutes, and hours.

We have a total runtime of 32000. After these hours, the counting will stop and the operator needs to press the reset button to again restart the counting.

Allen Bradley Studio 5000

For this, we use Studio 5000 software (Rockwell Automation) and implement it in functional block diagram language.

Let us understand the logic now. Refer to the below image. We will see each and every link one by one. We will use the following tags for HMI – I_Run_Cmd, I_Reset_Pb, DutyRunHrs_S_Pv, DutyRunHrs_S_Pv and DutyRunHrs_S_Pv.

Allen Bradley Studio 5000: Motor Running Hours PLC Program

We will first start with counting seconds. Refer to the below image, which has all the links for a seconds counter. The blue color highlighted shows the link to this counter.

For counting the counter, we use an AND logic of run feedback, seconds pulse, and a negated version of the hours counter done bit. So, when the total hours are counted, it will block further counting.

We reset the counter when the minute counter is incremented every time. For this, we use a CU or count-enabled bit of the counter. Due to this, the succeeding counter will be incremented first and the preceding counter will be reset afterwards.

The accumulated value of this counter is written in a tag – DutyRunHrs_S_Pv. The done bit of this counter is used to increment the minutes counter. We use a set value of 60 for this counter.

Allen Bradley motor hours control

We next do counting minutes. Refer to the below image, which has all the links for a minutes counter. The blue color highlighted shows the link to this counter. For counting the counter, we use an AND logic of seconds counter done bit and a negated version of minutes counter done bit.

We reset the counter when the hour counter is incremented every time. For this, we use CU or count enabled bit of the counter. Due to this, the succeeding counter will be incremented first and the preceding counter will be reset afterwards.

The accumulated value of this counter is written in a tag – DutyRunHrs_M_Pv. The done bit of this counter is used to increment the hours counter. We use a set value of 60 for this counter.

Hour meter programming in Rockwell

We next do counting hours. Refer to the below image, which has all the links for a hours counter. The blue color highlighted shows the link to this counter. For counting the counter, we use an AND logic of minutes counter done bit and a negated version of hours counter done bit.

We reset the counter when the user presses the reset button. The accumulated value of this counter is written in a tag – DutyRunHrs_H_Pv. The done bit of this counter is used to block the seconds counter. We use a set value of 32000 for this counter.

How to program a running hours meter in PLC

When the hours timer is done, the whole counting is stopped and not counted until the user presses the reset button. After this, the counting will start again from zero.

In this way, we saw how to write a PLC program for motor running hours using functional block diagram language.

Read Next:

  • Motor Starter Logic using Siemens PLC Logic
  • Structured Text PLC Logic for Motor Interlock
  • Car Wash Program Functional Block Diagram
  • Siemens VFD Configure TIA Portal Start drive
  • Configure PID Controller in Schneider PLC

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

PLC Electric Motor Interlocks
Count and Pack Objects from Conveyor using PLC Ladder Logic
PLC Program for Counting Moving Objects on Conveyor
Siemens S7 300 CPU Status and LED Errors Explanation
Siemens S7 1200 PLC configuration in TIA Portal
Tia Portal – OB121 Programming Errors Interrupt Organization Block
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

While Do Statement in Structured Text PLC Program
Move, Move Bit, Move Digit – Examples of Omron PLC Programs
What is a Tag? Types of Tags in SCADA
Tutorial: Siemens Communication between PLCs using I-Device
Example PLC Program to Control a Pump based on Level Sensors
Automatic Empty Bottle detection using PLC Logic
#20 PLC Best Practices – Identify Critical Alerts
What is a Retro-Reflective Sensor? – Principle, Applications

Keep Learning

Siemens PLC programming: BCD, Integer, Double Integer, Real

Draw a ladder logic to switch ON-OFF a bulb using a toggle switch

Draw a Ladder Logic to switch ON-OFF a Bulb using a Toggle Switch ?

PLC Question Bank

PLC Question Bank

How to do Force in GE PLC Proficy Machine Edition?

Scan cycle of a Siemens PLC

OB1 – Main Cyclic Organization Block in TIA Portal

Comparison of Proportional Integral Derivative Controllers (PID)

Comparison of Proportional Integral Derivative Controllers (PID)

PLC Program to Control Motor Speed using VFD Drive

Motor Speed Control using VFD and PLC Programming

Level Transmitter configuration in PLC

Scaling with Parameters (SCP) Instruction in PLC

Learn More

control valve sizing problem

Importance of Proper Control Valve Sizing

Solenoid Valves Questions

Solenoid Valves Questions & Answers – 3

Configure an IP address

What is an IP address? How to Set IP Address of the Computer?

Pressure Transmitter Circuit

Pressure Transmitter Circuit

Proximity Switch PNP Type Working Animation

Proximity switches Circuit Diagram Operation

Electrical Machines Questions and Answers

Induction Motor Rotor Frequency

Exclusive Valve Sequencing

Exclusive Control Valve Sequence

Why 4-20mA Standard is so popular

Why 4-20 mA Standard is so popular ?

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?