Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Remote Operation
PIN
Description
1 - 2
Transmit Data
3
Receive Data
4 - 5
GND
6
-
7
CTS
8
RTS
9
-
Parameter
Description
Baud rate
9600, 19200, 28800, 38400, 48000, 57600, and 115200.
1 2 3 4 5
6 7 8
9
The instrument comes with RS232C, USB (virtual COM), LAN, and GPIB (895 only) interfaces for
remote control. This chapter will describe how users can remotely operate the instrument and
use SCPI (Standard Commands for Programmable Instruments) commands over any one of
these remote interfaces.
1.1 Interface Configuration
RS-232C
For RS-232C connectivity, refer to the diagram below for pinout information. The RS-232C is
labeled in the rear panel and it is a female DB-9 interface. Use a crossover cable where pins 2
and 3 are reversed.
Parity and
data bit
None/8 bits, Even/8 bits, Odd/8 bits
Stop bit
1, 2
Flow control
None
Table 1 - RS-232C Settings
The RS-232C interface does not support hardware flow control (only
transmit, receive, and ground pins are used). The programmer should be
aware of this limitation and notice the command process time of the LCR
meter. If the remote commands are sent too fast to the LCR meter, the
internal buffer may overrun and cause a communication error. Therefore,
adding a delay between commands is necessary to allow time for the
meter to process.
The USB interface does not support hardware flow control (only transmit,
receive, and ground pins are used). The programmer should be aware of
this limitation and notice the command process time of the LCR meter. If
the remote commands are sent too fast to the LCR meter, the internal
buffer may overrun and cause a communication error. Therefore, adding a
delay between commands is necessary to allow time for the meter to
process.
USB (USBCDC - Virtual COM )
The standard USB port is a virtual COM port that can be used for remote communication. There
are no settings in the menu system for USB configuration. The serial settings are the same as
the settings for RS-232C.
USBTMC
USB The standard USB port is a USBTMC-compliant port that can be used for remote
communication. There are no additional settings in the menu system for USB configuration. The
only requirement is that NI-VISA is installed on the computer, which can be downloaded at
http://www.ni.com/visa/.
LAN (Ethernet)
The 894/895 can also be controlled via LAN interface. Refer to the user manual for setup
information.
GPIB (895 Only)
The GPIB address of the LCR meter can be configured from 1-31. To communicate via GPIB,
connect a GPIB cable to the GPIB port at the back of the LCR meter.
Command Reference
Symbol
Response Formats
NR1
integer, e.g.:123
NR2
fix-point number, e.g.: 12.3
NR3
floating-point number, e.g.: 12.3E+5
NL
Carriage return key, ASCII code: 10
^END
EOI signal in IEEE-488. EOI gets asserted
on the GPIB interface.
The SCPI interface enables users to operate the power supply through a computer or a terminal
equipped with IEEE-488.2 GPIB, RS-232, or USB interface.
The following table lists all of the numerical parameters:
2.1 IEEE488.2 Common Commands
*RST
The *RST command resets the instrument.
Command syntax: *RST
*TRG
The *TRG command triggers the measurement and then sends the result to the output buffer.
Command syntax: *TRG
*CLS
The *CLS command clears the standard event status register and the service request status
register.
Command syntax: *CLS
*IDN?
The *IDN? query returns the instrument’s ID.
Query syntax: *IDN?
<manufacturer> Name of Manufacturer ( B&K Precision)
<model> Instrument Model (895)
<SN> XX-XXX-XXXXX
Bit number
Description
7
6
5
4
3
2
1
0
Power On(PON) Bit
User Request(URQ) Bit
Command Error(EME) Bit
Execution Error(EXE) Bit
Device Dependent Error(DDE) Bit
Query Error(QYE) Bit
Request Control(RQC) Bit
Operation Complete(OPC) Bit
<firmware> Firmware Version (VER1.0.0)
<HW_version> Hardware Version (Hardware Ver XX.X)
*TST?
The *TST? query executes an internal self test and returns the test result as the sum of all
existing errors codes. If there are no error 894/895 returns 0.
Query syntax: *TST?
Return format: <NR1><NL^END>
*ESE
The *ESE (standard Event Status Enable command) command sets each open bit of the
standard event status register. This command returns setups of each open bit for the standard
event status permission register.
Command syntax: *ESE<value>
Query syntax: *ESE?
Return format: <value><NL^END>
Where, <value> NR1 format:decimal number for each bit of operation status register.
Descriptions for each byte of the standard event status register are shown as follows:
*SRE
The *SRE (Service Request Enable command)command sets each open bit of the service
status byte register. This command returns the current setups for each open bit of the status
byte permission register.
Command syntax: *SRE<value>
Query syntax: *SRE?
Return format: <value><NL^END>
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Where, <value> NR1 format: decimal expression for each permission bit of the status byte
Bit number
Description
7
6
5
4
3-0
Operation Status Register Summary Bit
RQS(Request Service) Bit
Standard Event Status Register Summary Bit
MAV(Message Available) Bit
Always 0(zero):
Bit number
Description
7
6
5
4
3
2
1
0
Power On(PON) Bit
User Request(URQ) Bit
Command Error(EME) Bit
Execution Error(EXE) Bit
Device Dependent Error(DDE) Bit
Query Error(QYE) Bit
Request Control(RQC) Bit
Operation Complete(OPC) Bit
register.
Descriptions for each byte of the status byte register are shown as follows:
*ESR
The *ESR? query returns the contents of the standard event status register.
Query syntax: *ESR?
Return format: <value><NL^END>
Where, <value> NR1 format: decimal expression for contents of the standard event status
register.
Descriptions for each bit of the standard event status register
*STB?
The *STB? query returns contents of the standard service status byte register. The execution of
this command will not affect contents of the standard status byte register.
Query syntax: *STB?
Return format: <value><NL^END>
Where, <value> NR1 format: decimal expression for contents of the standard status byte
register.
Descriptions for each bit of the standard status byte register:
*OPC
Short Version
Long Version
DISP
DISPlay
FREQ
FREQuency
VOLT
VOLTage
CURR
CURRent
AMPL
AMPLitude
ORES
Output RESistance
OUTP
OUTPut
BIAS
BIAS
FUNC
FUNCtion
LIST
LIST
APER
APERture
TRIG
TRIGger
FETC
FETCh?
CORR
CORRection
Bit number
Description
7
6
5
4
3-0
Operation Status Register Summary Bit
RQS(Request Service) Bit
Standard Event Status Register Summary Bit
MAV(Message Available) Bit
Always 0(zero)
The *OPC command equals to set the OPC bit of the standard event status register when
894/895 finishes all parameter measurements. Ever since all pending operations have been
completed, this command will inform the instrument to add a ASCII number “1” (number: 49)
into the output buffer.
Command syntax: *OPC
For example: OUTPUT 717; “*OPC” Sets the OPC bit of the instrument when the last command
is done.
Query syntax: *OPC?
Return format: 1<NL^END>
2.2 Subsystem commands for 894/895
Find below a list of the subsystem commands for the LCR meter. For SCPI commands, there is a
short and long form. In the list below, find the short version in bold and in capital letters, the
long version of the command is the entire word.
COMP
COMParator
MMEM
Mass MEMory
2.3 DISPlay subsystem commands
The command tree for the Display Subsystem is as follows:
DISP:PAGE
Command Syntax
DISPlay:PAGE<page name>
Query syntax
DISPlay:PAGE?
Query returns the current page.
Return format
<page name><NL^END>
Example 1
DISP:PAGE MEAS
Set the display page as the LCR measurement
display page.
Example 2
DISP:PAGE?
Returns: MEAS DISP
Page name
Function
MEASurement
Set the display page as the LCR measurement
display.
BNUMber
Set the display page as the bin number display.
BCOunt
Set the display page as the bin count display.
LIST
Set the display page as the list sweep display.
MSETup
Set the display page as the measurement display.
CSETup
Set the display page as the correction setup.
LTABle
Set the display page as the limit table setup.
LSETup
Set the display page as the list sweep setup.
SYSTem
Set the display page as the system setup page.
FLISt
Set the display page as the file list page.
Command Syntax
DISPlay:LINE ”<string>”
Query syntax
DISPlay:LINE?
DISPlay subsystem commands are used to configure the display pages of the instrument.
Where <Page name> can be set as the following items:
DISP:LINE
The DISP:LINE command is used to enter comments containing up to 16 ASCII characters in the
comment field. The string “BK89xATS” is displayed if this is empty.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Loading...
+ 31 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.