EasyManua.ls Logo

Kramer SL-280 - Page 42

Kramer SL-280
67 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Kramer Electronics Ltd.
SL-280 – Protocol 3000
40
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 – string of 3 letters indicating the port type: TCP, UDP
ETHPort
– TCP / UDP port number: 0–65535
Response Triggers
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)
Example
Set the Ethernet port protocol for TCP to port 12457:
#ETH-PORT TCP,12457<CR>
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 ␠id,ip,net_mask,gateway␍␊
Get:
Get a network
configuration.
#NET-CONFIG?
␠id␍␊
Response
Get: ~nn
@NET-CONFIG ␠␠
id,ip,net_mask,gateway
␍␊
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
Response Triggers
Notes
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>