counter can [...] because the working counter
CODESYS Development System
_VAR VAR iCounter : INT [...] Var4); IF fbMyB2.iCounter > [...] iCounter and x
[0..LENGTH] OF BYTE; iPrevSelectionChangedCounter [...] ; END_IF IF alarmSelectionInfoDefault.AlarmSelectionInfo.iSelectionChangedCounter <> iPrevSelectionChangedCounter
the name iCounter [...] Machine VAR iCounter: INT [...] the function block. iCounter
: Examples.CounterTest Tip [...] -TestManager and CounterTest in the C
as the diagnosis counters
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
_PRG VAR iCounter: INT [...] for flow and control. iCounter := iCounter + 1