SaveRetainDataFast block
Short summary
Name |
|
→POU type |
|
Category |
more system blocks, persistence blocks, block with internal error diagnostic |
Graphical interface |
|
Available since |
version 3.2.2 (for library
The block is supported for the platforms |
Functionality
The block saves the values of the →retentive variables persistently to a binary file. Compare SaveRetainData
block for an alternative.
Restriction The values of retentive →function block instances are not saved. |
Recommendation on usage Use the block only once in a →program and at the end of the application cycle (= shutdown state). |
Inputs, return value
|
Identifier |
Description |
|
---|---|---|---|
Inputs: |
|
|
name of the file where the values of the variables are stored |
Return value: |
– |
|
returns the success indicator:
|
Input EN
and output ENO
are available when →calling the block. See "Execution control: EN, ENO" for information on input EN
and output ENO
.
See:
-
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
-
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic.
Internal error diagnostic for block
The block checks the following error cases:
-
The system service has not been loaded.
-
The return code of the function call equates to an error (return value ≠ value
16#00
).
In such an error case, the output ENO
of the block is set to value FALSE
(or an equivalent).