CODESYS Development System
of time and memory [...] : "Tasklocals" *) VAR [...] ; END_VAR PROGRAM
CODESYS Development System
> have to be constant at compile time [...] any number of times [...] object glob_var
CODESYS Development System
> ; END_VAR <scope> : VAR | VAR_INPUT | VAR_STAT | VAR
CODESYS Development System
Result: VAR1 = TRUE ST [...] VAR1 := 20 = 20 [...] : __UXINT | __XINT | __XWORD | BIT | BOOL | BYTE | DATE | DATE_AND_TIME | DINT | DT | DWORD | INT | LDATE | LDATE_AND_TIME | LDT | LINT | LREAL | LTIME | LTOD | LWORD | REAL | SINT | TIME | TOD | TIME
CODESYS Development System
Result: Var1= FALSE ST: Var1 := 40 <> 40 [...] : __UXINT | __XINT | __XWORD | BIT | BOOL | BYTE | DATE | DATE_AND_TIME | DINT | DT | DWORD | INT | LDATE | LDATE_AND_TIME | LDT | LINT | LREAL | LTIME | LTOD | LWORD | REAL | SINT | TIME | TOD | TIME
CODESYS Development System
DATE | DATE_AND_TIME [...] LDATE_AND_TIME | LDT [...] |STRING | TIME | TOD |
CODESYS Development System
at the same time [...] _A FUNCTION_BLOCK FB_A VAR_INPUT END_VAR VAR
CODESYS Development System
each time code [...] : var1 AT %QB21: INT and var2 AT %QD5: DWORD
CODESYS Development System
at the same time [...] BOOL VAR_INPUT str [...] TO STRING; END_VAR VAR
CODESYS Development System
VAR_GLOBAL inst1 : [...] DateFormat := SINT#0, siTimeFormat := SINT#0); END_VAR