![Lightware UMX-HDMI-140 Скачать руководство пользователя страница 69](http://html1.mh-extra.com/html/lightware/umx-hdmi-140/umx-hdmi-140_user-manual_1915487069.webp)
6. LW2 Programmer's Reference
UMX-HDMI-140 series– User's Manual
69
Applied firmware package: v1.3.0b5 | LDC software: v2.5.6b2
6.1.
Protocol Description
The protocol description hereinafter stands for Lightware protocol. The below listed commands can be sent
to the device in RAW format via the TCP/IP port no. 10001.
The device accepts commands surrounded by curly brackets - { } - and responds data surrounded by round
brackets - ( ) - only if a command was successfully executed. All input commands are converted to uppercase,
but respond commands can contain upper and lower case letters as well.
Legend for Control Commands
Format
Explanation
<
in
>
Input number in 1 or 2 digit ASCII format (01, 5, 07, 16, etc.)
<
out
>
Output number in 1 or 2 digit ASCII format
<
in
/
out
>
input or output port number in 1 or 2 digit ASCII format *
<
in2
>
Input number in 2 digit ASCII format (01, 02, 10, 12 etc.)
<
out2
>
Output number in 2 digit ASCII format (01, 02, 10, 12 etc.)
<
in2/out2
>
input or output number in 2 digit ASCII format*
<
loc
>
Location number in 1, 2 or 3 digit ASCII format
<
id
>
id number in 1 or 2 digit ASCII format
<
id2
>
id number in 2 digit ASCII format
CrLf
Carriage return, Line feed (0x0D, 0x0A)
·
Space character (0x20)
→
Each command issued by the controller
←
Each response received from the router
* The command has the same arguments on the input ports and the output port, as well.
6.2.
Instructions for the Terminal Application Usage
Terminal Application
The LW2 protocol commands can be applied to the
device using a terminal application. You need to
install one of them to your control device, for example
Putty
or
CLI
.
Establishing Connection
Follow the steps for establishing connection to the
device:
Step 1.
Connect the device to a LAN over Ethernet (see
the details in the
section).
Step 2.
Open the terminal application (e.g. Putty).
Step 3.
Add the
IP address
of the device (default:
192.168.0.100) and the
port number (10001)
.
Step 4.
Select the
Raw
connection type, and open the
connection.
Once the terminal window is opened, you can enter
the LW2 protocol commands which are listed in the following sections.
LW2 protocol command communication in a terminal window