Get a network
configuration.
COMMAND
#NET-CONFIG?id<CR>
FEEDBACK
~nn@NET-CONFIGid,ip,net_mask,gateway<CR><LF>
id – Network ID–the device network
interface (if there are more than one).
Counting is 0 based, meaning the control
port is ‘0’, additional ports are 1,2,3….
ip – Network IP
net_mask – Network mask
gateway – Network gateway
Get network configuration:
#NET-CONFIG?id<CR>
Set DHCP mode.
Only 1 is relevant
for the mode value. To
disable DHCP, the
user must configure a
static IP address for
the device.
Connecting Ethernet to
devices with DHCP
may take more time in
some networks.
To connect with a
randomly assigned IP
by DHCP, specify the
device DNS name (if
available) using the
NAME command. You
can also get an
assigned IP by direct
connection to USB or
RS-232 protocol port, if
available.
For proper settings
consult your network
administrator.
For Backward
compatibility, the id
parameter can be
omitted. In this case,
the Network ID, by
default, is 0, which is
the Ethernet control
port.
P3K NET-IP is the
standard IP address
settings/change
command, while
following NET-DHCP
user must manually set
the static IP address
via NET-IP
COMMAND
#NET-DHCPid,mode<CR>
FEEDBACK
~nn@NET-DHCPid,mode<CR><LF>
id – Network ID–the device network
interface (if there are more than one).
Counting is 0 based, meaning the control
port is ‘0’, additional ports are 1,2,3….
mode –
1 – Try to use DHCP. (If unavailable,
use the IP address set by the factory
or the NET-IP command).
Enable DHCP mode for port 1,
if available:
#NET-DHCP1,1<CR>
Get DHCP mode.
For Backward
compatibility, the id
parameter can be
omitted. In this case,
the Network ID, by
default, is 0, which is
the Ethernet control
port.
COMMAND
#NET-DHCP?id<CR>
FEEDBACK
~nn@NET-DHCPid,mode<CR><LF>
id – Network ID–the device network
interface (if there are more than one).
Counting is 0 based, meaning the control
port is ‘0’, additional ports are 1,2,3….
mode –
0 – Do not use DHCP. Use the IP set by
the factory or using the NET-IP or
NET-CONFIG command.
1 – Try to use DHCP. If unavailable, use
the IP set by the factory or using the
NET-IP or NET-CONFIG command.
Get DHCP mode for port 1:
#NET-DHCP?1<CR>
Set gateway IP.
A network gateway
connects the device
via another network
and maybe over the
Internet. Be careful of
security issues. For
proper settings consult
your network
administrator.
COMMAND
#NET-GATEip_address<CR>
FEEDBACK
~nn@NET-GATEip_address<CR><LF>
ip_address – Format: xxx.xxx.xxx.xxx
Set the gateway IP address to
192.168.0.1:
#NET-
GATE192.168.000.001<CR
>
Get gateway IP.
A network gateway
connects the device
via another network
and maybe over the
Internet. Be aware of
security problems.
COMMAND
#NET-GATE?<CR>
FEEDBACK
~nn@NET-GATEip_address<CR><LF>
ip_address – Format: xxx.xxx.xxx.xxx
Get the gateway IP address:
#NET-GATE?<CR>
Set IP address.
For proper settings
consult your network
administrator.
P3K NET-IP is the
standard IP address
settings/change
command, while
following NET-DHCP
user must manually set
the static IP address
via NET-IP
COMMAND
#NET-IPip_address<CR>
FEEDBACK
~nn@NET-IPip_address<CR><LF>
ip_address – Format: xxx.xxx.xxx.xxx
Set the IP address to
192.168.1.39:
#NET-
IP192.168.001.039<CR>
COMMAND
#NET-IP?<CR>
FEEDBACK
~nn@NET-IPip_address<CR><LF>
ip_address – Format: xxx.xxx.xxx.xxx
Get the IP address:
#NET-IP?<CR>