The 'modify' command is used to modify global variables.
modify <variable> <value>
\<variable>
The symbol (variable name) or absolute address to modify.
An absolute address must be specified as described in the variables section of the ST chapter. For example '%QW0' refers to the first 16 output bits.
_\<value>_
The value to be set for the symbol/address.
- The value of boolean types (
BOOL,BBOOL) can be set with 0, 1, false and true (case-insensitive). - The value of unordered types (
BYTE,WORD,DWORD,LWORD) and integer types (SINT,INT,DINT,LINT,USINT,UINT,UDINT,ULINT) can be set in binary (2#), octal (8#), decimal and hexadecimal (16#) format. - The value of floating-point types (
REAL,LREAL) must be set with a dot as decimal separator.