4. Device Concept
RAP-B511 series
– User's Manual
25
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
4.3.
Inputs 2. - Automation Options
The below-listed features give an opportunity to "automate" the control system, and the Room Automation
Panel reacts to the inputs automatically, user intervention is not necessary.
These inputs can be set as a condition in the
in the
Software Control - Lightware Device
(LDC) software.
They trigger the desired actions.
4.3.1.
Real-Time Clock
The real-time clock feature supports the storage of the exact time in the device. The time can be programmed
as a condition in the event manager: single and weekly repetitive events may be configured with this function.
Local time elements (years, months, days, etc.) help customize the proper timing of the actions.
A BR1632A battery is supplied with the product, it ensures the fluent operation of the built-in timer while the
device is not powered.
The battery is designed for life-long usage in a fixed installation, so it cannot be replaced!
Real-Time Clock Settings
The flowchart below displays the correlation of the time properties. The
red
colored settings can be defined
by the user, the others generated automatically.
Flowchart of the real-time clock configuration process
INFO:
All settings of the Real-time clock is possible using the Lightware Device Contoller software (see
section) or via LW3 protocol commands (in the
section).
Local Time
(RTC)
Universal Time
Coordinated (UTC)
Network Time
Protocol (NTP)
Source:
•
DHCP server
•
Local network (with
NTP server)
Source:
NTP time
Source:
•
NTP time
•
Set the RTC manually
+ timezone setting
+ daylight saving
setting
Local Time
Elements
Source:
RTC time
Years
Months
Days
Hours
Weekday
...
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) has arrived or the timeout has 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
RS-232 Recognizer Example
The lamp can be turned on and off both 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 another device.
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
TRUE
Result
The lamp is
turned on
Incoming
RS-232 mes
sage
‘the lamp is
turned on’
Send
RS-232 mes
sage
‘turn on
the lamp’