12 063
правки
(Новая страница: «For 1 VX IR100 = 0 (switch open) 1 (switch closed)») |
(Новая страница: «<syntaxhighlight lang="ecmascript"> Template config-ddm845r.json to work with the device:») |
||
(не показано 10 промежуточных версий этого же участника) | |||
Строка 76: | Строка 76: | ||
Now the result can be in registers: | Now the result can be in registers: | ||
For 1 | 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 |
правки