Доступ к порту RS-485 контроллера Wiren Board с компьютера/en: различия между версиями

Нет описания правки
(Новая страница: «After executing these commands, special files /dev/ttyRS485-1 and /dev/ttyRS485-2 appear in the system (on the PC), corresponding to RS-485 ports of the Wiren Boa…»)
Строка 36: Строка 36:
In older versions of controllers, specify ports [/dev/ttyNSC0, /dev/ttyNSC1] or [/dev/ttyAPP1, /dev/ttyAPP4].
In older versions of controllers, specify ports [/dev/ttyNSC0, /dev/ttyNSC1] or [/dev/ttyAPP1, /dev/ttyAPP4].


After executing these commands, special files /dev/ttyRS485-1 and /dev/ttyRS485-2 appear in the system (on the PC), corresponding to RS-485 ports of the Wiren Board. The latter command creates symbolic links to port files in /dev for convenience, which allows, for example, to use the Modbus driver configuration written for the Wiren Board on a PC without any changes  
After executing these commands, special files /dev/ttyRS485-1 and /dev/ttyRS485-2 appear in the system (on the PC), corresponding to RS-485 ports of the Wiren Board. The latter command creates symbolic links to port files in /dev for convenience, which allows, for example, to use the Modbus driver configuration written for the Wiren Board on a PC without any changes.


Опции -d и -x в обоих случаях можно опустить - они нужны для
Опции -d и -x в обоих случаях можно опустить - они нужны для
вывода диагностики и шестнадцатеричных дампов передаваемых данных.
вывода диагностики и шестнадцатеричных дампов передаваемых данных.
12 063

правки