
21
6.2 Internal Variable
These variables are allocated in the VOLATILE MEMORY (RAM) of the system and are zeroed at reset.
The possible types managed by VTB reflects the main types defined in a lot of programming languages and they are
the following:
64 bit (standard DOUBLE format IEEE 75)
From -1,79769313486232e308
Supported only as constant
Single dimension for all variable types
except BIT type
Char, Uchar, Int, Uint, Long, Float
It's appropriate using variables according to the minimum an maximum value they have to contain choosing the best
appropriate. INTERNAL VARIABLES can be declared PAGE LOCAL or GLOBAL.
PAGE LOCAL VARIABLES declared inside the PAGE TASK and visible only to it
GLOBAL VARIABLES declare in MAIN TASK and visible to all the others
VTB doesn't make any control on dimension of the variables and on its assigned value.
Komentáře k této Příručce