FUNCTION_BLOCK E_TO_UINT

Hover on a highlighted element
to pop up its description (if any).

ECC
ALGORITHM A0 IN ST: N := 0; END_ALGORITHM
ALGORITHM A1 IN ST: N := 1; END_ALGORITHM
ALGORITHM A2 IN ST: N := 2; END_ALGORITHM
ALGORITHM A3 IN ST: N := 3; END_ALGORITHM

As shown in the Execution Control Chart (ECC) and algorithms above, an occurrence of an event at one of the EIx inputs of an instance of this Function Block type, where x∈{0..3} , causes the value of the N output to be set to x , followed by the occurrence of an event at the EO output.