6.6.1 Interface Commands 139
| www.lakeshore.com
NET? Network Settings Query
Input NET?[term]
Returned <DHCP>,<AUTO IP>,<IP>,<Sub Mask>,<Gateway>,<Pri DNS>,<Sec DNS>,<Pref Host>,<Pref
Domain>,<Description>[term]
Format n,n,dd,dd,dd,dd,dd,s[15],s[64],s[32] (refer to command for description)
NETID? Network Configuration Query
Input NETID?[term]
Returned <lan status>,<IP>,<sub mask>,<gateway>,<pri DNS>,<sec DNS>,<mac addr>,<actual host-
name>,<actual domain>[term]
Format n,dd,dd,dd,dd,dd,hh:hh:hh:hh:hh:hh,s[15],s[32]
<lan status> Current status of Ethernet connection: 0 = Connected Using
Static IP, 1 = Connected Using DHCP, 2 = Connected Using
Auto IP, 3 = Address Not Acquired Error, 4 = Duplicate Initial
IP Address Error, 5 = Duplicate Ongoing IP Address Error,
6 = Cable Unplugged, 7 = Module Error, 8 = Acquiring
Address, 9 = Ethernet Disabled. Refer to section 6.4.2.1 for
details on lan status.
<IP> Configured IP address
<sub mask> Configured subnet mask
<gateway> Configured gateway address
<pri DNS> Configured primary DNS address
<sec DNS> Configured secondary DNS address
<actual hostname> Assigned hostname
<actual domain> Assigned domain
<mac addr> Module MAC address.
Remarks This query returns the configured Ethernet parameters. If the Ethernet interface is
not configured then IP, subnet mask, gateway, primary DNS and secondary DNS
parameters will be 0.0.0.0.
OPST? Operational Status Query
Input OPST? [term]
Returned <bit weighting> [term]
Format nnn
Remarks The integer returned represents the sum of the bit weighting of the operational sta-
tus bits. Refer to section 6.2.5.2 for a list of operational status bits.
OPSTE Operational Status Enable Command
Input OPSTE <bit weighting> [term]
Format nnn
Remarks Each bit has a bit weighting and represents the enable/disable mask of the corre-
sponding operational status bit in the Operational Status Register. This determines
which status bits can set the corresponding summary bit in the Status Byte Register.
To enable a status bit, send the command OPSTE with the sum of the bit weighting for
each desired bit. Refer to section 6.2.5.2 for a list of operational status bits.
OPSTE? Operational Status Enable Query
Input OPSTE?[term]
Returned <bit weighting> [term]
Format nnn (Refer to section 6.2.5.2 for a list of operational status bits)