Translations:Fast Modbus/34/en
Версия от 16:08, 29 декабря 2023; A.Degtyarev (обсуждение | вклад) (Новая страница: «# Install the utility using the command: <code> #:<syntaxhighlight lang="bash"> apt update && apt install wb-modbus-ext-scanner </syntaxhighlight> </code> # Stop the wb-mqtt-serial driver using the command: <code> #:<syntaxhighlight lang="bash"> systemctl stop wb-mqtt-serial </syntaxhighlight> </code> # Execute the command: <code> #:<syntaxhighlight lang="bash"> wb-modbus-scanner -d /dev/ttyRS485-1 -b 115200 -s 4267937719 -i 3 </syntaxhighlight> </code> # Wh...»)
- Install the utility using the command:
apt update && apt install wb-modbus-ext-scanner
- Stop the wb-mqtt-serial driver using the command:
systemctl stop wb-mqtt-serial
- Execute the command:
wb-modbus-scanner -d /dev/ttyRS485-1 -b 115200 -s 4267937719 -i 3
- Where, /dev/ttyRS485-1 is the port to which the device is connected,
- 115200 is the exchange rate,
- 4267937719 is the device's serial number,
- 3 is the new slave ID.
- As a result, the following output should appear:
Serial port: /dev/ttyRS485-1
Use baud 115200
Change ID for device with serial 4267937719 [FE638FB7] New ID: 3
- Start the wb-mqtt-serial driver again using the command:
systemctl start wb-mqtt-serial