Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-164
077114601 / March 2019
Before you use this command to get control of the instrument, make sure this interface is unlocked. If
the interface is locked, sending
SYST:COMM:ABOR
causes error 511, "Communication not permitted:
This interface is locked, send
SYSTem:PASSword:UNLock
with a password to unlock it."
Example
:SYSTem:COMMunication:ABORt
For example, if the present active interface is USB,
send this command through GPIB. After that, GPIB
is activated and USB is blocked.
Also see
(on page 7-172)
(on page 7-174)
:SYSTem:COMMunication:LAN:CONFigure
This command specifies the LAN configuration for the instrument.
Type
Affected by
Where saved
Default value
Command and query
Not applicable
Nonvolatile memory
AUTO
Usage
:SYSTem:COMMunication:LAN:CONFigure AUTO
:SYSTem:COMMunication:LAN:CONFigure MANual,"<IPaddress>"
:SYSTem:COMMunication:LAN:CONFigure MANual,"<IPaddress>","<NETmask>"
:SYSTem:COMMunication:LAN:CONFigure MANual,"<IPaddress>","<NETmask>","<GATeway>"
:SYSTem:COMMunication:LAN:CONFigure?
AUTO
Use automatically configured LAN settings (default)
MANual
Use manually configured LAN settings
<IPaddress>
LAN IP address; must be a string specifying the IP address in dotted decimal
notation; required if the mode is set to manual (default "0.0.0.0")
<NETmask>
The LAN subnet mask; must be a string in dotted decimal notation (default
"255.255.255.0")
<GATeway>
The LAN default gateway; must be a string in dotted decimal notation (default
"0.0.0.0")
Details
This command specifies how the LAN IP address and other LAN settings are assigned. If automatic
configuration is selected, the instrument automatically determines the LAN information. When the
method is automatic, the instrument first attempts to configure the LAN settings using dynamic host
configuration protocol (DHCP). If DHCP fails, it tries dynamic link local addressing (DLLA). If DLLA
fails, an error occurs.
If manual is selected, you must define the IP address. You can also assign a subnet mask and a
default gateway. The IP address, subnet mask, and default gateway must be formatted in four groups
of numbers, each separated by a decimal. If you do not specify a subnet mask or default gateway, the
previous settings are used.