Modbus RTU serial port

From Proview Wiki
Revision as of 03:50, 27 August 2013 by Marc (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • In order to use a serial port, (pwrp) user must be a part of dialout group
  • The port device has to be set to 0777 permission
  • The port device (name) may be /dev/ttyS0 (for a pci card) or /dev/ttyMI0 (Moxa card) or /dev/ttyUSB0 (usb/serial converter)


Examples of useful commands:


chmod 0777 /dev/ttyS0

chmod a+rw /dev/usb/002/003

ls -l /dev/ttyS0

lsusb


dmesg | grep tty

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox