Counter_Dummy.GetCount (METH) ¶ METHOD FINAL GetCount : DINT In
Counter_Dummy.Increment (METH) ¶ METHOD FINAL Increment : DINT In
Counter_Dummy.Set (METH) ¶ METHOD Set InOut: Scope Name
Counter [...] _BLOCK FINAL Counter [...] counter to be used in
Counter_SingleTask.Decrement (METH) ¶ METHOD FINAL Decrement : DINT In
Counter_SingleTask.GetCount (METH) ¶ METHOD FINAL GetCount : DINT In
Counter_SingleTask.Increment (METH) ¶ METHOD FINAL Increment : DINT In
Counter_SingleTask.Set (METH) ¶ METHOD Set InOut: Scope Name
CODESYS Development System
RETURN; END_IF; iCounter := iCounter + 1; 如果 [...] ,则功能块立即退出,语句 iCounter
:= 10; iCounter: INT [...] :=0 TO 10 DO //OK iCounter [...] // OK iCounter := i