; END_VAR iVar := 0 [...] counter*) END_IFiVar [...] Inversion1 VAR xA, xB, x
PLC_PRG VAR byTemp1 : BYTE; END_VAR WHILE [...] Temp1 + 1; END_WHILE 输出
] := 'abcdefghi'; // SA0026 END_VAR [...] PROGRAM PLC_PRG VAR strVar1 : STRING[10]; strVar
PLC_PRG VAR xVar : BOOL; byVar : BYTE; END_VAR xVar := %IX
PROGRAM PLC_PRG VAR iVar : INT; END_VAR iVar := (iVar + 10) / 2
; END_VAR FOR i [...] PROGRAM Test VAR_TEMP i [...] Index] := 0; END_FOR 输出在 留言
; END_VAR IF INT [...] #2; END_IF IF (iVar [...] well iVar := 0; END
FUNCTION FUN : DINT VAR_INPUT bTest : BOOL; END_VAR [...] RETURN; END_IF FUN
PROGRAM PLC_PRG VAR_TEMP iIndex : INT; END_VAR [...] Index - INT#1; END_FOR 输出
PLC_PRG VAR byTest: BYTE; END_VAR // SA [...] Test - 1; END_WHILE 输出