
4. CONVERSATIONAL MACRO FUNCTION
B–62073E–2/03
64
Expanded conversational macro exclusive variables starting from #40000
can be arbitarily used. This variable can be selected to be floating decimal
point format variable the same as normal macro variable, or to be fixed
decimal point format variable by parameter specification (parameter No.
8509, EVF).
Parameter No. 8509
EVF=0 : Floating decimal point format
EVF=1 : Fixed decimal point format
In the same manner as conversational macro exclusive variables
(#30000–), the n multiple of the numerical value specified by parameter
No. 8550 becomes the number of expanded conversational macro
exclusive variables which can be used. When parameter number 8550 is
0, the expanded conversational macro exclusive variable cannot be used.
For the value of n, n=10 when floating decimal point format, and n=30
when fixed decimal point format.
EVF=0 : When floating decimal point format
Parameter No.8550=1
#40000 to #40009
Parameter No.8550=2
#40000 to #40019
EVF=1 : When fixed decimal point format
Parameter No.8550=1
#40000 to #40029
Parameter No.8550=2
#40000 to #40059
(1) When fixed decimal point format, the value which can be set to this
variable is –32768 – 32767. The figures after the decimal point are
rounded off and it is memorized in fixed decimal point format.
Further, when the variable in this fixed decimal point format appears
in <format> it is converted to floating decimal point format and
evaluated.
(2) The maximum expanded macro exclusive variables which can be
used depends on the capacity of tape storage memory.
Tape storage memory 80m:
Expanded conversational macro cannot be used
Part program storage memory 160m:
Max. value of parameter No.8550=500
Part program storage memory 320m:
Max. value of parameter No.8550=1000
Part program storage memory more than 640m:
Max. value of parameter No.8550=1970
The relationship between value of parameter 8550 and part program
storage length is as follows.
Approx. 0.2m used for each value 1 of parameter No. 8550.
(3) The expanded macro exclusive variable keeps its value even if power
is cut.
(4) If value of parameter No. 8550 is changed, it is necessary to turn on
power again.
4.5.6
Expanded
Conversational Macro
Exclusive Variable
(#40000 –)
Example
Caution