beautypg.com

GW Instek PSM-Series Programming Manual User Manual

Page 7

background image

PSM SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 11 ⎯

Leaf Node

Command Header

The command header has a hierarchical structure that can be represented by
a command tree (Figure 4).
The top level of the tree is the root level. A root node is located at the root
level. A root node and one or more lower-level nodes form a header path to
the last node called the leaf node.

Figure 4: Tree hierarchy

The command header is configured by header path and leaf node. Figure 5
shows the command header for the leaf node indicated in Figure 4.

Figure 5 Command Header

Leaf

:SYSTem

Root node

:ERRor

:STAT

e

:AUTO

:STARt

:CYCL

e

Lower-level node

PSM SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 12 ⎯

Parameter

If the commands have parameters, the values have to be included. In this
manual, when we expressed the syntax of the command, the < > symbols
are used for enclosing the parameter type. For instance, the syntax of the
command in Figure 6 includes the Boolean parameter type.

NOTE: Do not include the <, >, or | symbols when entering the actual
value for a parameter.

Figure 6 Command Header with Parameter

Message Terminator and Message Separator

z GPIB message terminators

In accordance with IEEE 488.2 standard, any of the following message

terminators are acceptable:

z

LF

^

END

Line feed code (hexadecimal 0A) with END
message

z

LF

Line feed code

z

^

END

Last data byte with END message

These terminators are compatible with most application programs. A
semicolon separates one command from another when the commands
appear on the same line.