Jetter AG
Programming | 8
User Manual – JCM-501-E01
46 / 65
8.6.4 Flag
Flags are one-bit operands. This means they can either have the value TRUE or
FALSE.
Properties of user
flags
■
Global variables with dedicated addresses (%MX)
■
Non volatile
■
Quantity: 256
■
Flag numbers: 0 ... 255
Properties of
overlaid user flags
■
Global variables with dedicated addresses (%MX)
■
Non volatile
■
Overlaid by registers 1000000 ... 1000055
■
Quantity: 1,792
■
Flag numbers: 256 ... 2047
Properties of
special flags
■
Global variables with dedicated addresses (%MX)
■
When the operating system is launched, special flags are initialized using their
default values
■
Quantity: 256
■
Flag numbers: 2048 ... 2303
Memory access
■
By JetSym
■
From HMIs
■
From within the application program
8.6.5 Storing registers and variables
Storing to a non-
volatile (remanent)
memory
Registers and variables of the application program can be globally stored to a
non-volatile memory with dedicated registers.
The register variables %VL are always 4 bytes in size. They are not initialized by
the operating system.
These %RL registers always occupy 480,000 bytes.
The number of %VL register variables is limited to 120,000.
The register array for %VL or %RL ranges from 1000000 to 1119999
Storing to volatile
(non-remanent)
memory
Variables of the application program can be stored to volatile memory.
Global variables that do not have a static assignment to addresses and are
stored compactly.
Their register number starts with the value 0.