and the ST programming [...] in the implementation. CASE istate OF 0: 1: 2: END_CASE
_PRG program in ST. PROGRAM [...] _VAR CASE iStatus OF //