beautypg.com

4 terminator selection, 1 serial terminator selection – Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 22

background image

Section 2

Getting Started

2.8

2.4 Terminator Selection

In the Controller and Peripheral Modes, the Micro488/EX is not sensitive as to

whether CR or LF is used as a serial input terminator to a command. In general, it
requires only one of either to cause command execution. The IEEE input terminator is
fixed to LF. The switches that allow terminator selection, shown in the following
diagrams, set only the serial output and IEEE output terminators for these modes of
operation.

In the transparent Pass-Thru modes, the Micro488/EX can be configured to

provide RS-232 to IEEE 488 and IEEE 488 to RS-232 terminator substitution. This is
useful when interfacing an RS-232 device which only issues carriage return [CR] as an
output terminator to an IEEE controller which expects a carriage return followed by a
line feed [CR-LF].

In the above case, the serial terminator should be selected for CR Only while the

IEEE terminator is set to CR-LF. When a serial CR character is received, it is discarded
and substituted with an IEEE CR-LF. In the IEEE to RS-232 direction, the IEEE CR is
unconditionally discarded. Upon receipt of the IEEE LF, a serial CR is substituted.

The Micro488/EX can be made totally data transparent in the Pass-Thru modes

by setting both the serial and IEEE terminators to be CR Only or LF Only.

2.4.1 Serial Terminator Selection

SW2-3 and SW2-4 select the serial terminators for the serial input

(Pass-Thru Modes Only) and output. The factory default is CR-LF.