Tags : Mobile web edit Mobile edit
(No difference)
Latest revision as of 10:34, 8 April 2024
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 (Metaforsa 3/3.plus )
*'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: <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> |}
*'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:
<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>
|}
Translation *'e' - botão led inverso *'d' - botão led *'c' - botão inverso *'b' - botão *'s' - mudar *'k' - contato inverso *'h' - contato *'l' - vazamento *'n' - Netuno *'v' - movimento inverso *'m' - movimento *'r' - termo-resistor *'t' - DALLAS *'-' - nenhum Exemplo: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK' |- |hw||string||98||-||hw="...", onde *pwm_invert – Inversão PWM [1, 0]; *lbn_bright – brilho dos botões led, faixa (0 - 255); *f – por padrão, a frequência PWM é 1000, faixa (1 - 5000). Exemplo: <syntaxhighlight lang="xml" line> hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000" </syntaxhighlight> |- |colspan="3"|'''Apenas para Metaforsa 3.plus''' |- |cfg||string||98||9600/8N1||cfg='SPEED/BPS', onde *SPEED – taxa de transmissão [1200..115200]; *B – comprimento dos dados [7,8]; *P – presença e tipo de bit de paridade [N(Sem paridade),E(Paridade par),O(Paridade ímpar)]; *S – comprimento do bit de parada [1, 1,5 ou 2]. Exemplo: <syntaxhighlight lang="xml" line> hw="cfg='9600/8N1'" </syntaxhighlight> |- |[Protocol]||string||98||—||A configuração do protocolo é descrita pelo parâmetro do protocolo. A seguir protocolos são suportados: *'modbus', protocolo Modbus, ao final do redirecionamento é adicionado o checksum CRC16(Modbus); *'dmx', protocolo DMX; *'CO2' para conexão de sensores de CO2 da Larnitech; *'salda' para conectar a ventilação Salda. Exemplo: <syntaxhighlight lang="xml" line> hw="cfg='9600/8N1' modbus" </syntaxhighlight> |- |echo||on; off||98||'off'||Para configurações, check-out e teste, o parâmetro echo pode ser usado. Módulo A resposta de eco pode ser ativada ou desativada com a ajuda deste parâmetro. Valor do parâmetro Echo: *'desligado' *'sobre' Exemplo: <syntaxhighlight lang="xml" line> hw="cfg='9600/8N1' echo='off'" </syntaxhighlight> |} 'e' - botão led inverso
'd' - botão led
'c' - botão inverso
'b' - botão
's' - mudar
'k' - contato inverso
'h' - contato
'l' - vazamento
'n' - Netuno
'v' - movimento inverso
'm' - movimento
'r' - termo-resistor
't' - DALLAS
'-' - nenhum
Exemplo: io='KKKKKKKKKKKKKKKKKKKKKKKKKKKK'
|-
|hw||string||98||-||hw="...", onde
pwm_invert – Inversão PWM [1, 0];
lbn_bright – brilho dos botões led, faixa (0 - 255);
f – por padrão, a frequência PWM é 1000, faixa (1 - 5000).
Exemplo:
1 hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000"
|-
|colspan="3"|Apenas para Metaforsa 3.plus
|-
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', onde
SPEED – taxa de transmissão [1200..115200];
B – comprimento dos dados [7,8];
P – presença e tipo de bit de paridade [N(Sem paridade),E(Paridade par),O(Paridade ímpar)];
S – comprimento do bit de parada [1, 1,5 ou 2].
Exemplo:
|-
|[Protocol]||string||98||—||A configuração do protocolo é descrita pelo parâmetro do protocolo. A seguir
protocolos são suportados:
'modbus', protocolo Modbus, ao final do redirecionamento é adicionado o checksum CRC16(Modbus);
'dmx', protocolo DMX;
'CO2' para conexão de sensores de CO2 da Larnitech;
'salda' para conectar a ventilação Salda.
Exemplo:
1 hw="cfg='9600/8N1' modbus"
|-
|echo||on; off||98||'off'||Para configurações, check-out e teste, o parâmetro echo pode ser usado. Módulo
A resposta de eco pode ser ativada ou desativada com a ajuda deste parâmetro. Valor do parâmetro Echo:
Exemplo:
1 hw="cfg='9600/8N1' echo='off'"
|}