Instructions
RIGOL  Chapter 2 Command System 
2-148  DG2000 Programming Guide 
Description 
Sets the subnet mask. 
Queries the subnet mask. 
Parameter 
Name 
Type 
Range 
Default 
<mask> 
ASCII String 
Refer to "Remarks". 
None 
Remarks   
  This command is only valid when the ManualIP configuration mode 
(
:SYSTem:COMMunicate:LAN:STATic[:STATe]) is enabled. 
  The format of <mask> is "nnn.nnn.nnn.nnn". The range of "nnn" is from 0 to 255. You are 
recommended to ask your network administrator for a subnet mask available. 
  After sending this command, the new settings will only take effect when 
the 
:SYSTem:COMMunicate:LAN:APPLy command is executed to apply the current network 
parameters. 
  The subnet mask must be continuous, that is, 1 and 0 must be continuous. 
Return Format 
The query returns a string. For example, 255.255.255.0. 
Example 
:SYST:COMM:LAN:SMAS 255.255.255.0  /*Sets the subnet mask to 255.255.255.0.*/ 
:SYST:COMM:LAN:SMAS?  /*Queries the subnet mask and the query returns 255.255.255.0.*/ 
:SYSTem:COMMunicate:LAN:STATic[:STATe] 
Syntax 
:SYSTem:COMMunicate:LAN:STATic[:STATe] {ON|1|OFF|0} 
:SYSTem:COMMunicate:LAN:STATic[:STATe]? 
Description 
Enables or disables the manual IP configuration mode. 
Queries the status of the manual IP configuration mode. 
Parameter 
Name 
Type 
Range 
Default 
{ON|1|OFF|0} 
Bool 
ON|1|OFF|0 
OFF 
Remarks   
  In ManualIP mode, the network parameters of the generator, e.g. IP address, are defined by users. 
  If all the three IP configuration modes are set to "On", the priority of parameters configuration from 
high to low is "DHCP", "AutoIP", and "ManualIP". Therefore, to enable the ManualIP mode, set DHCP 
and AutoIP to "Off". 
  The three IP configuration modes cannot be set to "Off" at the same time. 
  After sending this command, the new settings will only take effect when 
the 
:SYSTem:COMMunicate:LAN:APPLy command is executed to apply the current network 
parameters. 
Return Format 
The query returns ON or OFF. 
Example   
:SYST:COMM:LAN:STAT ON    /*Enables the ManualIP configuration mode.*/ 
:SYST:COMM:LAN:STAT?       /*Queries the status of the ManualIP configuration mode and the query 
returns ON.*/ 










