UPS (persistent data)
If the power supply fails, the UPS continues to supply the Embedded PC. During this period persistent data can be saved, which are available on switching on again. Use a UPS to shut down the Embedded PC in a controlled manner and to save persistent data.
The following UPS configurations can be used:
- CX2100-0904, power supply unit with integrated capacitive UPS.
- CX2100-0914 power supply unit and CX2900-0192 battery pack.
Storage location and names of the files:
The persistent data are saved by default in the TwinCAT boot directory:
Development environment | File path | File name |
---|---|---|
TwinCAT 2 | C:\TwinCAT\Boot\ | TCPLC_T_x.wbp The x in the file name stands for the number of the runtime system. |
TwinCAT 3 | C:\TwinCAT\3.1\Boot\ | Port_85x.bootdata The x in the file name stands for the number of the runtime system. |
Configure the CX20x0 as follows in order to save persistent data:
- First of all you have to configure the UPS. Read how to do this in the relevant chapter of the CX2100-09x4 power supply documentation.
- Configure the Windows write filter and issue the corresponding write permissions in order to be able to save persistent data (see: Windows write filter).
- Declare important data such as counter values in the PLC as VAR PERSISTENT.
- Subsequently you can check the validity of the variables and monitor whether the persistent data are loaded without error (see: Checking the validity of the variables).
Components | Version |
---|---|
TwinCAT on the development PC and on the control system | TwinCAT 2.11R3 Build 2047 (or higher) |