Difference between revisions of "Translations:DW-UART/16/en"

From Larnitech wiki page
Jump to navigation Jump to search
(Importing a new version from external source)
 
(No difference)

Latest revision as of 13:25, 7 January 2022

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (DW-UART)
==HW settings==
{|class="wikitable"
|-
!Name!!Type, range!!SUBID!!Default!!Description
|-
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', where
*SPEED – baud rate [1200..115200];
*B – data length [7,8];
*P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)];
*S – stop bit length [1, 1.5 or 2].
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1'"
</syntaxhighlight>
|-
|[Protocol]||string||98||—||Protocol setting is described by protocol parameter. The following
protocols are supported:
*'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added;
*'dmx', DMX protocol;
*'CO2' for connecting Larnitech CO2 sensors;
*'salda' for connecting Salda ventilation.
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' modbus"
</syntaxhighlight>
|-
|echo||on; off||98||'off'||For settings check out and testing echo parameter can be used. Module
echo-reply can be turned on or off with the help of this parameter.Echo parameter value:
*'off'
*'on'
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' echo='off'"
</syntaxhighlight>
|}
Translation==HW settings==
{|class="wikitable"
|-
!Name!!Type, range!!SUBID!!Default!!Description
|-
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', where
*SPEED – baud rate [1200..115200];
*B – data length [7,8];
*P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)];
*S – stop bit length [1, 1.5 or 2].
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1'"
</syntaxhighlight>
|-
|[Protocol]||string||98||—||Protocol setting is described by protocol parameter. The following
protocols are supported:
*'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added;
*'dmx', DMX protocol;
*'CO2' for connecting Larnitech CO2 sensors;
*'salda' for connecting Salda ventilation.
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' modbus"
</syntaxhighlight>
|-
|echo||on; off||98||'off'||For settings check out and testing echo parameter can be used. Module
echo-reply can be turned on or off with the help of this parameter.Echo parameter value:
*'off'
*'on'
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' echo='off'"
</syntaxhighlight>
|}

HW settings

Name Type, range SUBID Default Description
cfg string 98 9600/8N1 cfg='SPEED/BPS', where
  • SPEED – baud rate [1200..115200];
  • B – data length [7,8];
  • P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)];
  • S – stop bit length [1, 1.5 or 2].

Example:

1hw="cfg='9600/8N1'"
[Protocol] string 98 Protocol setting is described by protocol parameter. The following

protocols are supported:

  • 'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added;
  • 'dmx', DMX protocol;
  • 'CO2' for connecting Larnitech CO2 sensors;
  • 'salda' for connecting Salda ventilation.

Example:

1hw="cfg='9600/8N1' modbus"
echo on; off 98 'off' For settings check out and testing echo parameter can be used. Module

echo-reply can be turned on or off with the help of this parameter.Echo parameter value:

  • 'off'
  • 'on'

Example:

1hw="cfg='9600/8N1' echo='off'"