I am trying to perform a real-time velocity control using a IONI drive. In order to send commands to IONI in a high updating rate (>2KHz), the real-time PC is communicating with IONI via RS485 with a baud rate of 4Mbps.
According to the document, by using smFastUpdateCycle to set/read the velocity/position, I should be able to set at least 20000 velocity set points per second. But it seems that the smFastUpdateCycle function takes more time than expected to set and read the data, around 160 microsecond on average instead of 50 microsecond as suggested in the document.
Has anyone also tried to use smFastUpdateCycle for realtime control under high updating rate but having the same issue? or perhaps there is some setting I have to set up for such a high speed communication?
Thanks in advance