Fitting an encoder on a Tormach 1100
21 Apr 2018 15:53 #109397
by andypugh
Replied by andypugh on topic Fitting an encoder on a Tormach 1100
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?
Does your encoder definitely count up clockwise and down anticlockwise?
Please Log in or Create an account to join the conversation.
21 Apr 2018 17:33 - 21 Apr 2018 17:42 #109402
by Clive S
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
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
Yes the encoder counts correctly.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?
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
Last edit: 21 Apr 2018 17:42 by Clive S.
Please Log in or Create an account to join the conversation.
22 Apr 2018 18:38 #109441
by andypugh
Replied by andypugh on topic Fitting an encoder on a Tormach 1100
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.
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 or Create an account to join the conversation.
22 Apr 2018 18:47 #109443
by Clive S
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?
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
Thanks for the feedback.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.
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 or Create an account to join the conversation.
22 Apr 2018 18:59 #109445
by andypugh
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)
SoHas 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:It seems odd to require the K on each line, but it seems that you do.
To do two holes you would use
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.
Replied by andypugh on topic Fitting an encoder on a Tormach 1100
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
G0 X0 Y0 Z10
M3 S100
G33.1 Z0 K1.5
X10 K2
This does mean that you can do peck-tapping like this:
G0 X0 Y0 Z10
M3 S100
G33.1 Z9 K1.5
Z8 K1.5
Z7 K1.5
...
To do two holes you would use
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.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
22 Apr 2018 19:11 #109447
by Clive S
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
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?
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 or Create an account to join the conversation.
22 Apr 2018 19:50 #109450
by andypugh
Replied by andypugh on topic Fitting an encoder on a Tormach 1100
Yes, you can swap A and B to switch direction. But software is easier and both ways work just as well.
Please Log in or Create an account to join the conversation.
23 Apr 2018 09:47 #109484
by Clive S
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
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.
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 or Create an account to join the conversation.
- snowgoer540
- Away
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
30 Apr 2020 13:51 - 30 Apr 2020 17:49 #166217
by snowgoer540
Replied by snowgoer540 on topic Fitting an encoder on a Tormach 1100
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.
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.
Last edit: 30 Apr 2020 17:49 by snowgoer540.
Please Log in or Create an account to join the conversation.
30 Apr 2020 17:37 #166231
by Clive S
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
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
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
The following user(s) said Thank You: snowgoer540
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.082 seconds