Input DescriptionΒΆ

../_images/82865d652892fc1f0a317f3424a36684

EN

Data_Type Default_Value Range Unit
BOOL - - -

In order to enable the Function Block processing, input EN has to be continuously set to TRUE. The Function Block is not processed if input EN = FALSE.

When calling the Function Block the first time, the inputs are checked for validity and plausibility. If this is not the case, processing is aborted and corresponding error is displayed at output ERR/ERNO.

OUTPUT

Data_Type Default_Value Range Unit
BOOL - - -

ADR_OUT   POINTER \ TO structCD522counterout

At this input, the address of the first output data from the structure of counter output of CD522 should be connected. The use of an ADR operator is needed. If input ADR_OUT is not connected, then the outputs DONE=FALSE and ERR= TRUE.

Example (for counter 0):

../_images/fb78a117e389ac5b0a33139000eba54e1