16-37
IM 765501-01E
Communication
Commands
3
2
1
6
5
4
9
8
7
12
11
10
15
14
13
18
17
16
16
Index
App
:SYSTem:COMMunicate:ETHer:MAC?
Function
Queries the MAC address of Ethernet
communication.
Syntax
:SYSTem:COMMunicate:ETHer:MAC?
→
<String> = String representing the MAC
address in “h:h:h:h:h:h” format (where h is a
hexadecimal number between 00 and FF)
Example
:SYST:COMM:ETH:MAC?
:SYSTem:COMMunicate:ETHer:PORT?
Function
Queries the command socket port number of
Ethernet communication.
Syntax
:SYSTem:COMMunicate:ETHer:PORT? ->
7655
Example
:SYST:COMM:ETH:PORT?
Description A port number used for the command socket.
Port 7655 is used on the GS610.
:SYSTem:COMMunicate:ETHer:DHCP
Function
Sets DHCP (ON or OFF) of Ethernet
communication or queries the current setting.
Syntax
:SYSTem:COMMunicate:ETHer:DHCP 1|0|
ON|OFF
1 or ON = Turns DHCP ON.
0 or OFF = Turns DHCP OFF.
:SYSTem:COMMunicate:ETHer:DHCP?
→
1 = Currently ON
0 = Currently OFF
Example
:SYST:COMM:ETH:DHCP ON
:SYST:COMM:ETH:DHCP?
:SYSTem:COMMunicate:ETHer:IP
Function
Sets the IP address of Ethernet communication
or queries the current setting.
Syntax
:SYSTem:COMMunicate:ETHer:IP
<String>
:SYSTem:COMMunicate:ETHer:IP?
→
<String> = String representing the address
in “d.d.d.d” format (where d is a decimal
number between 0 and 255)
Example
:SYST:COMM:ETH:IP "10.0.128.64"
:SYST:COMM:ETH:IP?
Description The result varies depending on the DHCP state.
If DHCP is OFF, the specified fixed value is
returned. If DHCP is ON, a dynamic result
assigned through DHCP is returned. If the
dynamic address is being assigned or the
address assignment failed, “0.0.0.0” is returned.
16.2 Commands
:SYSTem:COMMunicate:ETHer:MASK
Function
Sets the net mask of Ethernet communication or
queries the current setting.
Syntax
:SYSTem:COMMunicate:ETHer:MASK
<String>
:SYSTem:COMMunicate:ETHer:MASK?
→
<String> = String representing the address
in “d.d.d.d” format (where d is a decimal
number between 0 and 255)
Example
:SYST:COMM:ETH:MASK "255.255.254.0"
:SYST:COMM:ETH:MASK?
Description The result varies depending on the DHCP state.
If DHCP is OFF, the specified fixed value is
returned. If DHCP is ON, a dynamic result
assigned through DHCP is returned. If the
dynamic address is being assigned or the
address assignment failed, “0.0.0.0” is returned.
:SYSTem:COMMunicate:ETHer:GATE
Function
Sets the default gateway of Ethernet
communication or queries the current setting.
Syntax
:SYSTem:COMMunicate:ETHer:GATE
<String>
:SYSTem:COMMunicate:ETHer:GATE?
→
<String> = String representing the address
in “d.d.d.d” format (where d is a decimal
number between 0 and 255)
Example
:SYST:COMM:ETH:GATE "10.0.129.255"
:SYST:COMM:ETH:GATE?
Description The result varies depending on the DHCP state.
If DHCP is OFF, the specified fixed value is
returned. If DHCP is ON, a dynamic result
assigned through DHCP is returned. If the
dynamic address is being assigned or the
address assignment failed, “0.0.0.0” is returned.
:SYSTem:COMMunicate:ETHer:TERMinator?
Function
Sets the terminator (CR, LF, or CR+LF) of
Ethernet communication or queries the current
setting.
Syntax
:SYSTem:COMMunicate:ETHer:
TERMinator CR|LF|CRLF
CR = Sets the terminator to CR (ASCII code:
0x0D).
LF = Sets the terminator to LF (ASCII code:
0x0A).
CRLF = Sets the terminator to CR+LF.
:SYSTem:COMMunicate:ETHer:
TERMinator?
→
CR = Currently set to CR
LF = Currently set to LF
CRLF = Currently set to CR+LF
Example
:SYST:COMM:ETH:TERM LF
:SYST:COMM:ETH:TERM?
Description This setting is the terminator for transmission
messages. When receiving messages, CR, LF,
and CR+LF are all accepted as terminators.