Changes

Jump to navigation Jump to search
Importing a new version from external source
Line 12: Line 12:  
*'r' - thermo-resistor
 
*'r' - thermo-resistor
 
*'t' - DALLAS
 
*'t' - DALLAS
 +
*'-' - none
 +
Example: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
 +
|-
 +
|hw||string||98||-||hw="...", where
 +
*pwm_invert – PWM inverting [1, 0];
 +
*lbn_bright – brightness of led buttons, range (0 - 255);
 +
*f – by default PWM frequency is 1000, range (1 - 5000).
 +
Example:
 +
<syntaxhighlight lang="xml" line>
 +
hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000"
 +
</syntaxhighlight>
 +
|-
 +
|colspan="3"|'''Only for Metaforsa 3.plus'''
 +
|-
 +
|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>
 +
|}
3,368

edits

Navigation menu