可能意外地导致意外访问。如果您指定一个 POINTER TO BYTE 到一个 POINTER TO [...] 25 例外: BOOL <-> BIT 例
: STRUCT xA : BOOL; xB : BOOL; END_STRUCT END [...] Teststruct: REFERENCE TO TESTSTRUCT
: STRUCT xA : BOOL; xB : BOOL; END_STRUCT END [...] Teststruct : POINTER TO TESTSTRUCT
: BOOL; END_VAR VAR i [...] METH : BOOL VAR [...] xVar : BOOL:= %IX
Return_Before_End: BOOL; xContinue_In_Loop_FUN: BOOL; iCounter: INT [...] Counter := INT#0 TO INT#5 BY
; END_VAR IF INT_TO_BOOL [...] Cond2:INT := INT#2; xCond:BOOL
0.0 : BOOL ; g_iTest AT [...] Condition : INT; bTemp : BOOL [...] _iTest := WORD_TO_INT(g
Error := TO_USINT(usint [...] Test:BYTE; liTest:LINT; xError:BOOL [...] equal to or bigger
、 BOOL , REAL )并发 [...] TO INT; END
: POINTER TO <basic type> 参考: REFERENCE TO [...] ARRAY[6..7] OF BOOL