Authors' official companion web site
VAR_GLOBAL FirstScan : BOOL := TRUE; END_VAR
VAR CycleCount : UDINT := 0; END_VAR