CODESYS Development System
, y : INT; END [...] PLC_PRG VAR test1 : DUT; test2 : INT
CODESYS Development System
VAR_INPUT iIn1 : INT; (* 1st input
CODESYS Development System
Denominator : INT :=1; i [...] _function_block'} FUNCTION_BLOCK Scale_Output_Int [...] Input : INT; i
CODESYS Development System
程序只能在程序块或功能块的实现部分访问临时变量。 VAR_TEMP iVarTmp1 : INT; (*1
CODESYS Development System
val1: INT; val2: INT; st [...] : ADUT; nTest: INT
CODESYS Development System
test1: INT; test2: INT; test3: LREAL; END_VAR test1
CODESYS Development System
); FUNCTION Test : INT VAR_INPUT iPar1 : INT; i [...] : INT; END_VAR i
CODESYS Development System
. 例子 VAR_OUPUT iOut1 : INT; (*1st output [...] fun(iIn1 := 1, i
CODESYS Development System
test1 : INT := 1234 [...] _BLOCK FBDynamic VAR_INPUT in1, in2 : INT; END
CODESYS Development System
_DoSomething VAR_EXTERNAL iVarExt1 : INT; (* 1