Section 5 Listner Input Formats
5-32
(1) When the number of data bytes to be transferred is known
The upper-right route in the above syntactical chart is applied.
Specify the number of <8-bit data byte> bytes to be transferred at the <digit> position, i.e., just before writing
data. Write the number of digits of the specified number of bytes between # and <non-zero digit>. For
example, to send four data bytes (DABs), write <ARBITRARY BLOCK PROGRAM DATA> as follows:
To send four bytes, specify 4 at the <digit> position.
↓
#14<DAB><DAB><DAB><DAB>
↑
The number of digits of the value 4 at the <digit> position is 4. So specify 1 at the <non-zero digit>
position.
To send four bytes, specify 4 at the <digit> position. Leading 0s may be specified.
↓
#3004<DAB><DAB><DAB><DAB>
↑
The number of digits of the value 4 at the <digit> position is 3. Specify 3 at the <non-zero digit>
position.
(2) When the number of data bytes to be transferred is unknown
The lower-right route in the syntactical chart on page 5-31 is applied. Write #0 before the first data and write
NL^END after the last data, causing exitless termination.
#0<DAB><DAB><DAB><DAB> <DAB>NL^END
If the following statements are specified for NL and ^END at the beginning of the program, then an EOI signal
(END signal) is issued along with the terminator LF when the last byte has been transferred. (See Section
5.2.2.)
● For NL, TERM IS CHR $ (10)
● For END, EOI ON