Documentation

Standard function blocks

Standard function blocks are used in all programming languages (FUPLA, ST).

Bistable flip-flop circuits

Name of the function block I/O data type Description
RS BOOL RS flip-flop circuit
SR BOOL SR flip-flop circuit

Edge detection

Name of the function block I/O data type Description
R_TRIG BOOL Rising edge detection
F_TRIG BOOL Falling edge detection

Counters

Name of the function block I/O data type Description
CTU INT Counter counting up to a given value
CTU_DINT DINT Counter counting up to a given value
CTU_LINT LINT Counter counting up to a given value
CTU_UDINT UDINT Counter counting up to a given value
CTU_ULINT ULINT Counter counting up to a given value
CTD INT Counter counting from a given value down to zero
CTD_LINT LINT Counter counting from a given value down to zero
CTD_UDINT UDINT Counter counting from a given value down to zero
CTD_ULINT ULINT Counter counting from a given value down to zero
CTUD INT Up and down counter
CTUD_DINT DINT Up and down counter
CTUD_LINT LINT Up and down counter
CTUD_UDINT UDINT Up and down counter
CTUD_ULINT ULINT Up and down counter