Hioki RS-232C User manual

INSTRUCTION MANUAL
3532-50
3522-50
LCR HiTESTER
9593-01
RS-232C INTERFACE


Contents
Introduction i
Chapter 1 Before Use 1
1.1 Check of External Appearance and Accessories 1
1.2 Shipping Precautions 2
1.3 Points for Attention During Use 3
1.4 Installing the RS-232C Interface 4
Chapter 2 Overview 5
2.1 Introduction to the 9593-01 RS-232C INTERFACE 5
2.2 Features 5
2.3 Specifications 6
Chapter 3 Names of Parts 9
3.1 Controls and Connections 9
Chapter 4 Operation 11
4.1 Setting the RS-232C Communication Conditions 11
4.2 Communication Methods by the RS-232C 12
4.3 Message Format 13
4.3.1 Program Message 13
4.3.2 Response Messages 13
4.4 Headers 14
4.5 Data Formats 15
4.6 Delimiters 16
4.7 Separators 16
4.8 Abbreviation of Compound Commands 17
4.9 Output Queue 18
4.10 Input Buffer 18
4.11 Event Registers 19
Chapter 5 Command Reference 21
5.1 Command Summary 21
5.2 Format of Command Explanations 25
5.3 Particular Commands 26
5.5 Response Format for Queries as Numerical Value 80
5.6 Initialization Items 82

Chapter 6 Sample Programs 83
Chapter 7 Troubleshooting 91
Index INDEX 1

i
_____________________________________________________________________________________________
_____________________________________________________________________________________________
WARNING Indicates that incorrect operation presents a significant
hazard that could result in serious injury or death to
the user.
CAUTION Indicates that incorrect operation presents a possibility
of injury to the user or damage to the product.
NOTE Advisory items related to performance or correct operation
of the product.
Introduction
Thank you for purchasing the HIOKI "9593-01 RS-232C INTERFACE" for
the 3532-50 and 3522-50 LCR HiTESTERs.
To obtain maximum performance from the product, please read this manual
first, and keep it handy for future reference.
This manual contains information and warnings essential for safe operation
of the product and for maintaining it in safe operating condition. Before
using the product, be sure to carefully read the following safety notes.
The following symbols in this manual indicate the relative importance of
cautions and warnings.

ii
_____________________________________________________________________________________________
_____________________________________________________________________________________________

1
_____________________________________________________________________________________________
1.1 Check of External Appearance and Accessories
_____________________________________________________________________________________________
Chapter 1
Before Use
1.1 Check of External Appearance and Accessories
When you receive the product, inspect it carefully to ensure that no damage
occurred during shipping.
In particular, check the accessories, panel switches, and connectors. If
damage is evident, or if it fails to operate according to the specifications,
contact your dealer or Hioki representative.
(1) 9593-01 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 Points for Attention During Use
_____________________________________________________________________________________________
1.3 Points for Attention During Use
(1) If you change the communication condition of the 3532-50/3522-50 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 one.
(2) Always be sure to secu
re the RS-232C cable to the 9593-01 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 3532-50/3522-50 units.
(5) For details of the various functions, refer to the instruction manuals for the
3532-50/3522-50 units.

4
_____________________________________________________________________________________________
1.4 Installing the RS-232C Interface
_____________________________________________________________________________________________
WARNING To avoid electric shock accident, before removing or replacing an
input module, confirm that the instrument is turned off and that the
power cord and connection cables are disconnected.
The mounting screws must be firmly tightened or the input unit may
not perform to specifications, or may even fail.
To avoid the danger of electric shock, never operate the product
with an input module removed. To use the product after removing
an input module, install a blank panel over the opening of the
removed module.
1.4 Installing the RS-232C Interface
The space for fitting the 9593-01 RS-232C INTERFACE in the rear panel of
the 3532-50/3522-50 are covered with a blanking plate. Follow these three
steps to install the 9593-01 interface:
1. Remove the fixing screws, and take off the blanking plate.
2. Insert the 9593-01 RS-232C INTERFACE into the exposed slot in the rear
of the unit in the figure below.
3. Push the 9593-01 firmly into place, and fix with the screws removed in
step 1.

5
_____________________________________________________________________________________________
2.1 Introduction to the 9593-01 RS-232C INTERFACE
_____________________________________________________________________________________________
Chapter 2
Overview
2.1 Introduction to the 9593-01 RS-232C INTERFACE
2.2 Features
By connecting the 9593-01 RS-232C INTERFACE to the 3532-50 or the
3522-50 LCR HiTESTER, it is possible to control all the functions of the
main unit (except for powering on and off) via the RS-232C bus.
(1) All of the functions of the 3532-50, 3522-50 main units, except for powering
on and off, can be controlled via the RS-232C interface.
(2) The beeper sound can be turned on and off.
(3) The unit can be reset.

6
_____________________________________________________________________________________________
2.3 Specifications
_____________________________________________________________________________________________
Transfer system Start-stop synchronization
Baud rate 2400, 4800, 9600, 19200 bps
Data length 7or8bits
Parity Even,odd,ornone
Stop bits 1or2bits
Delimiter CR+LF, CR
Handshake hardware
Input voltage levels +5 V to +15 V
-15 V to -5 V ON
OFF
Output voltage levels
(load impedance 3 kΩto 7 kΩ)+5 V to +9 V
-9 V to -5 V ON
OFF
RS-232C Interface Connector Pin Assignments
(
D-subminiature 25-
p
in female
)
NOTE
Signal Assignments and Explanation
Connector (Dsub)
Pin number Circuit Description
RS-232C CCITT
2BA(TxD) 103 Transmitted Data
3BB(RxD) 104 Received Data
4CA(RTS) 105 Request to Send
5CB(CTS) 106 Clear to Send
7AB(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-01 is for terminal (DTE).

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

8
_____________________________________________________________________________________________
2.3 Specifications
_____________________________________________________________________________________________
85%
25%
Hi
Low
RTS
Amount of input
buffer used
Buffer em
p
t
y
Handshake
(1) Controls when receiving
When the receiving buffer is more than 85% full, to indicate to the controller
that the empty buffer capacity is low (RTS is set to Low).
Processing of data in the buffer continues, and when the receiving buffer is
less than 25 % full, to indicate to the controller that there is ample buffer
capacity (RTS is set to Hi)
(2) Controls when transmitting
When CTS is Low, transmission is suspended; it is Hi transmission resumes.

9
_____________________________________________________________________________________________
3.1 Controls and Connections
_____________________________________________________________________________________________
Chapter 3
Names of Parts
3.1 Controls and Connections
(1) Initial Screens
During communications (in the remote state), the LOCAL key to release the
remote state is displayed on the screen.
Press this key to resume the normal state (local state).
During communications, the initial screen is forcibly displayed excluding the
following conditions.
When executing OPEN/SHORT correction or sending the execution
command (correction execution screen appears).
When the magnification display screen appears.

10
_____________________________________________________________________________________________
3.1 Controls and Connections
_____________________________________________________________________________________________
WARNING To avoid electrocution, turn off the power to all devices before
pluggingor unplugging any of the RS-232C INTERFACE connectors.
CAUTION To avoid damage to the product, do not short-circuit the output
terminal and do not input voltage to the output terminal.
Communication condition settin
g
switches RS-232C connecto
r
(2) 9593-01 RS-232C INTERFACE
Communication condition setting switches
These are used to set the communication condition of the 3532-50/3522-50
units on the RS-232C bus. For how to set these switches, refer to Section
4.1, "Setting the RS-232C Communication Conditions."
RS-232C connector
Connect the RS-232C cable to this connector.

11
_____________________________________________________________________________________________
4.1 Setting the RS-232C Communication Conditions
_____________________________________________________________________________________________
NOTE
Bits Description
1 2 Baud rate
0 0
0 1
1 0
1 1
9600
4800
2400
19200
3Data length
0
18bits
7bits
4 5 Parity
0 0
0 1
1 0
1 1
None
None
Even
Odd
6Stop bits
0
11 bit
2bits
7 Delimiter
0
1CR+LF
CR
Bits Description
1Baud rate
2
3Data length
4Parity
5
6Stop bits
7 Delimiter
8Handshake
0: OFF 1: ON
Chapter 4
Operation
4.1 Setting the RS-232C Communication Conditions
Use the communication condition setting switches on the RS-232C panel to
set the communication condition.
On dispatch from the factory, this address is initially set to 00000000.
If you change the communication condition while the 3532-50 or 3522-50
is being used, then you should immediately turn the power off and on
again.
If this is not done, the communication condition will not be changed to the
new one.
When using with the personal computer, set bit 8 to 0.
When using with the optional 9442 printer, set all bits to 1.

12
_____________________________________________________________________________________________
4.2 Communication Methods by the RS-232C
_____________________________________________________________________________________________
Command messages
Quer
y
messa
g
es
Messages Program messages
Res
p
onse messa
g
es
Computer
3532-50/3522-50
Program messages
Response messages
4.2 Communication Methods by the RS-232C
In order to control the 3532-50/3522-50 by the RS-232C, there are
several kinds of messages.
Of these, program messages are those received by the 3532-50/3522-
50 from the computer, while response messages are those sent from
the 3532-50/3522-50 to the computer.
(1) Program messages
Program messages are command messages or query messages.
Command massages are orders for controls of the 3532-50/3522-50,
such as for making measurement condition settings or for reset or the
like.
Example FREQUENCY <data>
(Command message which sets the frequency)
Query messages are orders for responses relating to results of
operation, results of measurement, or the state of 3532-50/3522-50
settings. (A question mark "?" is suffixed at the end of the command.)
Example FREQUENCY?
(Queries the current frequency)
(2) Response messages
It represents the response data for query messages from the 3532-50/3522-
50.
Example FREQUENCY 1.000E+03
(Current frequency is 1 kHz.)

13
_____________________________________________________________________________________________
4.3 Message Format
_____________________________________________________________________________________________
4.3.1 Program Message
1 2 3
4.3.2 Response Messages
NOTE
4.3 Message Format
The commands for the 3532-50/3522-50 are as far as possible mnemonic.
Furthermore, all commands have a long form, and an abbreviated short form.
The program message is made up from header and data portions
Example Command message to set frequency to 1 kHz
:
FREQUENCY 1000
1Header portion
2Space separating header portion and data portion.
3Data 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 "FREQUENCY", either "FREQuency" (the long form) or "FREQ" (the
short form) will be accepted. However, any one of "FREQU", or "FRE" is
wrong and will generate an error.
It represents the response message for query messages from the 3532-
50/3522-50.
Response messages generated by the 3532-50/3522-50 are in long form and
in upper case letters.
Example FREQUENCY 1.000E+03
(Current frequency is 1 kHz.)
If an error occurs when the query message is received, the query does not
produce response message.

14
_____________________________________________________________________________________________
4.4 Headers
_____________________________________________________________________________________________
1 2 3
NOTE
4.4 Headers
(1) Program message headers
There are three types of header: simple headers, compound headers, and
particular headers.
Simple header
A header consisting of a single word beginning with a letter.
Examples :HEADer, etc.
Compound header
A header consisting of a sequence of words separated by colons.
Examples :BEEPer:KEY, RANGe:AUTO, etc.
Particular header
A header beginning with an asterisk (*) to indicate that it is a particular
command.
Examples *RST, etc.
(2) Response message
Headers in response messages can be enabled or disabled by using the
"HEADer" command.
Example When frequency is set to 1 kHz:
:FREQUENCY?
(Query message asking for the current setting of the frequency.)
Response message when headers are on.
:FREQUENCY 1000
1Header portion
2Space separating header portion and data portion.
3Data portion
Response message when headers are off.
1000
(Data portion only)
The headers are set to off when powering on.
This manual suits for next models
1
Table of contents
Other Hioki Recording Equipment manuals

Hioki
Hioki MR8847A User manual

Hioki
Hioki 3920-01 User manual

Hioki
Hioki 9518-02 User manual

Hioki
Hioki 3909 User manual

Hioki
Hioki Memory HiCorder MR6000 Instruction manual

Hioki
Hioki 9593-03 User manual

Hioki
Hioki Memory HiCorder MR6000 Instruction manual

Hioki
Hioki 8205-10 User manual

Hioki
Hioki 8860 User manual

Hioki
Hioki 9588 User manual