6.ADDRESS ASSIGNMENT TO POINTS OPERATION B-82604EN/01
- 42 -
Data type of system
variable
Number of %R’s
required per
system variable
Meaning of $MULTIPLY and data type used for read/write
INTEGER
32-bit signed integer
2
SHORT
16-bit signed integer
2
BYTE
8-bit signed integer
2
The value in the system variable, multiplied by the value in
$MULTIPLY, is read/written. The fractional part is rounded off.
When $MULTIPLY is 0, it has the same meaning as when it is
1.
Read/write data as 32-bit signed integer.
REAL
32-bit real number
2
The value in the system variable, multiplied by the value in
$MULTIPLY, is read/written.
When $MULTIPLY is 0, it has a special meaning, and data can
be read/written a 32-bit real type data.
When $MULTIPLY is a non-zero value, data is treated as 32-bit
signed integer data with its fractional part rounded off.
BOOLEAN
TRUE/FALSE
2
Read/write data as a 32-bit signed integer.
If TRUE is set, 1 is read. If FALSE is set, 0 is read.
Writing 0 sets FALSE. Writing a non-zero value sets TRUE.
$MULTTIPLY is not used.
POSITION
Position data
50
This data type has the same data structure as the position
register. Each element can be read/written.
$MULTIPLY has also the same meaning as for the position
register.
STRING
Character string
40
The data type of a character string is specified.
Whenever communicating with CIMPLICITY, set 1.
For INTEGER, SHORT, and BYTE, data can be read and written
through CIMPLICITY similarly, so there is no need to distinguish
these data types. When an integer value is indicated for a system
variable on the system variable screen, the system variable is of the
INTEGER, SHORT, or BYTE type.
When decimal positions are indicated for a system variable on the
system variable screen, the system variable is of the REAL type.
When TRUE or FALSE is indicated for a system variable on the
system variable screen, the system variable is of the BOOLEAN type.
When a character string is indicated for a system variable on the
system variable screen, the system variable is of the STRING type.
When POSITION is indicated for a system variable on the system
variable screen, the system variable is of the POSITION type.