Lightware RAP-B511-EU User Manual page 105

Room automation panel
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
Sending a Binary Message (HEX-format) via RS-232
ç CALL·/MEDIA/UART/P1:sendBinaryMessage(<message>)
Using Hexadecimal Codes
RS-232 Message Recognizer
Enable the Recognizer
SET·/MEDIA/UART/<serial_port>.RecognizerEnable=<recognizer_enable>
ç
Set the Delimiter Hex
SET·/MEDIA/UART/RECOGNIZER.DelimiterHex=<delimiter>
ç
Set the Timeout
SET·/MEDIA/UART/RECOGNIZER.TimeOut=<timeout>
ç
Querying the Last Recognized Message (String)
ç GET·/MEDIA/UART/RECOGNIZER.Rx
Querying the Last Recognized Message(Hex)
ç GET·/MEDIA/UART/RECOGNIZER.RxHex
Clearing the Last Recognized Stored Message
ç CALL·/MEDIA/UART/RECOGNIZER:clear()
Querying the Last Recognized Active Message (String)
ç GET·/MEDIA/UART/RECOGNIZER.ActiveRx
Querying the Last Recognized Active Message (Hex)
ç GET·/MEDIA/UART/RECOGNIZER.ActiveRxHex
Set the Active Timeout
SET·/MEDIA/UART/RECOGNIZER.ActivePropertyTimeout=<a_timeout>
ç
Running an Immediate Event Action
SET·/CTRL/TCP/C<loc>.ActionTrigger=<event_nr>
ç
GPIO Port Configuration
Set the Direction of a GPIO Pin
SET·/MEDIA/GPIO/<gpio_port>.Direction=<dir>
ç
Set the Output Level of a GPIO Pin
SET·/MEDIA/GPIO/<gpio_port>.Output=<value>
ç
Toggle the Level of a GPIO Pin
ç CALL·/MEDIA/GPIO/<gpio_port>:toggle()
RAP-B511 series – User's Manual
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
105

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