beautypg.com

2 system scpi command reference, System scpi command reference -25 – AMETEK M130 User Manual

Page 75

background image

Sorensen Ethernet Option

IEEE 488.2 and SCPI Command Operation

M130/M131 Programming Manual

3-25

3.10.2 SYSTEM

SCPI

C

OMMAND

R

EFERENCE

Command

Description

SCPI

SYSTem

System subsystem.

C

: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 below (e.g., 1, 1, 2, 4
indicates ch 1, 9, 18, and 27 each have at least
one fault).
Response: , ,
,

N

:VERsion?

Returns a numeric value corresponding to the
SCPI version number for which the instrument
complies. The response is in the format YYYY.V
where the Y’s represent the year and V
represents the approved version number for that
year (e.g., 1995.0)

C

SYSTem[n]

System [channel number]

:LOCAL

SYST[N]:LOCAL is a special
purpose programming command that may be
used to cause source [N] to be set to the local
state or to the remote state. This command has
two noteworthy circumstances under which it
may prove necessary. The first case involves
using RS232 to communicate with the supply,
since the normal GPIB or Ethernet 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 or Ethernet mechanism for
transition from remote to local. The
SYST[N]:LOCAL ON command provides a
means for the system computer to force source
[N] to the local state. Also, the
SYST[N]:LOCAL? query command is available
to examine the local-remote state of the supply.
And the command SYST[N]:LOCAL OFF may
be used to force supply [N] to the remote state.

N

This manual is related to the following products: