Difference between revisions of "Translations:Metaforsa 3/3.plus/94/en"
Jump to navigation
Jump to search
(Importing a new version from external source) |
(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> | ||
+ | |} |
Latest revision as of 12:53, 5 April 2024
- 'e' - led-button inverse
- 'd' - led-button
- 'c' - button inverse
- 'b' - button
- 's' - switch
- 'k' - contact inverse
- 'h' - contact
- 'l' - leak
- 'n' - Neptun
- 'v' - motion inverse
- 'm' - motion
- 'r' - thermo-resistor
- '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:
1hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000"
|- |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:
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'"
|}