6. LW2 Programmers’ Reference
MMX6x2-HT series – User's Manual
47
LW2 Programmers’ Reference
Lightware MMX6x2-HT family can be controlled with external devices which
can communicate according to the extender protocol. The supported LW2
commands are described in this chapter.
6.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.
6.2.
General LW2 Commands
6.2.1.
View Product Type
Description:
The device responds its name.
Format
Example
Command {I}
→
{i}
Response
(<PRODUCT_TYPE>)CrLf
←
(I:MMX6x2-HT220)
Explanation:
The connected device is an MMX6x2-HT220.
Legend:
<PRODUCT_TYPE> shows type.
6.2.2.
View Serial Number
Description: The device responds its 8-digit serial number.
Format
Example
Command {s}
→
{s}
Response
(SN:<SERIAL_N>)CrLf
←
(SN:7A000941)
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
2
>
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
Î
Î
Î
Î
Î