Lightware RAP-B511-EU User Manual page 104

Room automation panel
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
HTTP Messaging
Setting the Target IP Address
SET·/CTRL/HTTP/C1.ServerIP=<IP_address>
ç
Setting the TCP Port
SET·/CTRL/HTTP/C1.ServerPort=<port_no>
ç
Setting the Target Path
SET·/CTRL/HTTP/C1.File=<path>
ç
Setting the Message Header
SET·/CTRL/HTTP/C1.Header=<header_text>
ç
Sending a Post Message
ç CALL·/CTRL/HTTP/C1:post(<body_text>)
Sending a Put Message
ç CALL·/CTRL/HTTP/C1:put(<body_text>)
TCP Message Recognizer
Setting the IP Address of the TCP Server
ç SET·/CTRL/TCP/C<loc>.ServerIP(<IP_address>)
Setting the TCP/IP Port Number of the TCP Server
ç SET·/CTRL/TCP/C<loc>.ServerPort(<port_no>)
Connecting to a TCP Server
ç CALL·/CTRL/TCP/C<loc>:connect()
Disconnecting from a TCP Server
ç CALL·/CTRL/TCP/C<loc>:disconnect()
Setting the Delimiter Hex
SET·/CTRL/TCP/C<loc>.DelimiterHex=<delimiter>
ç
Setting the Timeout
SET·/CTRL/TCP/C<loc>.TimeOut=<timeout>
ç
Querying the Last Recognized Message (String)
ç GET·/CTRL/TCP/C<loc>.Rx
Querying the Last Recognized Message (Hex)
ç GET·/CTRL/TCP/C<loc>.RxHex
RAP-B511 series – User's Manual
RS-232 Port Configuration
RS-232 Message Sending
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
Clearing the Last Recognized Stored Message
ç CALL·/CTRL/TCP/C<loc>:clear()
Querying the Last Recognized Active Message (String)
ç GET·/CTRL/TCP/C<loc>.ActiveRx
Querying the Last Recognized Active Message (Hex)
ç GET·/CTRL/TCP/C<loc>.ActiveRxHex
Set the Active Timeout
SET·/CTRL/TCP/C<loc>.ActivePropertyTimeout=<a_timeout>
ç
Running an Immediate Event Action
SET·/CTRL/TCP/C<loc>.ActionTrigger=<event_nr>
ç
Protocol Setting
SET·/MEDIA/UART/P1.ControlProtocol=<cont_protocol>
ç
BAUD Rate Setting
SET·/MEDIA/UART/P1.Baudrate=<baud_rate>
ç
Databit Setting
SET·/MEDIA/UART/P1.DataBits=<databit>
ç
Stopbits Setting
SET·/MEDIA/UART/P1.StopBits=<stopbit>
ç
Parity Setting
SET·/MEDIA/UART/P1.Parity=<parity>
ç
RS-232 Operation Mode
SET·/MEDIA/UART/P1.Rs232Mode=<rs232_mode>
ç
Command Injection Mode
SET·/MEDIA/UART/P1.CommandInjectionEnable=<CI_enable>
ç
Sending a Message (ASCII-format) via RS-232
ç CALL·/MEDIA/UART/P1:sendMessage(<message>)
Sending a Text (ASCII-format) via RS-232
ç CALL·/MEDIA/UART/P1:sendText(<message>)
104

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