Thank you for purchasing this HIOKI "9518-02 GP-IB INTERFACE."
To get the maximum performance from the unit, please read this manual first,
and keep this at hand.
This Instruction Manual provides information and warnings essential for
operating this equipment in a safe manner and for maintaining it in safe
operating condition. Before using this equipment, be sure to carefully read the
following safety notes.
The following symbols are used in this Instruction Manual to indicate the
relative importance of cautions and warnings.
i
WARNIN
CAUTIO
NOTE
* The "3157" in this Instruction Manual includes the "3157-01."
Indicates that incorrect operation presents significant
danger of accident resulting in death or serious injury to
the user.
Indicates that incorrect operation presents possibility of
injury to the user or damage to the equipment.
Denotes items of advice related to performance of the
equipment or to its correct operation.
When the unit is delivered, check and make sure that it has not been
damaged in transit. If the unit is damaged, or fails to operate according to the
specifications, contact your dealer or HIOKI representative.
(1) 9518-02 GP-IB INTERFACE
(2) This instruction manual
To prevent electrical shock, before adding or replacing the GP-IB
interface, check that the power for the unit is off and the power cord
and connectors are disconnected. [The fixing screws must be firmly
tightened or the input unit may not function up to specification, or may
even fail.]
To avoid the danger of electric shock, never operate the unit with a
GP-IB interface removed. If you should wish to use the unit after
removing an interface, fit a blank panel over the opening of the removed
unit.
The space for fitting the 9518-02 GP-IB INTERFACE in the rear panel of the
3157 is covered with a blank panel. Follow these three steps to install the
9518-02 interface:
(1) Remove the fixing screws, and take off the blank panel.
(2) Insert the 9518-02 GP-IB INTERFACE into the exposed slot in the rear of
the unit in the figure below.
(3) Push the 9518-02 firmly into place, and fix with the screws removed in
By connecting the 9518-02 GP-IB INTERFACE to the 3157 AC GROUNDING
HiTESTER, it is possible to control all the functions of the main unit (except
for powering on and off) via the GP-IB bus. This unit is compliance with the
following standard.
Compliance standard : IEEE 488.1-1987
Further, the 9518-02 is designed with reference to the following standard:
Reference standard : IEEE 488.2-1987
NOTE
On the 9518-02, if the output queue becomes full, it is cleared and a query
error is generated. This differs from the IEEE 488.2 specification, which
only stipulates the clearing of the output queue and the outputting of a
query error when a deadlock state occurs, that is, when both the input
buffer and the output queue have become full, and continuation of
processing has become impossible.
.2Features
(1) All of the functions of the 3157 main unit, except for powering on and off, can
be controlled via the GP-IB interface. However, the ":STARt" command works
in a state in which the momentary OUT settings are disabled even though the
momentary OUT settings have been set.
(2) The beeper sound can be turned on and off.
(3) The unit can be reset.
(4) IEEE 488.2-1987 standard (essential) commands can be used.
All source handshake functions
All acceptor handshake functions
Basic talk functions
Serial poll function
No talk-only mode
The talker cancellation function with MLA (My Listen
Address)
Basic listener functions
No listen-only mode
The listener cancellation function with MTA (My Talk
Address) is provided.
All service request functions
All remote/local functions
No parallel polling function
All device clear functions
No device trigger function
No controller function
These are used to set the device address of the 3157 unit on the GP-IB bus.
For how to set these switches, refer to Section 4.1, "Setting the GP-IB Device
Address."
・The address of the 3157 unit (called the device) on the GP-IB bus can be set to
any number from 0 to 30.
・Use the Address switches on the GP-IB panel to set the device address.
・On dispatch from the factory, this address is initially set to 1.
・If this address is (apparently) set to 31, i.e. if all the switches are in the ON
position, then the bus lines of the 3157 are disabled.
・Always the Address switch for TALK ONLY is in the OFF position, since it is
If you change the bus address while the 3157 is being used, then you should
immediately turn the power off and on again.
If this is not done, the address will not be changed to the new one.
The commands for the 3157 are as far as possible mnemonic. Furthermore, all
commands have a long form, and an abbreviated short form.
.3.1Program Message
The program message is made up from header and data portions.
Example Command message to set test time to ON
:TIMER_ON
↑↑
: Header portion: Data portion (ASCII-format text or numeric values. Some
messages have no data portions...query messages, etc.)
A command header can be abbreviated. The whole command form is referred
to as the "long form" and the abbreviated form as the "short form."
In this manual, the short form is written in upper case letters, and then this
is continued in lower case letters so as to constitute the long form. Either of
these forms will be accepted during operation, but intermediate forms will not
be accepted. Further, during operation both lower case letters and upper case
letters will be accepted without distinction.
For "TIMER", either "TIMer" (the long form) or "TIM" (the short form) will be
accepted. However, any one of "TIME", or "TI" is wrong and will generate an
error.
.3.2Response Messages
It represents the response message for query messages from the 3157.
Response messages generated by the 3157 are in long form and in upper case
letters.
Example :TIMER_ON
The 3157 uses character string data and decimal numeric data, and the type
used varies according to the command in question.
(1) Character data
Character string data must always begin with an alphabetic character, and
the characters following can be either alphabetic characters or numerals.
Although in character data either upper case letters or lower case letters are
accepted, response messages output by the 3157 are always in upper case
letters.
Example :STATe_reaDY
(2) Decimal data
The numeric data values are all represented in decimal, in three formats
identified as NR1, NR2 and NR3, and each of these can appear as either a
signed number or an unsigned number. Unsigned numbers are taken as
positive. Further, if the accuracy of a numerical value exceeds the limit which
the 3157 can deal, it is rounded off (5 and above is rounded up; 4 and below is
rounded down).
NR1 format: Integer data
Examples +3000, -50000, 210
NR2 format: Fixed point numbers
Examples
NR3 format: Floating point numbers.
Examples +3E-2, -1.2E3
The term "NRf format" includes all these three formats. When the 3157 is
receiving it accepts NRf format, but when it is sending response messages it
utilizes whichever one of the formats NR1 to NR3 is indicated in the specified
command.
Examples :CONFigure:CURRent_25
When several compound commands have a common head portion (for example,
:CONFigure:CURRent and :CONFigure:RUPPer, etc.), then, when and only
when writing them directly following on from one another, this common
portion (:CONFigure in this example) can be omitted from each command
except for the first one.
This common portion is called "the current path", by analogy with the general
concept of the current directory in the directory structure of UNIX or MSDOS,
and until it is cleared the analysis of following commands is performed by
deeming them to be preceded by the current path which has been curtailed in
the interests of brevity. This manner of using the current path is shown in
the following example:
Normal expression
:CONFigure:CURRent_25.0;:CONFigure:RUPPer_0.100
Abbreviated expression
:CONFigure:
The current path is cleared when the power is turned on, when a colon (:)
appears at the start of a command, and when a message terminator is
detected.
Messages of standard command form can be executed without relation to the
current path. Further, they have no effect upon the current path.
It is not necessary to prefix a colon (:) at the start of headers of simple
commands and compound commands. However, in order to prevent confusion
with abbreviated forms and mistakes in operation, it is recommended practice
always to prefix ":" to headers.
With the 3157, there are 4 possible current paths:
:CONFigure:
:MEASure:
:MEMory:
:SYSTem:
CURRent_25.0;RUPPer_0.100
This becomes the current path, and can be
curtailed from the following commands.
In its implementation of the serial polling function using service requests, the
3157 employs the status model specified by IEEE 488.2.
The term "event" refers to any phenomenon which generates a service request.
Status byte register (STB
Represents standard event registe
Data is present in the output queu
Represents corresponding event registe
RQS
MSS
Logical sum
Service request enable register (SRER
ESBMAVESB0
ESBMAV
ESB0
Generation of service requests
The status byte register holds information relating to the event registers and
the output queue.
It is further possible to use the service request enable register as a mask to
select the items required. If any of the bits selected by the mask becomes 1,
bit 6 (the master summary status or MSS bit) is also set to 1, an RQS
message is generated, and this generates a service request.
The standard event status register is an 8-bit register. If any bit in the
standard event status register is set to 1 (after masking by the standard event
status enable register), bit 5 (ESB) of the status byte register is set to 1.
Status byte register (STB
RQS
ESB
MSS
Logical sum
Standard event status register (SESR
URQ
CMEEXE
DDEQYERQCOPCPON
PONURQ
CMEEXE
DDEQYERQCOPC
Standard event status enable register (SESER
The standard event status register is cleared in the following three situations: