beautypg.com

GW Instek APS-1102 User Manual User Manual

Page 182

background image

6.3 Command Descriptions

APS-1102 Programmable AC/DC Power Source

6-10

b) SCPI data format

All command messages and acknowledge messages sent to the APS-1102 are in “ASCII” format.

Table 6-11. Numerical Value Data Format

Symbol Data

Format

Numerical values without a decimal point (decimal position is to the right of the
smallest digit in value) Example: 273

Numerical value with explicit decimal point Example: .0273

Numerical value with explicit decimal point and exponent Example: 2.73E+2

Boolean value (logical value) Example: 0 | 1 or ON | OFF

Table 6-12. Character Data Format

Symbol

Data Format

Character format Example: SIN

Character format with double quotations Example: “No error”

Binary block data format

The binary block data format is shown in Figure 6-1.

Figure 6-1. Binary Block Data

The “non-zero numeral” element value indicates the number of “numeral” elements that follow
afterward. The “numeral” element value indicates the number of “8-bit data byte” elements that
follow afterward.
For example, the format is as follows when sending four of the 8-bit data byte .

#14


c) Common commands

The common commands are used to provide overall control of device functions, such as device reset
and status monitoring. These common commands have three-letter names that start with an asterisk.

Non-zero
numerals

Numerals

8-bit data byte