Editing Optimizing SimpleMotion V2 performance
Your changes will be displayed to readers once an authorized user accepts them. (help) |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 10: | Line 10: | ||
===RS485 adapter latency=== | ===RS485 adapter latency=== | ||
One major source of latency is the RS485 adapter. Two ways to improve this: | One major source of latency is the RS485 adapter. Two ways to improve this: | ||
− | *If using [[SimpleMotion V2 USB adapter]] on Windows, go to Control panel->Device manager and find the USB Serial Port of the adapter. In the driver settings you will find the latency timer setting which defaults to 16 ms. Reduce this to 1 ms and click Ok | + | *If using [[SimpleMotion V2 USB adapter]] on Windows, go to Control panel->Device manager and find the USB Serial Port of the adapter. In the driver settings you will find the latency timer setting which defaults to 16 ms. Reduce this to 1 ms and click Ok. |
*Another option is to use a PCI/PCI-E based RS485 adapter which may have near zero latency and also better real-time capabilities than USB devices. | *Another option is to use a PCI/PCI-E based RS485 adapter which may have near zero latency and also better real-time capabilities than USB devices. | ||
===Optimizing code=== | ===Optimizing code=== | ||
Line 271: | Line 271: | ||
==See also== | ==See also== | ||
*[[Changing SimpleMotion baud rate]] | *[[Changing SimpleMotion baud rate]] | ||
− | |||
− |