Recognizer - Lightware RAP-B511-EU-K User Manual

Room automation panel
Table of Contents

Advertisement

 
4. Device Concept
4.3.2. RS-232 Recognizer
This tool is able to recognize and store the incoming RS-232 message until the previously defined string
(delimiter) is arrived or the timeout elapsed after the last data. The last incoming serial data is stored and it
can trigger an action in Event Manager.
ATTENTION! The recognizer function works, when the operation mode of the RS-232 port is control or
command injection (in this case, one of the Ethernet socket have to be opened). For more details about
the operation modes see
Serial Interface
RS-232 Recognizer Example
The lamp can be turned on and off with the light switch and the RAP-B511. When the lamp turned off by the
switch, the relay box sends an RS-232 status message to the RAP-B511 to inform, and that the lamp was
turned off. When the lamp is controlled with RAP-B511 next time, the device sends the 'turn on' command to
the relay box of the lamp. This example shows how to syncronize the same control function in the RAP with
an other device.
RS-232
ON
OFF
AUTO
RAP-B511
Light switch
At first, configure the recognizer for the serial communication, after that, configure the Button1.
Step 1. Enable the operation of the recognizer, set an optimal timeout (e.g. 30 ms). Set the RS-232 operation
mode to Control.
The flowcharts below show the process of the system. The blue highlight boxes display the settings which
connected to the RS-232 recognizer.
Turn on the lamp
User interaction
Button press 1.
Interaction state
Incoming
RS-232 mes
sage
'the lamp is
turned on'
section.
Relay box
Send
sage
RS-232 mes
'turn on
TRUE
the lamp'
RAP-B511 series – User's Manual
Turn off the lamp
User interaction
Button press 2.
Incoming
RS-232 mes
'the lamp is
turned off'
Do the following setting on the UI Config page:
Step 2. Select the Button1 and set the operation mode to Toggle. The first button press changes the interaction
state to true. It happens automatically.
Step 3. Choose the TRUE feedbacks tab and click on the RS-232 message recognized condition. Write the serial
message which is sent by the relay box about the lamp status in the entry field of the pop-up window
(e.g. 'the lamp is turned on'). Click Ok to save.
Step 4. Choose the FALSE feedbacks tab and click on the RS-232 message recognized condition. Write the serial
message which is sent by the relay box about the lamp status in the entry field of the pop-up window
(e.g. 'the lamp is turned off'). Click Ok to save.
The RS-232 recognizer settings has to be done with Lightware Device Controller Software (see
Lamp
details in see
RS-232 Recognizer
For more information about the button configuration, see
Result
The lamp is
turned on
Interaction state
RS-232 mes
FALSE
sage
Message recognizer
section) or with LW3 protocol commands (see more information in
section).
UI Config Menu
20
Send
Result
sage
The lamp is
'turn off the
lamp'
turned off
section.

Advertisement

Table of Contents
loading

Table of Contents