nimbuscontrols / EIPScanner

Free implementation of EtherNet/IP in C++
https://eipscanner.readthedocs.io/en/latest/
MIT License
233 stars 93 forks source link

Implicit messaging rate #37

Closed JoeyR closed 3 years ago

JoeyR commented 3 years ago

Hello,

I have your implicit messaging example working for my device (ConveyLinx-ERSC) and outputting the correct assembly. I am receiving a message on 1 second intervals and I am wondering if it's possible to decrease that interval to 100ms or faster.

I also wanted to thank you for creating this library!

Thank you, Joey

JoeyR commented 3 years ago

The way to change the interval is quite easy:


parameters.o2tRPI = 100000; // microseconds
parameters.t2oRPI = 100000; // microseconds
jadamroth commented 3 years ago

Glad you figured it out Joey. Thanks again for using the library, and please reach out if you have any other questions/issues

I would like to ask a favor: Someone a couple days ago posted an issue #36 and is having troubles getting implicit messaging up and running with a UR robot. I believe they are new to the protocol and implicit isn't the easiest thing to dive into. I tried to give them some guidance, but if you wouldn't mind, could you post any non-proprietary code of your implicit ConnectionParameters example and the eds (either via pull request or directly in the issue) to give them a working example of what you've done to help them out?

I'd appreciate it.