12 063
правки
(Новая страница: «Create script: HR500=2, HR501=8, HR502=8, HR503= -1000, HR504=1») |
(Новая страница: «<syntaxhighlight lang="ecmascript"> Template config-ddm845r.json to work with the device:») |
||
(не показано 15 промежуточных версий этого же участника) | |||
Строка 67: | Строка 67: | ||
Create script: HR500=2, HR501=8, HR502=8, HR503= -1000, HR504=1 | Create script: HR500=2, HR501=8, HR502=8, HR503= -1000, HR504=1 | ||
Create script: HR600=2, HR601=9, HR602=8, HR603= -1000, HR604=1 | |||
Create script: HR700=2, HR701=10, HR702=8, HR703=-1000, HR704=1 | |||
Create script: HR800=2, HR801=11, HR802=8, HR803=-1000, HR804=1 | |||
Now the result can be in registers: | |||
For 1 input IR100 = 0 (switch open) 1 (switch closed) | |||
For 2 input IR100 = 0 (switch open) 1 (switch closed) | |||
For 3 input IR102 = 0 (switch open) 1 (switch closed) | |||
For 4 input IR103 = 0 (switch open) 1 (switch closed) | |||
For 5 input IR104 = 0 (switch open) 1 (switch closed) | |||
For 6 input IR105 = 0 (switch open) 1 (switch closed) | |||
For 7 input IR106 = 0 (switch open) 1 (switch closed) | |||
For 8 input IR107 = 0 (switch open) 1 (switch closed) | |||
A set of commands to create scripts for non-programmed the dimmer (address 34): | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a34 -t0x06 -r100 0x2 | modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a34 -t0x06 -r100 0x2 | ||
Строка 149: | Строка 150: | ||
<syntaxhighlight lang="ecmascript"> | <syntaxhighlight lang="ecmascript"> | ||
Template config-ddm845r.json to work with the device: | |||
// Configuration options | // Configuration options |
правки