Hioki 9593-02 User manual

9593-02 Instruction Manual
RS-232C INTERFACE
EN
Oct. 2018 Revised edition 4
9593A985-04 18-10H
For 3157 AC GROUNDING HiTESTER


Contents
Introduction i
Chapter 1 Before Use 1
1.1 Check of External Appearance and Accessories 1
1.2 Shipping Precautions 2
1.3 Notes on Use 3
1.4 Installing the RS-232C Interface 4
Chapter 2 Overview 5
2.1 Introduction to the RS-232C Interface 5
2.2 Features 6
2.3 Specifications 7
Chapter 3 Names of Parts 11
3.1 Controls and Connections 11
Chapter 4 Connection to the Printer 13
4.1 9442 PRINTER 13
4.2 Setting the 9442 PRINTER Communication Conditions 14
4.3 Connecting the Printer 15
Chapter 5 Connection to the 3155 17
Chapter 6 Operation 19
6.1 Setting the RS-232C Communication Conditions 19
6.2 Communication Methods by the RS-232C 20
6.3 Message Format 21
6.3.1 Program Message 21
6.3.2 Response Messages 21
6.4 Headers 22
6.5 Data Formats 23
6.6 Delimiters 24
6.7 Separators 24
6.8 Abbreviation of Compound Commands 25
6.9 Output Queue 26
6.10 Input Buffer 26
6.11 Event Registers 27
9593A985-04

Chapter 7 Command Reference 29
7.1 Command Summary 29
7.2 Format of Command Explanations 32
7.3 Particular Commands 33
7.4 Commands Specific to the 3157 35
7.5 Response Format for Queries as Numerical Value 67
7.6 Initialization Items 68
Chapter 8 Sample Programs 69
8.1 Sample program Flowchart 69
8.2 Sample programs 74
Chapter 9 Troubleshooting 81

i
────────────────────────────────────────────────────
Introduction
────────────────────────────────────────────────────
WARNIN
G
Indicates that incorrect operation presents significant
danger of accident resulting in death or serious injury to
the user.
CAUTIO
N
Indicates that incorrect operation presents possibility of
injury to the user or damage to the equipment.
NOTE Denotes items of advice related to performance of the
equipment or to its correct operation.
I
ntroduction
Thank you for purchasing this HIOKI "9593-02 RS-232C 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.
* The "3157" in this Instruction Manual includes the "3157-01."

ii
────────────────────────────────────────────────────
Introduction
────────────────────────────────────────────────────

1
────────────────────────────────────────────────────
1.1 Check of External Appearance and Accessories
────────────────────────────────────────────────────
Chapter
1
Before Us
e
1
.1 Check of External Appearance and Accessories
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) 9593-02 RS-232C INTERFACE
(2) This instruction manual

2
────────────────────────────────────────────────────
1.2 Shipping Precautions
────────────────────────────────────────────────────
1
.2 Shipping Precautions
If reshipping the unit, preferably use the original packing.
If this is not available, use the following procedure.
(1) Wrap the unit in plastic sheeting.
(2) After wrapping cushioning material around the unit, pack it into a
cardboard box, and then seal up the box with adhesive tape.

3
────────────────────────────────────────────────────
1.3 Notes on Use
────────────────────────────────────────────────────
1
.3 Notes on Use
(1) If you change the communication conditions of the 3157 while using it, you
should immediately turn the power off and on again. If you do not do so, the
communication conditions will not be changed to the new ones.
(2) Always be sure to secure the RS-232C cable to the 9593-02 unit by tightening
up the fixing screws provided.
(3) Program messages sent just after the power has been turned on are executed
after the self test has terminated.
(4) It is vital that the proper data format is used when inputting commands with
data values to the 3157 unit.
(5) For details of the various functions, refer to the instruction manual for the
3157 unit.

4
────────────────────────────────────────────────────
1.4 Installing the RS-232C Interface
────────────────────────────────────────────────────
WARNIN
G
To prevent electrical shock, before adding or replacing the RS-232C
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 an
RS-232C 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.
CAUTIO
N
When inserting in the interface, hold the metal plate. Directly touching the
board may cause static electricity and lead to damage of the instrument.
(Using the wrist strap for preventing static electricity when inserting is
recommended.)
1
.4 Installing the RS-232C Interface
The space for fitting the 9593-02 RS-232C INTERFACE in the rear panel of
the 3157 is covered with a blank panel. Follow these three steps to install the
9593-02 interface:
(1) Remove the fixing screws, and take off the blank panel.
(2) Insert the 9593-02 RS-232C INTERFACE into the exposed slot in the rear
of the unit in the figure below.
(3) Push the 9593-02 firmly into place, and fix with the screws removed in
step 1.

5
────────────────────────────────────────────────────
2.1 Introduction to the RS-232C Interface
────────────────────────────────────────────────────
Chapter
2
Overvie
w
2
.1 Introduction to the RS-232C Interface
By connecting the 9593-02 RS-232C 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 RS-232C bus.

6
────────────────────────────────────────────────────
2.2 Features
────────────────────────────────────────────────────
2
.2 Features
(1) All of the functions of the 3157 main unit, except for powering on and off, can
be controlled via the RS-232C 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) Test results can be printed on the optional 9442 PRINTER.
(5) Connecting with the optional 3155 LEAK CURRENT HiTESTER enables
testing and the test results can be saved and printed together with the 3155
leakage current test results.

7
────────────────────────────────────────────────────
2.3 Specifications
────────────────────────────────────────────────────
Transfer system Start-stop synchronization
Baud rate 2400, 4800, 9600, 19200 bps
Data length 7 or 8 bits
Parity Even, odd, or none
Stop bits 1 or 2 bits
Delimiter CR+LF, CR
Handshake hardware
Input voltage levels +5 V〜+15 V
-15 V〜-5 V ON
OFF
Output voltage levels
(load impedance 3 kΩto 7 kΩ
)
+5 V〜+9 V
-9 V〜-5 V ON
OFF
RS-232C interface connector pin assignment
s
(D-subminiature 25-pin female)
NOTE
Signal assignments and explanation
Connector (Dsub
)
pin number Circuit Description
RS-232C CCITT
1 AA(FG) 101 Protective Ground
2 BA(TxD) 103 Transmitted Data
3 BB(RxD) 104 Received Data
4 CA(RTS) 105 Request to Send
5 CB(CTS) 106 Clear to Send
7 AB(GND) 102 Signal Ground
20 CD(DTR) 108/2 Data Terminal Ready
Other pins Unused
2
.3 Specifications
Selected by DIP switch.
Electrical characteristic
Connector
The connector on the 9593-02 is for terminal (DTE).

8
────────────────────────────────────────────────────
2.3 Specifications
────────────────────────────────────────────────────
D‑subminiature 25pin mal
e
9593-02
BA(TxD)
CB(CTS)
AB(GND)
CC(RI)
2
3
4
5
6
7
20
6
2
3
8
7
4
5
BB(RxD)
CD(DTR)
CA(RTS)
BB(RxD)
CA(RTS)
AB(GND)
CD(DTR)
BA(TxD)
CC(DSR)
CB(CTS)
D‑subminiature 9pin femal
e
PC/AT
(1)
D‑subminiature 25pin mal
e
9593-02
BA(TxD)
CF(DCD)
CA(RTS)
CB(CTS)
2
3
4
5
6
7
8
8
2
3
1
4
5
7
BB(RxD)
AB(GND)
CD(DTR)
BB(RxD)
CA(RTS)
AB(GND)
CF(DCD)
BA(TxD)
CC(DSR)
CB(CTS)
D‑subminiature 9pin femal
e
PC/AT
(2)
20
6
CD(DTR)
CC(DSR)
Connecting method
When connecting to the controller (DTE), use a cross cable which meets the
connector specifications of both sides of the 9593-02 and the controller.
Example
When connecting to the PC/AT

9
────────────────────────────────────────────────────
2.3 Specifications
────────────────────────────────────────────────────
85%
25
%
CA (RTS)
Amount of inpu
t
buffer used
Buffer empt
y
S
pac
e
Mark
Handshake
Buffer flow control
(1) Controls when receiving
When the receiving buffer is more than 85% full, CA (RTS) is set to Space to
indicate to the controller that the empty buffer capacity is low.
Processing of data in the buffer continues, and when the receiving buffer is
less than 25 % full, CA (RTS) is set to Mark to indicate to the controller that
there is ample buffer capacity.
(2) Controls when transmitting
When CB (CTS) is found to be Space, transmission is suspended; it is found
to be Mark transmission resumes.

10
────────────────────────────────────────────────────
2.3 Specifications
────────────────────────────────────────────────────

11
────────────────────────────────────────────────────
3.1 Controls and Connections
────────────────────────────────────────────────────
1 2
Chapter
3
Names of Par
ts
3
.1 Controls and Connections
(1) 3157 front panel
Display of RS-232C status
Each lamp displays the state of control by the RS-232C.
RMT: Remote
Remote state releasing keys
Press the 0ADJ key while holding down the SHIFT key to release the remote
state by the RS-232C and resume the local state. However, this key operation
is disabled if the RS-232C controller has put the unit into the local lock out
state. (Pressing SHIFT +0ADJ has no effect.)
When the unit enters the remote state because of a command message, it is
forcibly returned to the READY state.

12
────────────────────────────────────────────────────
3.1 Controls and Connections
────────────────────────────────────────────────────
1
2
(2) 9593-02 RS-232C interface outer panel
Communication condition setting switches
These are used to set the communication conditions of the 3157 unit on the
RS-232C bus. For how to set these switches, refer to Section 5.1, "Setting the
RS-232C Communication Conditions."
RS-232C connector
Connect the RS-232C cable to this connector.

13
────────────────────────────────────────────────────
4.1 9442 PRINTER
────────────────────────────────────────────────────
NOTE
Chapter
4
Connection to the Print
er
4
.1 9442 PRINTER
Using with the optional 9593-02 RS-232C INTERFACE, 9442 PRINTER, and
9446 CONNECTING CABLE, the test values can be printed out.
・The 9442 is shipped with the function settings for use with the HIOKI 3166
CLAMP ON POWER HiTESTER. Before using, always change the settings
of the DIP switches.
・For details on the operations and handling of the printer, refer to the
instruction manual supplied to the printer. For the printer, use the 1196
RECORDING PAPER or an equivalent.

14
────────────────────────────────────────────────────
4.2 Setting the 9442 PRINTER Communication Conditions
────────────────────────────────────────────────────
Switch No
.
Function ON OFF
1 Input method Parallel Serial
2 Printing speed High Low
3 Auto loading ON OFF
4 CR function Carriage return
and line feed Carriage return
5DIP SW setting
command Enable Disable
6to8 Printing density See the table below.
Printing density (%
)
Switch No.
100 678
OFF ON ON
Switch No
.
Function ON OFF
1 Data bit length 8 bits 7 bits
2 Parity permission None With parity
3 Parity condition Odd Even
4 Flow control H/W BUSY XON/XOFF
5to8 Baud rate See the table below.
Baud rate(bps
)
Switch No.
19200 5678
OFF ON ON OFF
4
.2 Setting the 9442 PRINTER Communication
Conditions
The 9442 is shipped with the function settings for use with the HIOKI 3166
CLAMP ON POWER HiTESTER. Before using, always change the settings of
the DIP switches.
Change the settings of the DIP switches as follows. For more information on
settings, refer to the instruction manual for the DPU-414 supplied to the 9442.
Setting the 9442 PRINTER
:Use these settings.
(1) Software DIP SW1
(2) Software DIP SW2
It has been set to the DPU-414 default setting.
(3) Software DIP SW3
Setting the 9593-02 RS-232C INTERFACE
Set all the communication condition setting switches on the RS-232C panel to
ON.
Table of contents
Other Hioki Computer Hardware manuals