Ubarch
06-26-2005, 12:42 PM
Hello,
I'm posting in this forum because a myself and a friend are planning to interface EMC with our own servo controllers. From reading the linuxcnc.org handbook, it seems that they support servo control through the Servo To Go board. It looks like we'll have to understand this code to make EMC communicate with our board. Is this correct, or should we be looking somewhere else in the source?
I'm also hoping that someone can clear up a little bit of fogginess about what exactly EMC sends to a servo controller, and what it expects back. I'm assuming that the PID filter is on the controller (or are people calling an H-bridge a controller? ), and if this is the case, does EMC send a stream of position/velocity data? If so, is there a document that specifies this? What kind of feedback does EMC want from the encoders (ie, does the controller have to process the encoder output at all) ?
Most importantly, does EMC handle synchronization between servos? I'll give an example to illustrate my question. Lets say that the mill is cutting some material with a heavy grain, and the X motor must work harder than the Y motor to cut equivalently. Lets also say that the servo controller is told to cut a line of slope = 1, meaning that the X and Y servos should move at the same speed. If the proportional element of both PID filters is equal, it should take the X motor a longer amount of time to apply the required power. Does EMC take this into account and slow the Y servo? Is this expected of the servo controller?
Thanks for any help you can give. I know we have a lot of reading and code-grokking ahead of us, but if anyone can save us some time and point us to where the correct information is, that would be greatly appreciated.
I'm posting in this forum because a myself and a friend are planning to interface EMC with our own servo controllers. From reading the linuxcnc.org handbook, it seems that they support servo control through the Servo To Go board. It looks like we'll have to understand this code to make EMC communicate with our board. Is this correct, or should we be looking somewhere else in the source?
I'm also hoping that someone can clear up a little bit of fogginess about what exactly EMC sends to a servo controller, and what it expects back. I'm assuming that the PID filter is on the controller (or are people calling an H-bridge a controller? ), and if this is the case, does EMC send a stream of position/velocity data? If so, is there a document that specifies this? What kind of feedback does EMC want from the encoders (ie, does the controller have to process the encoder output at all) ?
Most importantly, does EMC handle synchronization between servos? I'll give an example to illustrate my question. Lets say that the mill is cutting some material with a heavy grain, and the X motor must work harder than the Y motor to cut equivalently. Lets also say that the servo controller is told to cut a line of slope = 1, meaning that the X and Y servos should move at the same speed. If the proportional element of both PID filters is equal, it should take the X motor a longer amount of time to apply the required power. Does EMC take this into account and slow the Y servo? Is this expected of the servo controller?
Thanks for any help you can give. I know we have a lot of reading and code-grokking ahead of us, but if anyone can save us some time and point us to where the correct information is, that would be greatly appreciated.