Skip to main content



      Home
Home » Eclipse Projects » Kura » multiple devices connected by modbus
multiple devices connected by modbus [message #1747565] Tue, 15 November 2016 20:22 Go to next message
Eclipse UserFriend
to whom it may concern,

I've succesffuly connected one device (indel edison) through modbus rtu over tcp to my kura gateway, but I was wondering does kura's modbus driver support multiple apps (bundles) to use to connect device concurrently? if not, will it support in the future?

Thanks.
Re: multiple devices connected by modbus [message #1748107 is a reply to message #1747565] Fri, 18 November 2016 09:19 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

unfortunately the modbus service only supports one connection at the moment and there is no plan to support multiple connections yet. If you have some time and are interested your contribution is welcome Smile.

Thanks
--Pierre

[Updated on: Fri, 18 November 2016 09:20] by Moderator

Re: multiple devices connected by modbus [message #1748307 is a reply to message #1747565] Mon, 21 November 2016 20:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi, Pierre

Thanks, I may take a look about if I can contribute this. Smile
Re: multiple devices connected by modbus [message #1749749 is a reply to message #1748307] Sat, 10 December 2016 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Vincent,
Can you tell me please how did you connect one device by modbus . It is my first use of Kura and I can not understand how to do it.
Thanks
Re: multiple devices connected by modbus [message #1749823 is a reply to message #1749749] Mon, 12 December 2016 17:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ameni,

you can use 2 RPi with *rs485 shield.

I bought it from
https://www.amazon.ca/gp/product/B01IB6IDEY/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

and one runs a kura bundle using kura.protocol.modbus bundle service, and another one Rpi3 just runs as a modbus slave by using libmodbus in C or pymodbus in Python.

actually, I run with a kura on eurotech gateway and a modbus program on RPi3.

thanks.
Re: multiple devices connected by modbus [message #1749825 is a reply to message #1749823] Mon, 12 December 2016 17:18 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ameni,

sorry, for this thread I was using Modbus RTP not Modbus over RS485, so no need to buy RS485 shields, you just run a modbus device using libmodbus or pymodbus (using Modbus RTU over TCP), and write a kura bundle using kura.protocol.modbus as a modbus master to connect the the modbus device. then it is what I did.

Re: multiple devices connected by modbus [message #1749826 is a reply to message #1749823] Mon, 12 December 2016 17:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ameni,

sorry, for this thread I was using Modbus RTU over TCP not Modbus over RS485, so no need to buy RS485 shields, you just run a modbus device using libmodbus or pymodbus (using Modbus RTU over TCP), and write a kura bundle using kura.protocol.modbus as a modbus master to connect the the modbus device. then it is what I did.

Re: multiple devices connected by modbus [message #1749828 is a reply to message #1749823] Mon, 12 December 2016 17:51 Go to previous message
Eclipse UserFriend
Hi vincent,
Thanks for you reply.
What I didn't understand is how to add org.eclipse.kura.protocol.modbus because it does not exist in the default Developer's Workspace .

In some tuto they reference org.eclipse.kura.protocol.modbus from the bundle. I don't know how to do it.

Can y please explain to me this step

Many thanks.

[Updated on: Mon, 12 December 2016 18:02] by Moderator

Previous Topic:xBee reading
Next Topic:How to reference to user's created plug-in project from new package?
Goto Forum:
  


Current Time: Wed Jul 30 15:05:12 EDT 2025

Powered by FUDForum. Page generated in 0.03918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top