©
Page 73 of 97
Issue: 1.04
9 GPIB
The microK is equipped with an IEEE-488 GPIB (General Purpose Interface
Bus) port. This can be used to control the microK and perform calibration and
diagnostic functions. The command set uses the SCPI (Standard Commands for
Programmable Instruments) protocol (see section 10 for details).
The GPIB connector is located on the rear of your microK (see section 1.4). The
connector is the standard IEEE-488 connector (24-way):
Pin
Name
Function
Pin
Name Function
1
DIO1
Data Input/Output bit
13
DIO5
Data Input/Output bit
2
DIO2
Data Input/Output bit
14
DIO6
Data Input/Output bit
3
DIO3
Data Input/Output bit
15
DIO7
Data Input/Output bit
4
DIO4
Data Input/Output bit
16
DIO8
Data Input/Output bit
5
#EOI
End or Identify
17
#REN Remote Enable
6
#DAV Data Valid
18
GND
Ground (paired with #DAV)
7
NRFD
Not Ready for Data
19
GND
Ground (paired with NRFD)
8
NDAC Not Data Accepted
20
GND
Ground (paired with NDAC)
9
#IFC
Interface Clear
21
GND
Ground (paired with #IFC)
10
#SRQ
Service Request
22
GND
Ground (paired with #SRQ)
11
#ATN
Attention
23
GND
Ground (paired with #ATN)
12
GND
Shield
24
GND
Logic Ground
Shell
-
Frame Ground (cable screen)
Unlike the RS232 interface (which is full duplex) the GPIB is inherently half-
duplex (data can only be transferred between the microK and the GPIB
Controller in one direction at any given time, this direction being determined by
the controller). If a response is expected from the microK, the GPIB Controller
must address the microK as a Talker in order that it can transmit this information.
The microK will try to send information on the GPIB for 2s, after which time it
will abandon attempts to respond and revert to being a Listener in order to
received further commands on the GPIB. This 2s window will start as soon as the
microK is ready to respond. There will be a delay from receiving the command
to attempting to respond depending on the command (requesting data involves a
short delay but requesting a measurement may take up to 2s) and whether the
microK is busy processing other commands (if measurements are being
requested via the front panel operator interface or via the RS232 interface).