To safely terminate the system from UPS (Uninterruptible Power Supply) in case of power failure, use the shutdown action to terminate the OS (Operation System).For more information about the shutdown action, please
here.
The following are some of the ways to work with UPS.
- If you can get the UPS signal
If the signal from the UPS can be captured by the PLC, assign the signal value to a tag, and let the value execute the shutdown action via the tag event.For more information about the tag event, please click here. Please check
- If you are able to run external applications from UPS supplied tools, etc.
We will make it so that the shutdown is triggered by some external application. For example, you can create a trigger file from VBScript and have it execute the shutdown action when the file is created.
A sample can be found here.
Example)
For an OMRON UPS, use the following tool.「OMRON ネットワーク対応自動シャットダウンソフト PowerAct Pro」
https://www.oss.omron.co.jp/ups/product/soft/poweractpro.html
This tool allows you to run external applications in the configuration.From the tool, run the sample "Shutdown_PanelServer.vbs" by executing an external application 10 minutes after power down, etc. (time depends on battery allowance).
- This sample uses the script Ver2 action to check for the existence of files.For more information about the Script Ver2 action, please here.
- This sample checks the existence of the file for the trigger in 10-second cycles.If the existence of the file is confirmed, the shutdown action will work.
- If you want to shut down the OS as well, please change the shutdown action setting.