VS-44DT - Protocol 3000
59
59
11.4.6
Communication Commands
Command
Description
ETH-PORT
Set/get Ethernet port protocol
NET-DHCP
Set/get DHCP mode
NET-GATE
Set/get gateway IP
NET-IP
Set/get IP address
NET-MAC
Get MAC address
NET-MASK
Set/get subnet mask
11.4.6.1 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
– TCP=
0
, UDP=
1
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 0,12457”,0x0D