On Sun, 12 Sep 2021, Alan Condit wrote:
Date: Sun, 12 Sep 2021 16:49:43 -0500
From: Alan Condit <condit.a...@gmail.com>
Reply-To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
To: "Emc-users@lists.sourceforge.net" <Emc-users@lists.sourceforge.net>
Subject: [Emc-users] Spindle setup for 5i25/7i76
I built a new controller for my 9x20 lathe using a 5i25/7i76 combo. I thought I
had everything working but I still can??t get the spindle working correctly. I
have a 1.5hp PMDC treadmill motor that I am controlling with a Cycletrol-150 DC
controller. The am using the analog out from the 7i76 to replace the
potentiometer to control the spindle speed. I have a 100 slot encoder with
index (homemade) on the spindle.
The spindle starts under LCNC control but I am not getting an ??at speed
indication?? at above about 100rpm. The motor sounds like is is running at a
steady speed but the Spindle Speed indicator fluctuates wildly. I am suspicious
of the spindle encoder. Before I was just running it as a 100 count counter
with index and it worked fine. I can??t figure out in PNCConf how to set up a
spindle counter with index for the 7i76.
Questions:
Is it likely that my encoder is the problem?
I don??t know how to adjust the detectors to be out of cycle by 90??? Any
helpful hints? Should I just go back to the 100 slot counter?
Should I replace my whole homemade encoder with a real commercial
spindle encoder?
I would first check the A/B phasing and symmetry by monitoring the A and B
inputs with halscope when turning at a slow speed (say 100 RPM or less)
The pins to monitor would be:
hm2_5i25.0.encoder.00.input-a
hm2_5i25.0.encoder.00.input-b
Ideally both A and B should be square waves (50% duty cycle)
and have a 90 degree phase difference (A changes in the middle of B high and B
low times and vice versa)
Peter Wallace
Mesa Electronics
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users