![background image](http://html.mh-extra.com/html/kramer/vs-622dt/vs-622dt_user-manual_2001387078.webp)
Kramer Electronics Ltd.
VS-622DT
– Protocol 3000
76
ETH-PORT
Functions
Permission
Transparency
Set:
ETH-PORT
Administrator
Public
Get:
ETH-PORT?
End User
Public
Description
Syntax
Set:
Set Ethernet port protocol
#
ETH-PORT
SP
portType,ETHPort
CR
Get:
Get Ethernet port protocol
#
ETH-PORT?
SP
portType
CR
Response
~nn@
ETH-PORT
SP
portType,ETHPort
CR LF
Parameters
portType
– string of 3 letters indicating the port type:
TCP
,
UDP
ETHPort
– TCP / UDP port number:
0-65565
Notes
If the port number you enter is already in use, an error is returned.
The port number must be within the following range: 0-(2^16-1).
K-Config Example
Set the Ethernet port protocol for TCP to port 12457:
“#ETH
-
PORT TCP,12457”,0x0D
NET-CONFIG
Functions
Permission
Transparency
Set:
NET-CONFIG
End User
Public
Get:
NET-CONFIG?
End User
Public
Description
Syntax
Set:
Set a network configuration.
#
NET-CONFIG
SP
id,ip,net_mask,gateway
CR LF
Get:
Get a network configuration.
#
NET-CONFIG?
SP
id
CR LF
Response
Get:
~nn@
NET-CONFIG
SP
id,ip,net_mask,gateway
CR LF
Parameters
id
– Ethernet connection ID number:
0
ip
– network IP address, in the following format:
xxx.xxx.xxx.xxx
net_mask
– network mask, in the following format:
xxx.xxx.xxx.xxx
gateway
– network gateway, in the following format:
xxx.xxx.xxx.xxx
Example
Set the device network parameters to IP address 192.168.113.10, net mask 255.255.0.0, and
gateway 192.168.0.1:
#NET-CONFIG 0,192.168.113.10,255.255.0.0,192.168.0.1<CR>