Remote Operation
Use Commands
5
5-35
Terminators
Table 5-9 summarizes the terminator characters for the IEEE-488 and RS-232 remote
interfaces.
Table 5-9. Terminator Characters
Terminator
Function
ASCII Characters
Control Command
Terminator
Language Command
Terminator
Number Program
Carriage Return
(CR)
13 Chr(13)
<Cntrl>
M \n
Line Feed (LF)
10
Chr(10)
<Cntrl> J
\r
Backspace (BS)
8
Chr(8)
<Cntrl> H
\b
Form Feed (FF)
12
Chr(12)
<Cntrl> L
\f
Examples:
RS-232 Terminal Mode
OUT 1 V, 60 Hz
<Enter>
UUT SEND “REMS/n”
<Enter>
UUT_SEND #205REMS^M
<Enter> (^M means <cntrl>M)
RS-232 Computer Mode
Comm1.Output = “OUT 1 V, 60 Hz” + Chr(10)
(typical to Visual Basic)
Comm1.Output = “UUT_SEND “”REMS/n”” “ Chr(10)
IEEE-488 Mode
OUT 1 V, 60 Hz
(command only)
UUT_SEND “REMS\N”
IEEE-488 Interface
The Calibrator sends the ASCII character Line Feed with the EOI
control line held high as the terminator for response messages. The calibrator recognizes
these as terminators when found in incoming data.
•
ASCII LF character
•
All ASCII character sent with the EOI control line asserted
RS-232 Interface
The Calibrator shows an EOL (End of Line) character with each
response to the PC. This is selectable as Carriage Return (CR), Line Feed (LF) or CRLF.
(See “RS-232 Host Port Setup Procedure” in this chapter.) Commands sent to the
Calibrator must end in a CR, LF, or CRLF. (See Table 5-9.)
Incoming Character Processing
The Calibrator works with all incoming data as follows (except Binary Block Data as
described under Parameter Syntax Rules):
1.
The most significant data bit (DIO8) is ignored.
2.
All data is read as 7-bit ASCII.
3.
Lower-case or upper-case characters are accepted.
4.
ASCII characters with decimal equivalents less than 32 (Space) are discarded.
Characters 10 (LF) and 13 (CR) and in the
*PUD
command argument are not
discarded. All characters in Binary Block Data arguments are permitted. Binary
Block Data stops with a special procedure.
Summary of Contents for 5502A
Page 4: ......
Page 12: ...5502A Operators Manual xii ...
Page 46: ...5502A Operators Manual 2 2 ...
Page 52: ...5502A Operators Manual 2 8 ...
Page 54: ...5502A Operators Manual 3 2 ...
Page 142: ...5502A Operators Manual 4 68 ...
Page 194: ...5502A Operators Manual 6 2 ...
Page 240: ...5502A Operators Manual 7 2 ...
Page 260: ...5502A Operators Manual 7 22 ...
Page 262: ...5502A Operators Manual 8 2 ...
Page 365: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Page 366: ...5502A Operators Manual B 2 ...
Page 368: ...5502A Operators Manual B 4 ...
Page 378: ...5502A Operators Manual D 6 ...