MOD (Modulus)
The MOD operator returns the remainder of a division between two integer or floating-point numbers.
Example:
INCLUDE rtcu.inc VAR a : INT; b : INT; END_VAR; PROGRAM test; BEGIN ... a := b MOD 10; ... END; END_PROGRAM;