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

Новая страница: «# 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...»
(Новая страница: «To change the device's address, connect to the controller via SSH.»)
(Новая страница: «# 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...»)
Метки: правка с мобильного устройства правка из мобильной версии
Строка 110: Строка 110:
To change the device's address, connect to the controller via [[SSH]].
To change the device's address, connect to the controller via [[SSH]].


<div lang="ru" dir="ltr" class="mw-content-ltr">
# Install the utility using the command:
#Установите утилиту командой:
<code>
#:<syntaxhighlight lang="bash">
#:<syntaxhighlight lang="bash">
apt update && apt install wb-modbus-ext-scanner
apt update && apt install wb-modbus-ext-scanner
</syntaxhighlight>
</syntaxhighlight>
#Остановите драйвер wb-mqtt-serial:
</code>
# Stop the wb-mqtt-serial driver using the command:
<code>
#:<syntaxhighlight lang="bash">
#:<syntaxhighlight lang="bash">
systemctl stop wb-mqtt-serial
systemctl stop wb-mqtt-serial
</syntaxhighlight>
</syntaxhighlight>
#Выполните команду
</code>
# Execute the command:
<code>
#:<syntaxhighlight lang="bash">
#:<syntaxhighlight lang="bash">
wb-modbus-scanner -d /dev/ttyRS485-1 -b 115200 -s 4267937719 -i 3
wb-modbus-scanner -d /dev/ttyRS485-1 -b 115200 -s 4267937719 -i 3
</syntaxhighlight>
</syntaxhighlight>
#:где,       /dev/ttyRS485-1 — порт к которому подключено устройство,
</code>
#:115200 — скорость обмена,  
# Where, /dev/ttyRS485-1 is the port to which the device is connected,
#:4267937719 — серийный номер устройства,
# 115200 is the exchange rate,
#:3 — новый slave ID.
# 4267937719 is the device's serial number,
#В результате должен появиться такой вывод:
# 3 is the new slave ID.
# As a result, the following output should appear:
<code>
#:<syntaxhighlight lang="bash">
#:<syntaxhighlight lang="bash">
Serial port: /dev/ttyRS485-1
Serial port: /dev/ttyRS485-1
Строка 133: Строка 139:
Change ID for device with serial  4267937719 [FE638FB7] New ID: 3
Change ID for device with serial  4267937719 [FE638FB7] New ID: 3
</syntaxhighlight>
</syntaxhighlight>
#Запустите обратно драйвер wb-mqtt-serial:
</code>
# Start the wb-mqtt-serial driver again using the command:
<code>
#:<syntaxhighlight lang="bash">
#:<syntaxhighlight lang="bash">
systemctl start wb-mqtt-serial
systemctl start wb-mqtt-serial
</syntaxhighlight>
</syntaxhighlight>
</div>
</code>


<div lang="ru" dir="ltr" class="mw-content-ltr">
<div lang="ru" dir="ltr" class="mw-content-ltr">