Spindle index
encoder.0.counts is at 11447 and increases when I turn chuck by hand
encoder.0.counts-latched is -437
encoder.0.index-enabled is always false
encode.0.position is at 255.0667 and increases when I turn the chuck by hand. However, I thought 1 revolution would be 360 however it increases only by about 7 in one full revolution.
encoder.0.position-latched is -9.711111
encoder.0.position-rawcounts is at 11915
i tried M3 and M4 but no difference. I have changed all the O words that I got of this site to M4 from M3 as my chuck is not a backtool and my chuck turns anti-clockwise
Please Log in or Create an account to join the conversation.
Do you mean the phase-b signal, the B-phase parallel port pin or the encoder.0.phase-b pin?I think hal scope is running in base thread but I will check in morning. I did manage to get a square sign but that was using phase-b
[quote[encoder.0.counts is at 11447 and increases when I turn chuck by hand[/quote]If you have encoder.0.phase-a connected to the parallel port A-phase pin then that means that the scale is correct _and_ that the A-phase opto is working.
But you seem to be saying elsewhere that none of this is true?
It will be unless motion sets it to true prior to a threading pass. You can set it to true if you want, then see if it goes false. (in a terminal, halcmd sets index-enable true)encoder.0.index-enabled is always false
It should increase by 1 for a full revolution, if the encoder scale is set correctly.encode.0.position is at 255.0667 and increases when I turn the chuck by hand. However, I thought 1 revolution would be 360 however it increases only by about 7 in one full revolution.
M3 turns the chuck anticlockwise on a front-toolpost lathe. The reason that M3 M4 makes no difference is because you are using the "abs" version of spindle speed. Do you have any sort of spindle-reverse configured?i tried M3 and M4 but no difference. I have changed all the O words that I got of this site to M4 from M3 as my chuck is not a backtool and my chuck turns anti-clockwise
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Unless... Please tell me you are not lowpass-filtering the encoder pulses?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I am completely baffled, as you seem to be saying that you have no A-phase but the encoder still counts.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
To be perfectly honest, I have no idea. Its what the stepconf automatically writes when I go through all the processes. I can screw cut. Just at 275RPM. Not ideal speed for steel but mainly doing ali at moment. I wonder if maybe the sensor cant read fast enough. Maybe I should make one like you made and see if its any better??
It could be a slow (or heavily debounced) sensor. It could be a slow break-out board. An oscilloscope is the only way to be sure, I think.
There are filter caps on the sensor board, IIRC. You could try shorting across them to see what happens.
Please Log in or Create an account to join the conversation.