CODESYS Development System
围内的编程对象中添加 VAR , VAR_INPUT , VAR_OUTPUT , VAR [...] > : VAR | VAR_INPUT
CODESYS Development System
> : VAR | VAR_INPUT [...] _BLOCK FB_A VAR_INPUT END_VAR [...] 变量在声明部分声明 VAR_GLOBAL RETAIN
VAR_INFO ¶ Example VAR ai [...] *) viInfo : __SYSTEM.VAR
IecVarAccess.VarAccExitVarInfo (METH) ¶ METHOD VarAccExitVar [...] Type Return VarAccExitVar
IecVarAccess.VarAccInitVarInfo (METH) ¶ METHOD VarAccInitVar [...] Type Return VarAccInitVar
IecVarAccess.VarAccGetTypeDescVarLenArray (METH) ¶ METHOD VarAccGetTypeDescVar [...] Return VarAccGetTypeDescVar
IIecVarAccess15.VarAccGetTypeDescVarLenArray (METH) ¶ METHOD VarAccGetTypeDescVar
IIecVarAccess9.VarAccInitVarInfo (METH) ¶ METHOD VarAccInitVar
IecVarAccess.VarAccInitVarInfo2 (METH) ¶ METHOD VarAccInitVarInfo2 : IecVar
IIecVarAccess13.VarAccInitVarInfo2 (METH) ¶ METHOD VarAccInitVar