[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 
Messages posted by: jose francisco
Forum Index » Profile for jose francisco » Messages posted by jose francisco
Author Message
Hello.

I'm using Mango to store a 4 byte float in two registers in my slave device.
Now I want to get that float with another master device but I don't know how to do it.

For example, if I use mango to store 3.141592654 in my slave I get 16457 and 4059 in my master device, but... how can I calculate my float again in my master device?

My master device is a Chipkit Max32 and can be programmed using C++

Any answer?

Thank you very much.
Have anybody tried Mango M2M on Raspberry Pi?
Is Rasp-Pi fast enough to run Mango M2M?

Thank you
Don't worry. Sure you are faster than my C++ skills
have you made the changes in the arduino library?
Yes. Send time to every slave is the way I was using in the pass. I was wandering a better way to do it.
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?
The writer of the library told me to make myself the changes and add them to the official release.
If you send the changes he will add them in the web page.

About Mango modifications... Is there any answer from Serotonin?
I'm using this library in arduino.
http://sites.google.com/site/jpmzometa/arduino-mbrt/arduino-modbus-slave
It doesn't implement broadcast messages. I was talking with the writer but he is busy to add that feature.

He says that there is no reply from slaves for a broadcast message.

It's very interesting to add broadcasting to the library but my C++ knowledge isn't good enough.

Hello.

How can I send time and date to all arduino slaves with mango and modbus rtu?

Is it possible?

Thanks
I have used this library with mango before and it works very well.

I can use mango and arduino directly with usb but not with rs485 or directly with tx and rx pins.
I'm trying to use Mango an Arduino with a half-duplex RS485 connection.

Wiring is like:
http://dereenigne.org/electronics/arduino/arduino-modbus-rtu-adc

In the pc side I'm using:
http://www.dealextreme.com/p/usb-to-rs-485-adapter-8504

I can search the arduino with the "Modbus node scan" tool and I can find it.
I can use the "Point locator test" and "Modbus read data" tools and get correct answer from arduino.

But when I "turn on" the data source I get the following allarm:

'nodo10': Exception from modbus master: Function code: 0x7f

every 5 seconds (update time) but have correct data in "watch list" refreshing every 5 seconds.

What is going wrong?

Thanks in advance
thank you
This is my wish for this Christmas:

-In one script
-Get values from multiple data sources
-Make some calculation with these values
-Set the value of various data points with the results.

A way can be get access to all variables in every script. Some thing like:

variableXID.value=variable2XID.value

Being variable and variable2 data points from differents data sources

What do you think?

Thank you.
Hello.

I have 2 data sources. A and B.
Each data source has 2 data points: A_1,A_2,B_1,B_2
I have 2 point links:
A_1 -> B_1
A_2 -> B_2

If I delete point A_1, then point link "A_1->B_1" is not shown in point link list. Then I can't delete this point link but "Point link source is unavailable" alarm is raised.

How can I delete that hidden point link?

Thank you
Clear like water.

Thank you very much.



January = 0
....
December = 11
 
Forum Index » Profile for jose francisco » Messages posted by jose francisco
Go to:   
Powered by JForum 2.1.9 © JForum Team