Querying The Last Recognized Active Message (String); Querying The Last Recognized Active Message (Hex); Set The Active Timeout; Running An Immediate Event Action - Lightware RAP-B511-EU User Manual

Room automation panel
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.21.7. Querying the Last Recognized Active Message (String)
The recognized data is stored in string in the below property temporary. When the time set in the ActiveTimeout
property is elapsed, the property is cleared.
TIPS AND TRICKS:

When this property is set as a condition in the Event Manager, and the same strings
follow each other, the action will execute every occasion. (A Condition can be detected in Event Manager if
a change happens. In this case, the string is stored in the property and after the ActiveTimeout it will be
cleared. If the same string is saved into the (empty) property that will cause a change.)
Command and Response
ç GET·/MEDIA/UART/RECOGNIZER.ActiveRx
æ pr
·
/MEDIA/UART/RECOGNIZER.ActiveRx=<recognized_string>
Parameters
The
<recognized_string>
parameter is a max. 12 byte-long recognized data string.
Example
ç GET /MEDIA/UART/RECOGNIZER.ActiveRx
æ pr /MEDIA/UART/RECOGNIZER.ActiveRx=Login:
7.21.8. Querying the Last Recognized Active Message (Hex)
Command and Response
ç GET·/MEDIA/UART/RECOGNIZER.ActiveRxHex
æ pr·/MEDIA/UART/RECOGNIZER.ActiveRxHex=
Parameters
The
<recognized_hex>
parameter is the recognized data in hex format.
Example
ç GET /MEDIA/UART/RECOGNIZER.ActiveRxHex
æ pr /MEDIA/UART/RECOGNIZER.ActiveRxHex= 4C6F67696E3A
<recognized_hex>
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
RAP-B511 series – User's Manual
7.21.9. Set the Active Timeout
This property is responsible for clearing the ActiveRx, ActiveRxHex, ActiveHash properties after the elapsed
time. Default value is 50ms.
Command and Response
SET·/MEDIA/UART/RECOGNIZER.ActivePropertyTimeout=<a_timeout>
ç
pw·/MEDIA/UART/RECOGNIZER.ActivePropertyTimeout=<a_timeout>
æ
Parameters
The
<a_timeout>
parameter is the active timeout value (ms) between 0 and 255.
Example
ç SET /MEDIA/UART/RECOGNIZER.ActivePropertyTimeout=255
æ pw /MEDIA/UART/RECOGNIZER.ActivePropertyTimeout=255
7.21.10. Running an Immediate Event Action

DIFFERENCE:
This command is available from FW package v1.1.0b3.
When a message is recognized (DelimiterHex is detected in the message, or TimeOut has been elapsed
since receiving the last data bit) a specific Action of an Event can be run by the following command.
Command and Response
SET·/CTRL/TCP/C<loc>.ActionTrigger=<event_nr>
ç
pw·/CTRL/TCP/C<loc>.ActionTrigger=<event_nr>
æ
Parameters
The
<event_nr>
means the number (location) of the linked Event Action without letter 'E'. (There is no need
to define a Condition in the linked Event.)
Example
ç SET /CTRL/TCP/C1.ActivePropertyTimeout=255
æ pw /CTRL/TCP/C1.ActivePropertyTimeout=255
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rap-b511-kRap-b511-wRap-b511-sRap-b511-ukRap-b511-us

Table of Contents