
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
LED, buzzer, visualisation
Edit input fields in the visualisation
412
12.3.6
INIT_VAR_RETAIN_REAL
3235
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
3347
INIT_VAR_RETAIN_REAL initialises the array of INPUT_REAL (
→
) 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_INT with the 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.