_Structure : STRUCT xTest : BOOL; iTest : INT; // SA0016 byTest : BYTE; wTest : WORD
PROGRAM PLC_PRG VAR byTemp1 : BYTE; wTemp2 : WORD [...] ; END_VAR by
PROGRAM PLC_PRG VAR by [...] Var : LWORD; wVar : WORD [...] _TO_SINT(byVar); w
: INT; arWord : ARRAY [0..100] OF WORD [...] TO INT#100 BY 1 DO
PROGRAM PLC_PRG VAR byTemp1 : BYTE; wTemp2 : WORD [...] ; END_VAR by
未对位域数据类型进行的位访问( BYTE , WORD , DWORD [...] ; byTemp2 : BYTE [...] Temp6.3 := TRUE; // SA0148 by
, WORD ),不报错。 理由 [...] Temp1 : DWORD; byTemp2 : BYTE [...] ); byTemp2 := SHR(by
0.0 : BOOL ; g_iTest AT [...] _wTest AT %QW2 : WORD [...] Condition : INT; bTemp : BOOL
Var : BOOL; byVar : BYTE [...] 0.1 := xVar; %MB1 := by
Return_Before_End: BOOL; xContinue_In_Loop_FUN: BOOL; iCounter: INT [...] Counter := INT#0 TO INT#5 BY