Scheduled Planned Downtime Expressions
Previous Topic  Next Topic 


Scheduled Planned Downtime Expressions

There are three variables to be used with expressions.

[PCSDB.scheduled_planned_downtime_code] - The currently active scheduled planned downtime identifier, such as 201 or 202.

[PCSDB.prev_scheduled_planned_downtime_code] The identifier of the scheduled planned downtime that was active on the previous poll.

[PCSDB.in_scheduled_downtime] - This variable will hold a value of True if the equipment is currently in an active scheduled downtime.


Start Scheduled Planned Downtime Start Expression:

To start and end a Scheduled Planned Downtime, you will need to use expressions.

If the expressions already exist in your account, then they just need to be assigned to the desired equipment.  If the expressions do not already exist, they will need to be created.

Below are general start and end expressions to help guide you.


This expression will start a Scheduled Planned Downtime.

([PCSDB.general_equipment_status] = [PCSDB.UNKNOWN_DOWNTIME]) AND ([PCSDB.in_scheduled_downtime] =True)


The result of the start expression will send a Scheduled Planned Downtime start to the database with the planned downtime code.

[PCSDB.send_planned_DT_start] {[PCSDB.scheduled_planned_downtime_code]}


Scheduled Planned Downtime end expression:

([PCSDB.in_scheduled_downtime] = False) AND ([PCSDB.current_pdt_status_code] = [PCSDB.prev_scheduled_planned_downtime_code])

The result is:

[PCSDB.send_planned_DT_end] {[ PCSDB.prev_scheduled_planned_downtime_code ]}

There is also the [PCSDB.in_scheduled_downtime] variable which will either be True or False.

This will inform you if a Scheduled Planned Downtime is currently active.

([PCSDB.in_scheduled_downtime] =True) AND ([PCSDB.general_equipment_status] != [PCSDB.UNKNOWN_DOWNTIME])