| Line 73: | Line 73: | 
|  | #Снимите модуль с DIN-рейки, освободив защелку, расположенную в нижней части основания модуля. |  | #Снимите модуль с DIN-рейки, освободив защелку, расположенную в нижней части основания модуля. | 
|  |  |  |  | 
| − | ==HW settings== | + | ==Установки HW== | 
|  | {|class="wikitable" |  | {|class="wikitable" | 
|  | |- |  | |- | 
| − | !Name!!Type,range!!SUBID!!Default!!Description | + | !Название!!Тип, диапазон!!SUBID!!По умолчанию!!Описание | 
|  | |- |  | |- | 
| − | |cfg||string||98||9600/8N1||cfg='SPEED/BPS',where | + | |cfg||строка||98||9600/8N1||cfg='SPEED/BPS', где | 
| − | *SPEED – baud rate [1200..115200]; | + | *SPEED – скорость передачи данных в бодах [1200..115200]; | 
| − | *B – data length [7,8]; | + | *B – длина данных [7,8]; | 
| − | *P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)]; | + | *P – наличие и тип бита контроля четности [N(Контроль четности отсутствует),E(Четность),O(Нечетность)]; | 
| − | *S – stop bit length [1, 1.5or 2]. | + | *S – длина стоп-бита [1, 1,5 или 2]. | 
| − | Example:
 | + | Пример: | 
|  | <syntaxhighlight lang="xml" line> |  | <syntaxhighlight lang="xml" line> | 
|  | hw="cfg='9600/8N1'" |  | hw="cfg='9600/8N1'" | 
|  | </syntaxhighlight> |  | </syntaxhighlight> | 
|  | |- |  | |- | 
| − | |[Protocol]||string||98||—||Protocol setting is described by protocol parameter.The following | + | |[Protocol]||строка||98||—||Установки протокола описываются параметром протокола. Поддерживаются следующие протоколы: | 
| − | protocols are supported:
 | + | *'modbus', протокол Modbus, в конце переназначения добавляется контрольная сумма CRC16(Modbus); | 
| − | *'modbus', Modbus protocol,at the end of redirection the checksum CRC16(Modbus)is added; | + | *'dmx', протокол DMX; | 
| − | *'dmx', DMX protocol; | + | *'CO2' для подключения датчиков Larnitech CO2; | 
| − | *'CO2' for connecting Larnitech CO2sensors; | + | *'salda' для подключения вентиляции Salda. | 
| − | *'salda' for connecting Saldaventilation. | + | Пример: | 
| − | Example:
 |  | 
|  | <syntaxhighlight lang="xml" line> |  | <syntaxhighlight lang="xml" line> | 
|  | hw="cfg='9600/8N1' modbus" |  | hw="cfg='9600/8N1' modbus" | 
|  | </syntaxhighlight> |  | </syntaxhighlight> | 
|  | |- |  | |- | 
| − | |echo||on;off||98||'off'||For settings check out and testing echo parameter can be used.Module | + | |echo||включить; выключить||98||'off'||Для проверки настроек и тестирования можно использовать параметр эхо. С помощью этого параметра можно включить или выключить эхо-ответ модуля. Значения параметра эхо: | 
| − | echo-reply can be turned on or off with the help of this parameter.Echo parameter value:
 |  | 
|  | *'off' |  | *'off' | 
|  | *'on' |  | *'on' | 
| − | Example:
 | + | Пример: | 
|  | <syntaxhighlight lang="xml" line> |  | <syntaxhighlight lang="xml" line> | 
|  | hw="cfg='9600/8N1' echo='off'" |  | hw="cfg='9600/8N1' echo='off'" | 
|  | </syntaxhighlight> |  | </syntaxhighlight> | 
|  | |} |  | |} |