Port Configuration; Protocol Setting; Baud Rate Setting; Databit Setting - Lightware RAP-B511-EU-K User Manual

Room automation panel
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.10. RS-232 Port Configuration
7.10.1. Protocol Setting
Command and Response
SET·/MEDIA/UART/P1.ControlProtocol=<cont_protocol>
Ý
pw·/MEDIA/UART/P1.ControlProtocol=<cont_protocol>
Ü
Parameters
Identifier
Parameter description
<cont_protocol>
Selected protocol
Example
Ý SET /MEDIA/UART/P1.ControlProtocol=1
Ü pw /MEDIA/UART/P1.ControlProtocol=1
7.10.2. BAUD Rate Setting
Command and Response
SET·/MEDIA/UART/P1.Baudrate=<baud_rate>
Ý
pw·/MEDIA/UART/P1.Baudrate=<baud_rate>
Ü
Parameters
Identifier
Parameter description
<baud_rate>
Baud rate
Example
Ý SET /MEDIA/UART/P1.Baudrate=2
Ü pw /MEDIA/UART/P1.Baudrate=2
7.10.3. Databit Setting
Command and Response
SET·/MEDIA/UART/P1.DataBits=<databit>
Ý
pw·/MEDIA/UART/P1.DataBits=<databit>
Ü
Parameters
<databit>
Parameter values
0: LW2
1: LW3
Example
Ý SET /MEDIA/UART/P1.DataBits=8
Ü pw /MEDIA/UART/P1.DataBits=8
7.10.4. Stopbits Setting
Command and Response
SET·/MEDIA/UART/P1.StopBits=<stopbit>
Ý
pw·/MEDIA/UART/P1.StopBits=<stopbit>
Ü
Parameters
<stopbit>
Parameter values
0: 4800; 1: 7200; 2: 9600
3: 14400; 4: 19200; 5: 38400
6: 57600; 7: 115200
Example
Ý SET /MEDIA/UART/P1.StopBits=0
Ü pw /MEDIA/UART/P1.StopBits=0
7.10.5. Parity Setting
Command and Response
SET·/MEDIA/UART/P1.Parity=<parity>
Ý
pw·/MEDIA/UART/P1.Parity=<parity>
Ü
Parameters
<parity>
Example
RAP-B511 series – User's Manual
Identifier
Parameter description
Parameter values
Databit
8: 8
9: 9
Identifier
Parameter description
Parameter values
Stopbit
0: 1
1: 1,5
2: 2
Identifier
Parameter description
Parameter values
Parity
0: no parity
1: odd
2: even
Ý SET /MEDIA/UART/P1.Parity=0
Ü pw /MEDIA/UART/P1.Parity=0
7.10.6. RS-232 Operation Mode
Command and Response
SET·/MEDIA/UART/P1.Rs232Mode=<rs232_mode>
Ý
pw·/MEDIA/UART/P1.Rs232Mode=<rs232_mode>
Ü
Parameters
Identifier
Parameter description
<rs232_mode>
RS-232 operation mode 0: Disconnect
Example
Ý SET /MEDIA/UART/P1.Rs232Mode=1
Ü pw /MEDIA/UART/P1.Rs232Mode=1
INFO: See more information about RS-232 modes in the
Other Interfaces
section.
7.10.7. Command Injection Mode
Command and Response
SET·/MEDIA/UART/P1.CommandInjectionEnable=<CI_enable>
Ý
pw·/MEDIA/UART/P1.CommandInjectionEnable=<CI_enable>
Ü
Parameters
true: Command injection enable
false: Command injection disable
Example
Ý SET /MEDIA/UART/P1.CommandInjectionEnable=true
Ü pw /MEDIA/UART/P1.CommandInjectionEnable=true
ATTENTION! The Command injection status is stored in another
read-only property: /MEDIA/UART/P1.CommandInjectionStatus.
57
Parameter values
1: Control
2: Command injection
Settings for

Advertisement

Table of Contents
loading

Table of Contents