CODESYS Development System
ST diVar := TRUNC(1.9); (* Result: 1 *) diVar
CODESYS Development System
Examples Result in var [...] var1 := 2
CODESYS Development System
_PRG VAR b : BOOL; arr [...] [1..3] OF INT; END_VAR
CODESYS Development System
: PROGRAM PLC_PRG VAR a : [...] ; END_VAR __Query
CODESYS Development System
_on_call'} FUNCTION_BLOCK fb VAR [...] ; END_VAR :
CODESYS Development System
ST iVar := TRUNC_INT(1.9); (* Result: 1 *) iVar
CODESYS Development System
: PROGRAM PLC_PRG VAR i : [...] [1,i(7)]; END_VAR
CODESYS Development System
_PRG VAR st1 : INT := (p1 := 1); END_VAR
CODESYS Development System
: PROGRAM PLC_PRG VAR pt [...] ; END_VAR i.x := 1024
CODESYS Development System
: PROGRAM PLC_PRG VAR i : INT; END_VAR CASE