Kramer Electronics Ltd.
VS-44H2
– Protocol 3000
52
Function
Description
Syntax
Parameters/Attributes
Example
NET-
CONFIG?
Get a network
configuration.
COMMAND
#NET-CONFIG?
netw_id
<CR>
FEEDBACK
~nn@NET-CONFIG
netw_id
,
net_ip
,
net_mask
,
gateway
<CR><LF>
netw_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….
net_ip
– Network IP
net_mask
– Network mask
gateway
– Network gateway
Get network configuration:
#NET-CONFIG?
id
<CR>
NET-DHCP
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.
COMMAND
#NET-DHCP
netw_id
,
dhcp_state
<CR>
FEEDBACK
~nn@NET-DHCP
netw_id
,
dhcp_state
<CR><LF>
netw_id
– Network ID–the device
network interface (if there are more
than one). Counting is 0 based,
meaning the control port i
s ‘0’,
additional ports are 1,2,3….
dhcp_state
–
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-DHCP
0
,
1
<CR>
NET-DHCP?
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?
netw_id
<CR>
FEEDBACK
~nn@NET-DHCP
netw_id
,
dhcp_mode
<CR><LF>
netw_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….
dhcp_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:
#NET-DHCP?
0
<CR>
NET-DNS?
Get DNS name server.
There is no “Set”
command. Use NET-
CONFIG to set up
network, including DNS
name servers.
If dns_id is out of the
defined DNS range,
Error Code #3
(ERR_PARAMETER_O
UT_OF_RANGE) is
returned.
If no dns_id is defined,
Error Code #3 is
returned for any dns_id.
COMMAND
#NET-DNS?
dns_id
<CR>
FEEDBACK
~nn@NET-DNS
dns_id
,
dns_ip
<CR><LF>
dns_id
– ID of the DNS name
server to retrieve, indexing starts at
“0”
dns_ip
– IP address of the DNS
server
Get DNS name server:
#NET-DNS?
<CR>
NET-GATE
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.
Note that this command
is DEPRECATED and
is now replaced by
NET-CONFIG
command.
COMMAND
#NET-GATE
ip_address
<CR>
FEEDBACK
~nn@NET-GATE
ip_address
<CR><LF>
ip_address
– Format:
xxx.xxx.xxx.xxx
Set the gateway IP address
to 192.168.0.1:
#NET-
GATE
192
.
168
.
000
.
001
<
CR>