
Remote Operation
Using Commands
5
5-35
5-39.
Terminators
Table 5-10 summarizes the terminator characters for both the IEEE-488 and RS-232
remote interfaces.
Table 5-10. Terminator Characters
Terminator
ASCII Character
Control Command
Language Command
Function
Number Program
Terminator
Terminator
Carriage Return (CR)
13
Chr(13)
<Cntl> M
\n
Line Feed (LF)
10
Chr(10)
<Cntl> J
\r
Backspace (BS)
8
Chr(8)
<Cntl> H
\b
Form Feed (FF)
12
Chr(12)
<Cntl> 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 <Cntl> 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 5820A Calibrator sends the ASCII character Line Feed with
the EOI control line held high as the terminator for response messages. The calibrator
recognizes the following as terminators when encountered in incoming data:
•
ASCII LF character
•
Any ASCII character sent with the EOI control line asserted
RS-232 Interface
The 5820A Calibrator returns an EOL (End of Line) character with
each response to the PC. This is selectable as Carriage Return (CR), Line Feed (LF) or
both CRLF. (See “RS-232 Host Port Setup Procedure” earlier in this chapter.) Commands
sent to the 5820A Calibrator must end in either a CR or LF, or both. (See Table 5-10
above.)
5-40.
Incoming Character Processing
The 5820A Calibrator processes 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 taken as 7-bit ASCII.
3.
Lower-case or upper-case characters are accepted.
4.
ASCII characters whose decimal equivalent is less than 32 (Space) are discarded,
except for characters 10 (LF) and 13 (CR) and in the
*PUD
command argument.
Binary Block Data allows all characters in its argument and terminates in a special
way.
Содержание 5820A
Страница 10: ...5820A Operators Manual vi ...
Страница 14: ...5820A Operators Manual x ...
Страница 16: ...5820A Operators Manual 1 2 ...
Страница 32: ...5820A Operators Manual 2 2 ...
Страница 40: ......
Страница 144: ...5820A Operators Manual 6 2 ...
Страница 190: ......
Страница 212: ...5820A Operators Manual 7 24 ...
Страница 214: ...5820A Operators Manual 8 2 ...
Страница 230: ...5820A Operators Manual 9 2 ...
Страница 234: ...5820A Operators Manual ...
Страница 244: ...5820A Operators Manual A 10 ...
Страница 245: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Страница 246: ...5820A Operators Manual B 2 ...
Страница 248: ...5820A Operators Manual B 4 ...
Страница 250: ...5820A Operators Manual C 2 ...
Страница 258: ...5820A Operators Manual E 4 ...
Страница 264: ...5820A Operators Manual F 6 ...
Страница 272: ...5820A Operators Manual 8 ...