Hangs on G33/G76 command

More
12 years 10 months ago - 12 years 10 months ago #42095 by PCW
Replied by PCW on topic Hangs on G33/G76 command
Probably you are just running into the limitations of the interpolated
position code: the slower you go the worse this will get.

The best solution is not to guess the spindles rotary position but use an encoder
and _know_ where it is. Any other solution is rather mickey mouse.

(and at 60 RPM with a single sensor you are guessing for up to a second)

Thats is its pretty hard to gear the linear to rotary axis when you only get a
position update once a second.

Note that the 60 RPM minimum is determined by the encoder.N.min-velocity-estimate
setting on the encoder component.

(man encoder)
Last edit: 12 years 10 months ago by PCW.
The following user(s) said Thank You: mtngun

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #42117 by mtngun
Replied by mtngun on topic Hangs on G33/G76 command

PCW wrote: The best solution is not to guess the spindles rotary position but use an encoder
and _know_ where it is. Any other solution is rather mickey mouse.

Point taken, PCW. An encoder is on my to-do list, but it will probably take quite a few months for me to assemble.

Any pics of homemade lathe encoders? Did you use a store bought encoder wheel, or did you make your own with a CNC mill? Optical or reflective?

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #42186 by andypugh
Replied by andypugh on topic Hangs on G33/G76 command

mtngun wrote: [Any pics of homemade lathe encoders? Did you use a store bought encoder wheel, or did you make your own with a CNC mill? Optical or reflective?


picasaweb.google.com/lh/photo/iHKPEhyEJB...pFm0?feat=directlink

Is one I made with a slitting saw. It used reflectiive sensors:
picasaweb.google.com/lh/photo/_hlZumHKbs...pFm0?feat=directlink

It wasn't a great success, as it seemed to need regular sensitivity adjustment. The slot-type work a lot more reliably.

Is there are metal gear on the lathe spindle? You can use that and magnetic sensors.
The following user(s) said Thank You: mtngun

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #42190 by mtngun
Replied by mtngun on topic Hangs on G33/G76 command
I'd heard that the reflective type sensors could be noisy so I ordered the slot type.

I don't have a CNC mill (yet) to make an encoder disk but I do have an import spin indexer so I figure I can put the spin indexer on my manual mill and cut the slots that way.

Although .... since I added the debounce to the spindle index, I haven't had any more glitches while threading, at least for the 2 hours or so that I played with it this afternoon. B) The debounce seemed to make a big difference.

Nice job on your slotted encoder wheel, BTW. I never cease to be impressed with people who can make "real stuff."
Last edit: 12 years 10 months ago by mtngun.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #228849 by Coordinates
can you plz shear the hal and ini file for the encoder which has 2 signals phase A and indexing i accidently rewritten them

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #228919 by andypugh
Replied by andypugh on topic Hangs on G33/G76 command
This thread was 8 years old. It is probably best to start a new thread with a description of your problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.158 seconds
Powered by Kunena Forum