Fitting an encoder on a Tormach 1100

More
8 years 6 months ago #109397 by andypugh
What does your spindle do? It sounds like the G33.1 might be waiting for the second spindle reversal.
Does your encoder definitely count up clockwise and down anticlockwise?

Please Log in to join the conversation.

More
8 years 6 months ago #109402 by Clive S

andypugh wrote: What does your spindle do? It sounds like the G33.1 might be waiting for the second spindle reversal.
Does your encoder definitely count up clockwise and down anticlockwise?

Yes the encoder counts correctly.
Ok the machine taps the hole forward then reverse out no probs but then it hangs, as if its waiting. If I then put say x10 in the MDI it throws an error say g33.1 missing K value. to get out of this error I have to hit escape and stop. then I can jog around ok.

I can then run the code again it will then return to the same hole and tap it without wrecking the threads so it is still in sync.

edit; forgot to say the spindle stops so it sees the M2

Please Log in to join the conversation.

More
8 years 6 months ago #109441 by andypugh
If you read the G33.1 documentation it says that the spindle reverses at the bottom of the hole and then reverses _again_ at the top of the hole when the cycle completes.

Do you see the second reversal?

I am wondering if, perhaps, the system is requesting that the spindle returns to forwards rotation but, for some reason, it doesn't happen.

Please Log in to join the conversation.

More
8 years 6 months ago #109443 by Clive S

andypugh wrote: If you read the G33.1 documentation it says that the spindle reverses at the bottom of the hole and then reverses _again_ at the top of the hole when the cycle completes.

Do you see the second reversal?

I am wondering if, perhaps, the system is requesting that the spindle returns to forwards rotation but, for some reason, it doesn't happen.

Thanks for the feedback.

I am pretty sure the spindle does change back to forward. (but I will check again tomorrow).

Its strange though in that if I add a g1 x1 then g1 x0 it is fine. Just a g1 on its own does not work Ie still locks up.

What is the syntax for it to tap two holes . Do it have to add the g33.1 line again?

Please Log in to join the conversation.

More
8 years 6 months ago #109445 by andypugh

Clive s wrote: What is the syntax for it to tap two holes . Do it have to add the g33.1 line again?


Yes, I think you need the second G33.1 as it isn't a canned cycle in the sense that G83 and such are. It is, however, modal.
(I just experimented in a simulator and was surprised by this)

So
Code:
G0 X0 Y0 Z10 M3 S100 G33.1 Z0 K1.5 X10 K2
Has the rather unexpected effect of doing a spindle-synch move along Z followed by a spindle-synch move along X.
This does mean that you can do peck-tapping like this:
Code:
G0 X0 Y0 Z10 M3 S100 G33.1 Z9 K1.5 Z8 K1.5 Z7 K1.5 ...
It seems odd to require the K on each line, but it seems that you do.

To do two holes you would use
Code:
M3 S100 G0 X0 X0 Z10 G33.1 Z0 K1 G0 X10 G33.1 Z0 K1 ...

Note that G0 sets the motion mode to rapid, G1 to feed, and G33.1 to spindle-synched tapping.
It is the Xnn Ymm commands that mode the axes. XYZ etc are best viewed as commands, not variables.

Please Log in to join the conversation.

More
8 years 6 months ago #109447 by Clive S
Thanks again Andy.

I will try the above out tomorrow, I take it you mean Z- 10 above. I will report back.

One other issue I had today in that I changed the encoder from a 2000p/r to a 1000p/r ( and changed the scale) The encoders were identical
But the second one counted down so I had to change the scale to -ve. (it was wired the same) could I have just changed the A and B over to achieve the same result?

Please Log in to join the conversation.

More
8 years 6 months ago #109450 by andypugh
Yes, you can swap A and B to switch direction. But software is easier and both ways work just as well.

Please Log in to join the conversation.

More
8 years 6 months ago #109484 by Clive S
Ok with this:-

G0 X0 Y0 Z2
M3 S100

G33.1 -Z3 K1.25
Z -5 K1.25
Z -8 K1.25
z -10 K1.25
M2
Works fine for peck tapping and does not lock up. terminates at Z2

G0 X0 Y0 Z2
M3 S100

G33.1 -Z3 K1.25
Z -5 K1.25
Z -8 K1.25
z -10 K1.25

G0 X10 Y015
G33.1 -Z3 K1.25
Z -5 K1.25
Z -8 K1.25
z -10 K1.25
M2
Works fine pecking two holes and terminates at Z2

Thanks to Andy for all the help and guidance. Next project is to add mpg's to the 7i85s I will start a new post for this.

Please Log in to join the conversation.

More
6 years 6 months ago #166217 by snowgoer540
Sorry to resurrect a really old thread.

I am looking to do just this with my Tormach 1100 Series 3. I was wondering if it was still working great, and also if you could guide me as to what encoder you used, gears, etc. Grateful for any information you can send my way. Obviously there is a ton here already which is awesome!

Thanks!

-Greg

Edit: Fixed the Make and Model of my machine for clarity.

Please Log in to join the conversation.

More
6 years 6 months ago #166231 by Clive S

snowgoer540 wrote: Sorry to resurrect a really old thread.

I am looking to do just this with my 110S3. I was wondering if it was still working great, and also if you could guide me as to what encoder you used, gears, etc. Grateful for any information you can send my way. Obviously there is a ton here already which is awesome!

Thanks!

-Greg


What is the 110S3 as I don't recognise it? If it is similar to mine I can give you my custom files for the encoder and mpg's I also have the dxf files for the encoder mounts and the pulleys.

I used a 7i85s for the encoder inputs. the high speed encoder was from china about £15

I copied the design from this vid

Please Log in to join the conversation.

Time to create page: 0.334 seconds
Powered by Kunena Forum