VAR pudiTest:POINTER TO UDINT; udiTest:UDINT; prTest:POINTER TO
PROGRAM PLC_PRG VAR iTest : INT; ariTest [...] ':='-111'} piTest
PLC_PRG VAR rTest1 : REAL; rTest2 : REAL; lrTest3 : LREAL
的方法 Call 分配给功能块 FB_Test : FUNCTION_BLOCK FB_Test [...] 0160 该程序 PLC_PRG 来电 FB_Test
0.0 : BOOL ; g_iTest AT %QW1 : INT ; g_wTest [...] POU g_wTest := WORD
_GLOBAL lrTest : LREAL [...] 1 : LINT; sTest : STRING; // SA0103 wsTest
usintTest := 0; xError := usintTest - 1 <> 255 [...] 操作 usintTest - 1 通常作为 32
VAR_GLOBAL g_xTest1 : BOOL; g_iTest3 : INT [...] InCopyCode : BOOL; END_VAR g_xTest
_INPUT ref_iTest [...] _VAR ref_iTest := 99 [...] __ISVALIDREF(ref_iTest) THEN
PROGRAM PLC_PRG VAR byTest [...] byTestVar >= 260 DO byTestVar := byTest