Units, Conventions, Queries – AMETEK SFA Series Ethernet Programming User Manual
Page 81
SG Series Programming
SCPI Command Operation
M550129-03 Rev K
6-9
6.3.2
Units
The SGA/SGI power supplies will accept the following units as suffixes to
numeric values:
UNITS
Type of Unit
Valid Suffix
Voltage
“VOLTS” or “volts”, “V” or “v”, “MV” or “mv” or “mV”
Current
“AMPS” or “amps”, “A” or “a”, “MA” or “ma” or “mA”
Time
“SEC” or “sec”, “S” or “s”, “MS” or “ms”, “MIN” or “min”
Frequency
“HZ” or “hz”
The default units are VOLTS, AMPS, SEC, and HZ.
For example, “
SOUR:VOLT 1
” programs 1 volt.
To program in units of millivolts, type “
SOUR:VOLT 1mV
”.
6.3.3
Conventions
SCPI uses the conventions where optional commands and parameters
are enclosed by “[ ]”. Additionally the shorthand version of a command is
indicated by capital letters.
For example,
SOURce:VOLTage[:LEVel][:IMMediate][:AMPLitude]
120.0
can be written as
SOURce:VOLTage
120.0
or
SOUR:VOLT
120.0
6.3.4
Queries
The query syntax is identical to the command syntax with a “?” appended.
For example, to query the programmed voltage, send the string:
SOURce:VOLTage?.
A subsequent device read will return a value such
as “33.000”. All queries are terminated with a carriage return and line feed
(0x0D 0x0A). When the power supply has nothing to report, its output
buffer will contain two ASCII characters: a carriage return and linefeed (in
decimal the values are: <13><10>).