12 063
правки
(Новая страница: «=== Register reading example === Let's check whether it is true that we are connected to the module of the desired type. (Module wb-mqtt-serial needs to be stoppe…») |
(Новая страница: «As a result of the command we receive string '''WBMS'''. The WB-MS module in the example has Modbus address 1.») |
||
Строка 477: | Строка 477: | ||
grep Data | sed -e 's/0x00/\\\x/g' -e 's/Data://' -e 's/\s//g'` </syntaxhighlight> | grep Data | sed -e 's/0x00/\\\x/g' -e 's/Data://' -e 's/\s//g'` </syntaxhighlight> | ||
As a result of the command we receive string '''WBMS'''. The WB-MS module in the example has Modbus address 1. |
правки