Ladder99 / fanuc-driver

Configurable Fanuc Focas data collector and post processor.
Apache License 2.0
72 stars 25 forks source link

Increase data reading frequency #111

Open frantenis opened 3 months ago

frantenis commented 3 months ago

Hello !!!

I have implemented the fanuc-driver to read data from Fanuc and read it through an MQTT Broker. I would like to know how I can increase the frequency of data reading. I have tried lowering the sweep_ms to low values ​​(5 ms) and keeping stay_connected=TRUE, however I am getting a read rate of 2/3 seconds in MQTT Explorer.

Disabling collectors lowers the reading frequency but I don't think it is the best solution since I need that data. Is there any other way to improve reading frequency?

MRIIOT commented 3 months ago

Another way is to use the non-embedd port. Embed ethernet is shared with other compute.

Alternatively, custom collectors could be developed to get exactly the data you need.

What frequency do you need and what data are you after?