Hello Guest it is April 19, 2024, 01:41:06 PM

Author Topic: USB PLUGIN INTERFACE  (Read 3498 times)

0 Members and 1 Guest are viewing this topic.

USB PLUGIN INTERFACE
« on: June 26, 2012, 05:35:52 AM »
Hi all I am developing a plugin USB interface, using a module FT2232H, I managed to run motors at different speeds for this usb set up the module with a continuous speed of 33.333khz and generated a pulse at a frequency defined by program for the different frequencies of work, my problem is this, pick up the movements with this function:

GMoves move =  MainPlanner->Movements[Engine->TrajIndex];

the problem arises with me accelerations and decelerations, one could say me please if mach3 save the travel of each axis and decreases depending if I'm going picking movements?
Re: USB PLUGIN INTERFACE
« Reply #1 on: June 26, 2012, 05:38:59 AM »
I thought about creating a bufffer for example, 2000 pulses for analysis before being sent, but of course this creates a delay in sending the movements to the USB port.