
Remote Commands and Syntax
Introduction
6
6-3
Introduction
The syntax rules in this chapter apply to all the remote commands. A command consists
of a word by itself or a word followed by one or more parameters. The rules for
parameter syntax are provided first (including proper usage of units and multipliers),
followed by the rules for extra spaces, then followed by the rules for terminator usage. A
description of how the 5730A Calibrator processes incoming characters provides the
basis for answering other possible questions about syntax. Information about syntax of
response messages is also given.
Parameter Syntax Rules
Many of the remote commands require parameters, which must be used properly to
prevent command errors. When a command error occurs, bit CME (5) in the Event Status
Enable Register (ESE) goes to 1. General rules for parameter usage are:
1.
When a command has more than one parameter, the parameters must be separated by
commas. For example: “
OUT 1 V, 100 HZ
.”
2.
Numeric parameters may have up to 255 significant figures and their exponents may
range from -32000 to +32000. The useful range for 5730A Calibrator programming is
± 2.2 E-308 to ± 1.8 E308.
3.
Including too many parameters causes a command error.
4.
Null parameters cause a command error (for example, the adjacent commas in
“
CLOCK 133700, , 071787
”).
5.
Expressions, for example “(4+2*13)”, are not allowed as parameters.
Units accepted in command parameters and used in responses are:
•
HZ (frequency, hertz)
•
MHZ (frequency, megahertz)
•
V (voltage, volts)
•
A (current, amperes)
•
OHM (resistance, ohms)
•
MOHM (resistance, megohms)
•
DB (decibels)
•
DBM (decibels referenced to 1 milliwatt for ac voltage amplitude)
•
PCT (percent)
•
PPM (parts per million)
Multipliers accepted in command parameters are:
•
MA (mega, or unit x 1,000,000)
•
K (kilo, or unit x 1,000)
•
M (milli, or unit /1,000, except MOHM and MHZ)
•
U (micro, or unit /1,000,000)
Summary of Contents for 5730A
Page 4: ......
Page 10: ...5730A Operators Manual x ...
Page 12: ...5730A Operators Manual xii ...
Page 14: ...5730A Operators Manual xiv ...
Page 16: ...5730A Operators Manual 1 2 ...
Page 17: ...Introduction and Specifications Introduction 1 1 3 ...
Page 18: ......
Page 52: ...5730A Operators Manual 2 2 ...
Page 58: ...5730A Operators Manual 3 2 ...
Page 124: ...5730A Operators Manual 5 2 ...
Page 136: ...5730A Operators Manual 6 2 ...
Page 216: ...5730A Operators Manual 7 24 ...
Page 218: ...5730A Operators Manual 8 2 ...
Page 222: ...5730A Operators Manual 8 6 ...
Page 248: ...5730A Operators Manual A 26 ...
Page 249: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...