BK Precision BK Precision 9129B Quickstart

Model 9129B Triple Output Programmable DC Power Supply
Programming Manual
Test Equipment Depot - 800.517.8431 - 99 Washin
TestEquipmentDepot.com
gton Street Melrose, MA 02176
TABLE OF CONTENTS
1.1 Interface Connection ........................................................................................................ 4
Communication cables ................................................................................................................ 4
USB to TTL Adapter IT-E132B .................................................................................................. 4
RS-232 Settings ........................................................................................................................... 5
2.1 Parameter Definition ........................................................................................................ 6
2.2 IEEE488.2 Common Commands ....................................................................................... 6
2.3 SCPI STATUS REGISTER ...................................................................................................... 9
2.4 SYSTem Subsystem ......................................................................................................... 14
2.5 OUTPut Subsystem ......................................................................................................... 16
2.6 SOURce Subsystem ......................................................................................................... 17
2.7 MEASure Subsystem ....................................................................................................... 20
2.8 INSTrument Subsystem .................................................................................................. 21
1 Remote Operation
Do not connect the DB9 connector to a standard RS-232 serial port. Doing so may damage the instrument. The instrument outputs TTL signal levels only, and must be used with IT-E132B adapter to connect to a USB port (virtual com) on a PC.
Note: The RMT indicator will appear on display when the power supply is successfully connected to a PC remotely through any remote interface. Keys on the front panel will be locked until the instrument is in LOCAL mode. To return to LOCAL mode from the front
panel, press the key. The RMT indicator will disappear when the instrument is in LOCAL mode.
1.1 Interface Connection
Users can program the power supply by using the SCPI (Standard Commands for Programmable Instruments) commands over the TTL remote interface (via USB virtual com with IT-E132B).
Communication cables
The power supply has a DB9 connector on the rear panel that allows remote communication via the IT-E132B adapter.
USB to TTL Adapter IT-E132B
Use the IT-E132B USB to TTL adapter to connect a PC to the instrument for remote communication.
Connect the INSTRUMENT side of the adapter to the DC load DB9 connector. Connect the COMPUTER end to a USB port on your computer.
When connected, the computer will automatically install the appropriate drivers (For Windows® 7 or above). The driver is also available for download at www.bkprecision.com .
Upon successful installation of the driver, the USB connection will be registered as a virtual COM device. It can be accessed and control via the assigned COM port (This can be verified in “Device Manager”) the same way as you would with RS-232 serial interfaces.
RS-232 Settings
Note: The remote interface does not have a flow control mechanism. The programmer should be aware of this limitation and allow sufficient command process time. If the remote commands are sent too fast the power supply’s internal buffer may overrun and cause a communication error. Therefore, adding a delay between commands to allow for sufficient time to process commands is required.
In order for the computer to communicate with the power supply, both must be set to the same RS-232 settings. These communication settings are:
- Baud rate must be one of 4800, 9600, or 38400
- 8 data bits
- One stop bit
- No parity
Refer to the Error! Reference source not found. section in the Menu in the USER MANUAL for instructions on how to select a different baud rate.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
2 Remote Commands
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, can be zero, positive or negative float point numeric value
<string>
String value, characters enclosed in single or double
<LF>
New line, hex code 0x0Ah
<CR>
Carriage return, hex code 0x0Dh
2.1 Parameter Definition
The 9129B Power Supply supports the standard SCPI commands and a few proprietary commands that follow the SCPI convention. The SCPI interface of the 9129B Power Supply enables users to operate using a computer or a terminal equipped with RS-232. SCPI IEEE-488.2 also supports multi-unit control allowing a user to control up to 32 power supplies.
The following table lists all of the numerical parameters.
All commands should be terminated with the <LF> or <CR> and there should be a space between command and numerical parameter <s>.
2.2 IEEE488.2 Common Commands
Below is a list and description of all common SCPI commands supported by the instrument.
*CLS
This command clears the following registers: Standard event register Query event register Operation event register Status byte register Error code Command syntax: *CLS Parameter: None
*ESE
This command can set the parameter of the 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.
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
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 definition of the standard event enabled register:
PON Power-on CME Command error EXE Execution error DDE Device-dependent error QYE Query error OPC Operation complete
*ESR?
This command can read the value of standard event status register. After executing this command, standard event status register is reset. Bit definition of standard event status register is the same as the standard event status enable register.
Query syntax: *ESR? Parameter: None Returned parameter: <NR1>
*IDN?
This command can read the power supply information. The returned string contains 4 segments divided by comma.
Query syntax: *IDN? Parameter: None Returned parameter: <AARD> segment description Manufacturer, Model, Serial number, Software version Example: B&K Precision, 9205, 602203010697410001, V1.09-V1.04
*OPC
When all commands before this command are executed, bit OPC in standard event register will be set to 1.
Command syntax: *OPC
Loading...
+ 15 hidden pages