|
GPP2 Variable Formats
Each GPP2 variable has a format, which defines how it is formatted for output if needed in the machine code. These formats are described in detail in the GPP2 Language Reference Manual.
System variables have a default format (which can be overridden in the EX2 program). This default format is listed for each block variable listed below. The formats are shown as numbers, from 0 to 18, according to the following table:
Format Name |
Format Number |
Format Name |
Format Number |
CHARACTER |
0 |
USER_3 |
10 |
COORDINATES |
1 |
USER_4 |
11 |
ANGLES |
2 |
USER_5 |
12 |
FEED |
3 |
USER_6 |
13 |
SPINDLE |
4 |
USER_7 |
14 |
DWELL |
5 |
USER_8 |
15 |
SEQUENCING |
6 |
USER_9 |
16 |
TOOL |
7 |
USER_10 |
17 |
USER_1 |
8 |
REAL |
18 |
USER_2 |
9 |
|
|
Notes:
-
All formats represent double-precision floating point numeric numbers, except format CHARACTER (0), which represents a string (up to 256 characters).
-
The COORDINATE format (1) has a special meaning in GPP2. Every system variable of that format is multiplied by the unit factor, as defined in the DF2 file.
-
In GPP2, the FEED format (3) is also multiplied by the unit factor, as defined in the DF2 file.
|