This manual explains the communication commands for Models RM3544 / RM3545
Resistance Meter.
Please refer to the instruction manual for Models RM3544 / RM3545 for details regarding
command settings.
Although all reasonable care has been taken in the production of this manual, should you
find any points which are unclear or in error, please contact your local distributor or the
HIOKI International Sales & Marketing Division at os-com@hioki.co.jp.
In the interest of product development, the contents of this manual may be subject to
revision without notice.
Microsoft, MS, MS-DOS, and Windows, are registered trademarks or trademarks of
Microsoft Corporation in the U.S.A. and other countries.
All other names are registered trademarks or trademarks of their respective companies.
Message Format ....................................................................................................................................... 1
Output Queue and Input Buffer ................................................................................................................ 5
Status Byte Register ................................................................................................................................. 6
Command Execution Ti me ..................................................................................................................... 12
Errors During Communications .............................................................................................................. 12
2 Message List ........................................................................................................................................... 13
(14) Hold .............................................................................................................................................. 43
In this publication, items relevant only to the RM3544-01 are indicated as RM3544, and items relevant only to the
RM3545, RM3545-01, and RM3545-02 are indicated as RM3545. Also, the RM354-01, RM3545, RM3545-01, and
RM3545-02 are indicated as “the instrument.”
If the commun ica tio n mo ni tor in g func ti on is us ed at th e ti me o f pro g ram c re at io n, com man ds an d r es po ns es will be
conveniently displayed on the measurement screen. For information on the communication monitoring function, see
the instruction manual of the instruments.
Various messages are supported for controlling the instrument through the interfaces.
Messages can be either program messages, sent from the controller such as PC to the instrument, or response
messages, sent from the instrument to the controller.
Message types are further categorized as follows.
Messages
Controller
Program Messages
Response Messages
Program Messages
Instrument
Command Messages
Query Messages
Response Message
When issuing commands that contain data, make sure that the data is provided in the specified format.
Message Format
Program Messages
Program messages can be either Command Messages or Query Messages.
(1) Command Messages
Instructions to control the instrument, such as to change settings or reset
Example: (instruction to set the measurement range)
RESISTANCE:RANGE 100E3
Header portion
Space Data portion
Query Messages
(2)
Requests for responses relating to results of operation or measurement, or the state of instrument settin gs
Example: (request for the current measurement range)
When a query message is received, its syntax is checked and a response message is generated.
The
:SYSTem:HEADer
Header ON
Header OFF
command determines whether headers are prefixed to response messages.
:SENSE:RESISTANCE:RANGE 100.000E+03
100.000E+03
(The current resistance measurement range is 100kΩ)
At power-on, Header OFF is selected.
If an error occurs when a query message is received, no response message is generated for that query.
Some query message has no header, such as
:FETCH?
and
:CALCulate:LIMit:RESult?
Command Syntax
Command names are chosen to mnemonically represent their function, and can be abbreviated. The full command
name is called the “long for m”, and the abbreviated name is called the “short form”. The command references in this
manual indicate the short form in upper-case letters, extended to the long form in lower case letters, although the
commands are not case-sensitive in actual usage.
ADJUST?
ADJ
ADJU
AD
Response messages generated by the instrument are in long form and in upper case letters.
Headers
Headers must always be prefixed to program messages.
(1) Command Program Headers
There are three types of commands: Simple, Compound and Standard.
• Headers for Simple Commands
This header type is a sequence of letters and digits
:ESE0
• Headers for Compound Commands
These headers consist of multiple simple command type headers separated by colons “:”
:SAMPle:RATE
• Headers for Standard Commands
This header type begins with an asterisk “*”, indicating that it is a standard command defined by
IEEE 488.2.
*
RST
(2) Query Program Header
These commands are used to interrogate the instrument about the results of operations, measured values and
the current states of instrument settings.
As shown by the following examples, a query is formed by appending a question mark
header.
:FETCh?
:CALCulate:LIMit:REFerence?
OK (long form)
OK (short form)
Error
Error
“
?
”
after a program
Characters within square brackets [ ] may be omitted.
[:SENSe:]RESistance:RANGe :SENSe:RESistance:RANGe
RESistance:RANGe
Either form is valid
.
3
Message Terminators
This instrument recognizes the following message terminators (delimiters):
[RS-232C/USB]
•
CR
•
CR+LF
[GP-IB]
•
•
•
•
Depending on the instrument's interface settings, the following can be selected as the terminator for response
messages.
For information on settings, see “Delimiter Setting” (p. 61).
LF
CR+LF
EOI
LF with EOI
[RS-232C/USB]
•
CR+LF
[GP-IB]
•
•
LF with EOI (default setting)
CR+LF with EOI
Separators
(1) Message Unit Separator
Multiple messages can be written in one line by separating them with semicolons “;”
:SYSTEM:LFREQUENCY 60;*IDN?
• When messages are combined in this way and if one command contains an error, all subsequent messages
up to the next terminator will be ignored.
• A query error occurs if a query command is combined with an immediately followed semicolon and
subsequent command.
(2) Header Separator
In a message consisting of both a header and data, the header is separated from the data by a space “ ” (ASCII
code 20H).
:SYSTEM:HEADER OFF
Data Separator
(3)
In a message containing multiple data items, com mas ar e re quired to separate the data items fro m o ne an othe r.
:CALCulate:LIMit:BEEPer IN,1,0
4
Data Formats
The instrument uses character data, decimal numeric data and character string data depending on the command.
Character Data
(1)
Character data always begins with an alphabetic chara cter, a nd subs eque nt chara cter s ma y be either
alphabetic or numeric. Character data is not case-sensitive, although response messages from the instrument
are only upper case. When the command data portion contains <1/0/ON/OFF>, the operation will be similar to
when 0 is OFF and 1 is ON.
:SYSTEM:HEAD ER OFF
Decimal Numeric Data
(2)
Three formats are used for numeric data, identified as NR1, NR2 and NR3. Numeric values may be signed or
unsigned. Unsigned numeric values are handled as positive values. Values exceeding the precision handled by
the instrument are rounded to the nearest valid digit.
NR1 Integer data (e.g.: +12, -23, 34)
•
NR2 Fixed-point data (e.g.: +1.23, -23.45, 3.456)
•
NR3 Floating-point exponential representation data (e.g.: +1.0E-2, -2.3E+4)
•
The term “NRf format” includes all three of the above numeric decimal formats.
The instrument accepts NRf format data. The format of response data is specified for each command, and the
data is sent in that format.
Note: A “+” sign is returned as a space (ASCII code 20H).
:ESE0 106
:FETCH?
+106.5710E+03
(3) Character string data
• Character string data is enclosed by quotation marks.
• This type of data consists of 8-bit ASCII characters.
• Characters that cannot be handled by the instrument are replaced by a space.
• As for quotation marks, the sender uses double quotes ( ") on ly, w hile the re ceiver r eceiv es both d ouble qu otes
and single quotes (').
:SYSTem:PANel:NAME “PANEL_01”
[GP-IB]
The instrument does not fully support IEEE 488.2. As much as possible, please use the data formats shown in
the Reference section.
Also, be careful to avoid constructing single commands line that could overflow the input buffer or output queue.
(A “+” sign is returned as a space (ASCII code 20H).
5
Compound Command Header Omission
When several commands having a common header are combined to form a compound command
(e.g.,
:CALCulate:LIMit:REFerence
together in sequence, the common portion (here,
occurrence.
This common portion is c alle d the “current path” (analog ous to the path concept i n c omp ute r fil e s torag e), and until it
is cleared, the interpretation of subsequent commands presumes that they share the same com mon portion.
and
:CALCulate:LIMit:PERCent
:CALCulate:LIMit:
) can be omitted after its initial
) if they are written
This usage of the current path is shown in the following example:
This portion becomes the current path, and can be omitted from the messages immediately following.
The current path is cleared when the power is turned on, when reset by key input, by a colon “:” at the start of a
command, and when a message terminator is detected.
Standard command messa ges can b e ex ecuted r egar dless o f the current path. T hey hav e no effe ct upon t he curren t
path.
A colon “:” is not required at the start of the header of a Simple or Compound command. However, to avoid
confusion with abbreviated forms and operating mistakes, we recommend always placing a colon at the start of a
header.
Output Queue and Input Buffer
Output Queue
Response messages are stored in the output queue until read by the controller. The output queue is also cleared in
the following circumstances:
• Power on
• Device clear [GP-IB]
• Query Error
The output queue capacity of the instrument is 64 bytes. If response messages overflow the buffer, a query error is
generated and the output queue is cleared.
Also, with GP-IB, if a new message is received while data remains in the output queue, the output queue is cleared
and a query error is generated.
Input Buffer
The input buffer capacity of the instrument is 256 bytes.
If 256 bytes are allowed to accumulate in this buffer so that it becomes full, the USB and GP-IB interface bus enters
the waiting state until space is cleared in the buffer.
The RS-232C
Note: Ensure that the no command ever exceeds 256 bytes.
interface will not accept data beyond 256 bytes.
6
Status Byte Register
[GP-IB]
This instrument implements the status model defined by IEEE 488.2 with regard to the serial poll function using the
service request line. The term “event” refers to any occurrence that generates a service request.
Standard Event Register Description
Service Request Output Queue data information
SRQ occurrence Each of these bits corresponds to a specific event register
bit
7
bit
6
SRQ
MSS
↑
Logical
sum
bit
6
unused
bit
7
unused 0
bit5 bit4 bit3 bit2 bi
ESB MAV unusedunusedESB1 ESB0
↓
←
& & & & & &
↑
bit5 bit4 bit3 bit2 bi
↓
↑
ESB MAV unusedunusedESB1 ESB0
Overview of Service Request Occurrence
The Status Byte Register contains information about the event regi sters and the output q ueue. Requi red items ar e
selected from this information by masking with the Service Request Enable Register. When any bit s elected b y the
mask is set, bit 6 (MSS; the Master Summary Status) of the Status Byte Register is also se t, which generates an
SRQ (Service Request) message and dispatches a service request.
Note: SRQ (Service Request) is a GP-IB function only. However, STB (Status Byte
Register) information can be acquired with RS-232C using the *STB? command.
[RS-232C/USB]
RS-232C/USB does not provide a function for issuing service requests. Still, SRER setup and STB reading are
available.
t1
bit
↓
↑
↓
↑
↓
↑
t1
bit
0
Status Byte
Register (STB)
↓
↑
0
Service Request
Enable Register
(SRER)
7
Status Byte Register (STB)
During serial polling, the contents of the 8-bit Status Byte Register are sent from the instrument to the controller.
When any Status Byte Register bit enabled by the Service Request Enable Register has switched from 0 to 1, the
MSS bit becomes 1. Consequently, the SRQ bit is set to 1, and a service request is dispatched.
The SRQ bit is always synchronous with service requests, and is read and simultaneously cleared during serial
polling. Although the MSS bit is only read by an
*CLS
command.
*STB?
query, it is not cleared until a clear event is initiated by the
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
7
6
5
4
3
2
1
0
unused
SRQ Set to 1 when a service request is dispatched.
MSS This is the logical sum of the other bits of the Status Byte Register.
ESB
MAV
ESB1
ESB0
Standard Event Status (logical sum) bit
This is logical sum of the Standard Event Status Register.
Message available
Indicates that a message is present in the output queue .
unused
unused
Event Status (logical sum) bit 1
This is the logical sum of Event Status Register 1.
Event Status (logical sum) bit 0
This is the logical sum of Event Status Register 0.
Service Request Enable Register (SRER)
This register masks the Status Byte Register. Setting a bit of this register to 1 enables the corresponding bit of the
Status Byte Register to be used.
8
User Request
Command error (The command to the
message terminator
Execution Error
Not used by this instrument
Query Error (the output queue
is cleared)
Event Registers
Standard Event Status Register (SESR)
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.
See: “Standard Event Status Register (SESR) and Standard Event Status Enable Register (SESER)” (
The Standard Event Status Register is cleared in the following situations:
*
CLS
• When a
•
When an event register query
• When the instrument is powered on
comm and is ex ecuted
Bit
7
PON
Bit
6
URQ
(
*
ESR?
)
is executed
Power-On Flag
Set to 1 when the power is turned on, or upon recovery from an
outage.
unused
p.9
)
Bit
Bit
Bit
Bit
5
4
3
2
CME
EXE
(unused)
DDE
QYE
is ignored.)
This bit is set to 1 when a received command contains a
syntactic or semantic error:
•
•
•
•
This bit is set to 1 when a received command cannot be
executed for some reason.
•
•
•
performed
Device-Dependent Error
This bit is set to 1 when a command cannot be executed due to
some reason other than a command error, a query error or an
execution error.
This bit is set to 1 when a query error is detected by the output
queue control.
• When an attempt has been made to read an empty output
• When the data overflows the output queue
•
•
Program header error
Incorrect number of data parameters
Invalid parameter format
Received a command not supported by the instrument
The specified data value is outside of the set range
The specified setting data cannot be set
Execution is prevented by some other operation being
queue (GP-IB only)
When data in the output queue has been lost
When the next command is re ceived w hile t here is d ata in th e
output queue
Bit
Bit
1
0
RQC
(unused)
OPC
Request Control
Operation Complete
This bit is set to 1 in response to an “
•
messages up to the “
It indicates the completion of operations of all
*OPC
” command
*OPC
” command.
9
Standard Event Status Enable Register (SESER)
Setting any bit of the Standard Event Status Enable Register to 1 enables access to the corresponding bit of the
Standard Event Status Register.
Standard Event Status Register (SESR) and Standard Event Status Enable Register (SESER)
Status Byte Register (STB)
bit
6
bit5
bit4
SRQ
MSS
ESB MAV
bit
7
bit
PON URQ CME EXE DDE QYE RQC OPC
Standard Event Status Register (SESR)
6
bit5 bit4 bit3 bit2 bi
t1
bit
0
Logical sum
←
↓
& & & & & & & &
↑
bit
7
↓
↑
bit
6
↓
↑
bit5 bit4 bit3 bit2 bi
↓
↑
↓
↑
↓
↑
↓
↑
t1
bit
PON URQ CME EXE DDE QYE RQC OPC
Standard Event Status Enable Reg ister (SES ER)
Device-Specific Event Status Registers (ESR0 and ESR1)
This instrument provides two Event Status Registers for controlling events. Each event register is an 8-bit register.
With RM3545 Event Status Register 1, only RM3545 is valid.
When any bit in one of these Event Status Registers enabled by its corresponding Event Status Enable Register is
set to 1, the following happens:
• For Event Status Register 0, bit 0 (ESB0) of the Status Byte Register (STB) is set to 1.
• For Event Status Register 1, bit 1 (ESB1) of the Status Byte Register (STB) is set to 1.
Event Status Registers 0 and 1 are cleared in the following situations:
• When a *
• When an Event Status Register query (
• When the instrument is powered on
CLS
command is executed
:ESR0?
or
:ESR1?
) is executed
↓
↑
0
10
Event Status Register 0 (ESR0)
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
7
6
5
4
3
2
1
0
OutBIN
OvrRng
ERR
Hi
IN
Lo
INDEX
EOM
Out of BIN RM3545
Out-of-Range
Measurement Fault
High Comparator Result
IN Comparator Result
Low Comparator Result
End of Reading
End of Measurement
Event Status Register 1 (ESR1) RM3545
Bit
7
Bit
Bit
Bit
Bit
Bit
Bit
Bit
6
5
4
3
2
1
0
NO UNIT
SW.ERR
CURR
CONTACT
TERM.A
CONTACT
TERM.B
Unused
Unused
Unused
Multiplexer Unit Not Inserted, Terminal Setting Error
Multiplexer Relay Hot Switching Prevention Function Fault
Current Monitor Fault
Contact Check – A side Fault
Contact Check – B side Fault
Event Status Registers 0 (ESR0) and 1 (ESR1), and Event Status Enable Registers 0 (ESER0) and 1
(ESER1)
Status Byte Register (STB)
bit
2
bit1
ESB1 ESB0
Logical
sum
bit0
Event Status Register 0 (ESR0)
bit
7
bit
6
bit5 bit4 bit3 bit2 bi
Out
BIN
↓
Logical
sum
&
↑
bit
Out
BIN
bit
- - -
↓
& & & & & & & &
↑
bit
- - -
Ovr
Rng
7
bit
Ovr
Rng
ERR
↓
& & & & & & &
↑
6
↓
↑
bit5 bit4 bit3 bit2 bi
ERR
Event Status Enable Register 0 (ESER0)
Event Status Register 1 (ESR1)
7
bit
6
bit5 bit4 bit3 bit2 bi
7
↓
↑
bit
6
↓
↑
bit5 bit4 bit3 bit2 bi
Event Status Enable Register 1 (ESER1)
t1
HI IN Lo
↓
↑
↓
↑
HI IN Lo
NO
UNIT
↓
↑
NO
UNIT
SW.
ERR
SW.
ERR
CURR
↓
↑
CURR
INDEX
↓
↑
↓
↑
↓
↑
t1
INDEX
t1
CONC
ACT A
↓
↑
t1
CONC
ACT A
CONC
ACT B
CONC
ACT B
bit
0
EOM
↓
↑
bit
0
EOM
bit
0
↓
↑
bit
0
11
Register Reading and Writing
Register
Read
Write
Status Byte Register
Service Request Enable Register
Standard Event Status Register
Standard Event Status Enable Register
Event Status Register 0
Event Status Enable Register 0
Event Status Register 1
Event Status Enable Register 1
GP-IB Commands
The following commands can be used for performing interface functions.
etc.)
Output Queue
Input buffer
Status Byte Register
Event registers
Enable register
Current path
Headers on/off OFF
Response message terminat or
(GP-IB)
Response message separ ator
*1. Only the MAV bit (bit 4) is cleared.
*2. All bits except the MAV bit are cleared.
*3. Except the PON bit (bit 7).
Device Clear
(GP-IB only)
- -
*1 *2
- -
Power-on
*3
LF+EOI
At
-
-
-
Key Reset
1
9600
OFF
LF+EOI
Command
*RST
- - -
- - -
-
-
-
- -
- - -
-
OFF
- - -
; ; ; - -
*CLS
Command
-
-
-
Factory
Default
1
9600
OFF
LF+EOI
;
12
*RST
:RESistance:RANGe
:SAMPle:RATE
[:SENSe:]CH
:ADJust?
:FETCh?
:READ?
:SYSTem:CALibration
TST?
:UNIT:TEST?
Command Execution Time
Command execution time indicates the time for analyzing and processing long form commands.
However, the command execution time for commands with data is the time described according to the data format
specified in the <data portion>, and for query commands it is the time when the header is ON.
• Display delays may occur depending on the frequency of communication processes and process contents.
• All commands except
• In communications with the controller, time must be added for data transmission. USB and GP-IB transfer time
depends on the controller.
The RS-232C transfer time, with start bit 1, data length 8, no parity, and stop bit 1, has a total of 10-bit. When the
transfer speed (baud rate) setting is N bps, the general result will be as follows:
Transfer time T [1 character/sec] = Baud rate N [bps]/10 [bits]
Since a measurement value is 11 characters, a 1 data transfer time will be 11/T.
(Example) For 9600 bps, 11/(9600/10) = Approx. 11 ms
Wait until measurements stabilize after a change before using a setting command.
•
*
TRG
Command
and
:INIT
are processed sequentially.
Execution time (except communication time)
RM3544 RM3545
:SYSTem:PANel:LOAD
*
Commands other than those above
*1 If there is a counter-electromotive force, such as a transformer, the switching takes longer due to the hot
switching prevention function for the relay. The hot switching prevention function is canceled when the
counter-electromotive force is lost or a maximum 1 second + delay set value elapses.
*2 Manual range, for one channel
700 ms or less1.5s or less
300 ms or less100 ms or less
200 ms or less30 ms or less
50 ms or less *1
5 ms or less
Panel 1 to 30:100 ms or less
Panel 31 to 38:200 ms or less
400ms or less
1 s or less
3s or less
500 ms or less
600 ms or less *2
Measurement time + 15 ms or less
-
10 ms or less
Errors During Communications
An error occurs when messages are executed in the following cases:
• Command Error
When message syntax (spellin g) is inval id
When the data format in a command or query is invalid
• Query Error
When the response message exceeds 64 bytes
• Execution Error
When invalid character or numeric data is present
13
Me
ssage
Data Formats
Corresponding
By
√
√
√
√
2 Message List
[ ]: Omissible
Standard Commands
*CLS
*ESE 0 to 255
*ESE? 0 to 255
*ESR? 0 to 255
*IDN?
*OPC
*OPC? (1) Queries execution completion.
*RST Initializes the device.
*SRE 0 to 255
*SRE? (0 to 255)
*STB? (0 to 255)
*TRG Executes one sampling.
*TST? (0 to 3)
*WAI Wait for operations to finish.
Event Registers
:ESE0 0 to 255
:ESE0? (0 to 255)
:ESR0? (0 to 255)
:ESE1 0 to 255
:ESE1? (0 to 255)
:ESR1? (0 to 255)
Clears the event registers and
the Status Byte Register.
Sets the Standard Event Status
Enable Register.
Queries the Standard Event
Status Enable Register.
Queries the Standard Event
Status Register.
Queries the Device ID.
Requests an SRQ after
execution completion.
Sets the Service Request
Enable Register.
Queries the Service Request
Enable Register.
Queries the Status Byte
Register.
Initiates a self-test and queries
the result.
Sets the Event Status Enable
Register 0.
Queries the Event Status
Enable
Register 0.
Queries the Event Status
Register 0.
Sets the Event Status Enable
Register 1.
Queries the Event Status
Enable Register 1.
Queries the Event Status
Register 1.
Reads the most recent
measurement.
• When data has been omitted:
Reads the measurement value
only.
• When data has been set to
LIMit: Reads the measurement
value and comparator result.
• When data has been set to
JUDGe: Reads the measured
value and PASS/FAIL result.•
When data has been set to
LIMJdge: Reads the measured
value, and comparator and
PASS/FAIL results.
Reads the temperature
measurement value.
RM3544 RM3545
Model
√ √
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
channel
-
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
√
-
14
Me
ssage
Data Formats
Corresponding
By
√
√
√
√
√
[ ]: Omissible
:READ?
:MEASure:RESistance?
:MEASure:RESistance:LP?
:MEASure:TEMPerature?
:ABORt
Zero Adjustment
:ADJust? (0/1) Executes zero adjustment.
:ADJust:CLEar Clears zero adjustment.
RM3544:<HI/IN/LO>,<
0 to 3 (Type)>,<0 to 5
(Count)>
RM3545:<HI/IN/LO/PA
SS/FAIL>,<0 to 3
(Type)>,<0 to 5
(Count)>
Description
Waits for trigger and reads the
measured value.
RM3545:
Responds with the total
judgment or PASS/FAIL result
only if NDATa is included in the
data formats.
Adds and responds with the
total judgment if JUDGe is
included in the data formats.
Presets to the specified
resistance measurement range;
then measures.
Presets to the specified
Low-Power Resistance
measurement range; then
measures.
Reads the temperature
measurement value.
:READ /Scan measurement /
Scan zero adjustment is aborted
(forcibly terminated).
Queries the zero adjustment
execution state.
Sets the scan zero adjustment
execution (execution error for
[:SENSe:]CH FRONT).
Queries the scan zero
adjustment execution (execution
error for [:SENSe:]CH FRONT).
Sets the measurement speed.
Queries the measurement
speed.
Sets the averaging function
execution.
Queries the averaging function
execution.
Sets the comparator operating
state.
Queries the comparator
operating state.
Sets the beep sound.
RM3544 RM3545
√
√
√
√
√
√
-
-
-
√
√
√
√
√
√
√
√
√
√
Model
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
channel
-
-
-
-
-
-
√
√
√
√
√
√
√
√
√
√
√
√
√
√
15
Me
ssage
Data Formats
Corresponding
By
√
√
√
√
√
√
√
[ ]: Omissible
:CALCulate:LIMit:MODE ABSolute/REFerence Sets the judgment mode.
:CALCulate:LIMit:MODE?
:CALCulate:LIMit:UPPer <Upper threshold> Sets the upper threshold.
:CALCulate:LIMit:UPPer? (<Upper threshold>) Queries the upper threshold.
:CALCulate:LIMit:LOWer <Lower threshold> Sets the lower threshold.
:CALCulate:LIMit:LOWer? (<Lower threshold>) Queries the lower threshold.
:CALCulate:LIMit:REFerence
:CALCulate:LIMit:REFerence?
:CALCulate:LIMit:PERCent <Range (%)> Sets the judgment range.
:CALCulate:LIMit:PERCent? (<Range (%)>) Queries the judgment range.
Sets the reference resistance.
(Channel 1 can be set for
commands other than
([:SENSe:]CH FRONT.)
Queries the reference
resistance.
(Response may be Channel1 for
commands other than [:SENSe:]
CH FRONT.)
Queries the comparator result.
Sets the PASS judgment
conditions.
Queries the PASS judgment
conditions.
Queries the PASS/FAIL result.
Queries the total judgment
result.
Sets the measurement
execution.
Queries the BIN measurement
execution.
Sets the judgment mode.
Queries the judgment mode.
Sets the upper threshold.
Queries the upper threshold.
Sets the lower threshold.
Queries the lower threshold.
Sets the reference resistance.
Queries the reference
resistance.
Sets the judgment range.
Queries the judgment range.
Sets the statistical calculation
function execution.
Queries the statistical
calculation function execution.
Queries the data count.
Queries the maximum value.
Queries the minimum value.
Queries the comparator results.
Queries the BIN result.
Queries the process capability
indices.
Sets the scaling function
execution.
Queries the scaling function
execution.
Sets the scaling gain.
Queries the scaling gain.
Sets the scaling offset.
Queries the scaling offset.
Sets the temperature
conversion execution.
Queries the temperature
conversion execution.
Sets the temperature
conversion constant.
Queries the temperature
conversion constant.
Sets the temperature correction
execution.
Queries the temperature
correction execution.
Model
RM3544 RM3545
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
channel
-
-
-
-
-
-
-
-
-
-
-
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
17
Me
ssage
Data Formats
Corresponding
By
√
√
√
√
√
√
√
[ ]: Omissible
:CALCulate:TCORrect:PARameter?
LCD Settings
:DISPlay:CONTrast <0 to 100> Sets the contrast.
:DISPlay:CONTrast? (0 to 100) Queries the contrast.
:DISPlay:BACKlight <0 to 100> Sets the backlight brightness.
:DISPlay:BACKlight? (0 to 100)
Memory Function
:MEMory:STATe 1/0/ON/OFF Sets the memory mode.
:MEMory:STATe? (ON/OFF) Queries the memory mode.
:MEMory:CLEar Clears the memory data.
:MEMory:COUNt? (0 to 50)
:MEMory:DATA?
Hold
[:SENSe:]HOLD:AUTO 1/0/ON/OFF Sets the auto hold execution.
[:SENSe:]HOLD:AUTO? (ON/OFF) Queries the auto hold executio n. √
[:SENSe:]HOLD:STATe? (ON/OFF) Queries the hold state.
[:SENSe:]HOLD:OFF Cancels hold.
<Measurement
value>,<Measurement
value>,...,<Measureme
nt value>
4/2/W4/W2Sets the measurement method.
(W4/W2)Queries the measurement method.
OFF/AUTO/STEPSets the scanning function.
(OFF/AUTO/STEP)Queries the scanning function.
(1/0)
1/0/ON/OFFSets the scan fail stop.
(ON/OFF)Queries the scan fail stop.
<Measured
Queries the number of
measurements stored in
memory.
Reads the measurements
stored in memory.
RM3544 RM3545
Queries the scanning execution
state.
Initializes the scan channel and
measured value or judgment value.
Reads the scanned measured data
in a batch.
Queries the front measurement
terminal connection.
Sets the channel switching.
Queries the channel switching.
Sets the channel for the multiplexer
to be used (execution error when the
front measurement terminal is
used).
Queries the channel for the
multiplexer to be used (execution
error when the front measurement
terminal is used).
Queries the number of channels for
the multiplexer to be used.
Sets the use of external equipment
(execution error when the front
measurement terminal is used).
Queries the use of external
equipment (execution error when
the front measurement terminal is
used).
Sets the allocation of terminals for
the multiplexer (the current flows
from terminal B to terminal A,
execution error when the front
RM3544:0 to 3.5E+6
RM3545:0 to 1200E+6
RM3544:(30.000E-3 to
3.0000E+6)
RM3545:(10.00000E-3
to 1000.0000E+6)
(1000.00E-3 to
1000.00E+0)
1/0/ON/OFF
(ON/OFF)
HIGH/LOW Sets the measurement current.
1/0/ON/OFF
ON/OFF/1/0 Sets the Contact Improver.
ERRor/OVER Sets the current error mode.
(ERRor/OVER) Queries the current error mode.
ON/OFF/1/0
Description
measurement terminal is used).
Queries the allocation of terminals
for the multiplexer (the current flows
from terminal B to terminal A,
execution error when the front
measurement terminal is used).
Resets the multiplexer channel
settings including the measurement
conditions.
Sets the Low-Power Resistance
measurement.
Queries the Low-Power
Resistance measurement.
Sets the resistance
measurement range.
Queries the resistance
measurement range.
Sets the resistance
measurement AUTO range.
Queries the resistance
measurement AUTO range.
Sets the Low-Power Resistance
measurement range.
Queries the Low-Power
Resistance measurement
range.
Sets the 100MΩ range high
precision function.
Queries the 100MΩ high
precision function.
Queries the measurement
current.
Sets the offset voltage
correction function execution.
Queries the offset voltage
correction function execution.
Sets the resistance
measurement contact check.
Queries the resistance
measurement contact check.
Sets the Low-Power Resistance
measurement contact check.
Queries the Low-Power
Resistance measurement
contact check.
measurement-synchronized
data output.
Queries the
measurement-synchronized
data output.
Executes reset, including the
saved data on measurement
conditions.
Queries the NPN/PNP switch
status.
Executes the external I/O
output.
Sets the TRIG/PRINT signal
filter function execution.
Queries the TRIG/PRINT signal
filter function execution.
Sets the TRIG/PRINT signal
filter time.
Queries the TRIG/PRINT signal
filter time.
Selects the judgment
mode/BCD mode.
Queries the judgment
mode/BCD mode.
Queries the unit.
Queries the relay usage count.
Queries the unit test and result.
Model
RM3544 RM3545
√ √
√
√ √
√
√
√
√
√
√ √
√ √
√ √
√ √
√ √
√ √
√ √
√
√
√
√
√
√
-
-
-
channel
-
-
-
-
√
√
√
√
√
√
√
√
√
√
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
21
Syntax
*
ESE
*
ESE?
<0 to 255 (NR1)>
Description
The initial value (at power
-
on) is 0.
Example
*ESE 36
3 Message Reference
Message Reference Interpretation
Shows the command
description.
Shows the message syntax.
Explains the command data
or response message.
Describes the message.
Shows an example of an
actual command application.
(Normally described with
HEADER OFF [except the HEADER
command itself].)
Read/Write the Standard Event Status Enable Register (SESER)
< >: Indicates the contents (character or numeric parameters) of
the data portion of a message. Character parameters are
returned as all capital letters.
Numeric Parameters:
•
NRf Number format may be any of NR1, NR2 and NR3
•
NR1
NR2
•
NR3
•
Command
Query
Response
CommandThe SESER mask is set to the numerical value 0 to 255.
QueryThe contents of the SESER, as set by the *ESE
Integer data (e.g.: +12, -23, 34)
Fixed-point data (e.g.: +1.23, -23.45, 3.456)
Floating-point exponential representation data (e.g.:
+1.0E-2, -2.3E+4)
<0 to 255 (NR1)>
command, are returned as an NR1 value (0 to 255).
128 64 32 16
bit
7 bit
6 bit
5 bit
PON URQ CME EXE DDE QYE RQC OPC
8 4 2
4 bit
3 bit
2 bit
1
1 bit 0
(Sets bits 5 and 2 of SESER)
Command, Query
Controller
Response
Instrument
22
Query Device ID (Identification Code)
Syntax
*IDN?
Example
Note
Initialize Device
Synta
x
*RST
Description
Note
Execute Self
-
Test and Query Result
Syntax
*TST
?
Description
Example
Note
Standard Commands
(1) System Data Command
Query
Response
*IDN?
HIOKI,RM3545,123456789,V1.00
The Device ID is HIOKI RM3545, 123456789, software version 1.00. The <Model
name> will be RM3544-01 for the RM3544-01, RM3545-01 for the RM3545-01, and
RM3545-02 for the RM3545-02.
The response message has no header.
(2) Internal Operation Command
Command
Command
The communications state is not initialized.
RM3545 An execution error occurs during scanning.
Perform the instrument self-test and return the result as NR1 value 0 to 15.
Returns zero when no error occurs.
*TST?
4
A memory error occurred. Correct measurement may not be possible. Obtain repair
before further use.
RM3545 An execution error occurs during scanning.
<0 to 15 (NR1)>
128 64 32 16 8 4 2
bit
7 bit
unused unused unused unused
6 bit
5 bit
4 bit
Blown
FUSE
3 bit
memory
2 bit
CPU
RAM
1 bit 0
1
CPU
ROM
23
Set OPC bit of SES
R when Finished with All Pending Operations
Syntax
*
OPC
Description
Respond with ASCII “1” when Finished wi
th All Pending Operations
Syntax
*OPC?
Description
Wait for Pending Commands to Finish
Syntax
*
WAI
Description
Clear Event Register, Status Byte Register (Except Output Queue)
Syntax
*
CLS
Description
Note
Read/Write Standard Event Status Enable Register (SESER)
Syntax
*
ESE
*
ESE?
Description
Example
(3) Synchronization Commands
Command
Sets OPC bit 0 of the Standard Ev ent Stat us Register (SESR) when all command s prior
to
*OPC
have finished processing.
Query
Response
Responds with ASCII “1” when all commands prior to
Command
The instrument waits until all prior commands finish before executing any subsequent
commands.
1
(4) Status and Event Control Commands
Command
Clears the event status registers. The Status Byte Register bits corresponding to the
event status registers are also cleared. (
[RS-232C/USB]
[GP-IB] The output queue, various enable registers and MAV bit 4 of the
The output queue is unaffected.
Status Byte Register are unaffected.
*
OPC
have finished processing.
SESR, ESR0, ESR1
)
Command
Query
Response
Command The SESER mask is set to the numeric al valu e 0 to 25 5. The i nitial v alue (a t
Query
*ESE 36
(Sets bits 5 and 2 of SESER)
<0 to 255(NR1
power-on) is 0.
The contents of the SESER, as set by the
an NR1 value (0 to 255).
<0 to 255(NR1)>
)>
command, are returned as
*ESE
128 64 32 16 8 4 2
bit
7 bit
6 bit
5 bit
4 bit
3 bit
2 bit
1 bit 0
PONURQCME EXE DDE QYE RQ
C OPC
1
24
Read and Clear Standard Event Status Register (SESR)
Syntax
ESR?
Description
Example
Write and Read Standard Event Status Enable Register (SRER)
Syntax
*
SRE
*
SRE?
Description
Example
Query
Response
Returns the contents of the SESR as an NR1 value from 0 to 255, then clears register
contents.
The response message has no header.
[RS-232C/USB]
128 64 32 16 8 4 2
bit
7 bit
PON
[GP-IB]
128 64 32 16 8 4 2
bit
7 bit
*
<0 to 255 (NR1
6 bit
unused
CME EXE DDE QYE
6 bit
5 bit
5 bit
)>
4 bit
4 bit
3 bit
3 bit
2 bit
unused
2 bit
1
1 bit 0
OPC
1
1 bit 0
PON URQ CME EXE DDE QYE RQC OPC
*
ESR?
32
Bit 5 of the SESR has been set to 1.
Command
Query
Response
Command The SRER mask is set to the numerical value 0 to 255.
Query
<0 to 255 (NR1
Although NRf numerical values are accepted, values to the right of the
decimal are rounded to the nearest integer.
Bit 6 and unused bit s 2, 3 an d 7 are ignored. The dat a i s initialized to zero
at power-on.
The contents of the SRER, as set by the
as an NR1 value (0 to 255). Bit 6 and unused bits 2, 3 a nd 7 a lway s return
as zero.
<0 to 255 (NR1)>
)>
*SRE
command, are returned
128 64 32 16 8 4 2
bit
7 bit
6 bit
5 bit
4 bit
3 bit
2 bit
1
1 bit 0
unused
0 ESB
*
SRE
33
Set SRER bits 0 and 5 to 1.
*
SRE?
33
SRER bits 0 and 5 have been set to 1.
MAV
unused unused
ESE1 ESE0
25
Read Status Byte and MSS Bit
Syntax
STB?
Description
Example
Request a Sample
Syntax
Description
Example
Set and Query Device
-
Specific Event Status Enable Register ESER0
Syntax
:ESE0
:ESE0?
Description
Note
Query
Response
The contents of the STB are returned as an NR1 value (0 to 255).
The response message has no header.
128 64 32 16 8 4 2
bit
unused
*STB?
16
STB bit 4 has been set to 1.
Command
Performs one measurement when external triggering (trigger source <EXTERNAL>) is
enabled.
When Statistical Calculation is ON, imports calculation data.
When the memory function is enabled, the measured value is stored.
It may be necessary to insert wait processing after panel load or range selection. Wait
time depends on Measurement target.
:TRIG:SOUR
Device-Specific Commands
7 bit
MSS
*
<0 to 255 (NR1)>
6 bit
TRG
*
EXT;*TRG
5 bit
ESB MAV
4 bit
3 bit
unused unused
2 bit
ESE1 ESE0
1
1 bit 0
RM3545
RM3545
(1) Event Status Register
Command
Query
Response
Command Sets the mask pattern in Event Status Enable Register 0 (ESER0) for the
Data initializes to zero at power-on.
OvrRng and ERR can not be Changed by
<0 to 255 (NR1
<0 to 255 (NR1
Event Status Register.
128 64 32 16 8 4 2
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
OutBIN OvrRng
)>
ERR
)>
H
i
RES:ERR:CURR OVER
I
N
L
o INDEX EOM
.
1
26
Read Devi
ce-Specific Event Status Register ESR0
Syntax
:ESR0?
Note
Set and Query Device
-
Specific Event Status Enable Register ESER1
Syntax
:ESE1
:ESE1?
Description
Read Device
-
Specific Event Status Registers ESR1
Syntax
:ESR1?
Note
Query
Response
Executing
Command
Query
Response
Command Sets the mask pattern in Event Status Enable Register 1 (ESER1) for the
Note: • The decimal point position and exponent part will change according to the scaling
gain.
For information on scaling, see the instrument's instruction manual.
• When the displayed number of digits has changed, the undisplayed digits will
become 0. The number of characters in the measurement value format will not
change.
• Resistance (relative value display: unit %)
RM3544
RM3545
±
□□□ . □□
±
□□□ .
E+00
□□□ E+00
±100.00E+18
±100.000E+18 ±100.000E+28
±100.00E+28
• Temperature /
Z2001 temperature sensor
Analog output thermometer
Temperature conversion
± □□ . □ E+00±10.0E+19
±
display (unit °C)
□□□ . □
E+00±100.0E+18 ±100.0E+28
±10.0E+29
Note: For posit ive measured values, a space (ASCII 20H) represents the sign.
Time to receive measured values is different for the :FETCh? and :READ? commands.
See: Data Exporting Methods (p.69), Triggering (p.53)
Also see “4 Multiplexer Commands (p.65)” for the multiplexer unit.
Query
:FETCh?
[<Channel number>]
[LIMit] RM3544
[<LIMit / JUDGe / LIMJUdge>,]
RM3545
<Channel number> = 1 to 42
Response
RM3544
<Measurement value> [, <HI/IN/LO/OFF/ERR>]
RM3545
<Measurement value> [, <HI/IN/LO/OFF/ERR>][,
<PASS/FAIL/OFF/ERR>]
See: “Measurement Value Formats” (p.26)
Reads the most recent measurement. No trigger occurs.
28
Example
Note
Read Temperature Measurement Value
Syntax
:FETCh:TEMPerature?
Description
Example
Measure (Await Triggers and Read Measu
rements)
Syntax
:READ?
RM3544
<Measurement value>
See: Data Exporting Methods (p.69), Triggering (p.53)
Data and response are as follows.
data Response
omitted
LIMit
JUDGe
LIMJdge
RM3545
By assigning a channel number to the data, the value of the channel number is read.
If a measurement has not been performed, the value for a measurement fault is
returned. The channel number is not returned. If the channel number is omitted, the
measured value of the current channel is read.
(RM3544 examples)
:FETC?
102.50E-03
:FETC? LIM
102.50E-03, HI
(RM3545 examples)
:FETC?
1023.579E-03
:FETC? LIM
1023.579E-03, IN
(Examples when the RM3545-02 multiplexer is used)
:FETC?
1023.579E-03
:FETC? LIMJ
1023.579E-03,IN,PASS
:
FETC? 10
1023.579E-00
:FETC? LIMJ,10
1023.579E-03,IN,PASS
RM3545
RM3545
…
Reads the measurement value only.
Reads the measurement value and compara tor resul t .
…
Reads the measurement value and PASS/FAIL result.
Reads the measurement value, comparator result and
PASS/FAIL result.
... Obtains the m e as ur ed value of the cur re nt c h an n el.
… Obtains the current measured value and judgment.
Obtains the measured value of Channel 10.
Obtains the measured value of Channel 10 and judgment.
If a measurement has not been performed, the value for a measurement fault is
returned.
RM3545
In the following cases, an execution error occurs.
• When the front terminal is used or the scanning function is OFF, JUDGe or
LIMJdge is selected as the data.
• When the front terminal is used, a channel number is specified for the data.
• During auto scanning
Query
Response
Reads the last (most recent) temperature measurement value.
Performs the same operation as
:FETC:TEMP?
25.1E+00
Query
Response
<Measurement value>See: “Measurement Value Formats” (p.26)
:MEASure:TEMPerature?
:READ?
RM3545
The response varies depending on the scanning function or command
[<NDATa / JUDGe>]
.
RM3544
RM3545
29
Description
When the scanning function is set to AUTO or STEP, the Trigger Wait State is entered and
Reads only the measured value of the
current channel.
<Measured value>
Response
Switches from the Idle State to the Trigger Wait State, then reads the next measured
value. With the auto range enabled, the most suitable range is selected before
measurement.
See: “5 Data Exporting Methods” (p.69)
Trigger Source Operation
I
MMediate
EXTernal
Triggers and reads the measured value.
Triggers by TRIG signal input, and continuously reads the
measured values.
RM3545
scanning begins after a trigger is detected.
The following operations are performed according to the scanning function
Scanning functionOperation
AUTO
STEP
All channels are measured when a trigger is received. After all the
channels are measured, a response is returned.
The measured values at the time of scanning completion are
separated by commas (“,”) and returned. Only the data with
[:SENSe:]STATe ON is returned. The number of data items is the
same as the channel count that can be obtained using a
[:SENSe:]CH:AVAilable? query.
performed, the value for a measurement fault is returned.
One channel is measured w hen a t rigg er is received. A response is
returned after one channe l is me a s ured .
.
If a measurement has not been
• Automatically switches to :INITiate:CONTinuous OFF when this message is
received.
• The next command does not execute until measurement is finished. However, *TRG
and :ABORt are received.
• If a trigger is input with the *TRG command, an external trigger (trigger source
<EXTERNAL>) is enabled and a com mand is se nt. With GP-IB, after the co mmand is
sent and then after allowing a wait time corresponding to the sampling time, specify
the talker.
• With an external trigger (trigger source <EXTERNAL>), the measurement value's
response will be doubled when the data output function is ON. When using, switch
the data output function OFF.
• It may be necessary to insert wait processing after panel load or range selection.
Wait time depends on Measurement target.
• RM3545 An execution error occurs during auto scanning.
30
Preset to Value Appropriate for Expected Measurement Value, and Measure
Syntax
Description
Example
Note
Preset to Value Appropriate for Expected Measurement Value, and Measure
Syntax
Description
Resistance RM3545
Query
Response
:MEASure:RESistance?
<Expected measurement value> = 0 to 1200E+06
<Measurement value>
See: “Measurement Value Formats” (p.26)
<Expected measurement value>
When expected measurement values are input, the instrument will be set to an
optimum range that enables provided numerical data to be measured. When omitted, it
enters the auto range.
The MEASURE command operates as follows:
. Disables continuous measurement of the trigger system.
1
Enables the internal
2.
Switches
3.
Moves to the
4.
Executes one-time
5.
6. Reads the measurement value.
The MEASURE command executes the following commands internally:
RES:LP: S TAT O F F
RES:RANG
(If the
:INIT:CONT OFF
:TRIG:SOUR IMM
:READ?
Low-Power Resistance measurement to OFF.
<Expected measurement value>
<Expected measurement value> is not present, then
trigger (trigger source <IMMEDIATE>).
specified range.
trigger.
RANG:AUT O ON
:
:MEAS:RES?
150.1124E+03
• When the scaling function is being used, set the <expected value> to the value that
existed prior to scaling (value in the range being used).
• If a transformer, coil, or other sample is induc tiv e, mea sur ement data may be returned
before values have stabilized in auto range. In this case, either specify the range and
measure, or utilize the delay function.
•
An execution error occurs when the auto range is turned ON if the comparator function
and BIN measurement function are ON.
• When the scanning function is set to STEP or AUTO, an execution error occurs.
)
Low-Power Resistance
Query
Response
:MEASure:RESistance:LP?
value>
<Expected measurement value> = 0 to1200E+03
<Measurement value>
See: “Measurement Value Formats” (p.26)
When expected measurement values are input, the instrument will be set to an
optimum range that enables provided numerical data to be measured. When omitted, it
enters the auto range.
The MEASURE command operates as follows:
. Disables continuous measurement of the
1
Enables internal
2.
Switches
3.
Moves to the
4.
Executes one-time
5.
6. Reads the measurement value.
The MEASURE command executes the following commands internally:
RES:LP: S TAT O N
Low-Power Resistance measurement to ON.
trigger (trigger source <IMMEDIATE>).
specified range.
trigger.
trigger system.
<Expected measurement
31
Example
Note
Read Temperature Measurement Value
Syntax
:MEASure:TEMPerature?
Description
Example
Abort Measurement
S
yntax
:ABORt
Description
Example
Note
Execute Zero Adjustment
Syntax
:ADJust?
Description
RES:LP:RANG
(If the
<Expected measurement value> is not present, then :
:INIT:CONT OFF
:TRIG:SOUR IMM
:READ?
<Expected measurement value>
RANG:LP:AUTO ON
)
:MEAS:RES:LP?
104.140E+00
• When the scaling function is being used, set the <expected value> to the value that
existed prior to scaling (value in the range being used).
• If a transformer, coil, or other sample is inductive, measurement data may be returned
before values have stabilized in auto range. At such time, either specify the range and
measure, or utilize the delay function.
•
An execution error occurs when the auto range is turned ON if the comparator function
and BIN measurement function are ON.
• When the scanning function is set to STEP or AUTO, an execution error occurs.
Query
Response
<Measurement value>
See: “Measurement Value Formats” (p.26)
Reads the last (most recent) temperature measurement value.
Performs the same operation as
:MEAS:TEMP?
25.1E+00
:FETCh:TEMPerature?
.
Query
Executes :READ
ermination).
:READ?
:ABOR
Executes an abort.
An abort ca nn o t b e executed as t h e instrument wa its until all pr ior comm ands
finish if th e q u ery is sent af t er a WAI command.
(3) Zero Adjustment
RM3545 An execution error occurs during scanning.
Query
Response
0 = Indicates zero adjustment succeeded.
1 = Indicates that zero adjustment has failed. For information on zero adjustment, see
the instrument instruction manual.
RM3545
Executes scan zero adjustment (performs zero adjustment for the channels
with :ADJust:ENABle ON) if the scanning function of the multiplexer is set to STEP or
AUTO. Zero adjustment is performed only for the current channel if the scanning
function is OFF. Scan zero adjustment can be aborted using :ABORt.
/Scan measurement/Scan zero adjustment is abort (forced
<0/
1>
32
Clear Zero Adjustment
Syntax
:ADJust:CLEar
Description
Example
Note
Query Zero Adjustment Execution State
RM3545
Syntax
:ADJus
t:STATe?
Example
Set and Query Scan Zero Adjustment Execution
RM3545
Syntax
:ADJust:ENABle
:ADJust:ENABle?
Example
Set and Query Measurement Speed
Syntax
:SAMPle:RATE
:SAMPle:RATE?
Example
Command
Clears any zero-adjustment offset.
ADJ:CLE
RM3545
When the multiplexer is used, zero adjustment for the current channel is canceled.
• When making comparator settings by commands, the measurement range is not automatically selected.
Command
Query
Response
:CALC:LIM:STAT ON
:CALC:LIM:STAT?
ON
When the comparator is executed, the auto range , the temperature conversion
function and BIN function enter the OFF state.
RM3545 An execution error occurs during scanning.
Command
Query
Response
<Condition> = RM3544 HI/ IN /LO RM3545 HI/ IN /LO /PASS/ FAIL
<Type> = 0: Buzzer OFF, 1 to 3: Type 1 to 3
<Count> = 0: Continuous, 1 to 5: Count [times]
:CALC:LIM:BEEP IN,1,0
:CALC:LIM:BEEP? IN
IN,1,0
RM3545 An execution error occurs during scanning.
<ON/OFF>
<Condition>,<Type>,<Count>
<1/0/ON/OFF>
<Condition>,<Type>,<Count>
<Condition>
34
Set and Query Judgment Mode
Syntax
:CALCulate:LIMit:MODE
:CALCulate:LIMit:MODE?
Example
Note
Set and Query ABS Mode Upper Comparator Threshold Values
Syntax
:CALCulate:LIMit:UPPer
:CALCulate:LIMit:UPPer?
Example
Note
Set and Query ABS Mode Lower Comparator Threshold Values
RM3544 <Upper threshold (Ω)> = 0 to 1E+9 (NRf)
RM3545 <Upper threshold (Ω)> = 0 to 9E+9 (NRf)
Will be resistance (Ω) rather than dgt (count).
:CALC:LIM:UPP
The upper threshold is 1.0Ω (regardless of range).
The value will be 0 when the upper threshold is less than 1E-9.
RM3545 An execution error occurs during scanning.
<ABSOLUTE/REFERENCE>
Reference percentage/tolerance co mpar ison
<Upper threshold (Ω)>
1.0
<ABSolute/REFerence>
<Upper threshold>
Command
Query
Response
RM3544 <Lower threshold (Ω)> = 0 to 1E+9 (NRf)
RM3545 <Lower threshold (Ω)> = 0 to 9E+9 (NRf)
Will be resistance (Ω) rather than dgt (count).
:CALC:LIM:LOW
The lower threshold is 0.9Ω (regardless of range).
The value will be 0 when the lower threshold is less than 1E-9.
RM3545 An execution error occurs during scanning.
<Lower threshold (Ω)>
0.9
<Lower threshold>
Command
Query
Response
RM3544 <Reference Resistance (Ω)> = 1E-9 to 1E+9 (NRf)
RM3545 <Reference Resistance (Ω)> = 1E-9 to 9E+9 (NRf)
Will be resistance (Ω) rather than dgt (count).
RM3545 Channel 1 can be set as a reference value when the
multiplexer is used.
:CALC:LIM:REF 1.2E+3
The reference resistance is 1.2kΩ (regardless of range).
When the reference resistance is less than 1E-9, an execution error occurs.
RM3545 An execution error occurs during scanning.
<Reference Resistance (Ω)>
<Reference Resistance>
35
Syntax
:CALCulate:LIMit:PERCent
:CALCulate:LIMit:PERCent?
Example
Note
Query Judgment Result
Syntax
:CALCulate:LIMit:RESult?
Description
Example
Set and Query PASS Judgment
Condition
RM3545
Syntax
:CALCulate:LIMit:JUDGe:CONDition
:CALCulate:LIMit:JUDGe:CONDition?
Example
Note
Command
Query
Response
RM3544 <Range (%)> = 0 to 99 .99 (NR2)
RM3545 <Range (%)> = 0 to 99.999 (NR2)
:CALC:LIM:PERC 1.5
RM3545 An execution error occurs during scanning.
Query
<Range (%)>
:CALCulate:LIMit:RESult?
<Channel number> = 1 to 42
Response
<HI/IN/LO/OFF/ERR>
<Range (%)>
[<Channel number>]
RM3544
RM3545
RM3545
The comparator result of the channel number is read by assigning a channel
number to the data.
If a measurement has not been performed, ERR is returned. The channel number is
not returned. If the channel number is omitted, the comparator result of the current
channel is read.
:CALC:LIM:RES?
HI
:CALC:LIM:RES? 10 …
IN
... Obtains the comparator result of the current channel
Obtains the comparator result of Channel 10
.
.
Command
Query
Response
<Condition> = OFF/IN/HI/LO/HILO/ALL
:CALC:LIM:JUDG:COND IN
:CALC:LIM:JUDG:COND?
IN
<Condition>
<Condition>
An execution error occurs during scanning.
36
Query PASS/FAIL Result
RM3545
Syntax
:CALCulate:LIMit:JUDGe?
Response
Description
Example
Note
Query Total Judgment Result
RM3545
Syntax
:CALCulate:LIMit:JUDGe:TOTal?
Response
Example
Note
Execute
and Query BIN Measurement
Syntax
:CALCulate:BIN:STATe
:CALCulate:BIN:STATe?
Example
Note
Set Mask Pattern
Syntax
:CALCulate:BIN:ENABle
:CALCulate:BIN:ENABle?
Example
Query
<Channel number> = 1 to 42
<PASS/FAIL/OFF/ERR>
The PASS/FAIL result of the channel number is read by assigning a channel number to
the data. If a measurement has not been performed, OFF is returned. The channel
number is not returned. If the channel number is omitted, the comparator result of the
current channel is read.
:CALC:LIM:JUDG?
PASS
:CALC:LIM:JUDG? 10
FAIL
When the front terminal is used or the scanning function is OFF, an execution error
occurs.
Query
<PASS/FAIL/OFF/ERR>
:CALC:LIM:JUDG:TOT?
PASS
When the front terminal is used or the scanning function is OFF, an execution error
An execution error occurs during scanning.
If a measurement has not been performed, OFF is returned.
(7) BIN Function RM3545
RM3545 An execution error occurs during scanning.
[<Channel number>]
... Obtains the PASS/FAIL result of the current channel
…Obtains the PASS/FAIL result of Channel 10
occurs.
.
.
Command
Query
Response
:CALC:BIN:STAT ON
:CALC:BIN:STAT?
ON
When the BIN function is executed, the comparator function, auto range, and
temperature conversion function all switch to OFF.
In addition, the front terminal is used as a measurement terminal.
<ON/OFF>
<1/0/ON/OFF>
Command
Query
Response
:CALC:BIN:ENAB 15
BIN0 to BIN3 can be used.
<Mask pattern> = 0 to 1023 (decimal number)
“1” will be the BIN number bit used to execute the BIN measurement.
The upper threshold is 1.0Ω (regardless of range).
The value will be 0 when the upper threshold is less than 1E-9.
<Upper threshold (Ω)>
Ω
)> = 0 to 9E+9 (NRf)
Ω
) rather than dgt (count).
1.0
<BIN No.>,<Upper threshold>
<BIN No.>
Command
Query
Response
<Lower threshold (
Will be resistance (
:CALC:BIN:LOW 0 ,
The lower threshold is 0.9Ω (regardless of range).
The value will be 0 when the lower threshold is less than 1E-9.
<Lower threshold (Ω)>
Ω
)> = 0 to 9E+9 (NRf)
Ω
) rather than dgt (count).
0.9
<BIN No.>,<Lower threshold>
Command
Query
Response
<BIN No.> = 0 to 9
<Reference Resistance (
Will be resistance (
:CALC:BIN:REF 0 , 1.2E+3
The reference resistance is 1.2kΩ (regardless of range).
When the reference resistance is less than 1E-9, a command error occurs.
<Reference Resistance (Ω)>
Ω
)> = 1E-9 to 9E+9 (NRf)
Ω
) rather than dgt (count).
<BIN No.>, <Reference Resistance>
<BIN No.>
Command
Query
Response
<BIN No.> = 0 to 9
<Range (%)> = 0 to 99.999 (NR2)
:CALC:BIN:PERC 0 , 1.5
<Range (%)>
<BIN No.>,<Range (%)>
<BIN No.>
38
Query Judgment Result
Syntax
:CALCulate:BIN:RESult?
OB
Example
Execute Statistical Calculation
Syntax
:CALCulate:STATistics:STATe
:CALCulate:STATistics:STATe?
Example
No
te
Clear Statistical Calculation Results
Syntax
:CALCulate:STATistics:
C
LEar
Query Data Count
Syntax
:CALCulate:STATistics:NUMBer?
Example
Query Mean Value
Syntax
:CALCulate:STATistics:MEAN?
Example
Query
Response
:CALC:BIN:RES?
128
BIN7 is PASS.
<NR1>
<NR1> = 0 to 1024
“1” will be the BIN number bit for the PASS with BIN measurement.
bit10
bit9 bit8 bit7 bit6 bit5
BIN9 BIN8 BIN7 BIN6 BIN5
bit4 bit3 bit2 bit1 bit0
BIN4 BIN3 BIN2 BIN1 BIN0
(8) Statistical Functions RM3545
• A data sample can be taken by the following three methods:
1. Press the [ENTER] key.
2. Input the TRIG signal from EXT I/O.
3. Send a
•
The
•
When the valid data c ount is 0,
• Even if the calculation results are cleared, the statistical calculation function does not switch to OFF
• The upper threshold of Cp and CpK is 99.99. If Cp or CpK exceeds 99.99, the value 99.99 is returned.
An execution error occurs during scanning.
*TRG
command.
:
CALCulate:STATistics:STATe
command does not clear calculation results.
σ
returns 0.
n-1
.
Command
Query
Response
:CALC:STAT:STAT ON
:CALC:STAT:STAT?
ON
When the statistical calculation function is executed, the temperature conversion
function switches to OFF.
In addition, the front terminal is used as a measurement terminal.
<ON/OFF>
<1/0/ON/OFF>
Command
Query
Response
<Total data count (NR1)>,<Valid data count (NR1)>
Data count = 0 to 30000
:CALC:STAT:NUMB?
23456,23449
Query
Response
:CALC:STAT:MEAN?
11.4859E+03
<Mean (NR3)>
39
Query Maximum Value
Syntax
:CALCulate:STATistics:MAXimum?
Example
Query Minimum Value
Syntax
:CALCulate:STATistics:
M
INimum
?
Example
Query Comparator Results
Syntax
:CALCulate:STATistics:LIMit?
Example
Query BIN Result
Syntax
:CALCulate:STATistics:BIN?
Example
Query Standard Deviation
Syntax
:CALCulate:STATistics:DEV
iation?
Example
Query Process Capability Indices
Syntax
:CALCulate:STATistics:CP?
Example
Execute and Query Scaling Function
Syntax
:CALCulate:SCALing:STATe
:CALCulate:SCALing:STATe?
Example
Query
Response
<Maximum value (NR3)>,<Data No. of Maximum value (NR1)>
:CALC:STAT:MAX?
12.4859E+03,1124
Query
Response
:CALC:STAT:MIN?
10.4859E+03,1125
<Minimum value (NR3)>,<Data No. of Minimum value (NR1)>
<Unit> = OFF(no unit)/OHM(
characters)
For information on character string data, see Data Formats. (p.4)
:CALC:SCAL:UNIT “m”
:CALC:SCAL:UNIT?
“m”
<Unit>
(10) T emperature Conversion (∆t) RM3545
An execution error occurs during scanning.
<Correction coefficient>
<Offset>
<Unit>
Ω
)/Any unit (any unit is character string data:maximum 3
Command
Query
Response
:CALC:TCON:DELT:STAT ON
:CALC:TCON:DELT:STAT ON?
ON
When the temperature conversion function is executed, the comparator function,
temperature correction function, BIN function, and statistical calculation function
switch to OFF.
<Reference temperature> = -10.0 to 99.9 (NR3)[°C]
RM3544
<Temperature coefficient> = -9999 to 9999 (NR1)[ppm/°C]
RM3545
<Temperature coefficient> = -99999 to 99999 (NR1)[ppm/°C]
:CALC:TCOR:PAR 20,393 0
:CALC:TCOR:PAR?
70.0,4500
The reference temperature is in units of [°C], while the temperature coefficient is in
units of [ppm/°C].
<Reference temperature>,<Temperature coefficient>
42
Set and Query Contrast
Syntax
:DISPlay:CONTrast
:DISPlay:CONTrast?
Example
Set and Query Backlight
Syntax
:DISPlay:BAC Klight
:DIS
Play:BACKlight?
Example
Set and Query Memory Functions
Syntax
:MEMory:STATe
:MEMory:STATe?
Note
Example
Clear Memory Data
Syntax
:MEMory:CLEar
Example
Query Memory Data Count
Syntax
:MEMory:COUNt?
Example
(12) LCD Settings
An execution error occurs during scanning.
Command
Query
Response
:DISP:CONT 80
:DISP:CONT?
80
<0 to 100>
<0 to 100>
Command
Query
Response
:DISP:BACK 50
:DISP:BACK?
50
<0 to 100>
<0 to 100>
(13) Memory Functions RM3545
You can save and load up to 50 measurement data entries. This function cannot be used when a multiplexer is
used. An execution error occurs.
This is enabled only with a remote command.
Measurement values are entered in memory through the [ENTER] key, TRIG signal, and
*TRG
command.
Command
Query
Response
Changing the memory mode setting erases the stored data.
:MEM:STAT ON
:MEM:STAT?
ON
<ON/OFF>
<1/0/ON/OFF>
Command
:MEM:CLE
Query
Response
:MEM:COUN?
3
<Memory data count> = 0 to 50 (NR
1)
43
Read Memory Data
Syntax
:MEMory:DATA?
Description
Note
Execute and Query Auto Hold
Syntax
[:SENSe:]HOLD:AUTO
[:SENSe:]HOLD:AUTO?
Example
Note
Query Auto Hold State
Syntax
[:SENSe:]HOLD:STATe?
Description
Example
Cancel Hold
Syntax
[:SENSe:]HOLD:OFF
Description
Example
Query
Response
Measured values transferred from memory are separated by commas (“,”). The
number of stored measurement values to be exported can be acquired by
the
:MEMory:COUNt?
See: “Measurement Value Formats” (p.26)
When fifty (50) measurement values have been entered into memory, no additional
measurement values can be stored until the memory content is cleared.
(14) Hold
RM3545 An execution error occurs during scanning.
Command
Query
Response
HOLD:AUTO ON
HOLD:AUTO?
ON
When auto hold is executed,
(trigger source <IMMEDIATE>) are enabled.
<Measurement value (NR3)>,<Measurement value (NR3)>,...,
<Measurement value (NR3)>
query.
<1/0/ON/OFF >
<ON/OFF >
:INITIA TE :CONTINUOU S ON
and internal trigger
Query
Response
<ON/OFF>
Queries the current hold state.
<ON> = HOLD indicator on the screen turns on, and hold is executed.
<OFF> = HOLD indicator on the screen turns off, and hold is not executed.
HOLD:STAT?
ON
Command
Cancels the hold state. (HOLD indicator on the screen turns off.)
HOLD:OFF
44
Set and Query Measurement Method
Syntax
[:SENSe:]WIRE
[:SENSe:]WIRE?
Example
Note
Set and
Query Scanning Function
Syntax
[:SENSe:]SCAN:MODE
[:SENSe:]SCAN:MODE
?
Example
Note
Query Scanning Execution State
Syntax
[:SENSe:]SCAN:STATe?
Description
Example
(15) Multiplexer Settings RM3545
• Also see “4 Multiplexer Commands (p.65)” for the multiplexer unit.
Command
Query
Response
<4/W4> = 4-line type
<2/W2> = 2-line type
WIRE W4
WIRE?
W4
When the meas u rem ent met ho d is s witc he d, th e mul tipl e xer ch an n el res et is
activated. Th e mul ti pl exe r se tti n gs inclu di ng th e meas ur em en t c ondi t io ns are r ese t.
Make sure to determine the measurement method before measuring each channel.
An execution error occurs during scanning.
<4/2/W4/W2>
<W4/W2>
Command
Query
Response
SCAN:MODE:AUTO
SCAN:MODE?
AUTO
<OFF/AUTO/STEP>
<OFF/AUTO/STEP>
An execution error occurs during scanning.
Query
Response
Responds with whether scanning is being executed or not.
0 is returned when the scanning function is OFF or scanning is paused.
1 is returned during auto scanning or step scanning.
2 is returned during the scanning and the measuring.
test lead may be connected to the front terminal, make sure to check that the response is
Example
Note
Command
Returns the scan channel to the initial channel. Also, the measured value and judgment
value are cleared and the instrument is set to the non-measurement state.
Command
Query
Response
:SCAN:FAIL:STOP ON
:SCAN:FAIL:STOP?
ON
An execution error occurs during scanning.
<1/0/ON/OFF>
<ON/OFF>
Query
Response
The measured values at the time of scanning completion are separated by commas (“,”).
Only the data with [:SENSe:]STATeON is returned.
as the channel count that can be obtained using a [:SENSe:]CH:AVAirable? query.
measurement has not been performed, the value for a measurement fault is returned.
<0> = A test lead is not connected to the front measurement terminal.
<1> = A test lead is connected to the front measurement terminal.
If a test lead is connected to the front terminal, the data cannot be displayed properly
when a measurement is performed using a multiplexer. When there is a possibility that a
< 1/0>
0.
Check the front measurement terminal.
FRON?
0
Measurement
READ?
1020.000E-03, 100.000E-03, 100.000E-03
An execution error occurs during scanning.
46
Set and Query Channel Switching
Syntax
[:SENSe:]CH
[:SENSe:]CH?
Description
easurement conditions, measurement, and comparator result of each channel need
Example
Note
sure to check that the response to
Set and Query Multiplexer Channel
Syntax
[:SENSe:]CH:STATe
[:SENSe:]CH:STATe?
Example
Note
Query Multiplexer Channel Count
S
yntax
[:SENSe:]CH:AVAilable?
Description
Example
Note
Multiplexer channel pin assig
nment setting and query
Command
Query
Response
<FRONt><0> = The front terminal is used as a measurement terminal.
<Channel number> = 1 to 42 (NR1) (The measurement terminal is used as a multiplexer.)
Sets the switching of the multiplexer channel and queries the current channel.
The m
to be set and obtained after the channel is switched.
See: “4 Multiplexer Commands (p.65)”.
The front terminal is used.
CH FRON
CH?
FRONT
Check the front measurement terminal.
FRON?
0
Use a multiplexer and switch the channel to 10.
CH 10
CH?
10
When the channel is not set to the front terminal, the statistical calculation function and
memory function switch to OFF.
If a test lead is connected to the front terminal, the data cannot be displayed properly
when a measurement is performed using a multiplexer. When there is a possibility that a
test lead may be connected to the front terminal, make
the [:SENSe:]FRONtcheck? command is 0.
An execution error occurs during scanning.
<FRONt/0/Cha nnel number>
<FRONT/<Channel number>
Command
Query
Response
<Channel number> = 1 to 42 (NR1)
CH:STAT ON,1 0
CH:STAT? 10
ON
An execution error occurs during scanning.
<ON/OFF>
<1/0/ON/OFF>[,<Channel number>]
[<Channel number>]
Query
Response
Only the number of the channels with [:SENSe:]CH:STATe ON is returned.
CH:AVA?
20
An execution error occurs during scanning.
<Channel count (NR1)>
47
Syntax
[:SENSe:]INSTrument
[:SENSe:]INSTrument?
Example
Note
Set and Query Allocation of Multiplexer Channel Terminals
Syntax
[SENSe:]TERMinal
[:SENSe:]TERMinal?
Example
Note
Set and Query Measurement Method
Syntax
[:SENSe:]CHR
eset
Description
Initializes the multiplexer channel settings including the measurement conditions.
Note
Command
Query
Response
<INTernal> = Measurement using RM3545
<EXTernal> = Measurement using external equipment (multiplexer EX terminal is used .)
CH 10
INST INT
INST?
INT
When the front terminal is used, an execution error occurs.
An execution error occurs during scanning.
<INTernal/ EXTernal>
Command
Query
Response
<Unit number> = 1/2
<Terminal A number> 1 to 10 (NR1) for 4-line type, 1 to 21 (NR1) for 2-line type
<Terminal B number> 1 to 10 (NR1) for 4-line type, 1 to 21 (NR1) for 2-line type
CH 10
TERM 1,1,2
TERM?
1,1,2
When the front terminal is used, an execution error occurs.
The measurement current flows from term inal B to terminal A.
An execution error occurs during scanning.
number>
<Unit number>,<A terminal number>,< B terminal number>
(16) Multiplexer Channel Reset RM3545
An execution error occurs during scanning.
<INTernal/EXTernal>
<Unit number>,<A terminal number>,<B terminal
Command
An execution error occurs when the front terminal is used as a measurement terminal or
during scanning.
48
Set and Query Low
-
Power Resistance Measurement
Syntax
[:SENSe:]RESistance:LP:STATe
[:SENSe:]RESistance:LP:STATe?
Exa
mple
Set and Query Resistance Measurement Range
Syntax
[:SENSe:]RESistance:RANGe
[:SENSe:]RESistance:
R
ANGe?
Description
Example
Note
(17) Low-Power Resistance Measurement RM3545
An execution error occurs during scanning.
Command
Query
Response
RES:LP:STAT ON
Selects the Low-Power Resistance measurement.
RES:LP:STAT?
OFF
The Resistance measurement has been selec ted.
(18) Measurement Range
An execution error occurs during scanning.
Command
Query
Response
Command
Enter the expected measurement value. The instrument is set to the most suitable
range for measuring the given numerical value data. When the scaling function is
being used, set the <Expected measurement value> to the value that existed prior to
scaling (value in range being used).
When a range is set, the auto-range function will be automatically turned off.
Query
The setting will be that of Low-Power OFF. For the Low-Power ON setting, use:
RM3544 Sets the Resistance measurement to the 300Ω range.
RM3545 Sets the Resistance measurement to the 100Ω range.
RM3545 When the multiplexer measurement method is the 2-line type, the
measurement range is not set to 10Ω or less.
<ON/OFF>
<Measurement Range (NR3)>
RM3544
<Expected measurement value>
<Measurement Range (NR3)>
RM3545
<Expected measurement value>
<Measurement Range (NR3)>
Queries the measurement range setting.
=
0 to 3.5E+06
=
30.000E-3/ 300.00E-3/ 3.0000E+0/ 30.000E+0/
300.00E+0/ 3.0000E+3/ 30.000E+3/ 300.00E+3/
3.0000E+6
=
0 to 1200E+06
=
10.00000E-3/100.0000E-3/1000.000E-3/
10.00000E+0/100.0000E+0/1000.000E+0/
10.00000E+3/100.0000E+3/1000.000E+3/
10.00000E+6/100.0000E+6/1000.000E+6
<1/0/ON/OFF>
<Expected measurement value>
49
Set and Query Resi
stance Measurement Auto Range
Syntax
[:SENSe:]RESistance:RANGe:AUTO
[:SENSe:]RESistance:RANGe:AUTO?
Description
Example
Note
Set and Query Low
-
Power Resistance Measurement Range RM3545
Syntax
[:SENSe:]RESistance:L P:RANGe
[:SENSe:]RESistance:LP:
R
ANGe?
Description
Example
Set and Query 100MΩ Range High Precision Function
RM3545
Syntax
[:SENSe:]RESistance:PRECision
[:SENSe:]RESistance:PRECision?
Description
Example
Command
Query
Response
The auto range setting will be the same for Low-Power OFF/ON.
RES:RANG:AUTO OFF
RES:RANG:AUTO?
OFF
An execution error occurs when the auto range is turned ON if the comparator function
and BIN measurement function are ON.
<ON/OFF>
Command
value>
Query
Response
<Expected measurement value> =
<Measurement Range (NR3)> =
Command
Enter the expected measurement value. The instrument is set to the most suitable
range for measuring the given numerical value data. When the scaling function is
being used, set the <Expected measurement value> to the value that existed prior to
scaling (value in range being used).
Query
Queries the measurement range setting.
The setting will be that of Low-Power ON. For the Low-Power OFF setting, use:
When Low-Power is ON, six (6) digits w ill actua lly be d isplay ed ev en when the n umber
of digits is set to seven (7).
<Number of digits>
= 4/5
= 5/6/7
(26) T emperature Measurement (Analog Input) RM3545
An execution error occurs during scanning.
Command
Query
Response
<THERMISTOR> = Z2001 temperature sensor is used as the temperature sensor.
<ANALOG> = Analog output thermometer is used as the temperature sensor.
TEMP:SENS ANAL
TEMP:SENS?
ANALOG
<THERMISTOR/ANALOG>
<Number of digits>
<THERmistor/ANALog>
Command
<V1>,<T1>,<V2>,<T2>
Query
Response
<V1> = 0 to 2.00 (NR2) ...................... Reference voltage 1 [V]
<T1> = -99.9 to 999.9 (NR2) .............. Reference temperature 1 [°C]
<V2> = 0 to 2.00 (NR2) ...................... Reference voltage 2 [V]
<T2> = -99.9 to 999.9 (NR2) .............. Reference temperature 2 [°C]
TEMP:PAR 0,-10,2,100
TEMP:PAR?
0.00,0.00,1.00,100.0
0°C is displayed with 0 V, and 100°C is displayed with 1 V.
<V1>,<T1>,<V2>,<T2>
53
:INITIATE
:READ?
:INITIA TE
:READ?
(27) T riggering
Relationship between Trigger Source and Continuous Measurement Operation
Operation depends on the continuous measurement setting (
trigger source setting (
See: “4 Data Exporting Methods” (p.69)
Also see
“
4 Multiplexer Commands (p.65)” for the multiplexer unit.
:TRIGGER:SOURCE
) (p.56) as follows.
:INITIATE:CONTINUOUS
) (p.56) and the
• RM3544 and RM3545 When the front measurement terminal is used or the scanning function is set to OFF
(
:SENSE:SCAN:MODE OFF)
Measurement Flow
Continuous Measurement Command-Specific Settings
:INITIATE:CONTINUOUS ON :INITIATE:CONTINUOUS OFF
Trigger Source
Free-Run state. Measurement continue s
automatically.
Trigger Delay
Measurement
Calculation
Measured Value Output
:TRIGGER:SOURCE IMM
Trigger by TRIG signal, [ENTER] key or
*TRG
command.
After measurement, enters the trigger wait
state.
Trigger by
command.
Idle State
:INITIATE:IMMEDIATE
or :READ?
Trigger Delay
Measurement
Calculation
Measured Val ue Output
Issue
to wait for trigger.
Trigger by TRIG signal.
(or
(or
)
) command
Trigger Wait State
TRIG signal, [ENRER] key,
*TRG
Trigger Delay
Measurement
:TRIGGER:SOURCE EXT
Calculation
Measured Val ue Output
Idle Stat e
:INITIATE:IMMEDIATE
or :READ?
Trigger Wait State
TRIG signal
Trigger Delay
Measurement
Calculation
Measured Value Output
54
• RM3545 When the scanning function is set to AUTO (
Measurement flow
Continuous Measurement Command-Specific Settings
:SENSE:SCAN:MODE AUTO)
:INITIATE:CONTINUOUS ON
:TRIGGER:SOURCE IMM
:INITIATE:CONTINUOUS OFF
Triggered by :INITIATE (or :READ?)
command.
Idle State
:INITIATE:IMMEDIATE
or :READ?
Trigger Wait State
TRIG signal
Channel 1 measurement
Channel 2 measurement
・・・
Channel n measurement
Trigger Source
Command-Spe
cific Settings
Triggered by TRIG signal, [ENTER] key,
or *TRG command.
After measurement, enters the Trigger
Wait State.
:TRIGGER:SOURCE EXT
Issue :INITIATE (or :READ?) command to
enter the Trigger Wait State.
Triggered by TRIG signal.
Idle State
:INITIATE:IMMEDIATE
or :READ?
Trigger Wait State
TRIG signal
Channel 1 measurement
Channel 2 measurement
・・・
Channel n measurement
55
• RM3545 When the scanning function is set to STEP (
Measurement flow
Continuous Measurement Command-Specific Settings
:SENSE:SCAN:MODE STEP)
Trigger
Source
Command-Spe
cific Settings
:INITIATE:CONTINUOUS ON
:TRIGGER:SOURCE IMM
Triggered by TRIG signal, [ENTER] key,
or *TRG command.
After measurement, enters the Trigger
Wait State.
TRIG signal, [ENTER] key, or
*TRG
Trigger Wait State
:INITIATE:CONTINUOUS OFF
Triggered by :INITIATE (or :READ?)
command.
Issue :INITIATE (or :READ?) command to
enter the Trigger Wait State.
Triggered by TRIG signal.
Trigger Wait State
:INITIATE:IMMEDIATE
or :READ?
Trigger Wait State
TRIG signal
Channel switching
Measurement
:TRIGGER:SOURCE EXT
Channel switching
Measurement
The
:INITIATE:CONTINUOU S OFF
If this has been set to OFF, when operation is returned to the Local state or power is turned off,
the
:INITIATE:CONTINUOUS ON
See “Return to Local Control” (p.61) or Exporting measured values: “Data Exporting Methods” (
is can only be set by Remote command.
state occurs when power is turned back on.
p.69)
56
Set and Query Continuous Measurement
Syntax
:INITiate:CONTinuous
:INITiate:CONTinuous?
Description
Example
Note
Set Trigger Wait
Syntax
:INITiate[:IMMediate]
Description
Example
Enable Trigger Wait. Trigger immediately upon :TRIG:SOUR
Note
Set and Query Trigger Source
Syntax
:TRIGger:SOURce
:TRIGger:SOURce?
Example
Note
Command
Query
Response
<ON> = Continuous Measurement Enabled
<OFF> =
• Continuous Measurement Enabled:
After measurement, enters the Trigger Wait State. When there is an internal trigger
(trigger source <IMMEDIATE>), the next trigger is promptly generated and enters a
free run state.
•
Continuous Measurement Disabled:
After measurement, enters the Idle State instead of the Trigger Wait State.
•
Triggering is ignored in the Idle State. Executing :INITiate[:IMMediate] enables the
Trigger Wait State.
•
Continuous measurement is enabled upon exiting from the Remote State.
:INIT:CONT OFF
:INIT:CONT?
ON
<ON/OFF>
Continuous Measurement Disabled
<1/0/ON/OFF>
RM3545 An execution error occurs during scanning.
Command
Switches triggering from the Idle State to the Trigger Wait State.
Disable continuous measurement, and read one value for each trigger event.
Sending
:TRIG:SOUR IMM ............
:INIT:CONT OFF ..............
:INIT ........................................
Trigger immediately when entering Trigger Wait State.
Disables continuous measurement.
IMM.
• When this message is received, automatically switches
:INITIATE:CONTINUOUS OFF
to
• When there is an internal trigger (trigger source <IMMEDIATE>), triggering promptly
occurs and enters the idle state.
• When there is an external trigger (trigger source <EXTERNAL>), the external trigger
wait state is entered. When a trigger is received, a single measurement is performed
and enters the idle state.
Command
Query
Response
<IMMEDIATE> =
<EXTERNAL> =
:TRIG:SOUR IMM
:TRIG:SOUR?
IMMEDIATE
RM3545 An execution error occurs during scanning.
<I
MMEDIATE/EXTERNAL>
Internal triggerin g
External triggering
.
<IMMediate/EXTernal>
57
Set and Q
uery Trigger Signal Logic
Syntax
:TRIGger:EDGE
:TRIGger:EDGE?
Example
Note
Set and Query Delay
Syntax
:TRIGger:DELay
:TRIGger:DELay?
Example
Note
Set and Que ry Delay De
fault
Syntax
:TRIGger:DELay:AUTO
:TRIGger:DELay:AUTO?
Setting
Example
Execute Self
-
Calibration
Syntax
:SYSTem:CALibration
Note
Command
Query
Response
<ON> = ON edge (OFF→ON)
<OFF> = OFF edge (ON
:TRIG:EDGE
:TRIG:EDGE?
ON
RM3545 An execution error occurs during scanning.
(28) Delay RM3545
An execution error occurs during scanning.
Command
Query
Response
<Delay time> = 0 to 9.999 (NR2) [sec]
:TRIG:DEL 0.01
:TRIG:DEL?
0.010
When the delay is at the default setting (
values are invalid (disabled). When setting the delay, be sure to turn the default
setting OFF.
<1/0/ON/OFF>
<ON/OFF>
ON
→
OFF)
<Delay time>
<Delay time>
:TRIGger:DELay:AUTO ON
), setting
Command
Query
Response
When the auto delay (preset setting) is set to ON, the delay will be the value specified
internally.
When set to OFF, the set delay value (
:TRIG:DEL:AUTO ON
:TRIG:DEL:AUTO?
ON
(29) Self-Calibration RM3545
An execution error occurs during scanning.
Command
If this command is received while measuring, self-calibration executes after the
measurement is finished.
<1/0/ON/OFF>
<ON/OFF>
:TRIGger:DELay
<delay time>) will govern.
58
Execute and Set Self
-
Calibration
Syntax
:SYSTem:CALibration:AUTO
:SYSTem:CALibration:AUTO?
Example
Note
Save and Read Measurement Conditions
Syntax
Example
Note
Set and Query Panel Name
Syntax
:SYSTem:PANel:NAME
:SYSTem:PANel:NAME?
Example
Command
Query
Response
<ON> = AUTO Self-Calibration selected
<OFF> = MANUAL Self-Calibration selected
:SYST:CAL:AUTO OFF
:SYST:CAL:AUTO?
OFF
<ON/OFF>
Even when AUTO Self-Calibration is selected, Self-Calibration can be manually
performed at any time by sending the
(30) Saving and Reading Measurement Conditions
RM3545 An execution error occurs during scanning.
Command
:SYSTem:PANel:SAVE
:SYSTem:PANel:LOAD
RM3544 <Table No> = 1 to 10
RM3545 <Table No> = 1 to 30 When the front terminal is used as a
<Zero adjustment load> = 1/0/ON/OFF
<ON> = Zero adjustment value is also read during panel loading.
<OFF> = Zero adjustment is not read during panel loading.
:SYST:PAN:SAVE 10
:SYST:PAN:LOAD 5,OFF
When the measurement conditions for the Table No. have already been saved
:SYSTem:PANel:SAVE
and
overwritten.
When the Table No. that does not have the measurement conditions is specified
:SYSTem: PANel:LOAD
and
RM3545 When the front terminal is used as a measurement terminal, the
measurement conditions cannot be saved to 31 to 38. When the multiplexer is used,
the measurement conditions cannot be saved to 1 to 30. When a test lead is
connected to the front measur emen t terminal, ca nnot be rea d to 31 to 38.An ex ecuti o n
error occurs in either case.
<1/0/ON/OFF>
:SYSTem:CALibration
<Table No>
<Table No>,<Zero adjustment load>
measur ement terminal.)/
31 to 38 (When the multiplexer is used as a
measurement terminal.)
is executed, the measurement conditions will be
is executed., an execution error will occur.
command.
Command
Query
Response
RM3544 <Table No> = 1 to 10
RM3545 <Table No> = 1 to 38
For information on character string data, see Data Formats. (p.4)
:SYST:PAN:NAME 1,“ P AN EL_ 1 ”
:SYST:PAN:NAME? 1
1,“PANEL_1”
<Table No>,<Panel name (character
string data: maximum 10 characters)>
<Table No>,<Panel name (character string data: maximum 10
characters)>
<Table No>
59
Clear Panel
Syntax
Example
Set and Query Key
-
Lock State
Syntax
:SYSTem:KLOCk
:SYSTem:KLOCk?
Description
Example
Set and Query Li
ne Frequency
Syntax
:SYSTem:LFRequency
:SYSTem:LFRequency?
Example
Command
RM3544 <Table No> = 1 to 10
RM3545 <Table No> = 1 to 38
:SYST:PAN:CLE 10
(31) Key-Lock
RM3545 An execution error occurs during scanning.
Command
Query
Response
Switches to FULL key-lock state. (Prohibits all setting changes by key operation.)
MENU is returned during MENU key-lock state. the scanning and the measuring.
:SYST:KLOC ON
:SYST:KLOCK?
ON
(32) Line Frequency
RM3545 An execution error occurs during scanning.
:SYSTem:PANel:CLEar
<1/0/ON/OFF>
<ON/MENUOFF>
<Table No>
Command
Query
Response
:SYST:LFR 50
:SYST:LFR?
50
<AUTO/50/60>
<AUTO/50/60>
60
Set and Query
System Date
Syntax
:SYSTem:DATE
:SYSTem:DATE?
Description
Example
Note
Set and Query System Time
Syntax
:SYSTem:TIME
:SYSTem:TIME?
Description
Example
Note
Attempting to set an out
-of-
range numerical value retur
ns an execution
existent time (such as 09,06,71) returns an
Set and Query Key Beeper
Syntax
:SYSTem:
BEEPer:STATe
:SYSTem:BEEPer:STATe?
Example
(33) Clock RM3545
An execution error occurs during scanning.
Command
Query
Response
<Year> = 00 to 99
<Month> = 01 to 12
<Day> = 01 to 31
Sets and queries the date of the real-time system clock.
:SYST:DATE 13,01,10
Sets the date to January 10, 2013.
:SYST:DATE?
13,12,10
The date is December 10, 2013.
Attempting to set an out-of-range numerical value returns an execution error.
Attempting to set a non-existent date (such as 13,06,31) returns an execution
error.
<Year>,<Month>,<Day>
<Year>,<Month>,<Day>
Command
Query
Response
<Hour> = 00 to 23
<Minute> = 00 to 59
<Second> = 00 to 59
Sets the time of the real-time system clock.
:SYST:TIME 08,25,00
Sets the time to 8:25 and 00 seconds.
:SYST:TIME?
23,09,53
The time is 23:09 and 53 seconds.
<Hour>,<Minute>,<Second>
<Hour>,<Minute>,<Second>
error. Attempting to set a nonexecution error.
(34) Key Beeper
RM3545 An execution error occurs during scanning.
Command
Query
Response
:SYST:BEEP:STAT ON
:SYST:BEEP:STAT?
ON
<ON/OFF>
<1/0/ON/OFF>
61
(35) Communications Settings
Return to Local Control
Sy
ntax
:SYSTem:LOCal
Description
Example
Set and Query Measurement
-
Synchronized Data Output
[RS-232C/USB]
Syntax
:SYSTem:DATAout
:SYSTem:DATAout?
Description
Note
Set and Query Header Presence
Syntax
:SYSTem:HEADer
:SYSTem:HEADer?
Example
Note
*
RST
Set Delimiter [GP
-
IB]
Syntax
:SYSTem:TERMinator
:SYSTem:TERMinator?
Example
Note
RM3545 An execution error occurs during scanning.
Command
Disables communications remote control and re-enables local control. The panel keys
are re-enabled.
:SYST:LOC
Command
Query
Response
<ON> = With an external trigger ( trig ge r source <EXTERNAL>), measureme nt v al ues
<OFF> =
This command is not applicable to the GP-IB Interface.
<ON/OFF>
are automatically sent when trigger measurements are completed.
When there is an internal trigger (trigger source <IMMEDIATE>),
measurement values are automatically sent when the [ENTER] key is
pressed and TRIG signal have been input.
Measured values are not automatically sent.
<1/0/ON/OFF>
Command
Query
Response
:SYST:HEAD ON
:SYST:HEAD?
:SYSTEM:HEADER ON
:SYST:HEAD OFF
:SYST:HEAD?
OFF
When turning the power on or after the
header).
<ON/OFF>
<1/0/ON/OFF>
command, this is initialized to OFF (no
Command
Query
Response
<0> = LF+EOI
<1> = CR, LF+EOI
:SYST:TERM 1
:SYST:TERM?
0
<0/1>
• At power-on, this is set to 0 (LF+EOI).
•
The RS-232C/USB delimiter is fixed as CR+LF.
<0/1>
62
Execute System Reset
Syntax
:SYSTem:RESet
Description
Query NPN/PNP Switch Status
Syntax
:IO:MODE?
Example
External I/O Input
Syntax
:IO:INPut?
Description
Note
External I/O Output
Syntax
Description
(36) System Reset
RM3545 An execution error occurs during scanning.
Command
Initializes all except communications and clock settings. After initialization, panel data,
too, is initialized.
(37) EXT I/O
RM3545 An execution error occurs during scanning.
Query
Response
:IO:MODE?
NPN
<NPN/PNP>
Query
Response
Reads the ON edge of TRIG of the EXT I/O and the PRINT terminal, and then clears
them. (If the trigger si gnal ed ge ha s the O FF edge setting, th e TRIG terminal rea ds the
OFF edge.)
When the edge is detected, the bits are set. When reading is performed through this
query, it is cleared to 0. Also, input by key is also detected in the same manner as
signals.
Pin No.
See the instrument instruction manual regarding external control (EXT I/O) as well.
While the filter setting of the input signal is ON, the edge after the set filter time will be
read.
0 to 3 (NR1)
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
- - - - - - PRINT TRIG
- - - - - - 26 1
Command
:IO:OUTPut
<Output data 0 to 7>
When the judgment output mode is selected with the EXT I/O output mode, any 3-bit
data can be output from the EXT I/O terminal.
Pin No.
See the instrument instruction manual regarding external control (EXT I/O) as well.
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
- - - - - OUT2 OUT1 OUT0
- - - - - 19 37 18
63
Execute and Query
TRIG/PRINT Signal's Filter Function
Syntax
:IO:FILTer:STATe
:IO:FILTer:STATe?
Example
Set and Query TRIG/PRINT Signal's Filter Time
Syntax
:IO:FILTer:TIME
:IO:FILTer:TIME?
Example
Set and Query Judgment Mode/BCD Mode
Syntax
:IO:JUDGe:MODE
:IO:JUDGe:MODE?
Example
Set and Query EOM Output Method
Syntax
:IO:EOM:MODE
:IO:EOM:MODE?
Example
Set and Query EOM Pulse Width
Syntax
:IO:EOM:PULSe
:IO:EOM:PULSe?
Example
Command
Query
Response
:IO:FILT:STAT ON
:IO:FILT:STAT?
ON
<ON/OFF>
<1/0/ON/OFF>
Command
Query
Response
<Filter time> = 0.05 to 0.50 (NR2) [sec]
:IO:FILT:TIME 0.1
:IO:FILT:TIME?
0.10
<Filter time>
<Filter time>
Command
Query
Response
<JUDGE> = Judgment mode
<BCD> = BCD mode
:IO:JUDG: MO DE BCD
:IO:JUDG:MODE?
BCD
<JUDGE/BCD>
<JUDge/BCD>
Command
Query
Response
<HOLD> = Holds the EOM signal until measurement starts by the next trigger signal.
<PULSE> = Sets EOM=OFF according to the specified pulse width.
:IO:EOM:MODE PULS
:IO:EOM:MODE?
PULSE
<HOLD/ PULSE>
<HOLD/PULSe>
Command
Query
<
Response
<Pulse width> = 0.001 to 0.100 (NR2) (seconds)
:IO:EOM:PULS 0 .005
:IO:EOM:PULS?
0.005
Pulse width
>
<Pulse width>
64
Query Unit
Syntax
:UNIT:IDN?
Example
Query Multiplexer Unit
Test Execution and Result
Syntax
:UNIT:TEST?
Description
Example
Note
Query Relay Usage Count
Synt
ax
:UNIT:SCOunt?
Description
Responds with the count of the relay with the highest usage count of all the relays for each
Example
(38) Multiplexer Unit RM3545
• Also see 4 Multiplexer Commands (p.65)” for the multiplexer unit.
An execution error occurs during scanning.
Query
Response
<Unit number> = 1/2
<Model name >,<Serial n u mb er>
If the unit is not inserted: <Model name> = NONE
<Unit number>
:UNIT:IDN ? 1
Z3003,123456789
Query
Response
<Unit number> = 1/2
<Relay count (NR1)>
<Unit number>
unit.
-1 is returned if the unit is not inserted and an execution error occurs.
:UNIT:SCO ? 1
10000
Query
<Unit number> = 1/2
Response
Performs a multiplexer test and responds with the result in NR1 number (0 to 4).
0 is returned if there is no error.
UNIT ERR(1)
Multiplexer short circuit resistance check error
FRONT ERR(2)
When a test lead is connected to the front measurement terminal. Remove the test lead
and execute the test again.
Blown FUSE (4)
The fuse on the back of the instrument for measurement terminal protection has been
blown. Replace the fuse and execute the test again.
NO UNIT(8)
For information on unit test, see the instrument instruction manual.
<0 to 8 (NR1)>
128
bit7bit6bit5bit7bit3bit2
Unused Unused Unused Unused
The unit is not inserted. Insert the unit and execute the test again.
<Unit number>
64 32 16 8 4 2 1
bit1 bit0
NO
Blown
UNIT
FUSE
FRONT
ERR
UNIT
ERR
:UNIT:TE ST ? 1
0
RM3545 An execution error occurs during scanning.
65
4 Multiplexer Commands
Multiplexer Settings
There are two types of multiplexer commands, commands for individual channels and those common to all
channels. The commands for individual channels are applied to the current channel. When specifying a channel, it
is necessary to switch the channel in advance.
Check Message List to see the type of each command.
For example, [:SENSe:]RESistance:RANGe is a command for individ ual channels and
[:SENSe:]RESistance:DIGits is a command common to all channels. An example of command
The number of digits is 7 and this is common to all channe ls.
Switches the channel number to 3.
Switches the resistance range of Channel 3 to 10Ω.
The number of digits is 6 and this is common to all channe ls.
The state after command execution is as follows.
• Current channel: 3
• Stat e of each channel
Channel
3 10Ω range
5 1Ω range
Example A1: Setting all channels in a batch
CH:STAT ON,1
CH:STAT ON,2
CH:STAT ON,3
CH 1
TERM 1,1,2
RES:RANG 10E-03
:CALC:LIM:STAT ON
:CALC:LIM:UPP 10E-03
:CALC:LIM:LOW 1E-03
:CALC:LIM:JUDG:COND IN
CH 2
TERM 1,3,4
RES:RANG 10E-03
:CALC:LIM:STAT ON
:CALC:LIM:UPP 8E-03
:CALC:LIM:LOW 3E-03
:CALC:LIM:JUDG:COND IN
Measurement
range
Number
of digits
6
Channel 1 is used.
Channel 2 is used.
Channel 3 is used.
Channel 1 settings
Measures between Unit 1 TERM 1 and TERM 2.
Sets the range.
Sets the comparator.
Channel 2 settings
Measures between Unit 1 TERM 3 and TERM 4
Sets the range.
Sets the comparator.
66
Example A2: Performing a measurement while switching the terminal
:INIT:CONT ON
:TRIG:SOUR IMM
SCAN:MODE OFF
CH:STAT ON,1
CH 1
TERM 1,1,2
:FETC?
10.00000E+00
TERM 1,3,4
:FETC?
20.00000E+00
TERM 1,5,6
:FETC?
30.00000E+00
Continuous measurement ON
Internal trigger
Scan OFF
Channel 1 is used.
Channel 1 settings
Measures between Unit 1 TERM 1 and TERM 2.
Measures between Unit 1 TERM 3 and TERM 4.
Measures between Unit 1 TERM 5 and TERM 6.
Multiplexer Measurement
Using a multiplexer, a measurement can be performed in various ways when the scanning function,
trigger source, and continuous measurement are combined.
See: Trigger (p.53), “4 Data Exporting Methods” (p.69)
(1) Performing a measurement while the channel is switched by a command without using the scanning
function
Example B1-1 Activating the trigger using a command with continuous measurement OFF
SCAN:MODE OFF
:TRIG:SOUR IMM
:INIT:CONT OFF
CH:STAT ON,1
CH:STAT ON,2
CH 1
:READ?
1020.000E-03
CH 2
:READ?
100.000E-03
Scan OFF
Internal trigger
Continuous measurement OFF
Selects the channel to be used.
Switches the channel.
Reads the measured value.
Switches the channel.
Reads the measured value.
(2) Executing scanning using a command
Example B2-1 When the scanning function is set to AUTO (SCAN: MODE AUTO )
Reads the measured values and judgment values of all
channels
Reads the measured values of all channels
Clears the measured value and switches to Channel 1.
SCAN:MODE STEP)
.
.
69
5 Data Exporting Methods
Basic Data Exporting Methods
Flexible data exporting is available depending on the application.
Export Free-Run Data
Default Setting
:TRIGger:SOURce IMMediate
Exporting
Imports the most recent measurement.
Export by Controller (PC, PLC) Triggering
Default Setting
:TRIGger:SOURce IMMediate
Exporting
A trigger occurs, and a measurement is performed and the result is transferred.
Note
Export by Pressing [ENTER] Key or Applying TRIG Signal
Default Setting
:TRIGge r: SOURce EXT
Exporting
When triggered by the [ENTER] Key or TRIG signal, a measurement is performed and
Note
:INITiate:CONTinuous ON
(continuous measurement enable)
(internal triggering)
:FETCh?
RM3545 When the scanning function is set to AUTO or STEP, free-run data cannot be
exported.
:INITiate:CONTinuous OFF
(continuous measurement disable)
(internal triggering)
:READ?
RM3545 When the scanning function is set to AUTO or STEP, scanning begins
when :READ? is received (a trigger is not required separately).
When :READ? is sent,
:INITiate:CONTinuous OFF
:INITiate:CONTinuous OFF
(continuous measurement disable)
(external triggering)
automatically occurs.
:READ?
the result is transferred.
When :READ? is sent,
:INITiate:CONTinuous OFF
automatically occurs.
70
value
value
value
value
Returns the last measured value to
the PC
value
value
value
value
Internal Trigger
External Trigger
State
Returns the measured value after
Returns the measured value after
Using the :FETCh? Command during Continuous Measurement with Internal Triggering
Measurement
Processing
Measured Value
Update
Command
Processing
Response
Measuring
Measuring
Measurement
MeasuringMeasuring
Measurement
Measurement
Measuring
Measurement
This is the simplest meth od for exporting measured v alues. It is ideal when measurement (tact) time is n ot l imited,
and when external synchronization is not needed. After connecting to the measurement target, wait for twice the
measurement time before exporting the measured value.
Using the :READ? Command while Continuous Measurement is Disabled
Measurement
Processing
Measured Value
Update
Command
Processing
MeasuringMeasuring
Measurement
Idle State
Measurement
Start Single Measurement
Measurement
value
Response
Measurement
Processing
Measured Value
Update
Command
Processing
Response
Measuring
Idle State
Measurement
Trigger Wait
Start Single Measurement
TRIG Signal Applied
Measuring
single measurement to the PC
Measurement
single measurement to the PC
Use this method to measure (and export) synchronously with the controller (PC, PLC) or external trigger signal.
Measurement time can be minimized.
71
Response
RM3545 Using the :FETCh? Command when the Scanning Function is Set to AUTO or STEP
When the scanning function is set to AUTO or STEP, the measured value of any channel is obtained with
the :FETCh? command after scanning.
Measurement
Measured Value
Command Processing
RM3545 Using the SCAN:DATA? Command when the Scanning Function is Set to AUTO or STEP
When the scanning function is set to AUTO or STEP, the measured values of all channels are obtained with the
SCAN:DATA? command after scanning.
Measurement
Measured Value
Command Processing
Response
Scan measurement
Channel 1
measurement value
:FETCh? 1:FETCh? 2
Returns the
measured value of
channel 1 to the PC
Channel 2
measurement value
Returns the
measured value of
channel 2 to the PC
Channel 3
measurement value
:FETCh? 3
Returns the
measured value of
channel 3 to the PC
Scan measurement
Channel 1
measurement value
SCAN:DATA?
Channel 2
measurement value
Returns the measured values
of all channels to the PC
Channel 3
measurement value
72
6 Sample Programs
These programs can be created using Visual Basic 5.0, 6.0 or Visual Basic 2010.
Visual Basic is a registered trademark of Microsoft Corporation.
Using Visual Basic 5.0 or 6.0
These sample programs are created with M icros oft Visu al Basic 5.0 and 6.0.
The following are used for communication:
For RS-232C/USB communication: MSComm from Visual Basic Professional
For GP-IB communication: National Instruments GP-IB Board, Driver and Module for Visual Basic
During communications, the terminator setting is supposed to be as follows:
RS-232C/USB: CR+LF
GP-IB: LF
RS-232C/USB Communications
Simple Resistance Measurement
Imports measured values 10 times, and saves measurements in a text file.
Private Sub MeasureSubRS()
Dim recvstr As String 'Receiving character string
Dim i As Integer
MSComm1.CommPort = 1 'COM1 (Check a communication port)
MSComm1.Settings = "9600,n, 8,1" 'Set a co mmu nication port (not required w ith USB)
MSComm1.PortOpen = True 'Open a port
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
MSComm1.Output = ":TRIG:SOUR IMM" & vbCrLf 'Select an internal triggering
MSComm1.Output = ":INIT:CONT ON" & vbCrLf 'Continuous measurement ON
For i = 1 To 10
DoEvents
Wend
recvstr = Left(recvstr, Len(recvstr) - 2) 'Delete the terminator (CR+LF)
Print #1, Str(i) & "," & recvstr 'Write to the file
Next
Close #1
MSComm1.PortOpen = False
End Sub
(Using Microsoft Visual Basic Professional MSComm)
'Send “:FETCH?” to import the most recent measurement
'From here on, continue receiving until an LF code occurs
73
Measure Resistance by PC Key
Measures and imports by key input on the PC, and saves measurements in a text file.
Private Sub MeasureReadSubRS()
Dim recvstr As String 'Receiving character string
Dim i As Integer
MSComm1.CommPort = 1 'COM1 (Check a communication port)
MSComm1.Settings = "9600,n,8,1" 'Set a communication port (not required with USB)
MSComm1.PortOpen = True 'Open a port
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
MSComm1.Output = ":TRIG:SOUR IMM" & vbCrLf 'Select internal triggering
MSComm1.Output = ":INIT:CONT OFF" & vbCrLf 'Continuous measurement OFF
For i = 1 To 10
'Wait for PC key input
'Create a key input check routine to set InputKey() = True when a key is pressed
Do While 1
If InputKey() = True Then Exit Do
DoEvents
Loop
'After confirming key input, measure once, and read the measured value
MSComm1.Output = ":READ?" & vbCrLf
recvstr = ""
While Right(recvstr, 1) <> Chr(10)
recvstr = recvstr + MSComm1.Input
DoEvents
Wend
recvstr = Left(recvstr, Len(recvstr) - 2) 'Delete the terminator (CR+LF)
Print #1, Str(i) & "," & recvstr 'Write to the file
Next
Close #1
MSComm1.PortOpen = False
End Sub
'Send “:READ?” to measure and import the measurement
'From here on, continue receiving until an LF code occu rs
74
External Trigger Measurement 1
Measures and imports according to external triggering ([ENTER] key or TRIG signal input), or by PC key
input, and saves measurements in a text file.
Private Sub MeasureTrigSubRS()
Dim recvstr As String 'Receiving character string
Dim i As Integer
MSComm1.CommPort = 1 'COM1 (Check a communication port)
MSComm1.Settings = "9600,n,8,1" 'Set a communication port (not required with USB)
MSComm1.PortOpen = True 'Open a port
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
MSComm1.Output = ":TRIG:SOUR EXT" & vbCrLf 'Select external triggering
MSComm1.Output = ":INIT:CONT OFF" & vbCrLf 'Continuous measurement OFF
For i = 1 To 10
'To execute trigger measurement when a PC key is pressed,
'Create a key input check routine to set InputKey() = True when a key is pressed
If InputKey() = True Then
MSComm1.Output = "*TRG" & vbCrLf
End If
Wend
recvstr = Left(recvstr, Len(recvstr) - 2) 'Delete the terminator (CR+LF)
Print #1, Str(i) & "," & recvstr 'Write to the file
Next
Close #1
MSComm1.PortOpen = False
End Sub
'Send “:READ?” to measure and import the measurement
'From here on, continue receiving until an LF code occu rs
'When key input occurs, send “TRG” to trigger measurement
75
External Trigger Measurement 2
Measures and imports according to external triggering ([ENTER] key or TRIG signal input), and saves
measurements in a text file.
(The instrument imports the most recent measurement by trigger input timing with the continuous
measurement state.)
Private Sub MeasureTrig2SubRS()
Dim recvstr As String 'Receiving character string
Dim i As Integer
MSComm1.CommPort = 1 'COM1 (Check a communication port)
MSComm1.Settings = "9600,n,8,1" 'Set a communication port (not required with USB)
MSComm1.PortOpen = True 'Open a port
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
'Clear confirmation of External I/O TRIG input
MSComm1.Output = ":IO:INP?" & vbCrLf
recvstr = ""
While Right(recvstr, 1) <> Chr(10)
recvstr = recvstr + MSComm1.Input
DoEvents
Wend
For i = 1 To 10
'Wait for External I/O TRIG input
Do While 1
MSComm1.Output = ":IO:INP?" & vbCrLf
recvstr = ""
While Right(recvstr, 1) <> Chr(10)
recvstr = recvstr + MSComm1.Input
DoEvents
Wend
If Left(recvstr, 1) = "1" Then Exit Do
DoEvents
Loop
MSComm1.Output = ":FETCH?" & vbCrLf
recvstr = ""
While Right(recvstr, 1) <> Chr(10)
recvstr = recvstr + MSComm1.Input
DoEvents
Wend
recvstr = Left(recvstr, Len(recvstr) - 2) 'Delete the terminator (CR+LF)
Print #1, Str(i) & "," & recvstr 'Write to the file
Next
Close #1
MSComm1.PortOpen = False
End Sub
'Send “:FETCH?” to import the most recent measurement
'From here on, continue receiving until an LF code occurs
76
Set Measurement Conditions
Sets up the measurement setting state.
'Measurement Setting Configuration
'Configures instrument settings for measurement
'Range: 1Ω
'Sampling: FAST
'Trigger: External trigger
'Comparator enabled, ABS mode, upper threshold 1Ω, lower threshold 0.5Ω, beep upon Hi or Lo
Private Sub SettingsSubRS()
MSComm1.CommPort = 1 'COM1 (Check a communication port)
MSComm1.Settings = "9600,n,8,1" '
MSComm1.PortOpen = True 'Open a port
Imports measured values 10 times, and saves measurements in a text file.
Private Sub MeasureSub()
Dim buffer As String * 20 'Receiving buffer
Dim recvstr As String 'Receiving character string
Dim pad As Integer 'Controller Address
Dim gpibad As Integer 'Device Address
Dim timeout As Integer 'Timeout period
Dim ud As Integer 'State (unused)
Dim i As Integer
pad = 0 'Board Address 0
gpibad = 1 'Instrument Address 1
timeout = T10s 'Timeout about 10s
Call ibfind("gpib0", 0) 'Initialize GP-IB
Call ibdev(pad, gpibad, 0, timeout, 1, 0, ud)
Call SendIFC(pad)
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
Call Send(pad, gpibad, ":TRIG:SOUR IMM", NLend) 'Select internal triggering
Call Send(pad, gpibad, ":INIT:CONT ON", NLend) 'Continuous measurement ON
For i = 1 To 10
'Send “:FETCH?” to import the most recent mea sur ement
78
Measure Resistance by PC Key
Measures and imports by key input on the PC, and saves measurements in a text file.
Private Sub MeasureReadSub()
Dim buffer As String * 20 'Receiving buffer
Dim recvstr As String 'Receiving character string
Dim pad As Integer 'Controller Address
Dim gpibad As Integer 'Device Address
Dim timeout As Integer 'Timeout period
Dim ud As Integer 'State (unused)
Dim i As Integer
pad = 0 'Board Address 0
gpibad = 1 'Instrument Address 1
timeout = T10s 'Timeout about 10s
Call ibfind("gpib0", 0) 'Initialize GP-IB
Call ibdev(pad, gpibad, 0, timeout, 1, 0, ud)
Call SendIFC(pad)
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
Call Send(pad, gpibad, ":TRIG:SOUR IMM", NLend) 'Select internal triggering
Call Send(pad, gpibad, ":INIT:CONT OFF", NLend) 'Continuous measurement OFF
For i = 1 To 10
'Wait for PC key input
'Create a key input check routine to set InputKey() = True when a key is pressed
Do While 1
Print #1, Str(i) & "," & recvstr 'Write to the file
Next
Close #1
Call ibonl(pad, 0)
End Sub
'Send “:READ?” to measure and import the measurement
79
External Trigger Measurement 1
Measures and imports according to external triggering ([ENTER] key or TRIG signal input), and saves
measurements in a text file.
Private Sub MeasureTrigSub()
Dim buffer As String * 20 'Receiving buffer
Dim recvstr As String 'Receiving character string
Dim pad As Integer 'Controller Address
Dim gpibad As Integer 'Device Address
Dim timeout As Integer 'Timeout period
Dim ud As Integer 'State (unused)
Dim i As Integer
Call ibfind("gpib0", 0) 'Initialize GP-IB
Call ibdev(pad, gpibad, 0, timeout, 1, 0, ud)
Call SendIFC(pad)
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
Call Send(pad, gpibad, ":TRIG:SOUR EXT", NLend) 'Select external triggering
Call Send(pad, gpibad, ":INIT:CONT OFF", NLend) 'Continuous measurement OFF
For i = 1 To 10
'Timeout 100s (because of external trigger wait state)
'Send “:READ?” to measure and import the measurement
80
External Trigger Measurement 2
Imports according to external triggering ([ENTER] key or TRIG signal input), and saves measurements in a
text file.
(The instrument imports the most recent measurement by trigger input timing with the continuous
measurement state.)
Private Sub MeasureTrig2Sub()
Dim buffer As String * 20 'Receiving buffer
Dim recvstr As String 'Receiving character string
Dim pad As Integer 'Controller Address
Dim gpibad As Integer 'Device Address
Dim timeout As Integer 'Timeout period
Dim ud As Integer 'State (unused)
Dim i As Integer
Call ibfind("gpib0", 0) 'Initialize GP-IB
Call ibdev(pad, gpibad, 0, timeout, 1, 0, ud)
Call SendIFC(pad)
Open App.Path & "¥data.csv" For Output As #1 'Open a text file for saving
'Timeout 100s (because of external trigger wait state)
'Send “:FETCH?” to import the most recent mea sur ement
81
Set Measurement Conditions
Sets up the measurement setting state.
'Measurement Setting Configuration
'Configures instrument settings for measurement
'Range: 1Ω
'Sampling: FAST
'Triggering: External trigger
'Comparator enabled, ABS mode, upper threshold 1Ω, lower threshold 0.5Ω, beep upon Hi or Lo
Private Sub SettingsSub()
Dim pad As Integer 'Controller Address
Dim gpibad As Integer 'Device Address
Dim timeout As Integer 'Timeout period
Dim ud As Integer 'State (unused)
pad = 0 'Board Address 0
gpibad = 1 'Instrument Address 1
timeout = T10s 'Timeout about 10s
This section describes an example of how to use the Windows development language Visual Basic2010 Express
Edition to operate the IM3570 unit from a PC via RS-232C/USB, incorporate measurement values, and save
measurement values to a file.
Visual Basic2010 is referred to as VB2010 hereafter.
Note: Depending on the environment of the PC and VB2010, the procedure may differ slightly from the one
described here. For a detailed explanation on how to use VB2010, refer to the instruction manual or Help
of VB2010.
1. Create a new project.
1. Startup VB2010.
2. Select [File] - [New Project].
3. Select [Windows Forms Application] from the templates.
4. Click [OK].
83
2. Place a button.
1. Click [Button] from [Common Controls] of [Toolbox].
2. Dr ag and drop the button onto the form layout screen.
3. Change [Text] to “Start Measurement” from the Properties window.
84
4. The [Start Measurement] is placed on the form.
3. Place a serial communication component.
1. Click [SerialPort] from [Components] of [Toolbox].
2. Dr ag and drop the [SerialPort] component onto the form layout screen.
85
3. Change [PortName] to the port name to use for communication from the properties
window.
Check the port to use for communication beforehand.
4. Describe the code.
1. Double- click the placed button to display the code editor.
86
2. Enter the sample program into the code editor.
3. Select [Save All] from the [File] menu.
4. Confirm the save location and then click [Save].
87
Shown below is a sample program which uses VB2010 to enact RS-232C/USB communication, set the
instrument measurement conditions, read measurement results and then save them to file.
The sample program will be written in the following manner.
Description of creation procedure
Button created to begin measurement
Button created to close application
When the [Begin Measurement] button is pressed, the instrument performs 10 measurements and writes the
measurement values to a “data.csv” file.
When the [Close] button is pressed, the program closes.
The following program is written entirely in [Form1] code.
Imports System Imports System.IO Imports System.IO.Ports
Public Class Form1
'Perform process when Button1 is pressed
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.E ventArgs) Handles Button1.Click
Dim recvstr As String
Dim i As Integer
Try
Button1.Enabled = False 'Disable buttons during communication
Button2.Enabled = False
Dim sp As New SerialPort("COM1", 9600, Parity.None, 8, StopBits.One) 'Communication port
setting
sp.NewLine = vbCrLf 'Terminator setting
sp.ReadTimeout = 2000 '2 seconds time out
sp.Open() 'Open a port
SendSetting(sp) 'Instrument settings
FileOpen(1, "data.csv", OpenMode.Output) 'Create text file to be saved
For i = 1 To 10
sp.WriteLine(":FETCH?") 'Begin measurement and read measurement
results command
recvstr = sp.ReadLine() 'Read measurement results
WriteLine(1, recvstr) 'Write to file
Next i
FileClose(1) 'Close file
sp.Close() 'Close port
Button1.Enabled = True
Button2.Enabled = True
(a) During communication the [Begin Measurement] and [Close] buttons cannot be pressed.
(b) Matches the instrument communication conditions and the computer usage conditions.
The port to be used on the computer: 1
Transmission speed: 9600 bps Parity: none Data length: 8-bit Stop bit: 1-bit (not required with USB)
(c) Sets CR + LF as the terminator indicating the end of the sending and receiving character string.
(d) Sets the reading operation time to 2 seconds.
(e) Opens the “data.csv” file. However, if a file with this name already exists, the previous “data.csv” will be
deleted and a new file created.
(f) Sends the command to the instrument to perform one measurement and return that measurement result to
the computer.
89
7 Device Compliance S tatement [GP-IB]
“Information on compliance to standards” based on the IEEE 488.2 standard
6. Summary of functional elements for use when
constructing device specific commands, and whether
compound commands or program headers can be used
7. Buffer capacity limitations for block data Block data is not used.
8. Summary of program data elements used in
expressions, and deepest nesting level allowable in
sub-expressions, including sy ntax restrictions imposed
by the device
9. Response syntax for queries See: Message Reference (p.21)
10. Transmission congestion relating to device-to-device
messages which do not conform to the general
principles for basic response messages
The followings can be used:
•
Program message
•
Program message terminator
•
Program message unit
•
Program message unit separator
•
Command message unit
•
Query message unit
•
Command program header
•
Query program header
•
Program data
•
Character program data
•
Decimal program data
•
Character string program data
•
Compound commands and program headers
Sub-expressions are not used. Character data,
decimal data and chara cter s tring program data are th e
only program data elements used.
There are no device to device messages.
11. Response capacity for block data Block data does not appear in responses.
12. Summary of standard commands and queries used See: Message List (p.13)
13. Device state after a calibration query has been
completed without any problem
14. Existence/nonexistence of “*DDT” command The “*DDT” command is not used.
15. Existence/nonexistence of macro command Macros are not used.
16. For queries related to identifi c ation , explanation of the
response to the “*IDN?” query
17. Capacity of the user data storage area reserved for
when the “*PUD” command and the “*PUD?” query
are being executed
18. Resources when the “*RDT” command and the
“*RDT?” query are being used
19. Conditions which are influenced when “*RST”,
“*LRN?”, “*RCL”, and “*SAV” are used
20. Scope of the self-testing executed as a result of the
“*TST?” query
21. Additional organization of the status data used in a
device status report
The “*CAL?” query is not used.
See: Standard Commands (p.22)
The “*PUD” command and the “*PUD?” query are not
used. Further, there is no user data storage area.
The “*RDT” command and the “*RDT?” query are not
used. Further, there is no user data storage area.
“*LRN?”, “*RCL”, and “*SAV” are not used. The “*RST”
command returns the instrument to its initial state.
See: Standard Commands (p.22), Initialization Items
(p.11)
See: Standard Commands (p.22)
See: Event Registers (p.8)
22. Whether commands are overlap or sequential type All the commands are sequential commands.
23.Criterion relating to the functions required at the instant
that the termination message is produced, as a
response to each command
Termination occurs when the command has been
parsed.
The :READ? query finishes when the measurement
data is received.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.