How Recovery mode works
- Last UpdatedJan 14, 2025
- 2 minute read
- PI System
- PI Event Frames Generator 5.1.7
- Interfaces
How Recovery mode works in PI EFGen 4.1 is dependent upon whether your configuration is for Recovery in PI Batch Generator (PI BAGen) mode, or for Recovery in non-PI BAGen mode.
-
Recovery PI BAGEN Mode
Recovery in PI BAGen Mode behaves as follows:
-
Recovery is executed unit by unit.
-
When recovering data, if no Unit Procedure Event Frames are found between RST and RET, then RST is reset to RST-ABTO and event frames are searched from RST_ABTO to RET.
-
If no Unit Procedure Event frames are found, then Recover will recovery tag events between the RST-ABTO and RET times.
-
If Unit Procedure Event Frames are found, and the end time is less than RET, then Recovery will start from the latest event frame to start and go through to RET.
-
If the latest Unit Procedure event frame has no end time, then recovery will start from the latest event frame to start and go through to RET.
-
If the latest Unit Procedure event frame has an end time greater than the RET time, then no recovery will be done on this unit.
-
Recovery non-PI BAGEN Mode
Recovery in non-PI BAGen Mode behaves as follows:
-
Recovery is executed Procedure by Procedure.
-
When recovering data, if no Procedure Event Frames are found between the RST and RET times, then the RST is reset to RST-ABTO and event frame are searched from RST_ABTO through to the RET time.
-
If no Procedure Event frames are found, then Recover will recover tag event between the RST-ABTO and RET times.
-
If Procedure Event Frames are found, and the end time is less than the RET time, then Recovery will start from the latest event frame start time through to the RET time.
-
If the latest Procedure Event frame has no end time, then recovery will start from the latest event frame start time through to the RET time.
-
If the latest Procedure Event frame has an end time greater than the RET time, then no recovery will be done on this configuration.
Note: Units must be recovered in the order that they execute within a Procedure. The first unit has to be recovered first for the later units to merge into it. For that reason, you cannot have an existing Procedure + Unit with PI BAGEN mode, and then recover an earlier Unit Procedure into the same Procedure.