-
Hello Maxim, I received my H4 control a few days ago and have it installed and mostly working. All seems to be well, the direction, start stop everything seems to be working fine. When I hand rotate the spindle the degree readout reads correctly. It gives reasonably correct rpm when the spindle is running. Unfortunately if I run the spindle even at low speed and bring it to a stop it has lost the orignianl position of the spindle. I have a 1024 E6B2 Omron encoder that was working fine with a Clough42. I've looked at the A B signals and the 5 volt line with a scope and they seem to be acceptable with only a little noise on the highs and lows but with a good fast transition. I've powered the encoder from the H4 and from a separate 5 volt supply with no difference. I tried to cut threads and of course it isn't tracking. I have a 600 P/R encoder coming today but hate to change it as my Clough42 is set up and working and easy to put back. I am running is slow enough that the pulse rate even with a 1024 encoder should be fine. Maybe I'm assuming that it always tracks the spindle and my procedure is faulty. I had 2 handwheels hooked to Z and X and they worked fine but I went back and turned them off to see if that changed anything and it didn't. Any ideas Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @Kisssys, please upload the latest h4.ino to your H4 and let me know if it helps. There was a bug in the original source code version. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Ok Sounds good
Cheers
Steve
…On Mon, Jun 5, 2023 at 1:41 PM Maxim Kachurovskiy ***@***.***> wrote:
I just noticed beep() in your code and I've never beeped on anything.
Don't really care but I thought I'd mention it.
In the first few devices it's pretty quiet because I over-designed that
circuit and added R7 resistor inline with the buzzer. You can hear it if
you try to start e.g. thread mode without specifying the stops. To fix the
issue, replace that resistor with a bead of solder - apologies for the
trouble.
[image: image]
<https://user-images.githubusercontent.com/517919/243443049-418e2e36-a089-4c57-bef1-b66fb32b404e.png>
Would just the letters Z and X be as descriptive as printing Position?
Sure, you can adjust your code as you see fit - changing "Position "
string to something else or deleting these 3 lines entirely:
if (xDisplayPos == 0 && !x.isManuallyDisabled) {
charIndex += lcd.print("Position ");
}
—
Reply to this email directly, view it on GitHub
<#120 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHCTMHZ4G5ZDIE7ZY7LOY3XJYR4NANCNFSM6AAAAAAYYRCE2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
This is all installed on a Jet BD920 lathe.
Well I think I'm all good now but had a few bumps in the road. Take my comments for what they are worth, just my experience in getting it going.
I installed the new code and did get a good thread cut so I hope that solves that.
Since I ordered the 600 P/R encoder I decided to install it so that we are comparing apples to apples if I have further problems. It reads 1/1 with the spindle.
After putting it in I lost the angle all together. It turns out the encoder I bought off of Amazon (Taiss/Incremental Rotary Encoder DC 5-24v)is voltage sensitive and if the voltage fed to it is less than 4.7 volts it quits. That brought be to question of how to s…