23/01/2017 at 11:41 am #46843
Does exist any opc server for arduino mega / mega adk?
The arduino mega has a lot of i/o and it would be great to have an opc server for that.
Regards26/01/2017 at 9:39 am #47502
I will bought a Mega from Store to build the OPC Server for it…
all the best
ilde26/01/2017 at 11:27 am #47503
Good, it would be a pleasure to help you with that.26/01/2017 at 12:00 pm #47504
Original Arduino Mega bought from Amazon, in few days I will receive it and test OPC Server for Arduino
All the best
ilde26/01/2017 at 12:20 pm #47505
Good! Let me know if there is something new!26/01/2017 at 6:07 pm #47506
Same thing here! Trying to make it work with a Mega. No items listed. Will wait until you release a new version for the Mega. (This is of course assuming that I understand properly and that the EthernetShieldR3 example is supposed to work only with a UNO or similar connected to it and won’t work with a Mega. Am I right?)26/01/2017 at 8:17 pm #47507
I did some tests by tracing your library with some serial prints and when the OPC client is connecting to the server, the Arduino is sending the list of items properly. Typically, nothing more happens in the OPC Server Info box after: “Asking for available OPCItems from ArduinoEthernet0” and some time, I get an additional: “Frame” but that’s it.
Any idea?27/01/2017 at 9:09 am #47508
yes, when OPC Server starts it asks to the device for the itemlist….if all is going ok the OPC Server knows the list of items available from device and then starts to aks for each item at a continuous rate. I would like to add a retry item list recovery to avoid errors at the OPC Server startup.
All the best
ilde27/01/2017 at 2:10 pm #47509
Thank you Ilde for looking into that.
It really look like the issue is not on the Arduino side. Of course not being able to trace anything on the OPC server side, it’s hard to tell. Just as additional information, I tried with dOPC Explorer, Matrikon Explorer and Scheider OFSclient and I got the same result each time. With the Matrikon Explorer I substantially get the “Frame” message in the Info box more often than with the other clients.
For the sake of testing I did the same exercise with multiple items (~20) and also with one single item (your test project returning a random number) with always the same result.
Guy29/01/2017 at 3:56 pm #47510
I updated the opc library at github and tested it with an Arduino Mega and look it worked fine for me. Could you test it?
Download latest version at: https://github.com/SoftwareTools4Makers/OPC
and the OPC Server for Arduino v1.9 from this site
I used a serial port and seems it work fine. You can try to use the new MEGA.ino sketch and test first with the serial monitor following this guide:
Please, let me know about your progress. Could be interesting catch the bug to fix it into the new 2.0 that will release soon
all the best
ilde29/01/2017 at 5:01 pm #47511
You’re the best! It’s working very well. I tested my program with the Mega and I can get proper item registration on both dOPC and Matrikon OPC Explorer.
I will keep you updated on my progress with my application in the future. Maybe the feedback can be useful for you.30/01/2017 at 12:02 am #47512
I haven’t tested, I will try it probably Tuesday but, anyway: You’re the best!
You must be logged in to reply to this topic.