![Kramer SL-280 Скачать руководство пользователя страница 42](http://html1.mh-extra.com/html/kramer/sl-280/sl-280_user-manual_2000924042.webp)
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-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
–
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>