Translations:Периферийные устройства с интерфейсом RS-485 серии WB-xxxx/15/en
Версия от 17:06, 28 мая 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «== How to install a new Modbus address on our RS-485 device== # Connect the device to the controller, ONLY this device should be connected via the BUS. #: '''If y…»)
How to install a new Modbus address on our RS-485 device
- Connect the device to the controller, ONLY this device should be connected via the BUS.
- If you connect several devices on the bus, their performance will be disrupted!
- Run the console commands:
service wb-mqtt-serial stop # stop the standard RS-485 driver
# In the next line, replace "158" with the new address (1 to 247) and "/dev/ttyAPP1" with the controller port to which the device is connected
modbus_client --debug -m rtu -s2 -pnone /dev/ttyAPP1 -a0x00 -t0x06 -r0x80 158 # write new address to device
service wb-mqtt-serial start # start the standard RS-485 driver again