Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: lightntrax on January 06, 2012, 10:00:09 PM

Title: Encoder distance
Post by: lightntrax on January 06, 2012, 10:00:09 PM
How do I use the distance measured by an encoder instead of stepper position?  Also is it different on an encoder for absolute versus relative?

Thanks.  Eddy
Title: Re: Encoder distance
Post by: RICH on January 07, 2012, 05:23:38 AM
Can you expand on your questions? Not sure what your asking.

RICH
Title: Re: Encoder distance
Post by: lightntrax on January 07, 2012, 10:55:12 AM
I am working on a system that will drill holes on a ribbon wire.  The wire is continuous in length and comes off a roll.  I plan on using a take up roll to advance the ribbon.  As the take up roll gets more wire on it the diameter will change so I have an encoder wheel that can measure the distance the ribbon travels.  The machine is basically a 2 axis (X and Z).  I will drill a hole then move 0.2" drill again and repeat every 2" down the ribbon.  I am thinking that I might need to do this through brains or c code.  Unless there is a better way.  Thanks for the input.  Eddy
Title: Re: Encoder distance
Post by: BR549 on January 07, 2012, 11:57:40 AM
I would make a separate drive to advance the ribbon wire threw a pair of rollers. I would make the drive roller an axis then program the advancement in gcode. Pretty much Failsafe.

(;-) TP