HP 6645A and 6655A power supplies (hp.6645a, hp.6655a)¶
The 664xA and 665xA single-output supplies share one driver and command set; only their limits differ. Pick the model in the Add device dialog. The other models of each series (6641A to 6644A, 6651A to 6654A) work with the same driver, but its limits are the 6645A's or the 6655A's.
| Model | Voltage | Current | Over-voltage | Current limit after *RST |
Simulator |
|---|---|---|---|---|---|
| 6645A | to 122.85 V | to 1.535 A | to 132 V | 0.006 A | feeding 100 Ω |
| 6655A | to 122.85 V | to 4.095 A | to 132 V | 0.016 A | feeding 50 Ω |
Ratings from Table 3-1 of the programming guide; the same in Table 2-3 of the service manual.
Connection¶
GPIB: usbtmc://03EB:2065 (UsbGpib),
prologix://COM4/5 (Prologix or AR488 adapter, GPIB address 5) or
visa://GPIB0::5::INSTR. See Connecting instruments
for what Benchloom does with a Prologix or AR488 adapter.
Find devices recognizes the supply by its *IDN? reply (any 6641A to 6645A
or 6651A to 6655A), once it is set to SCPI.
Commands¶
- Output:
set_voltage,set_current,get_voltage_setting,get_current_setting(programmed values, not measurements),set_output,is_output_on,wait_settled(waits until changes have settled,*OPC?). - Protection:
set_ovp,get_ovp,set_ocp,is_ocp_on,set_protection_delay/get_protection_delay(0 to 32.767 s, 0.2 s after*RST: how long a CV, CC or unregulated state must last before it is reported; it also delays the over-current trip, not the over-voltage one),clear_protection. - Measurements and status:
measure_voltage,measure_current,measure_power,get_mode(CV, CC or OFF),get_faults(active now),get_latched_faults(every fault since the last call or the connection, even one that is gone again; reading clears them). - Triggered changes:
set_triggered_voltageandset_triggered_currentset levels that wait for a trigger;arm_triggerarms it for one trigger,set_trigger_continuous(true)keeps it armed;triggerapplies the levels,abort_triggerdrops them;is_waiting_for_trigger. Unarmed, a trigger is ignored. - Stored states:
save_state(location)andrecall_state(location), 0 to 4: voltage, current, protection, delay, output on/off, relay and digital port. The memory is non-volatile, and location 0 may be the power-on state. Careful: recalling can switch the output on at the saved voltage. - Display:
display_text(up to 12 characters, 15 with.,:; A–Z, 0–9, space and_ | " $ < > + - / = ? . : ,; letters are shown in upper case, other characters are refused),display_normal,set_display. - Output relay (option 760 only):
set_relay,set_relay_polarity(NORMorREV). Without the option the supply refuses them (-241, "Hardware missing").get_optionslists the options (0when there are none). - Digital port (when its internal jumper sets it to digital I/O):
set_digital_port(0 to 7),get_digital_port; bit 0 = pin 1, bit 1 = pin 2, bit 2 = pin 3, which is an input for 0 to 3 and an output for 4 to 7 (chart on p. 36). - Other:
self_test(*TST?, 0 when it passes), plus the common SCPI commands (idn,reset,clear,get_error,write,query,query_number).
Behaviour¶
- When it connects:
STAT:PRES(so every fault is latched forget_latched_faults) and*CLS(clears the error queue: an old error would otherwise fail the first setting). - Error checking: after each setting the driver asks the supply for errors,
so a rejected command fails at the line that sent it. Turn this off with
check_errors = falseif it is too slow. - Language: the supply must be set to SCPI. When it connects, the driver
checks that
*IDN?names a model of the chosen series. A supply set to the ARPS compatibility language (appendix B of the programming guide) does not answer*IDN?; the driver then asksID?and says so. SendSYST:LANG TMSLonce to switch: the supply keeps the language at power-off and, on switching, recalls the state saved in location 0, output on or off included. - Not included: calibration; the guide leaves it to appendix A of the Operating Guide, which Benchloom was not written from.
Sources¶
Keysight programming guide for the 664xA, 665xA, 667xA, 668xA and 669xA supplies (part no. 5964-8269) and the Keysight service manual for the 654xA, 655xA, 664xA and 665xA supplies.
Uncertain: the guide's text says pin 3 of the digital port becomes an input
when it is "programmed high", the chart the opposite (bit 2 = 0 is input); the
driver follows the chart. The guide also says *RCL takes 0 to 3, and *SAV 0
to 4 on the 664xA, 665xA and 667xA; a 6645A and a 6655A recalled location 4.
Tried on hardware¶
A 6645A and a 6655A (both firmware fA.02.02 sA.01.06 pA.02.01, no options), each through an AR488, at up to 10 V into a KP184 load: CV, CC at the current limit, the over-voltage and over-current trips, clearing them and the latched faults, triggered changes (single, continuous, abort), the protection delay, saving and recalling location 4, display text and display off, self-test, the relay commands refused without the option, reading the digital port, and the output switched off when the test ends. Not tried: the relay with the option, writing the digital port, the other 664xA and 665xA models.
Seen on the bench¶
- 6655A: it came set to the compatibility language and answered
ID?withID HP6655A; afterSYST:LANG TMSLit answered*IDN?.VOLT? MAX,CURR? MAX,VOLT:PROT? MAXandOUTP:PROT:DEL? MAXgave 122.85 V, 4.095 A, 132 V and 32.767 s, as in the manuals. Once, on the first trigger after the switch to SCPI,is_waiting_for_triggerstill said true after a single trigger (the level was applied); in 14 tries since, with the output off and on, it said false at once. - 6645A: it answered
CURR? MAXwith 1.537 A; the driver keeps the guide's 1.535 A.OUTP:PROT:DEL? MAXgave 32.767 s (Table 3-1 says 32.727, the command summary 32.767).*OPC?and*TST?answer+1and+0. Set to the compatibility language, it answeredID?withID HP6645A; the manual namesID?(Table B-1) but not its reply.