What it does
In most plants running hours are not counted in the PLC, or a separate block must be written for each piece of equipment. The maintenance counter does this in Live: the PLC program is not touched, and the equipment’s “running” signal that is already bound is used.
- The counter is per object. Each pump of the same type counts its own hours.
- Counting goes on even when the screen is not open: Live reads all PLC tags of the project all the time.
- The threshold can be running hours, starts or both; the warning comes at whichever is reached first.
Setting it up in Studio
Select the object and open the Maintenance group on the Inspector’s Properties tab. The group is available on objects that have an on / off property showing that they run; it is the same for 2D and 3D objects.
| Field | Description |
|---|---|
| Maintenance counter | When on, Live counts the running hours and starts of this object. |
| Running property | The property that shows running, for example Running. The tag binding of this property is followed, including bit selection and inversion. |
| Maintenance threshold (hours) | Default 2000. 0 turns the hour threshold off. |
| Start threshold (count) | Every change from off to on is a start. 0 turns the start threshold off. |
| Maintenance confirmation permission | The permission needed for “Maintenance done”. If empty, any logged-in user can confirm. |
How it counts
- Time is added while the running signal is true and the tag’s quality is good. Bad-quality values are not counted.
- Time is measured with the computer’s internal clock; changing the system clock forward or back does not affect the counter.
- If there is a gap of more than 5 minutes between two samples (sleep, freeze), that interval is not counted.
- Counters are kept in the project’s data folder: written every minute, at shutdown and at every “Maintenance done”. When Live opens again, it continues where it left off.
- The record of an object removed from the project is not deleted; if the object is added back, the counter continues where it stopped.
Warning and Maintenance done
Equipment that reaches 90 percent of its threshold is marked “Due soon” in the list, and equipment past the threshold “Due”. When the threshold is reached, a “Maintenance due” warning with the equipment name, hours and starts appears in the alarm list. The warning is in the project’s warning class; Go to object on the row opens the equipment’s screen and shows it. This warning is not written to the alarm log and does not go into notification rules; the moment it is first reached is written once to the event log.
-
Open the list
The badge on Maintenance counters… in the system panel shows how many pieces of equipment are due. The list has a search; tapping a row opens Maintenance info.
-
Check the details
Maintenance info shows the counters, the tag the running signal is bound to, the last maintenance and the history of the last 10. Show on page opens the equipment’s screen. The card that opens when going from an alarm to the object also has a Maintenance info… button.
-
Confirm
Maintenance done needs a login and the maintenance confirmation permission; an optional note can be written. The counters reset and the warning clears. A note in the Maintenance category, linked to the equipment, is written to the shift log, and a record with the user’s name to the event log.
If an object on a screen gets the Show maintenance info event function, for example on its right-click or long-press event, the operator opens the equipment’s maintenance info directly.
Browser, extra monitor, TV and redundant pair
- Counting is done only in Live’s main window; in a redundant pair the master counts. The standby server reads the master’s counters, and a “Maintenance done” given on the standby is passed to the master.
- In browser monitoring and on extra monitors the warning appears in the alarm list; Maintenance counters… and Maintenance info are the same as in Live. Values are at most one minute behind.
- “Maintenance done” from a browser needs remote control permission; for a monitor-only user the button is off.
- On a TV the warning appears in the alarm band. If any equipment is approaching or due, a 20-second “Maintenance counters” screen comes at the end of the display sequence.
Frequently asked
Do I need to add anything to the PLC program?
No. The counter uses the running tag that is already bound to the object. The row of an object whose tag is not bound says “Running signal not linked”.
Is the time Live was closed counted?
No. The counter counts the time the equipment ran while Live was running.
Related pages
Shift log
Shift notes, open tasks, shift handover and an automatic shift summary; PDF and Excel.
LiveAlarms
Alarm view, alarm row, acknowledging, shelving, comments, a sound per alarm class and the alarm log.
StudioWorkspace
A page in a separate window, two editors side by side, page title bar, library favorites, Properties tab.
LiveTV and multi-monitor
Pages rotate on network TVs and a second screen; the Live window can span several monitors.