User`s manual

26 PCL-848AB User's Manual
3.4.11. OUTPUTA
Purpose :
This command outputs a long string (can be up to 65535 bytes) to a specified device
or to the interface. The output string iB terminated when the length of the output
string is approached, or when the bus handshake times out. The output string is in the
memory area with the specified segment. The start address of the output string is at
offset 0 in that segment.
Offset :
OUTPUTA%=54
Syntax :
CALL OUTPUTA%(ADDR%,DATASEG%,LENGTH%)----BASIC
CALL ABSOLUTE(ADDR%,DATASEG%,LENGTH%,OUTPUTA%)
----BASIC Compiler
Parameter :
ADDR% - The address of the device which the output string is sent to. If
0<=addr<=30, then the specified device is the listener. Other-
wise, the listener(s) is(are) the previously defined one(s).
DATASEG% - The memory segment where the output string is put.
The start address offset is 0.
LENGTu% - The output string length. The range is from 0 to 65535.
Bus Activity :
- If 0 <= addr <= 30
ATN is set true.
UNL is sent.
LAD is sent.
MTA is set.
ATN is set false.
Long string is sent.
- If addr < 0 or addr > 30
ATN is set false.
Long string sent.