0.0 : BOOL ; g_iGlob AT [...] ; END_VAR VAR iCondition : INT; END_VAR i
_OUTPUT END_VAR VAR iA : INT; END_VAR iA := iA + 1
' := 'off'} iVarA : INT; iVarB : INT [...] '} iVarC : INT; END
_GLOBAL g_iTemp1: INT [...] _PRG // Controlled by MainTask g_iTemp1 := g_iTemp1 + INT#2
_GLOBAL iTemp:INT; inst [...] Temp := ADR(iTemp); ptiTemp^ := INT#1; iTemp := INT
_GLOBAL xVar1 : BOOL; i [...] Var1 : BOOL; // SA0013 i [...] .xVar1; iVar3 := i
命名規則が設定されています。 i の 変数 [...] 3 : REFERENCE TO INT; iVar4 : INT; iVar5 : INT
_INPUT ref_i [...] _VAR ref_iTest := 99 [...] __ISVALIDREF(ref_iTest) THEN
_PRG VAR iVar : INT; xTemp : BOOL; END_VAR iVar := iVar + INT#1
0.0 : BOOL ; g_iTest AT [...] _VAR PROGRAM PLC_PRG IF g_i [...] _xVar := TRUE; g_iTest := INT