Modbus-client/en: различия между версиями

Новая страница: «An example of '''improper''' use: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a0x00 -t0x06 -r0x80</syntaxhighlight> It does…»
(Новая страница: «The error message always occurs when writing to the special address 0 (-a0x00). Now the device needs to contact us at the address 0x02.»)
(Новая страница: «An example of '''improper''' use: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a0x00 -t0x06 -r0x80</syntaxhighlight> It does…»)
Строка 85: Строка 85:
The error message always occurs when writing to the special address 0 (-a0x00). Now the device needs to contact us at the address 0x02.
The error message always occurs when writing to the special address 0 (-a0x00). Now the device needs to contact us at the address 0x02.


Пример '''неправильного''' использования команды:
An example of '''improper''' use:
<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a0x00 -t0x06 -r0x80</syntaxhighlight>
<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a0x00 -t0x06 -r0x80</syntaxhighlight>
Здесь не указан адрес, который нужно задать устройству и устройство получит неизвестный адрес. Для исправления, нужно обратиться к устройству по специальному адресу 0x00 (см. первую команду).
It does not specify the address to be given to the device and the device will receive an unknown address. To fix this, you need to access the device at the special address 0x00 (see the first command).


----
----
12 063

правки