So currently, an operator will go to a device's window on the HMI and put the device into "Commissioning Mode" which allows him to override the process value coming from a transmitter in order to simulate values and induce shutdowns and alarms.
The operator will manually enter that value into the HMI, trigger a shutdown, navigate to several other pages to view if the correct parts of the site are shutdown and that the correct permissives have been pulled.
Assuming everything worked as intended, the operator will then go back to the device page, enter a value to bring the process value back into the clear where it doesn't trip any alarms or shutdowns, then press a Master Reset button. The operator will then reopen any necessary valves or start processes back from the HMI and move on to the next device to test.
This process takes a long time when you are considering that there are close to 50 devices to test as well as a minimum 15 processes and permissives to check for each shut down. Some site have fewer devices and processes while some have more.
I am trying to automate this entire process so that an operator can simply pull up Vision, enter in which devices he wants to test, and push the button that will do that entire process for him.
It will put the device into commissioning mode, drive the value above the shutdown set point, record and display the current values for all the appropriate tags that represent the permissive and processes he needs to verify the status of, then bring the value for the device back down into normal operating range, reset, then reopen the site.
Then it will do the same for the rest of the devices.
I'm not aiming for the script to work quickly as this will all still take time because we are dealing with physical devices and valves, etc.
The main goal of this is to reduce the amount of time the operator has to spend manually inputting values and navigating screens in the HMI, which will reduce the downtime for the site.
I already have scripts that drive the values for the devices up then down based on the shutdown setpoints, conduct a reset, then reopen the site.
The missing piece is recording all the relevant tag values and displaying them in one table on the screen in between raising and lowering the device values.