Beckhoff First Scan Bit -

VAR CycleCount : UDINT := 0; END_VAR