The 5500A Calibrator can produce
voltages up to 1000 V rms and must be
programmed with caution to prevent
hazardous voltages from being
produced without sufficient warning to
the operator.
Programs should be written carefully
and tested extensively to ensure safe
operation of the 5500A Calibrator.
Fluke suggests that you include error
catching routines in your programs.
These error catching routines will
assist in detecting programming errors
that could result in the instrument
behaving differently to your intention.
By setting the Service Request Enable
(SRQ) register, described in paragraph
5-60, the 5500A Calibrator can be
programmed to cause an SRQ when an
error is detected. The following
program example shows a skeleton
program including error catching:
10PRINT @4, “*CLS”! Clear status
20PRINT @4, “*SRE 8” ! Set SRE Error Avail.
30ON SRQ GOTO 1000! Enable SRQ Function
100! Body of program here
900 STOP! End of program
1000 REM Start of SRQ Handler! Start routine
GTLLOCAL command
GTRREMOTE command
LLOLOCKOUT command
SRQSRQSTR command
SDC, DCL^C (<Cntl> C) character [clear the
device]
GET^T (<Cntl> T) character [execute a
group trigger]
SPE, SPD^P (<Cntl> P) character [print the
serial poll string]
Also:
SP_SETSPLSTRSRQSTR
SP_SET?SPLSTR?SRQSTR?
3
COMMAND SYNTAX
Parameter Syntax
Units Accepted in Parameters and Responses
UnitsMeaning
HZFrequency in units of hertz
KHZFrequency in units of kilohertz
MHZFrequency in units of megahertz
UVVolts in units of microvolts
MVVolts in units of millivolts
VVolts in units of volts
KVVolts in units of kilovolts
UACurrent in units of microamperes
MACurrent in units of milliamps
ACurrent in units of amps
PCTPercent
PPMParts-per-million
DBMVolts referenced to 1 mW into 600Ω load.
OHMResistance in units of ohms
KOHMResistance in units of kilohms
MOHMResistance in units of megohms
NFCapacitance in units of nanofarads
PFCapacitance in units of picofarads
UFCapacitance in units of microfarads
MFCapacitance in units of millifarads
FCapacitance in units of farads
CELTemperature in degrees Celsius
FARTemperature in degrees Fahrenheit
4
COMMAND SYNTAX (cont)
General Rules
1. Separate parameters with commas.
2. Numeric parameters up to 15 significant digits
and exponents in the range +/-1.0E+/-20.
3. Null parameters cause an error, e.g., the
adjacent commas in OUT 1V, ,2A.
4. Expressions, for example 4+2*13, are not
allowed as parameters.
5. Binary Block Data can be in one of two IEEE
488.2 formats:
Indefinite Length Format Accepts data bytes
after #0 until the ASCII Line Feed character is
received with an EOI signal (for RS-232, a line
feed or carriage return will terminate the block).
Definite Length Format The non-zero digit
specifies the number of characters that will
follow in the <digits> field.
Extra Space or Tab Characters
One space after a command is required. You can
insert extra spaces or tabs as desired.
Terminators
Terminator Characters
FunctionASCIIControlC Co d e
#Code
Carriage
Return
Line Feed10Chr(10)<Cntl> J\r
Backspace8Chr(8)<Cntl> H\b
Form Feed12Chr(12)<Cntl> L\f
13Chr(13)<Cntl> M\n
5
COMMAND SYNTAX (cont)
IEEE-488 Interface The 5500A sends the ASCII
character Line Feed with the EOI control line held
high as the terminator for response messages.
RS-232 Interface The 5500A Calibrator returns
an EOL (End of Line) character with each
response, selectable as CR, LF or both CRLF.
Incoming Character Processing
1. The most significant data bit (DIO8) is ignored.
2. All data is taken as 7-bit ASCII.
3. Lower-or upper-case characters.
4. ASCII characters less than 32 (Space) are
discarded, except for characters 10 (LF) and 13
(CR) and in the *PUD command argument.
Response Message Syntax
Response Data Types
DATA TYPEDESCRIPTION
IntegerDecimal numbers to 32768.
FloatingNumbers plus an exponent.
StringASCII characters within
double quotes (“string”).
Binary Block DataDefined by the IEEE-488.2.
6
CHECKING 5500A STATUS
Status Register Summary
Status RegisterReadWrite
Serial Poll Status Byte
(STB)
Service Request Enable
Register (SRE)
Event Status Register
(ESR)
Event Status Enable
Register (ESE)
Instrument Status Register
(ISR)
Instrument Status Change
Register (ISCR)
ISCR 1 to 0 transitionISCR0?
ISCR 0 to 1 transitionISCR1?
Instrument Status Change
Enable Register (ISCE)
ISCE 1 to 0 transitionISCE0?ISCE0
ISCE 0 to 1 transitionISCE1?ISCE1
*STB?
*SRE?*SRE
*ESR?
*ESE?*ESE
ISR?
ISCR?
ISCE?ISCE
7
CHECKING 5500A STATUS (cont)
STB and SRE
76543210
RQS
0
RQS Requesting Service. Set to 1 whenever bits
ESB, MAV, EAV, or ISCB change from 0 to
1 and are enabled (1) in the SRE. When
RQS is 1, asserts the SRQ control line.
MSS Master Summary Status. Set to 1 whenever
bits ESB, MAV, EAV, or ISCB are 1 and
enabled (1) in the SRE. This bit can be read
using the *STB? command in serial remote.
ESB Event Status. Set to 1 when one or more
enabled ESR bits are 1.
MAV Message Available. The MAV bit is set to 1
whenever data is available in the 5500A’s
IEEE-488 interface output buffer.
EAV Error Available. An error has occurred and
an error is available to be read from the
error queue by using the ERR? query.
ISCB One or more enabled ISCR bits are 1.
For RS-232, transmitting the ^P character (hold
down the <Cntl> key and press P) returns the
SPLSTR (Serial Poll String) and the status byte.
ESBMAVEAVISCB00
MSS
Service Request (SRQ) Line
IEEE-488 Bus control line that asserts to notify
the controller that it requires some type of service.
RS-232 Sends the SRQSTR string over the serial
interface when the SRQ line is set.
Service Request Enable Register (SRE)
The SRE enables or masks the bits of t he S eri al
Poll Status Byte. The SRE is cleared at power up.
8
CHECKING 5500A STATUS (cont)
ESR and ESE
15141312111098
00000000
76543210
PON0CMEEXEDDEQYE0OPC
PON Power on. Line power has been turned off
and on.
CME Command error. An incorrectly formed
command has occurred.
EXE Execution error. An error occurred while the
5500A tried to execute the last command.
DDE Device-dependent error. An error related to
a device-dependent command has occurred.
QYE Query error. No response data was
available or appropriate.
OPC Operation complete. All commands previous
to *OPC command have been executed.
9
CHECKING 5500A STATUS (cont)
ISR, ISCE, and ISCR
15141312111098
00RPTBUSY SETTLED REMOTE0UUTBFUL UUTDATA
76543210
HIVOLT MAGCHG TMPCAL0IBOOST VBOOST0
OPER
RPTBUSY Set to 1 when a calibration report is
being printed to the serial port.
SETTLEDSet to 1 when the output has settled
or the TC measurement has settled.
REMOTESet to 1 when the 5500A is under
remote control.
UUTBFULSet to 1 when data from the UUT port
has filled up the UUT buffer.
UUTDATA Set to 1 when there is data available
from the UUT port.
HIVOLTSet to 1 when the 5500A is
programmed to voltage above 33 V.
MAGCHGSet to 1 when the output magnitude
has changed. Always 0 in the ISR.
TMPCALSet to 1 when the 5500A is using
temporary calibration data.
IBOOSTSet to 1 when a 5725A Amplifier is
sourcing a current.
VBOOSTSet to 1 when a 5725A Amplifier is
sourcing a voltage.
OPERSet to 1 when the 5500A is in
operate; 0 to when it is in standby.
10
Output Queue
The output queue is loaded whenever a query is
processed, and holds up to 800 characters. If the
queue is empty, the 5500A Calibrator does not
respond to the INPUT statement. The Message
Available (MAV) bit in the Serial Poll Status Byte is
1 if there is something in the output queue and 0 if
the output queue is empty.
Error Queue
When a command error, execution error, or
device-dependent error occurs, its error code is
placed in the error queue where it can be read by
the ERR? command. The error queue contains up
to 16 entries.
11
COMMAND SUMMARY
Error Mode Commands
EDITSets edit field.
EDIT?Returns edit field setting.
INCRIncrements or decrements output.
MULTMultiplies reference magnitude.
NEWREFSets reference to output value.
OLDREFSets output to previous reference.
OUT_ERR?Returns UUT computed error.
REFOUT?Returns reference value.
External Connection Commands
CUR_POSTSelects terminals for current output.
&85B3267"
EARTHSelects earth ground is open or tied.
EARTH?Returns earth ground open or tied.
LOWSSelects low terminals open or tied.
LOWS?Returns low terminals open or tied.
RTD_TYPESets RTD sensor type.
RTD_TYPE?Returns RTD sensor type.
TC_REFSets internal/external reference value.
TC_REF?Returns TC reference value.
TC_TYPESets TC sensor type.
TC_TYPE?Returns TC sensor type.
76(16B7<3(
76(16B7<3("
Returns terminals for current output.
Sets temperature sensor type.
Returns temperature sensor type.
12
COMMAND SUMMARY (cont)
Common Commands
*CLSClears ESR, ISCR0, ISCR1, error
queue, RQS, and terminates
pending *OPC or *OPC?
*ESELoads ESE register.
*ESE?Returns ESE contents.
*ESR?Returns ESR contents.
*IDN?Returns instrument identification.
*OPCSets OPC bit in ESR to 1 when
device operations are complete.
*OPC?Returns 1 after operations are done.
*OPT?Returns hardware/software options.
*PUDStores a string in nonvolatile memory.
*PUD?Returns contents of *PUD memory.
*RSTResets to power-up state.
*SRELoads SRE register.
*SRE?Returns SRE contents.
*STB?Returns the status byte.
*TRGTriggers a TC measurement return
value.
*TST?Initiates self test;.return 0 for pass.
*WAIWaits until commands are executed.
Output Commands
BOOSTActivates/deactivates 5725A.
BOOST?Returns 5725A use and output.
CFREQ?Frequency for capacitance modes.
OPERActivates 5500A output.
OPER?Returns operate/standby setting.
OUTSets output and reference point.
OUT?Returns output.
PHASESets phase for dual outputs.
PHASE?Returns phase output.
POWER?Returns power for power outputs.
RANGE?Returns output ranges.
RANGELCKLocks range or set autorange.
RANGELCK?Returns locked or autorange.
STBYPuts 5500A in standby.
WAVESets waveforms for AC outputs.
WAVE?Returns output waveform.
ZCOMPActivate/deactivate impedance
ZCOMP?Returns status of impedance
Returns harmonic location.
compensation.
compensation.
14
COMMAND SUMMARY (cont)
RS-232 Host Port Commands
LOCALPuts 5500A into local.
LOCKOUTPuts 5500A into lockout state
REMOTEPuts 5500A into remote.
SPLSTRSets Serial Poll response string.
SPLSTR?Returns Serial Poll response.
SRQSTRSets serial mode SRQ response.
SRQSTR?Returns serial mode SRQ response.
^P (<cntl>p)Prints serial poll string.
^C (<cntl>c)Clears device.
^T (<cntl>t)Executes group trigger.
Setup and Utility Commands
FORMATRestores default nonvolatile memory.
LIMITSets maximum output magnitudes.
LIMIT?Returns maximum output magnitudes.
ONTIME?Returns time since last powered up.
57'B7<3(B'
57'B7<3(B'"
SP_SETSets serial HOST port settings.
SP_SET?Returns serial HOST port settings.
SRC_PREFSets source preference.
SRC_PREF?Returns source preference.
TC_TYPE_DSets default TC sensor.
7&B7<3(B'"
TEMP_STDSets temperature standard.
7(03B67'"
Set the default RTD sensor.
Returns default RTD sensor.
Returns default TC sensor.
Returns temperature standard.
15
COMMAND SUMMARY (cont)
Status Commands
ERR?Returns first error code in queue
and removes it from the queue.
EXPLAIN?Explains an error code.
FAULT?Returns first error code in queue
and removes it from the queue.
ISCELoads bytes into ISCE0 and ISCE1.
ISCE?Returns ISCE0 and ISCE1 contents.
ISCE0Loads two bytes into ISCE0.
ISCE0?Returns contents of ISCE0.
ISCE1Loads two bytes into ISCE1.
ISCE1?Returns contents of ISCE1.
ISCR?Returns contents of ISCR0/ISCR1.
ISCR0?Returns and clears ISCR0.
ISCR1?Returns and clears ISCR1.
ISR?Returns contents of ISR register.
Thermocouple (TC) Measurement Commands
TC_MEASChanges mode to TC measurement.
TC_OFFSETSets a TC temperature offset.
7&B2))6(7"
TC_OTCDActivates/deactivates otc circuit.
TC_OTCD?Returns status of otc circuit.
VAL?Returns last TC measurement.
UUT_FLUSHFlush UUT receive buffer.
887B5(&9"
UUT_SENDSends string to UUT serial port.
UUT_SETSets the UUT serial port settings.
UUT_SET?Returns the UUT serial port settings.
Returns TC temperature offset.
RS-232 UUT Port Commands
Return data from UUT serial port.
16
COMMAND LIST
BOOST
Parameters: ON
OFF
BOOST?
Responses:VOLTAGE
CURRENT
OFF
CFREQ?
Response:<value>
*CLS
Parameter:(None)
CUR_POST
Parameters: AUX
BOOST
CUR_POST?
Responses:AUX
BOOST
DC_OFFSET
Parameter:<value
DC_OFFSET?
Response:<value>
DPF
Parameters: <value>,LEAD
<value>,LAG
17
COMMAND LIST (cont)
DPF?
Responses:<value>,LEAD
<value>,LAG
DUTY
Parameter:<value> with optional PCT
DUTY?
Response:<value>
EARTH
Parameters: OPEN
TIED
EARTH?
Responses:OPEN
TIED
EDIT
Parameters: PRI
SEC
FREQ
OFF
EDIT?
Responses:PRI
SEC
FREQ
OFF
ERR?
Response:<value>, <string>
18
COMMAND LIST (cont)
*ESE
Parameter:<value>
*ESE?
Response:<value>
*ESR?
Response:<value>
EXPLAIN?
Parameter:<value>
Response:<string>
FAULT?
Response:<value>
FORMAT
Parameter:ALL
CAL
SETUP
FUNC?
Responses:DCV
ACV
DCI
ACI
RES
CAP
RTD
TC_OUT
DC_POWER
AC_POWER
DCV_DCV
ACV_ACV
TC_MEAS
19
COMMAND LIST (cont)
HARMONIC
Parameters: <value>, PRI
<value>, SEC
HARMONIC?
Response:<value>, PRI
<value>, SEC
*IDN?
Response:<manufacturer>,
<model>,
<serial number>,
<main firmware>+
<encoder firmware>+
<inguard firmware>+
<5725A CPU> (or *)
INCR
Parameters: <+ value>
<- value>
ISCE
Parameter:<value>
ISCE?
Response:<value>
ISCE0
Parameter:<value>
ISCE0?
Response:<value>
ISCE1
Parameter:<value>
20
COMMAND LIST (cont)
ISCE1?
Response:<value>
ISCR?
Response:<value>
ISCR0?
Response:<value>
ISCR1?
Response:<value>
ISR?
Response:<value>
LIMIT
Parameters: <positive value>,<negative value>
LIMIT?
Response:<positive value voltage>,
<negative value voltage>,
<positive value current>,
<negative value current>
LOCAL
Parameter:(None)
LOCKOUT
Parameter:(None)
LOWS
Parameter:OPEN
TIED
21
COMMAND LIST (cont)
LOWS?
Response:OPEN
TIED
MULT
Parameter:<value>
NEWREF
Parameter:(None)
OLDREF
Parameter:(None)
ONTIME?
Response:<days>,<hours>
*OPC
Parameter:(None)
*OPC?
Response:1
OPER
Parameter:(None)
OPER?
Response:1 (Operate)
0 (Standby)
*OPT?
Responses:<option string>,<option string>,...
0 (no options)
22
COMMAND LIST (cont)
OUT
Parameters: <value> V
<value> DBM
<value> V, <value> Hz
<value> DBM, <value> Hz
<value> A
<value> A, <value> Hz
<value> OHM
<value> F
<value> CEL
<value> FAR
<value> HZ
<value> V, <value> A
<value> DBM, <value> A
<value> V, <value> A, <value> HZ
<value> DBM, <value> A, <value> HZ
<value> V, <value> V
<value> DBM, <value> DBM
<value> V, <value> V, <value> HZ
<value> DBM, <value> DBM, <value> HZ
OUT?
Parameters: V
Response:<primary amplitude value>,
A
DBM
CEL
FAR
OHM
<primary units>,
<secondary amplitude value>,
<secondary units>,
<fundamental frequency value>