Some acu-rite scales have index pulses,some have the wire and no pulse, some use an 'absolute' distance coded marks so when u move maybe and inch or so it will know exactly where it is (after the dro/controller evaluates with an algorithm) . Heidenhain more commonly has two indexes or the distances coded marks . Anilam sometimes have index pulses. What model and plug style do u have?( round or D9). if u include the serial# of reader and scale I might be able to look it up.
Chris Morley ---------------------------------------- > From: [EMAIL PROTECTED] > To: [email protected] > Date: Sat, 15 Dec 2007 11:02:18 -0800 > Subject: Re: [Emc-users] DRO with VFD > > On Sat, 2007-12-15 at 10:32 -0800, Kirk Wallace wrote: >> On Fri, 2007-12-14 at 23:29 -0500, Stephen Wille Padnos wrote: >>> Hi Kirk >>> >>> Your fast period is way too fast to do a PPMC read/write. >>> >>> The PPMC update is meant to run in the servo thread, which might be 1-2 >>> KHz. The read function has to write several control bytes to the >>> parport, then read 12 bytes for the 4 encoder registers, plus other >>> data. That will take you well beyond the 20 us base period in the HAL file. >>> >>> - Steve >> >> Steve - I put a gold star by your name. The Bridgeport VCP is usable >> now. I posted the latest files: >> >> http://www.wallacecompany.com/machine_shop/bridgeport/pyvcp-dro2-bp2.hal >> http://www.wallacecompany.com/machine_shop/bridgeport/pyvcp-dro2-bp2.hal >> >> I still have the problem but spinbox is working. I found >> that if I click the data entry box, from that point on, the up down >> arrows ramp the numbers. It's pretty handy. >> >> The X axis encoder polarity happened to be wrong, so I changed the >> ppmc.0.encoder.00.scale to a negative value, but that didn't fix it. I >> could switch the A and B wires, but I thought the encoder scale should >> have. I need to look into this a little more. > > Opps. I entered the encoder scale settings twice. > >> For anyone wanting to play with pyVCP, I found these pages helpful: >> >> http://www.linuxcnc.org/docs/html/hal_vcp.html >> http://www.pythonware.com/library/tkinter/introduction/tkinter-reference.htm >> http://developer.mozilla.org/en/docs/XUL:hbox >> http://developer.mozilla.org/en/docs/XUL_Tutorial:The_Box_Model >> >> I haven't been able to get a few things like the flex option to work >> yet, so I am wondering if pyVCP has a full implementation of XUL or >> Tkinter. > > From: > http://www.linuxcnc.org/docs/html/hal_vcp.html#r1_5_3 > > It says: > " > Inside a Hbox, you can use the , anchor=""/>, and tags to choose how items > in the > box behave when the window is resized. For details of how fill, anchor, > and expand behave, refer to the Tk pack manual page, pack(3tk). By > default, fill='y', anchor='center', expand='yes'. > " > > It's amazing what ends up in the documentation. > >> It sure is fun to be able to customize the display, but I guess I need >> to get some real work done. >> >> (I have an "extra" wire on my Accurite linear scales, does anyone know >> if linear scales normally have an index?) > > -- > Kirk Wallace (California, USA > http://www.wallacecompany.com/machine_shop/ > Hardinge HNC lathe, > Bridgeport mill conversion, doing XY now, > Zubal lathe conversion pending) > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users _________________________________________________________________ Read what Santa`s been up to! For all the latest, visit asksantaclaus.spaces.live.com! http://asksantaclaus.spaces.live.com/ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
