
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–62093E–1/02
PROGRAMMING
64
The address function can read data the specified number of bytes at
a time. However, the following must be noted: As the address
function handles and converts the read data as a signed value (in two’s
complement), the read data may be changed.
If the following is specified with the example shown above, –2.0 and
254.0 are read into #102 and #103 respectively.
G310 D401 P102 L1;
#103 = D401;
CAUTION
1
When address Q is specified, write control is executed. When
address P is specified, read control is executed. If both addresses
Q and P are specified, write control is executed.
2 With address L, 1, 2, or 4 can be specified. If another value is
specified, or if address L is omitted, the data is written or read the
specified number of bytes at a time.
NOTE
1 Addresses other than D, R, C, K (X, Y, G, F...) cannot be specified.
2 For details of the PMC address, refer to the PMC programming
manual.