5502A
Operators Manual
viii
Local State ..................................................................................................... 5-21
Local with Lockout State ............................................................................... 5-21
Remote Condition .......................................................................................... 5-22
Remote with Lockout Condition ................................................................... 5-22
RS-232 Interface Overview ............................................................................... 5-23
IEEE-488 Interface Overview ............................................................................ 5-24
Use Commands .................................................................................................. 5-27
Types of Commands ...................................................................................... 5-27
Device-Dependent Commands .................................................................. 5-27
Common Commands ................................................................................. 5-27
Query Commands ...................................................................................... 5-28
Interface Messages (IEEE-488) ................................................................ 5-28
Compound Commands .................................................................................. 5-30
Coupled Commands .................................................................................. 5-30
Overlapped Commands ............................................................................. 5-30
Sequential Commands ............................................................................... 5-31
Commands where a Calibration Switch is Necessary ............................... 5-31
Commands for RS-232 Only ..................................................................... 5-32
Commands for IEEE-488 Only ................................................................. 5-33
Command Syntax .......................................................................................... 5-33
Parameter Syntax Rules ............................................................................ 5-33
Extra Space or Tab Characters .................................................................. 5-34
Terminators ............................................................................................... 5-35
Incoming Character Processing ................................................................. 5-35
Response Message Syntax ........................................................................ 5-36
Check 5502A Status ........................................................................................... 5-37
Serial Poll Status Byte (STB) ........................................................................ 5-38
Service Request (SRQ) Line ..................................................................... 5-40
Service Request Enable Register (SRE) .................................................... 5-40
Programming the STB and SRE................................................................ 5-41
Event Status Register (ESR) .......................................................................... 5-41
Event Status Enable (ESE) Register .......................................................... 5-41
Bit Assignments for the ESR and ESE ...................................................... 5-41
Program the ESR and ESE ........................................................................ 5-42
Instrument Status Register (ISR) ................................................................... 5-43
Instrument Status Change Registers .......................................................... 5-43
Instrument Status Change Enable Registers .............................................. 5-43
Bit Assignments for the ISR, ISCR, and ISCE ......................................... 5-43
Program the ISR, ISCR, and ISCE ............................................................ 5-45
Output Queue ................................................................................................. 5-45
Error Queue ................................................................................................... 5-45
Remote Program Examples................................................................................ 5-46
Guidelines to Program the Calibrator ............................................................ 5-46
Write an SRQ and Error Handler .................................................................. 5-47
Verify a Meter on the IEEE-488 Bus ............................................................ 5-48
Verify a Meter on the RS-232 UUT Serial Port ............................................ 5-48
Use *OPC?, *OPC, and *WAI ...................................................................... 5-48
Get a Thermocouple Measurement ................................................................ 5-49
Use the RS-232 UUT Port to Control an Instrument ..................................... 5-49
Input Buffer Operation .................................................................................. 5-50