71
CHAPTER 5: Command Descriptions
STERM Command
The STERM command sets the end-of-line terminators for output to the serial host. All output to the serial
port is terminated by the serial output terminator(s). All input from the serial host must be terminated by
either a Line Feed (LF) or Carriage Return (CR) except OUTPUT #count.
During INPUT, the 488 Controller takes the data it receives from the bus device until it detects the LF of
other optionally specified input terminating condition. It strips all CR and LF from the input data and
appends the serial output terminator(s) before sending it to the serial host. The default serial terminators
for output are set by internal DIP switches and are factory set for CR LF.
SYNTAX
STERM[;]{term[term]|[NONE]} or STE[;]{term[term]|[NONE]}
term
is one of CR, LF, $char, or 'X, specifying a terminator character.
RESPONSE
None
MODE
Any
BUS STATES
None
EXAMPLES:
PRINT#1,"STERM CR"
Set the serial output terminator to carriage return.
PRINT#1,"STERM NONE"
Disable sending any serial output terminators.
PRINT#1,"STERM $&H0D"
Set the serial output terminator to carriage-return.
PRINT#1,"STERM $0"
Set the serial output terminator to NULL.
Содержание 488 Controller
Страница 94: ...488 CONTROLLER 92 9 2 Board Layout Figure 9 1 The 488 Controller s motherboard...
Страница 95: ...93 CHAPTER 9 Theory of Operation Board Layout Figure 9 2 The interface converter s serial I O board...
Страница 102: ...488 CONTROLLER 100 How To Read the Chart Hexadecimal Decimal Equivalent Equivalent ASCII Character Address or Command...