
6. LW2 Programmer's Reference
UMX-TPS-TX100 series – User's Manual
87
Applied firmware packages: (UMX-TPS): v1.5.0b4 | (WP-UMX-TPS): v1.4.0b8 | (FP-UMX-TPS): v1.4.0b8 | LDC software: v2.5.6b2
6.1.
LW2 Protocol Description
The protocol description hereinafter stands for Lightware protocol. The commands can be sent to the device
in RAW format via the TCP/IP port no. 10001.
The receiver 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
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.
Connect the receiver to a LAN over Ethernet.
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