BS and BSA Bias Supply Series and User Manual, Rev 2.60
www.stahl-electronics.com phone: +49 6242-504882, fax: +49 6242 504884
27
“HV023 5 16 b” = “HV” + “003” + “ 5” + “ 16” + “ b”
That means: a HV-series or BS-series device answers, serial number is 023, voltage range +/-5V, 16
channels, and having bipolar outputs. This identifier string is programmed into the FlashRom of every
HV / BS series device by factory.
The different string options are:
first string part: always “HV”, also for BS devices
2
nd
part: serial number between “001” and “999”
3
rd
part: voltage in volts, can be any (integer) number between 1 and 100000
4
th
part: number of channels, presently either “2”, “4”, “8”, “10”, “12” or “16”
5
th
part: “b” like bipolar or “u” like unipolar “q” like quadrupole lens supply, “s” like
steerer supply, “m” repesents a bipolar device with 1/1000 (‘m’ like ‘milli’ of
the stated number, e.g. 100 m means range of +/-100mV
Command Examples for setting a voltage:
Example a:
The command “HV014 CH02 0.00000” puts channel number 2 on minimum voltage, i.e.
-10V for a device with +/-10V outputs (assuming the devices serial number is 014).
Example b:
The command “HV014 CH02 1.00000” puts channel number 2 on maximum voltage, i.e. +10V for a
device with +/-10V outputs
Example c:
The command “HV014 CH02 0.50000” puts channel number 2 on half span between minimum and
maximum, which is zero voltage.
All other voltages between “0.00000” and “1.00000” are scaled linearly, e.g. “0.75000” represents
75% of full span above minimum voltage, which is +2.5V for a +/-5V device.
The user is free to choose the number of digits sent after the decimal point from 5 to 7; however, for
exploiting the devices internal resolution of 16 Bits (or higher in customized version) at least 6 digits
should be used.
Display Command:
The display command shows clear (ASCII) text strings on the front panel LCD display. This is
specially of relevance for self-written programs, since the set voltage (command see above) is not
automatically displayed as clear visible text on the display. A control device should therefor send two
comands if a voltage is changed: the ‘set voltage’ command (see above) and the ‘display command’
subsequently. The latter brings clear text to a specified line, e.g. ‘HV014 DIS L CH01 10.000V’ will
show the text string ’10.000V’ in the line associated with channel number 1. The user may create this
string to be sent and also eventually scale it, as certain applications may require. Note that the
provided LabVIEW
TM
program automatically sends this string, each time a voltage is changed.
Coding of the 16 channels/bits into the control 4 bytes B
3
B
2
B
1
B
0
:
The following encoding is used for the “Check Lock” command.
The first 4 bits (= upper nibble) of every Byte is always 0001 = 16
dec
. This is in order to avoid certain
bit-combinations, which could cause trouble to USB/RS232-based communication (like “enter”,
“escape”).
Next 4 bits (=lower nibble):
in B
3
: ch16 ch15 ch14 ch13
in B
2
: ch12 ch11 ch10 ch09
in B
1
: ch08 ch07 ch06 ch05
in B
0
: ch04 ch03 ch02 ch01
For instance B
0
= 0001 0011 means, that 3 and 4 are ok, 1 and 2 not locked (or overloaded).