
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–62093E–1/02
PROGRAMMING
70
(2) Outputting Macro Variable Values(G338)
G338 Pp Qq Ff Zz ;
A specified macro variable is changed into a prescribed tape format
and output from reader puncher interface which opened with the
transmit control mode.
Output code is selected between ISO and ASCII code by the open
command.
p : Specify the head of output macro variable
q : Specidy the number of output macro variable data
f : Specify the output format of macro variable data
(modal value when omitted)
z : Specify the zero–suppress of macro variable data
(modal value when omitted)
For output tape format, same as the input format, the head variable
number address “N” and variable values with address “P” at the head
block, then variable values are continuously output with P in the
following blocks and finally, the tape end (“EOR”) code is output.
“CR” code of every block can be output by the compile parameter
PTCR(No.9003#6) . Use this code to make carriage return of a
printer, etc.
PTCR=0: “CR” is not output after “LF”, when outputting macro
variable values.
%LF N10000P1234 P5678LF LF%
PTCR=1: “CR” is output twice after “LF”, when outputting macro
variable values.
LF N10000P1234% CRCR LF CRCR P1234 LF CRCR %
Control of the feed part does not act at output. Conduct with
“G336Kk” data transmission to feed with a paper tape puncher, etc.
“EDIT” goes on and off at the lower right of the screen if a data is
outputting. Screen cannot change if data is outputting.
CAUTION
1
G338 is a one–shot G code.
2 An end code is communicated by 115 when an invalid data is
specified to a variable number, and the outputting stops.
NOTE
Only ISO code or ASCII code can be used for output.