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
Notification Show More
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

Free Allen Bradley PLC Ladder Logic Training Course
What is SCADA ? How does SCADA Works ?
Programmable Logic Controller Practice Tests
Upgrading and Migration of PLC Systems
Design a Program Using Studio 5000 and FactoryTalk View Studio
What is a GSD File and Why it is required?
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

Free Schneider PLC Training – Automation Course
Check Block Consistency Tools in Simatic Manager
PLC Pump Control: 10 seconds ON & 20 seconds OFF
Automation System for Hazardous Environments
PLC Program for Controlling Sequence of Conveyors with Interlock
What is PID Controller?
Compare Two Offline PLC Projects
PLC Program to Read Temperature in PLC

Keep Learning

PLC Program for Washing Machine

PLC Program for Washing Machine

PLC Program to Energize & De-energize the Outputs based on Events

PLC Energize or De-energize the Outputs based on Events

PLC Example to Control LEDs Via Switches

PLC Example to Control LEDs Via Switches

PLC Program for Blinking Lamp on 5 Seconds Interval

PLC Program for Blinking Lamp on 5 Seconds Interval

How is Data Stored in Standard Modbus Protocol?

How is Data Stored in Standard Modbus Protocol?

Why Are Charcoal and Salt Added to an Earthing Pit

Why Are Charcoal and Salt Added to an Earthing Pit?

PLC Programming Example on LED Control

PLC Programming Example on LED Control

IP Address Change in Simatic

PLC Configuration of Profinet I/O System

Learn More

Temperature Switch Calibration

How to Calibrate Temperature Switch? – Instrument Basics

Downloading Free PLC software

Step by Step Guidelines for Downloading Free PLC software

Types of Scan Time in a PLC

#16 PLC Best Practices – Create Trend for Cycle Time on HMI

Advances in Control System

Adaptive Control

Mass Spectrometer Questions and Answers

Magnetic Deflection Mass Spectrometer Questions & Answers

Historical Scada graph

Configuration of InTouch Scada Trends

Configuration of Siemens VFD Using TIA Portal

Configuration of Siemens VFD Using TIA Portal Start drive

Triple-offset Butterfly Valves

Butterfly Valves – Concentric, Double-offset, and Triple-offset

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?