Setting an asset to maintenance mode and resetting it to normal mode after 6 hours
Submitted by geertd on Tue, 07/13/2010 - 11:12
What I want to achieve is being able to manually switch an asset to "maintenance" mode, ignoring alarms in this mode, being able to manually switch the asset back to "normal" mode and automatically switching back to "normal" mode after max. 6 hours.
Here is how I plan to do this:
- Add a data item on the enterprise "MaintenanceSwitch", I add two actions (one to set MaintenanceSwitch" to 1, one to set it to 0)
- Add a state machine with two states "Normal" and "Maintenance" with two rules based on the value of "MaintenanceSwitch".
- Add a rule that fires whenever an alarm is created and that changes the status of the newly created alarm when the state is "Maintenance".
Questions:
- Am I on the right track?
- The asset can only remain in "Maintenance" status for max. 6 hours. If the user does not reset it to "Normal" (by setting "MaintenanceSwitch" to 0), a timer should do this automatically. How would I setup such a timer?
Geert
Keywords:
Home › Community › Forums › Application Development › Setting an asset to maintenance mode and resetting it to normal mode after 6 hours

Maintenance Mode using State Machines
Geert,
You are going in the right direction.
The optimal way for the 6 hour period is to use the Reevaluate function.
A tutorial will be published soon showing the steps to do the Maintenace mode and the post will be updated.
Tutorial / Reevaluate
Hi,
Have you been able to fix the Reevaluate issue and if so, when will the tutorial be published?
Geert
Tutorial / Reevaluate
Geert,
This should be done next week. Sorry for the delay.
Jim
Any news on this ?
Hi,
Any news on this issue?