_OUTPUT xVarOut1:BOOL; xVarOut2:INT; xVarOut3:INT [...] Condition OF INT#1: xVarOut
ル:CP26 例 51 . 例 VAR_GLOBAL g_xVar AT %QX [...] ; END_VAR PROGRAM
1 : INT VAR_INPUT a,b : INT; END_VAR VAR c,d : INT; END_VAR
_INPUT xVarIn1 : BOOL; xVarIn [...] _xGlob := xVarIn1; INT#2: g_xGlob := xVarIn2; ELSE g
PROGRAM PLC_PRG VAR in [...] #01000101 in_word : WORD [...] #0000000001000101 in_uint : UINT
FUNCTION TempVarIn [...] Temp : UINT; END_VAR TempVarIn [...] Test := TempVarInFUNC(); での
PROGRAM PLC_PRG VAR uiTemp : UINT; TempVarInFUNC : DWORD; END_VAR TempVarIn
; END_VAR xContinue_In [...] PROGRAM PLC_PRG VAR xReturn_Before_End: BOOL; xContinue_In
_PRG VAR iVar : INT; xTemp : BOOL; END_VAR iVar := iVar + INT#1
Temp; // SA0118 dwVar : DWORD := TempVarIn [...] PLC_PRG VAR dw