_CTD is a counter block [...] Current counter value
the name iCounter [...] Machine VAR iCounter: INT [...] the function block. iCounter
: Examples.CounterTest Tip [...] -TestManager and CounterTest in the C
CODESYS Development System
_GLOBAL PERSISTENT RETAIN g_iCounter [...] of persistent variable PLC_PRG.fb_A.iPersistentCounter [...] _VAR VAR PERSISTENT iPersistentCounter
CODESYS Development System
_Developer'} iLocal : INT; iCounter [...] _DataManager VAR iLocal : INT; iCounter [...] _DataManager , iLocal , and iCounter
CODESYS Development System
Example: aiCounter [...] VAR aiCounter : [...] LocalVariable := aiCounter
, for a loop counter [...] the counter (if the path [...] the counter for offline
_PRG VAR iCounter: INT [...] for flow and control. iCounter := iCounter + 1
1: Reset counter . Note [...] counter : Duration : [...] The counter POU is executed