13
GUIDE TO PROGRAMMING
Remote Programming
The PS300 series High Voltage Power Supplies
may be remotely programmed via the GPIB (IEEE-
488) interface. Any computer supporting this
interface may be used to program the PS300.
The PS300 supports the IEEE-488.1 (1978)
interface standard. Additionally, it also supports
the required common commands of the IEEE-488.2
(1987) Standard. Before attempting to
communicate with the PS300 over the GPIB
interface, the PS300's device address must be set.
The address is set from the front panel by pressing
the GPIB key and using the up and down arrow
keys to set the address to any number between 0
and 30. Pressing the ENTER key then sets the
selection.
Command Syntax
Communications with the PS300 use ASCII
characters. Commands may be in either UPPER or
lower case and may contain any number of
embedded space characters.
A command to the PS300 consists of a four
character command mnemonic, arguments if
necessary, and a command terminator. The
terminator is a linefeed <lf> or EOI. No command
processing occurs until a command terminator is
received. Command mnemonics beginning with an
asterisk "*" are IEEE-488.2 (1987) defined
common commands. Commands may require one
or more parameters. Multiple parameters are
separated by commas ",".
Multiple commands may be sent on one command
line by separating them by semicolons ";". The
difference between sending several commands on
the same line and sending several independent
commands is when a command line is parsed and
executed, the entire line is executed before any
other device action proceeds. This allows
synchronization to be achieved using the
synchronization commands.
There is no necessity to wait between commands.
The PS300 has a 256 character input buffer and
processes commands in the order received. If the
buffer fills up, the PS300 will hold off handshaking
on the GPIB. Similarly, the PS300 has a 256
character output buffer to store output until the host
computer is ready to receive it. If the output buffer
fills up, it is cleared and an error reported.
The present value of a particular parameter may be
determined by querying the PS300 for its value. A
query is formed by appending a question mark "?"
to the command mnemonic and omitting the
desired parameter from the command. If multiple
queries are sent on one command line (separated
by semicolons, of course), the answers will be
returned in a single response line with the
individual responses separated by semicolons. The
default response terminator that the PS300 sends
with any answer to a query is a linefeed plus EOI.
All commands return integer results except as
noted in individual command descriptions.
Examples:
VSET1.0E3<lf> sets VSET to 1000 V
VSET?<lf> queries the value of
VSET
*IDN? <lf> queries the device
identification (query, no
parameters)
VSET100.0;VSET? <lf> sets voltage to 100 V
and queries the voltage
Detailed Command List
The four letter mnemonic in each command
sequence specifies the command. The rest of the
sequence consists of parameters. Multiple
parameters are separated by commas. Commands
that may be queried have a question mark ? in
parentheses (?) after the mnemonic. Commands
that may ONLY be queried have a ? after the
mnemonic. Commands that MAY NOT be queried
have no?.
Output Control Commands
HVOF
The HVOF command turns the high voltage OFF.
HVON
The HVON command turns the high voltage ON
provided that the front panel high voltage switch is
not in the OFF position. If the switch is in the OFF
position, the high voltage is left off and an