Hello Gentlemen
Thanks for the quick reply.
For Andy :
Is the position command literally from an encoder quadrature pulse train?
I read the incremental encoder and then I make a calculation to determine the position coordinates of the two axis I need to move.
The resultant movement is like a sector of a circle on a plane determined by the angular position read from the external encoder. (A-B phases 3600 ppr 0.1 degree resolution) .
As I wrote at the beginning of the thread I would like to use G code for the normal axis movements and start the motion with the calculation into HAL , then at the end of this movements the part program will continue using G code for the movements.
Is this way possible or I have to do as Andy said
I would suggest using standalone HAL and possibly a GladeVCP panel, and not load any of the usual GUIs.
.
bigalex