User's Manual

Table Of Contents
Kramer Electronics Ltd.
PA-120Z, PA-240Z Protocol 3000
44
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
ETH-PORT
Functions
Permission
Transparency
Set:
ETH-PORT
Administrator
Public
Get:
ETH-PORT?
End User
Public
Description
Syntax
Set:
Set Ethernet port protocol
#ETH-PORTSPportType,ETHPortCR
Get:
Get Ethernet port protocol
#ETH-PORT?SPportTypeCR
Response
~nn@ETH-PORTSPportType,ETHPortCR LF
Parameters
portType 0 (TCP), 1 (UDP)
ETHPort 0-65534 (TCP / UDP port number)
Notes
If the port number you enter is already in use, an error is returned.
The port number must be within the following range: 2000-(2^16-1).
UDP port 50001 and TCP port 5001 are reserved for internal use.
K-Config Example
Set the Ethernet port protocol for TCP to port 12457:
“#ETH-PORT 0,12457”,0x0D