181
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
TOGGLE
13248
Unit type = function block (FB)
Unit is contained in the library
ifm_PDMsmart_UTIL_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
3304
TOGGLE enables the setting and resetting of a Boolean variable via only one input bit.
The first rising edge on the input IN sets the output OUT to 'TRUE'.
The next rising edge resets the output back to 'FALSE'.
etc.
>
Parameters of the inputs
3305
Parameter
Data type
Description
IN
BOOL
edge FALSE
TRUE:
setting / resetting of the output
>
Parameters of the outputs
3306
Parameter
Data type
Description
OUT
BOOL
1st edge on IN
TRUE
2nd edge on IN
FALSE
3rd edge on IN
TRUE ...