Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » multiple devices connected by modbus
multiple devices connected by modbus [message #1747565] Wed, 16 November 2016 01:22 Go to next message
vincent cho is currently offline vincent choFriend
Messages: 5
Registered: November 2016
Junior Member
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 14:19 Go to previous messageGo to next message
Pierre Pitiot is currently offline Pierre PitiotFriend
Messages: 16
Registered: April 2015
Junior Member
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 14:20]

Report message to a moderator

Re: multiple devices connected by modbus [message #1748307 is a reply to message #1747565] Tue, 22 November 2016 01:17 Go to previous messageGo to next message
vincent cho is currently offline vincent choFriend
Messages: 5
Registered: November 2016
Junior Member
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 22:04 Go to previous messageGo to next message
Ameni MEZNI is currently offline Ameni MEZNIFriend
Messages: 3
Registered: December 2016
Junior Member
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 22:14 Go to previous messageGo to next message
vincent cho is currently offline vincent choFriend
Messages: 5
Registered: November 2016
Junior Member
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 22:18 Go to previous messageGo to next message
vincent cho is currently offline vincent choFriend
Messages: 5
Registered: November 2016
Junior Member
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 22:19 Go to previous messageGo to next message
vincent cho is currently offline vincent choFriend
Messages: 5
Registered: November 2016
Junior Member
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 22:51 Go to previous message
Ameni MEZNI is currently offline Ameni MEZNIFriend
Messages: 3
Registered: December 2016
Junior Member
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 23:02]

Report message to a moderator

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


Current Time: Sat Apr 20 03:17:22 GMT 2024

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

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

Back to the top