[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Triggering TimeSync to end devices  XML
Forum Index » How-To
Author Message
jose francisco

Initiate

Joined: 01/10/2010 07:30:14
Messages: 39
Offline

mlohbihler wrote:Update: the slave side of Modbus4J supported broadcasts, but there were problems on the master side. The library has been updated to fully support broadcasts now. Changed code has been checked into the CVS repo.


Modbus4J works with broadcast, Mango not. Am I right?
chrapchp

Initiate

Joined: 15/02/2010 16:36:35
Messages: 29
Location: Canada
Offline

There are several options presented in thread. If you don't feel comfortable with the C++ or looking at the Mango code, as stated earlier you ca create an event to write to each of the registers in your arduiono with a UNIX epoch timestamp from Mango.









jose francisco

Initiate

Joined: 01/10/2010 07:30:14
Messages: 39
Offline

Yes. Send time to every slave is the way I was using in the pass. I was wandering a better way to do it.
chrapchp

Initiate

Joined: 15/02/2010 16:36:35
Messages: 29
Location: Canada
Offline

It gets difficult if you don't feel comfortable changing the modus C++ code on the arduino side. The code is easy to follow and change.
jose francisco

Initiate

Joined: 01/10/2010 07:30:14
Messages: 39
Offline

have you made the changes in the arduino library?
chrapchp

Initiate

Joined: 15/02/2010 16:36:35
Messages: 29
Location: Canada
Offline

yes but not for those you want. If I get a chance I implement the change I suggested, but don't have much in terms of cycles so can't give a time.

jose francisco

Initiate

Joined: 01/10/2010 07:30:14
Messages: 39
Offline

Don't worry. Sure you are faster than my C++ skills
 
Forum Index » How-To
Go to:   
Powered by JForum 2.1.9 © JForum Team