
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
LED, buzzer, visualisation
Edit input fields in the visualisation
403
Parameters of the inputs
3334
Parameter
Data type
Description
INIT
BOOL
TRUE (only for 1 cycle):
Sets the focus to the first input field
FALSE:
during further processing of the program
ENABLE
BOOL
TRUE:
unit is executed
FALSE:
unit is not executed
> POU inputs and outputs are not active
INIT_VALUE
ARRAY[1..6] OF DINT
initialisation values for the input fields for the first call
NO_OF_FIELDS BYTE
number
of required input fields:
value range = 1...6
MIN_MAX_ARRAY
ARRAY[1..12] OF DINT
defines input limits
index 1 = min. value field 1
index 2 = max. value field 1
index 3 = min. value field 2
index 4 = max. value field 2 etc.
ESC
BOOL
TRUE:
resets the input value to the last valid value
FALSE:
this function is not executed
INCREMENT BOOL
edge FALSE
TRUE:
Increments the input value by the value in
INCREMENT_VALUE
(or
INCREMENT_VALUE2)
DECREMENT BOOL
edge FALSE
TRUE:
Decrements the input value by the value in
INCREMENT_VALUE
(or
INCREMENT_VALUE2)
ENTER BOOL
1st edge FALSE
TRUE:
> activates input mode for the input field
> changes field colour (only color device)
> cursor flashes
2nd edge FALSE
TRUE:
> resets input mode for the input field
> writes edited values to the output variables
VALUE_FIELD1...VALUE_FIELD6
INCREMENT_VALUE
DINT
if KEY_INCREMENT_VALUE2 = FALSE:
The value is changed by this amount in the active input field for
INCREMENT / DECREMENT.
KEY_INCREMENT_VALUE2
BOOL
TRUE:
The value in the active input field is changed by the
amount in INCREMENT_VALUE2 for INCREMENT /
DECREMENT.
FALSE:
The value in the active input field is changed by the
amount in INCREMENT_VALUE for INCREMENT /
DECREMENT.
INCREMENT_VALUE2
DINT
if KEY_INCREMENT_VALUE2 = TRUE:
The value is changed by this amount in the active input field for
INCREMENT / DECREMENT.
CLEAR_ALL_VALUE
BOOL
TRUE:
set all internal and external input values to 0
FALSE:
this function is not executed