BK Precision BK Precision 9801-220V Quickstart

Model: 9801
Programmab le AC Power Source
PROGRAMMING MANUAL
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Table of Contents
1 Remote Operation ........................................................................................ 4
RS-232 ..................................................................................................................................... 4
USBTMC ................................................................................................................................... 4
2 Remote Comm and s ...................................................................................... 5
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
1 Remote Operation
PIN
Description
1 - 2
Transmit Dat a
3
Receive Data
4 - 5
GND
6
-
7 - 8
-
9
-
1 2 3 4 5 6 7 8 9
1.1 Interface Connection
RS-232
For RS-232 connectivity, refer to the diagram below for pin out information. The RS-232 is labeled in the rear panel and it is a female DB-9 interface.
A straight pin-to-pin DB9 female to DB9 male serial cable is required for using the RS-232 interface. Do not use a null modem or crossover DB9 serial cable.
Refer to the user manual for details on configuring all serial settings as required for RS-232 communication.
USBTMC
The standard USB port is a USBTMC-compliant port that can be used for remote communication. There are no settings in the menu system for USB configuration. The only requirement is that NI-VISA is installed on the computer, which can be downl oaded at http://www.ni.com/visa/.
Symbol
Response Formats
<bool>
Boolean value, can be 1 or “ON”, 0 or “OFF”
<NR1>
Integer value, can be zero, positive or negative integer number
<NRf>
Flexible numerical value, c an be z ero, positive or negativ e float point numeric value
<string>
String value, charac t ers enclosed in single or double
<NL>
New line, hex code 0x0Ah
<Rtn>
Return, hex code 0x0Dh
2 Remote Commands
2.1 Parameter Definitions
The 9800 Series po wer supplies support c ommunication proto cols, which include standard SCPI commands and a few proprietary command s that follow the SCPI convention. The SCPI i nt erface enables users to operate the power suppl y t hrough a computer or a terminal equipped wi t h RS-232, or USB interface. SCPI IEEE-488.2 also sup ports multi-unit control allowing a user to control up to 32 power supplies. The following table lists all of the numerical parameters.
All commands sho uld be ended with the <Rtn> a nd <NL> and there should be a space between command and numerical parameter.
2.2 IEEE488.2 Common Commands
Here’s a list and description of all common SCPI commands supported by the instrument.
*CLS
This command clears the following registers. Standard event r egister Query event register Operation eve nt register Status byte register Error code Command syntax: *CLS Parameter: None
*ESE
Bit
Position
7 6 5 4 3 2 1
0
Bit Name
PON
Not
used
CME
EXE
DDE
QYE
Not
used
OPC
Bit Weight
128 32
16 8 4 1
This command can set the parameter of standard event enable register. Setting parameter can determine which bit of standard event register is 1 and the byte will enable ESB of status byte register as 1. Command syntax: *ESE <NR1> Parameter: 0~255 The value when power on: Refer to *PSC command Example: *ESE 128 Query syntax: *ESE? Returned parameter: <NR1> The bit definitio n of the standard event enabl e d r eg i s te r:
PON Power-on CME Command error EXE Execution error DDE Device-de pendent error QYE Query error OPC Operation complete
*ESR?
This command can read the value of standard event status register. After exe c uti ng thi s command, standard event status register is reset. Bit definition of standard event status register is the same as the standard event s tatus enable register. Query syntax: *ESR? Parameter: None Returned parameter: <NR1>
*IDN?
This command can read information about power supply. The returns parameter contains 4 segments divided by comma. Query syntax: *IDN? Parameter: None Returned parameter: <AARD> segment description B&K Precision Manufacturer 9801 Product model XXXXXX Product serial number VXXX –VXXX Software version Example: B&K Precision, 9801, 00000000000004, V1.01-V1.00
*OPC
When all commands before this command are executed, bit OPC in standard event register will be set to 1. Command syntax: *OPC Parameter: None Query syntax: *OPC? Returned parameter: <NR1>
*RST
This command resets the power supply to default s ettings. Command syntax: *RST Parameter: None
*SRE
This command can set the parameter of state byte enable register. Setting parameter can determine which byte value of state byte register is 1 and the byte will set RQS of state byte register to 1. Bit definition of state byte enable register is the same a s the state byte register. Command syntax: *SRE <NR1> Parameter: 0~255 Query syntax: *SRE? Returned parameter: <NR1>
*STB?
This command can read the data from status byte register. Query syntax: *STB? Parameter: None Returned parameter: <NR1>
*TRG
When power supply trigger source is a command from via BUS, this command will give a trigger signal. And its function is the same as “TRIGger” command. Query syntax: *TRG Parameter: None Returned parameter: None
*SAV
This command can save the current setups of power supply to specified memory. The memory is divided into 10 groups, each contain 0~9 (10 total) setups. Up to 100 setups can be saved in total. Command syntax: *SAV<NRf> Parameter: 0~9
*RCL
This command can recall the setups you saved previously from the specified memory location. Command syntax: *RCL<NRf>
Parameter: 0~9
2.3 STATUS Subsystem
You can get the current status of the power supply by reading the operation status registers. The power supply records the different status of the instrument through the four status register group. The four status registe r groups are: status byte register, standard event regist er, query status register and operation status register. Status byte register records the informa ti on of the other status registers.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Loading...
+ 20 hidden pages