NT-52P –
Kramer Protocol 3000
51
11.3.3 COM-ROUTE
Functions
Permission
Transparency
Set:
COM-ROUTE
Administrator
Internal
Get:
COM-ROUTE?
End User
Internal
Description
Syntax
Set: Set tunneling
port routing
#COM-ROUTE
␠
COM_Num,portType,ETHPort,ETH_rep_en,TCP_keep_alive_timing
␍
Get: Get tunneling
port routing
#COM-ROUTE?
␠
COM_Num
␍
Response
~nn@COM-ROUTE
␠
COM_Num,portType,ETHPort,ETH_rep_en,TCP_keep_alive_timing
␍␊
Parameters
COM_Num
– machine dependent
portType
–
1 (
UDP),
2 (
TCP)
ETHPort
– TCP/UDP port number
ETH_rep_en
–
1
(COM port sends replies to new clients),
0
(COM port does not send replies to new
clients)
TCP_keep_alive_timing
–
0-3600
seconds – every x seconds the device sends an empty string to
TCP client
("/0")
Response Triggers
Notes
This command sets tunneling port routing. Every com port can send or receive data from the ETH port.
All com ports can be configured to the same ETH port.
K-Config Example
Set COM1 as RS-232, port 1, Eth port 1, send replies, keep alive 30 seconds:
“#COM-ROUTE 1,1,1,1,30”,0x0D