
5. MACRO VARIABLES
B–62093E–1/02
PROGRAMMING
50
The variables of the expanded P–CODE which start from #20000 can be
used for the optional number, if the capacity of tape memory is 160m.
This variable can be selected for numbers with floating decimal points,
the same as the usual common variable or for numbers with the integer
type by parameter (parameter No. 9002#3 EVF) specification.
Parameter No. 9002#3
EVF= 0: floating decimal point type
EVF= 1: the integer type
N times the number set paramater No.9044 is the number of the usuable
variables for the P–CODE the same as the exclusive variables for the
P–CODE (#10000 – – –). The P–CODE variables cannnot be used, if
parameter No. 9044 is 0.
The number of n is 12 with the floating decimal point type, and is 30 with
the integer type.
EVF=0: in the case of the floating decimal point type
#20000 to #20011 if parameter No. 9044 equals 1
#20000 to #20023 if parameter No. 9044 equals 2
EVF=1: in the case of the integer type
#20000 to #20029 if parameter No.9044 equals 1
#20000 to #20059 if parameter No.9044 equals 2
In the case of the integer type, one of –32768 to 32767 can be set. Digits
under the decimal point are rounded off when a value is substituted to the
left side of the substitution statement.
Furthermore, this variables is evaluated after converted into the
floatingdecimal point type, if this varables occurs in expression.
About a 0.21 meter of part program memory is used per set (number of
parameter No. 9044) of the variables of the expanded P–CODE.
The part program memory being used is displayed on the program library
screen. The maximum number of P–CODE variables depends on the
capacity of the part program memory.
Part program memory 160m: Parameter No. 9044=819
CAUTION
For Power Mate–D (2–path control), this function cannot be
used.
5.5
VARIABLES OF
EXPANDED P–CODE
(#20000 – ....)