![Lightware DP-TPS-TX210 Скачать руководство пользователя страница 68](http://html.mh-extra.com/html/lightware/dp-tps-tx210/dp-tps-tx210_user-manual_1915323068.webp)
6.LW2Programmer'sReference
HDMI-TPS-TX200series–User'sManual
68
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
6.1.
Protocol Description
TheprotocoldescriptionhereinafterstandsforLightwareprotocol.Thecommandscanbesenttothedevice
inRAWformatviatheTCP/IPportno.10001.
The receiver accepts commands surrounded by curly brackets - { } - and responds data surrounded by
roundbrackets-()-onlyifacommandwassuccessfullyexecuted.Allinputcommandsareconvertedto
uppercase, but respond commands can contain upper and lower case letters as well.
Legend for Control Commands
Format
Explanation
<in>
Inputnumberin1or2digitASCIIformat(01,5,07,16,etc.)
<out>
Outputnumberin1or2digitASCIIformat
<in/out>
inputoroutputportnumberin1or2digitASCIIformat*
<in2>
Inputnumberin2digitASCIIformat(01,02,10,12etc.)
<out2>
Outputnumberin2digitASCIIformat(01,02,10,12etc.)
<in2/out2>
inputoroutputnumberin2digitASCIIformat*
<loc>
Locationnumberin1,2or3digitASCIIformat
<id>
idnumberin1or2digitASCIIformat
<id2>
idnumberin2digitASCIIformat
CrLf
Carriagereturn,Linefeed(0x0D,0x0A)
·
Spacecharacter(0x20)
→
Each command issued by the controller
Each response received from the router
*Thecommandhasthesameargumentsontheinputportsandtheoutputport,aswell.
6.2.
Instructions for the Terminal Application Usage
Terminal Application
TheLW2protocolcommandscanbeappliedtothe
receiver using a terminal application. You need to
install one of them to your control device, for example
Putty
or
CLI
.
#terminal
Establishing Connection
Follow the steps for establishing connection to the
receiver:
Step 1.
ConnectthereceivertoaLANoverEthernet.
Step 2.
Opentheterminalapplication(e.g.Putty).
Step 3.
Add the
IP address
of the device (default:
192.168.0.100)andthe
port number (10001)
.
Step 4.
Selectthe
Raw
connection type, and open the
connection.
Once the terminal window is opened, you can enter
theLW2protocolcommandswhicharelistedinthe
followingsections.
LW2 protocol command communication in a terminal window