
Model 2308 Portable Device Battery/Charger Simulator User’s Manual Table of Contents
2308-900-01 Rev. A / July 2008 iii
Section Topic Page
6 GPIB Operation....................................................................................... 6-1
Introduction ................................................................................................. 6-2
GPIB bus connections................................................................................. 6-2
Primary address .......................................................................................... 6-3
Setting the GPIB timeout for responses...................................................... 6-4
Long integration readings ..................................................................... 6-4
Pulse current readings.......................................................................... 6-4
MAV (Message Available Bit) ............................................................... 6-4
General bus commands .............................................................................. 6-5
REN (remote enable)............................................................................ 6-5
IFC (interface clear) .............................................................................. 6-6
LLO (local lockout)................................................................................ 6-6
GTL (go to local) ................................................................................... 6-6
DCL (device clear) ................................................................................ 6-6
SDC (selective device clear)................................................................. 6-6
GET (group execute trigger) ................................................................. 6-6
SPE, SPD (serial polling)...................................................................... 6-6
Front panel aspects of GPIB operation ....................................................... 6-6
Remote indicator and LOCAL key ........................................................ 6-7
Error and status messages................................................................... 6-7
Programming syntax ................................................................................... 6-7
Command words................................................................................... 6-7
Program messages............................................................................... 6-9
Response messages .......................................................................... 6-11
Message exchange protocol............................................................... 6-12
7 Status Structure...................................................................................... 7-1
Overview ..................................................................................................... 7-2
Status byte and SRQ ............................................................................ 7-2
Status register sets ............................................................................... 7-2
Queues ................................................................................................. 7-2
Clearing registers and queues .................................................................... 7-3
Programming and reading registers............................................................ 7-4
Programming enable registers.............................................................. 7-4
Reading registers.................................................................................. 7-5
Status byte and service request (SRQ)....................................................... 7-5
Status byte register ............................................................................... 7-6
Service request enable register............................................................ 7-7
Serial polling and SRQ ......................................................................... 7-7
Status byte and service request commands ......................................... 7-8
Status register sets...................................................................................... 7-8
Register bit descriptions ....................................................................... 7-8
Condition registers .................................................................................... 7-12
Event registers.................................................................................... 7-12
Event enable registers ........................................................................ 7-13
Queues...................................................................................................... 7-14
Output queue...................................................................................... 7-15
Error queue......................................................................................... 7-15
Programming example - read error queue.......................................... 7-16
8 Common Commands ............................................................................ 8-1
Overview ..................................................................................................... 8-2
IEEE-488.2 common commands and queries............................................. 8-2
*IDN? .................................................................................................... 8-2
*OPC..................................................................................................... 8-3
*SAV <NRf> and RCL <NRf> ............................................................... 8-3
*RST ..................................................................................................... 8-4
*TRG..................................................................................................... 8-4
*TST?.................................................................................................... 8-4
*WAI...................................................................................................... 8-4