6811
General Mach Discussion / Re: Encoder motor control
« on: May 08, 2010, 09:16:46 PM »
Actually, looking back into some OLD notes you can have an encoder monitor setup in "brains" to watch the error between the program position and the Encoder position. Then on error STOP.
Setup a brain to monitor OEMDRO127,127,129 AND IF the amount of error exceeds a set amount then FEEDHOLD. You could also add a brain to tell you which axis errored out as well.
NOTE: the dros #127,128,129 show the difference in position comparing the Program DRO verses the Encoder DRO. IF all is well then they would read the same as the machine moved
OR you could have it start a program that would stop mach, reset the machine to the encoder position then restart the program from where it left off.
BUT that is NOT going to help you in this case AS you will contantly be resetting the program due to erroring out.
Bandwidth in this case was the amount of error you allow to occur Before the program errored out and stopped mach.
Setup a brain to monitor OEMDRO127,127,129 AND IF the amount of error exceeds a set amount then FEEDHOLD. You could also add a brain to tell you which axis errored out as well.
NOTE: the dros #127,128,129 show the difference in position comparing the Program DRO verses the Encoder DRO. IF all is well then they would read the same as the machine moved
OR you could have it start a program that would stop mach, reset the machine to the encoder position then restart the program from where it left off.
BUT that is NOT going to help you in this case AS you will contantly be resetting the program due to erroring out.
Bandwidth in this case was the amount of error you allow to occur Before the program errored out and stopped mach.