![background image](http://html.mh-extra.com/html/kramer/vs-622dt/vs-622dt_user-manual_2001387083.webp)
Kramer Electronics Ltd.
VS-622DT
– Protocol 3000
81
I/O Gateway Commands
Command
Description
COM-ROUTE
Set/get tunneling port routing
ETH-TUNNEL
Get opened tunnel parameters
FV
Set/get tunneling mode
GPIO-CFG
Set/get HW GPIO configuration
GPIO-STATE
Set/get HW GPIO state
GPIO-STEP
Set/get HW GPIO step
GPIO-THR
Set/get HW GPIO threshold voltage
GPIO-VOLT
Get HW GPIO voltage level
IR-SND
Send IR command to port
IR-STOP
Send IR stop command to port
RELAY-STATE
Set/get relay state
COM-ROUTE
Command Name
Permission
Transparency
Set:
–
–
–
Get:
COM-ROUTE?
End User
Internal
Description
Syntax
Set:
Set tunneling port routing
#
COM-ROUTE
SP
COM_Num,portType,ETHPort,ETH_rep_en,
TCP_keep_alive_timing
CR
Get:
Get tunneling port routing #
COM-ROUTE?
SP
COM_Num
CR
Response
~nn@
COM-
ROUTE
SP
COM_Num,portType,ETHPort,ETH_rep_en,TCP_keep_alive_timing
CR LF
Parameters
COM_Num
–
1
(DATA RS-232),
2
(HDBT OUT 1),
*
(get all route tunnels)
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
to
3600
seconds - every
x
seconds the device sends an empty
string to TCP client ("/0")
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 tunnel port 1 routing:
“#
COM-ROUTE 1,2,5001,0,40
”,0x0D