Author Topic: Modbus rtu to raspberry pi  (Read 2531 times)

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Modbus rtu to raspberry pi
« on: January 26, 2017, 05:00:39 AM »
Hi, i need some help with modbus rtu driver to communicate with raspberry pi via mono. If i use Modbus ip driver and connect plc to raspberry pi with ethernet cable all works ok, and get data. Now i have plc which support only modbus rtu, usb to serial cable and when i start AHMI app on windows OS works fine. But when i try to run it on raspberry pi i dont get any data. When i check on pi where is my usb to serial adapter, i get that adapter is attached to ttyUSB0. Now when i run my app on windows OS it wasnt a problem, i just need to write COM port number to driver settings. Now i dont know how is with linux based OS and how are COMs organized.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Modbus rtu to raspberry pi
« Reply #1 on: January 26, 2017, 10:45:25 AM »
You should check this topic:

http://advancedhmi.com/forum/index.php?topic=1599.0

Read reply #8 and try to apply it to the Modbus rtu driver.
« Last Edit: January 26, 2017, 10:49:51 AM by Godra »