
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–62093E–1/02
PROGRAMMING
92
(2) Processing array type P–CODE variables
This is a function which controls processing of array type variable or
of variable string when P–CODE variables are used in the
conversational macro.
1) clearing array type number, variable string (continuous writing
of specified data)
2) transferring to variable string from array type variables or
variable string
Every processing commands control code “G315” after defining an
array or variable string or data to the following control numbers.
#8511 : data to be transferred
#8512 : 2 dimensional array number or the head variable
of a variables string to be transferred
#8513 : 3 dimensional array number to be transferred
#8514 : transferred 2 dimensional array number or the head
variable of a variable string
#8515 : transferred 3 dimensional array number
Control code
G315 P (Processing code) K (a number of processing data) ;
Processing code specifies the type of processing with a 3–digit
number. High–order “0s” can be supressed.
P001 (P1) : Loads data of #8511 to K continuous numbers
from the number which was specified at #8514.
P002 (P2) : Transfers K continuous data which was specified
at #8512 to K continuous variables from the
variable which was specified at #8514 (ascending
order).
P003 (P3) : Transfers K continuous data which was specified
at #8512 to K continuous numbers from the
number which was specified at #8514 (descending
order).
P101 : Loads data of #8511 to K continuous array
numbers of array number #1 which was specified
at #8514, #8515.
P102 : Transfers K continuous array variables starting
with variable #1 which was specified at #8512 and
#8513, to the continuous array variable which was
specified at #8514 and #8515 (ascending order).
P103 : Transfers K continuous array ariables starting with
variable #1 which was specified at #8512 and
#8513, to the continuous array variable which was
specified at #8514 and #8515 (dscending order).
The difference of P2 and P3, or P102 and P103 results from whether
transfer processing is conducted from a small number or from a large
number.