- Posts: 19306
- Thank you received: 0
rigid tapping g33.1 isnt working spindle isnt sync
fabworx wrote: oh and just for reference I thought this was odd. maybe I'm wrong I thought hm2_5i20.0.encoder.04.velocity was supposed to float out revolutions per second and its not. its putting out a number that is exactly 1000 times to small it says 0.506 to 0.507 with a s500 m3 running
The velocity is in RPS and the S-command is in RPM. So 500 rpm should give 8 rps.
Are you sure that the encoder scale (8000) is correct?
Does the spindle-revs pin _increase_ by exactly 1.0 for a single turn of the spindle? I think I recall puzzling over why my lathe wouldn't thread any more after reconfiguring the encoder, it turned out the encoder was counting backwards.
Have you accidentally typed a "0" in the Axis GUI and set the feed over-ride to 0? Not that I have ever done that, oh no
It might be worth checking the state of the feed-hold pin.
Please Log in to join the conversation.
The command isby the way I cant get halcmd show pins to work in the terminal window.
halcmd is quite useful for debugging
if you want specific sets of data you can use grep for example:
Please Log in to join the conversation.
peter I'm an schmuck lol I kept putting pins instead of pin.
Please Log in to join the conversation.
fabworx wrote: andy, im starting off with z at 0. its a m5x0.8 thread.
In that case I don't think that the G-code posted will do what you want.
S500 m3
G33.1 z-0.065 k 0.08
You are asking for a very, very small Z move. I assume this is an Imperial machine?
I have, however, just tried it in the Axis simulator, and I got a move. It was a move made up almost entirely of accel and decel moves though.
M5x0.8 pitch should be a K of 0.8mm or 0.0315" though. 0.08 is wrong in any units.
Try a much lower spindle speed. It is just possible that the system is refusing to try to synch at 500rpm.
Please Log in to join the conversation.
Please Log in to join the conversation.
s500 m3
g33.1 z-0.65 k0.8
Please Log in to join the conversation.
I WANT TO THANK BIG JOHN, FOR YOUR INSITE AND HELP.
I ALSO WANT TO THANK ANDYPUGH, WITHOUT YOUR HELP I WOULDNT HAVE COME TO THIS CONCLUSION.
AND PETER A BIG THANK YOU TO YOU AS WELL.
ALL OF YOU GUYS ARE GREAT.
Please Log in to join the conversation.
thanks again guys. sometimes you just have to step back and take it to basics.
Please Log in to join the conversation.
- FloppyDisk
- Offline
- New Member
-
- Posts: 15
- Thank you received: 0
I have looked at your hal file for the gearchange and you don't appear to have anything linked to:
gearchange.N.sel bit in Gear selection input
So, I don't see how you change the gear?
You have the following mux and flipflop lines:
net gearchange-scale-change mux2.1.sel flipflop.0.out
net gearchange-scale-change mux2.2.sel flipflop.1.out
But, I don't see how you get into gearchange.0.sel...
I see a toggle, but still not connected to gearchange??
setp toggle.0.debounce 0
Thanks and confused - Mark
Please Log in to join the conversation.
