beautypg.com

Communication commands – GW Instek PSB-2000 Series User Manual User Manual

Page 110

background image

PSB-2000 Series User Manual

110

Communication Commands

Description

Every communication command consists of
general alphanumeric characters and symbols
and a header, which is the abbreviation of a
function. Parameters can be either an integer
(NR1) or a floating point number with decimal
places (NR2). Parameters following the tenth
character are ignored. Decimal places are
rounded off according to the actual setting
resolution. Responses contain no header. Only
parameters are sent as responses.

LF (0×0A) is used as the delimiter, which indicates
the end_of_data. Multple commands consisting of
several continuous commands are not applicable
to the PSB 2000 Series power supply units. Thus,
commands must be separated with delimiters. If
delimiters are used, the interface unit
automatically controls the flow of communication.
Commands and queries are accepted whether
they are written in capital letters or lowercase
letters.

Use the address command ―:ADDR‖ to specify a
System Address of a slave unit when
communicating with a slave unit on the local
bus from the PC. Since address 1 has been set
by default, the System Address of the master
unit is to be specified.

Commands that are only applicable to the dual
channel model (PSB-2400L2) will cause an error
if they are used with a single channel model. If a
command is to used for either channel, ―:A‖ or
―:B‖ should be added to the command to specify
which channel the command applies to. (:A
represents CH1, :B represents CH2 )