Translations:DW-UART/16/en

From Larnitech wiki page
Jump to navigation Jump to search

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'"