Shift Break Unplanned Downtime
Previous Topic  Next Topic 


Automatically Return to Previous Unplanned Downtime After a Shift Break


This example will show how to automatically go from an unplanned downtime to a shift break, then return to the unplanned downtime after the shift break is over.


The first steps will be to define the specific planned downtime equipment status which will be used for the shift break.  This portion of the setup is described in the Shift Breaks example.


The next step will be to define the shift breaks and assign the associated planned downtime to the breaks.


The next step will be connecting to the DataXchange Service which is done from the DataXchange tab and the Connect button.  For general information on the DataXchange Service refer to the DataXchange Service and DataXchange Interface help pages.


Once connected the Service the expressions can be created.


On the DataXchange tab press the Expression button and then Create Expressions to bring up the Expression Builder.  Press the Add button to create the new expression.

Select the desired Expression Group to help organize the expressions. 


Two expressions need to be created for this scenario.  First we must capture the current active unplanned downtime when the shift break starts.


Provide the desired expression name and the optional expression summary. Click in the Expression window to enable the buttons in the ribbon bar and use the PCS Database variables to create the expression as shown below, or type directly in the Expression window.  The expression checks for the start of a shift break and if an unplanned downtime was active at the start of that downtime.




The second expression looks for the shift break to end and ensures that the previous downtime was captured, and then enters the previous downtime. 



Note that the Shift Break Downtime Start expression must be used in conjunction with these expressions.  That expression is described in the Shift Breaks example.   Once the expressions have been created they must be assigned to the desired equipment.  Assigning the expressions are also discussed in the Shift Breaks example.