![Lightware UMX-TPS-TX120 Скачать руководство пользователя страница 65](http://html.mh-extra.com/html/lightware/umx-tps-tx120/umx-tps-tx120_user-manual_1915402065.webp)
UMX-TPS-TX100 series
User’s Manual
Section 7.
LW2 Programmer’s reference
Page 65 / 127
7.
LW2 Programmer’s reference
The device can be controlled through a reduced command set of LW2 protocol commands
to ensure the compatibility with other Lightware products. The supported LW2 commands
are described in this chapter.
7.1. LW2 protocol description
The device accepts commands surrounded by curly brackets - { } - and responds data
surrounded by round brackets - ( ) - only if a command was successfully executed.
Legend for control commands:
<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²>
=
input number in 2 digit ASCII format (01, 02, 10, 12 etc.)
<out²> =
output number in 2 digit ASCII format (01, 02, 10, 12 etc.)
<loc>
=
location number in 1, 2 or 3 digit ASCII format
<id>
=
id number in 1 or 2 digit ASCII format
<id²>
=
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
7.2. General LW2 commands
7.2.1. View product type
Description
: The transmitter responds its name.
Format
Example
Command {i}
→ {i}
Response (I:<PRODUCT_TYPE>)CrLf
← (I:UMX-TPS-TX140)CrLf
Explanation:
The connected device is a UMX-TPS-TX140.
Legend:
<PRODUCT_TYPE> shows type.
7.2.2. Query control protocol
Description
: The transmitter can be controlled with different control protocols. This
command queries the active protocol for the used control interface.
Format
Example
Command {P_?}
→ {P_?}
Response
(CURRENT●PROTOCOL●=
●#<protocol>)CrLf
← (CURRENT PROTOCOL = #1)CrLf
Explanation:
The device communicates with LW2 protocol.