Перейти к содержанию

Навигация

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

Новая страница: «The -d and -x options can be omitted in both cases - they are needed for diagnostic output and hexadecimal data dumps.»
(Новая страница: «In older versions of controllers, specify ports [/dev/ttyNSC0, /dev/ttyNSC1] or [/dev/ttyAPP1, /dev/ttyAPP4].»)
(Новая страница: «The -d and -x options can be omitted in both cases - they are needed for diagnostic output and hexadecimal data dumps.»)
 
(не показаны 2 промежуточные версии этого же участника)
Строка 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].


После выполнения этих команд в системе (на PC) появляются
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.  
специальные файлы /dev/ttyRS485-1 и /dev/ttyRS485-2, соответствующие
RS-485 портам Wiren Board. Последняя команда для удобства создаёт
в /dev символические ссылки на файлы портов, что позволяет,
например, использовать на PC конфигурацию драйвера Modbus,
написанную для Wiren Board, без каких-либо изменений.  


Опции -d и -x в обоих случаях можно опустить - они нужны для
The -d and -x options can be omitted in both cases - they are needed for diagnostic output and hexadecimal data dumps.
вывода диагностики и шестнадцатеричных дампов передаваемых данных.
12 063

правки