
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Input/output functions
Processing input values
328
10.1.2
TOGGLE
3194
Unit type = function block (FB)
Contained in the library:
Available for the following devices:
ifm_PDM_UTIL_Vxxyyzz.LIB
- PDM360: CR1050, CR1051, CR1060
- PDM360compact: CR1052, CR1053, CR1055, CR1056
ifm_PDMng_UTIL_Vxxyyzz.LIB
- PDM360NG: CR108n, CR9042
ifm_PDMsmart_UTIL_Vxxyyzz.LIB
- PDM360smart: CR1070, CR1071
Symbol in CoDeSys:
Description
3304
TOGGLE enables simple setting and resetting of a Boolean variable.
With this FB a Boolean variable can be set and reset without much programming. It is useful to control
the input IN via an edge signal (e.g. via R_TRIG or F_TRIG). The first edge sets the output OUT. The
next edge on the input IN resets the output.
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 ...