
4. CONVERSATIONAL MACRO FUNCTION
B–62073E–2/03
110
A valid information area starting with an LF and ending immediately
before the next LF is called a block; one block contains the data of a
macro variable. Intra–block address N represents a variable number.
Address P represents variable data.
Address N is omissible; in this case, the variable number of the
immediately preceding block plus 1 is assumed.
If N is omitted in the first block, a variable number specified in
address P of the G337 command is set. Thus, tape with address N not
specified can be created, and the command of G337 Pp enables
variable data to be read into an arbitrary variable.
Address P represents the value of a variable, and cannot be omitted.
The null value (#0) is to be set by specifying an LF immediately after
P without specifying a value, as shown below.
LF N––––– P LF
Notes
1 G337 is a one–shot G–code.
2 In valid information areas, all codes other than LF and EOR
codes, address N, address P, and succeeding numeric data
are ignored.
(7) Macro variable data output (G338)
G338 Pp Qq Ff Zz;
p : Specifies the number of the first macro variable that is output.
q : Specifies the number of macro variable data items that are
output.
f : Specifies the output format of macro variable data (Note 1).
z : Specifies zero suppression for macro variable data(Note 2).
Notes
1 If F=9.3 is set when power is turned on, and f is specified,
the value, 9.3, is memorized. If f is not specified, the
previous value is used.
2 z=0 : Zero suppression is not performed.
(Signs are not output.)
z=1: Zero suppression is performed.
If Z=0 is set when power is turned on, and z is specified, the
value, 0, is memorized.
If z is not specified, the previous value is used.
Specified macro variable data converted to a certain tape format is
transmitted (output) via a RS–232–C line opened in the transmission
control mode. The output code depends on the C specification for
opening the line.
The output tape format is the same as the input format. The first block
contains address N representing the first variable number and address
P representing variable data. In the succeeding blocks, a specified
number of variable data items are output with address P in succession,
followed by a tape end code (EOR) at the end.
Parameter No. 8509 PTCR can be specified to enable CR codes to be
output block by block. Use this function, for example, for line feed
on a printer.