ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
LED, buzzer, visualisation
Edit input fields in the visualisation
410
12.3.5
INIT_VAR_RETAIN_DINT
3232
Unit type = function block (FB)
Contained in the library:
ifm_PDM_INPUT_Vxxyyzz.Lib
Available for the following devices:
- PDM360: CR1050, CR1051, CR1060
- PDM360compact: CR1052, CR1053, CR1055, CR1056
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
3344
INIT_VAR_RETAIN_DINT initialises the array of INPUT_DINT (
→
page
) indicated on the input
INIT_VALUE with remanent input values.
If input values are to be saved permanently, the values must be initialised after switching on the
display, otherwise they are overwritten in the first cycle. The FB initialises the array INIT_VALUE of
INPUT_DINT with remanent input values.
The POU compares the values of VALUE1...VALUE6 with the values of INIT_VALUE:
> If the contents of VALUE1...VALUE6 = 0, VALUE1...VALUE6 are written to the array INIT_VALUE.
> If the contents of VALUE1...VALUE6
0, the elements of the array INIT_VALUE are written to
VALUE1...VALUE6.