man8/BMutil

Table of Contents

Name

BMutil - Setup utility for Danfysik Power Supplies

Synopsis

BMutil [--local <iopath>] | [--remote <host>,<port>]

Description

Setup and test utility for a Danfysik 8000/8500/9000 seires power supplies.

This program can be used to exercise various functions of a danfysik supply. It may be used to set configuration data, scale internal ADCs, read statuses, and test basic functionality.

The list of commands can be found by starting the program and typing h.

Arguments

--local <iopath>

<iopath> is the path to the device node.
--remote <host>,<port>

<host> is the hostname of the terminal server. <port> is the port name/number.

Argument Usage

Only one of --local or --remote may be used.

Operator Commands

These commands may be used while running the program.

h
Display a list of operator commands.

on
Turn the DC power control to on.

off
Turn the DC power control to off.

rem
Set the supply to REMOTE mode.

loc
Set the supply to LOCAL mode.

cmd
Read the supply’s present mode.

va
Set the display and readback characters to V/A (Volts and Amperes).

This command is used when Danfysik ships a supply calibrated for percent output. In addition to this command, the ADC gains must be adjusted (see below).

This command sets the following in the AUX register:
- Transparent Mode
- Off & Clear (allows the use of DCoff to reset the supply)
- Leading Zeroes
- A/V Display Units
- CAMAC Test Disabled
- Unipolar

pc
Set the display and readback characters to percent.

This command is used when output in percent is desired. There is almost no need for this command, as NEC does not use this mode. In addition to this command, the ADC gains must be adjusted (see below).

This command sets the following in the AUX register:
- Transparent Mode
- Off & Clear (allows the use of DCoff to reset the supply)
- Leading Zeroes
- Percent Display Units
- CAMAC Test Disabled
- Unipolar

set
Set the current control value in PPM (parts per million). This is usually a range of 0 to 999999.

ramp
Ramp the current control value to a target PPM over a set time frame (in seconds).

adseta
Adjust ADC gains for current read. To use this, first ramp/set the supply to full current. Wait for the supply to warm-up/settle. Once the supply is up to full current, use this command to set the max current value (in amperes).

This command is used in conjuction with the va and pc commands.

adsetv
Adjust ADC gains for voltage read. To use this, first ramp/set the supply to full current. Wait for the supply to warm-up/settle. Once the supply is up to full current, use this command to set the max voltage value. To get the most accurate value for this, use a voltmeter to measure the present voltage immediately before issuing this command. A supply may be up to its maximum rated current and not be up to maximum voltage.

This command is used in conjuction with the va and pc commands.

adsetda
Adjust ADC gains for the display panel current read on some supplies. See adseta for instructions.

adset
Adjust ADC gain for a user-input channel.

This is a special-case command. Use adseta/adsetv/adsetda where appropriate.

adgainam
Manually adjust ADC gains using a scaling factor and offset for current read.

This command is used in conjuction with the va and pc commands.

adgainvm
Manually adjust ADC gains using a scaling factor and offset for voltage read.

This command is used in conjuction with the va and pc commands.

adreada
Read the ADC gain values from the supply for the current readback.

adreadv
Read the ADC gain values from the supply for the voltage readback.

adreadda
Read the ADC gain values from the supply for the dispaly panel current readback on some supplies.

adread
Read the ADC gain values from the supply for a user-input channel.

This is a special-case command. Use adreada/adreadv/adreadda where appropriate.

daseta
Adjust DAC

gain for the supply current control

This is used to correct when a supply is not properly scaled 0 - 999999 ppm.

dareada
Read the DAC gain values from the supply for the current control.

This is used to verify that daseta settings were applied.

pulses
Set the ON pulse time. Time is on a scale 1=100msec with a maximum of 255 (25500msec=25.5sec).

pulser
Read the ON pulse time. Time is on a scale 1=100msec with a maximum of 255 (25500msec=25.5sec).

clocks
Set the date and time.

clockr
Read the date and time.

coldboots
Set the supply to default to REM or LOC mode.

coldbootr
Read the default REM/LOC mode setting from the supply.

bauds
Set the remote serial connection baud rate.

baudr
Read the remote serial connection baud rate.

status
Read the present current and voltage values as displayed on the supply LCD.

ver
Read the firmware version from the supply.

clean
Empty out the input buffer for the serial line.

exit
Exit the program.

Examples


BMutil --local /dev/ttyS0
BMutil --remote csdev_t1 ETSraw1

Manual page revision

$Id: BMutil.8,v 1.3 2009/10/08 19:05:07 stodola Exp $


Table of Contents