CODESYS Development System
_BASE VAR_INPUT input_1 [...] _presentation_order_inputs' := 'input_2,*,input_1 [...] _presentation_order_outputs' := 'output_2, output_1
CODESYS Development System
; END_VAR test1 [...] 示例: FUNCTION_BLOCK POU VAR [...] INT; END_VAR VAR
CODESYS Development System
PLC_PRG VAR test1 [...] ; END_VAR test2 := test1.z; 信息: C
CODESYS Development System
_DoSomething VAR_EXTERNAL iVarExt1 [...] 变量:VAR [...] 全局变量。 您在关键字之间声明这些变量 VAR
PROGRAM PLC_PRG VAR xTemp1 [...] ; END_VAR xTemp1 := xTemp1 [...] Temp2 := xTemp1 OR TRUE; x
CODESYS Development System
示例: PROGRAM PLC_PRG VAR arr1 : INT := [1,2,3,4,5,6]; END_VAR 信息: C
PLC_PRG VAR eColor1: COLOR; END_VAR eColor1 := COLOR.Red; eColor1
CODESYS Development System
示例: PROGRAM PLC_PRG VAR i : INT; END_VAR i := Test(iPar1:=2, 5
CODESYS Development System
符是 IEC 61131-1 标准 [...] . 例子 PROGRAM PROG1 VAR strPOU : STRING
CODESYS Development System
. 错误示例: PROGRAM PLC_PRG_1 VAR Output AT %QB7 : BYTE; END_VAR Output