beautypg.com

System scpi command reference – AMETEK SFA Series Ethernet Programming User Manual

Page 94

background image

SCPI Command Operation

SG Series Programming

6-22

M550129-03 Rev K

6.9.2

SYSTEM SCPI Command Reference

The letter “C” in the “SCPI” column means that the command syntax is
SCPI compliant; an “N” in the “SCPI” column means that the command
syntax is not part of the SCPI definition.

Command

Description

SCPI

SYSTem

System subsystem.

:ERRor?

Queries Error Queue for next error/event entry (first in, first out).
Entries contain an error number and descriptive text. A 0 return
value indicates no error occurred; negative numbers are reserved by
SCPI. The maximum return string length is 255 characters. The
queue holds up to 10 error/entries. All entries are cleared by the
*CLS command.

C

:FAULt?

Returns four numeric values separated by commas for the four
system fault registers. See System Fault Registers (Table 6-7).
Valid response is 128, 0, 0, 0 or 0, 0, 0, 0.

Response: , ,
,

N

:LOCAL

Forces the supply to local or remote state.
or <1> sets operation to local mode.
or <0> sets the operation to remote mode. There are two
noteworthy circumstances where this command may prove
necessary. The first case involves using RS232 to communicate with
the supply, since the normal GPIB mechanisms for transition between
local and remote and back again do not exist when using RS232.
The other case is when the REMOTE/LOCAL switch S1-1 is placed in
the ON position—thereby disabling the GPIB mechanism for
transition from remote to local.

N

:LOCAL?

Returns ON or 1 if in local mode.
Returns OFF or 0 if in remote mode.

N

:LOCKout

The SYST:LOCAL:LOCKOUT <0|1|OFF|ON> command provides a
means of controlling the local lockout functionality that is an
alternative to the low level GPIB LLO command. Note: This
command only works when Remote mode startup switch is ON.

In contrast, using the GPIB LLO low level command causes the
supply to be placed into the local lockout state. To place the supply
into the local lockout state, use the SYST:LOCAL:LOCKOUT
command.

N

:LOCKOUT?

Returns 0 (off) or 1 (on)

N

SYST:NET

Network device

N

:AUTOIP

Sets the network Auto IP mode in the Primary configuration without
affecting the Secondary configuration..
0 = disable AutoIP; 1 = enable AutoIP

N

:AUTOIP?

Returns 1 if AutoIP is enabled in the Primary configuration.
Returns 0 if AutoIP is disabled in the Primary configuration.

N

:DESC

Set the network Description, a 36 character alphanumeric string

N

:DESC?

Returns the network Description.

N

:DHCPMODE

Sets the network DHCP Mode in the Primary configuration without
affecting the Secondary configuration.
0 = disable DHCP; 1 = enable DHCP

N