Fluke 5500A Reference Guide

5500A
Multi-Product Calibrator
Programmer Reference Guide
PN 105783 December, 1994
© 1994 Fluke Corporation, Inc. All rights reserved. Printed in U.S.A.
®
Table of Contents
TYPES OF COMMANDS ..................................... 3
Device-Dependent Commands ......................... 3
Common Commands........................................ 3
Query Commands............................................ 3
Compound Commands..................................... 3
Coupled Commands.........................................3
Overlapped Commands....................................3
Sequential Commands..................................... 3
Commands for RS-232 Only............................. 3
COMMAND SYNTAX........................................... 4
Parameter Syntax............................................ 4
Extra Space or Tab Characters........................ 5
Terminators ..................................................... 5
Incoming Character Processing........................ 6
Response Message Syntax .............................. 6
CHECKING 5500A STATUS................................ 7
STB and SRE .................................................. 8
Service Request (SRQ) Line............................ 8
Service Request Enable Register (SRE)...........9
ESR and ESE ................................................ 10
ISR, ISCE, and ISCR..................................... 11
Output Queue................................................ 12
Error Queue ................................................... 12
COMMAND SUMMARY..................................... 13
COMMAND LIST............................................... 19
WARNING
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:
10 PRINT @4, “*CLS” ! Clear status 20 PRINT @4, “*SRE 8” ! Set SRE Error Avail. 30 ON SRQ GOTO 1000 ! Enable SRQ Function
100 ! Body of program here 900 STOP ! End of program 1000 REM Start of SRQ Handler ! Start routine
1010 PRINT @4, “FAULT?” ! Request fault code 1020 INPUT @4, A% ! Input fault code 1030 PRINT @4, “EXPLAIN? ”;A%! Request fault text 1040 INPUT @4, A$ ! Input fault text 1050 PRINT “Fault ”;A$“ detected” ! Print message 1060 PRINT @4, “STBY” ! Place 5500A in standby 1070 STOP
TYPES OF COMMANDS
Device-Dependent Commands
Commands unique to 5500A.
Common Commands
Commands defined by the IEEE 488.2 standard.
Query Commands
Commands ending with an ?.
Compound Commands
Two or more commands in a single command line.
Coupled Commands
Commands that could interfere with each other.
Overlapped Commands
Commands requiring more time to execute.
Sequential Commands
Commands that execute immediately.
Commands for RS-232 Only
Commands for RS-232 Only
IEEE-488 RS-232 Equivalent
GTL LOCAL command GTR REMOTE command LLO LOCKOUT command SRQ SRQSTR 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_SET SPLSTR SRQSTR SP_SET? SPLSTR? SRQSTR?
COMMAND SYNTAX
Parameter Syntax
Units Accepted in Parameters and Responses
Units Meaning
HZ Frequency in units of hertz KHZ Frequency in units of kilohertz MHZ Frequency in units of megahertz UV Volts in units of microvolts MV Volts in units of millivolts V Volts in units of volts KV Volts in units of kilovolts UA Current in units of microamperes MA Current in units of milliamps A Current in units of amps PCT Percent PPM Parts-per-million DBM Volts referenced to 1 mW into 600 load. OHM Resistance in units of ohms KOHM Resistance in units of kilohms MOHM Resistance in units of megohms NF Capacitance in units of nanofarads PF Capacitance in units of picofarads UF Capacitance in units of microfarads MF Capacitance in units of millifarads F Capacitance in units of farads CEL Temperature in degrees Celsius FAR Temperature in degrees Fahrenheit
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
Function ASCII Control C Co d e
# Code
Carriage Return
Line Feed 10 Chr(10) <Cntl> J \r Backspace 8 Chr(8) <Cntl> H \b Form Feed 12 Chr(12) <Cntl> L \f
13 Chr(13) <Cntl> M \n
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 TYPE DESCRIPTION
Integer Decimal numbers to 32768. Floating Numbers plus an exponent. String ASCII characters within
double quotes (“string”).
Binary Block Data Defined by the IEEE-488.2.
CHECKING 5500A STATUS
Status Register Summary
Status Register Read Write
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 transition ISCR0? ISCR 0 to 1 transition ISCR1?
Instrument Status Change
Enable Register (ISCE)
ISCE 1 to 0 transition ISCE0? ISCE0 ISCE 0 to 1 transition ISCE1? ISCE1
*STB?
*SRE? *SRE
*ESR?
*ESE? *ESE
ISR?
ISCR?
ISCE? ISCE
 
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.
ESB MAV EAV ISCB 0 0
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.
CHECKING 5500A STATUS (cont)
ESR and ESE
15 14 13 12 11 10 9 8
00000000
76543210
PON 0 CME EXE DDE QYE 0 OPC
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.
Loading...
+ 23 hidden pages