FUNCTION TempVarInFUNC : DWORD VAR uiTemp : UINT; END_VAR TempVar
PLC_PRG VAR diVar [...] ; END_VAR diVar := diVar + DINT#1; CASE diVar
_Test VAR_INPUT p [...] ; END_VAR VAR x [...] Teststruct^.xA; //SA0124 END_VAR
CODESYS Development System
PLC_PRG VAR inst : FB; END_VAR [...] FB_init VAR
以将此变量创建为临时变量 ( VAR_TEMP )。访问 [...] PROGRAM PLC_PRG VAR nIndex : INT; iVar : INT
FUNCTION FUNA : BOOL VAR [...] ; END_VAR VAR i [...] ; END_VAR IF b
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END_VAR VAR_OUTPUT i
CODESYS Development System
PROGRAM PLC_PRG VAR x [...] SetVariable: BOOL := FALSE; END_VAR [...] Compute : BOOL VAR_INPUT x
CODESYS Development System
和操作数具有数据类型 BOOL . 例 55 . 例子 VAR [...] ResetVariable: BOOL := TRUE; END_VAR [...] Compute : BOOL VAR_INPUT x
VAR_INPUT , VAR_INPUT CONSTANT and VAR [...] ranges VAR_INOUT , and