Skip to main content
Submitted by nile on Thu, 08/03/2006 - 11:47

I recently had my DMC-1540 quit on me. I changed out the board inside the unit and in the process i also changed an angular encoder, which was set as the dual encoder. I did not change the linear encoder, the stage, or the motor.
Before I changed the Galil unit, the linear encoder read 1 micron per count. It is now reading about 20 microns per count and so the resolution is much lower. I aready have a number of programs written to run off of the previous encoder counts and I would like to retrieve those values. I could not find any command that would affect multiplication of the encoder counts. I tried performing a master reset on the Galil MC and I contacted Heidenhain about the encoder and they say that there is nothing that could have gone wrong with the encoder. Any help would be much appreciated.

Comments 1

Galil_RobinR on 08/07/2006 - 08:29

Nile-
There is no on-board command for scaling encoder positions. You have three choices as I see it:
1. If you are using PR/PA/JG (Independant motion commands) you could Search for those command strings, and replace the old X encoder distances with the new.
2. If you are using the Vector Mode (VM) then you could look at using the Ellipse Scale ES command. This is normally used to scale dissimilar encoders and be able to command a perfect circle, but in your case your using it to scale the existing code. The ES would live near the start of the program, before you execute motion.
3. If you have a spare axis, you can Gear the extra axis to the original X axis at some ratio. You'll need to set up the original axis as Stepper, and re-wire the encoder, motor commands etc to the new slave axis. Call in to Galil if you need help with this.