7. LW3 Programmers’ Reference
MMX4x2 series – User's Manual
119
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
7.16.11. Querying the Last Recognized Active Message (Hex)
Command and Response
ç
GET·/CTRL/TCP/C
<loc>
.ActiveRxHex
æ
pr·/CTRL/TCP/C
<loc>
.ActiveRxHex=
<recognized_hex>
Parameters
The
<recognized_hex>
parameter is the recognized data in hex format.
Example
ç
GET /CTRL/TCP/C1.ActiveRxHex
æ
pr /CTRL/TCP/C1.ActiveRxHex=4175644F75742B00
INFO:
Please note that the property contains the data until the
ActivePropertyTimeout
passes only.
7.16.12.
Setting 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·/CTRL/TCP/C
<loc>
.ActivePropertyTimeout=
<a_timeout>
æ
pw·/CTRL/TCP/C
<loc>
.ActivePropertyTimeout=
<a_timeout>
Parameters
The
<a_timeout>
parameter is the active timeout value (ms) between 0 and 255.
Example
ç
SET /CTRL/TCP/C1.ActivePropertyTimeout=255
æ
pw /CTRL/TCP/C1.ActivePropertyTimeout=255
7.16.13.
Running an Immediate Event Action
When a message is recognized (DelimiterHex is detected in the message, or TimeOut has passed 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