• matthew@hierthinking.com

Forum

Please or Register to create posts and topics.

Ways to improve acquisition rate

I'm doing process monitoring, and I currently export some CNC data to a file (currently CSV).

In the most optimistic scenario, I'd need the acquisition rate to be around 1kHz, it means ~1ms on each info gathering iteration.

Honestly, I'd be already happy with ~10ms on each iteration, because now my code is running at ~15Hz, with 2 FOCAS readings.

Does anyone have any ideas on improving performance?

Thx

Hi Henrique,

So a couple of things that I have noticed when testing out various communication methods, that you can get significantly faster rates if you are using HSSB. Also, if you have a Data Server on the CNC then you can use focas over the Data Server which is much faster than focas using the standard controller. If you don't have HSSB, or a Data Server available for the CNC, it may be worth looking into getting a Data Server card from Fanuc. You will need the card and you'll need the Fast Ethernet option.

In order to get sub 10ms readings, I believe you'll need to use HSSB which is an optical connection from the HMI to the controller. I have gotten ~4ms readings from the controller using HSSB.