On Wednesday 24 February 2021 17:41:25 Alan Condit wrote:

> > From: "Peter C. Wallace" <p...@mesanet.com>
> > Subject: Re: [Emc-users] 7i76 spindle speed control with Cyclotrol
> > C150 Controller Date: February 23, 2021 at 11:01:44 AM CST
> > To: Alan Condit <condit.a...@gmail.com>
> > Cc: "Emc-users@lists.sourceforge.net"
> > <Emc-users@lists.sourceforge.net>
> >
> > On Tue, 23 Feb 2021, Alan Condit wrote:
> >> Date: Tue, 23 Feb 2021 10:53:26 -0600
> >> From: Alan Condit <condit.a...@gmail.com>
> >> To: "Emc-users@lists.sourceforge.net"
> >> <Emc-users@lists.sourceforge.net>, Wallace Peter C.
> >> <p...@mesanet.com>
> >> Subject: 7i76 spindle speed control with Cyclotrol C150 Controller
> >>
> >> PCW,
> >>
> >> I am trying to use my 7i76 Mesa card�s spindle control to control
> >> the speed on my DanFoss Cyclotrol C150 controller. The manual says,
> >>
> >>> "PROCESS CONTROL SIGNALS
> >>> A 0-10v dc control signal input may be used by connecting process
> >>> signal(+) to SP2 and process(-) to SP3. With tachometer feedback,
> >>> the motor speed will track the process voltage to better than 1 %
> >>> linearity. The input impedance is approx. 50K ohms. Current
> >>> process signals may be used with an additional resistor. A 1-5 mA
> >>> signal can be accommodated by shunting SP2 and SP3 with a 2.0K
> >>> ohms, 1 /2 watt resistor; for 4-20 mA, use a 500 ohms , 1 /2 watt.
> >>> Set the "P" switch in the closed (up) position, to allow the
> >>> Cycletrol 150 to operate with current process signals.�
> >>>
> >>> OPEN SWITCHES (DOWN)
> >>> "A�, �B�, �C�, �D"
> >>> BASIC SPEED CONTROL
> >>> Control RUNS/STOPS from a single input command.
> >>> Closure on JOG puts Cycletrol into a RUN mode.
> >>> Opening the JOG produces a STOP command.
> >>
> >> I am not sure if SP1 should connect to Spindle+ or Spindle-. I am
> >> pretty sure SP2 should be SpindleOut. SP3 should connect to either
> >> Spindle- or Spindle+ which ever is left open after connecting SP1.
> >> Can anyone tell from the info I have furnished what the correct
> >> wiring should be. I am leaning towards Spindle- to SP3, SpindleOut
> >> to SP2 and Spindle+ to SP1. If I guess wrong will it damage the
> >> 7i76 board?
> >>
> >> The full manual is at
> >> <https://www.grahammotorandcontrols.com/pdf/Cycletrol%20C150%20DC%2
> >>0Instruction%20Manual.pdf
> >> <https://www.grahammotorandcontrols.com/pdf/Cycletrol%20C150%20DC%2
> >>0Instruction%20Manual.pdf>>
> >>
> >>
> >> Thanks,
> >> Alan
> >
> > As long as the voltage at SP1 is less than 15V, (relative to SP3)
> > you should be OK with
> >
> > SP1 --> SPIN+
> > SP2 --> SPINOUT
> > SP3 --> SPIN-
> >
> > Peter Wallace
> > Mesa Electronics
>
> Peter,
>
>
>
> I don’t know what was going on yesterday with the spindle brake. This
> morning  I disconnected the SPINDLE ENA from the JOG and COM and
> reconnected the external switch in the original configuration and the
> spindle brake was working again. Then I reconnected the external
> switch in the same configuration as I had with the Mesa SPINDLE ENA
> pair and the spindle brake still worked. So I reconnected the SPINDLE
> ENA+ to JOG and the SPINDLE ENA- to COM(-) and the spindle brake
> continues to work. MYSTERY!
>
> It seems to bring the spindle to a stop from 500rpm in about a quarter
> rotation of the spindle (the specs say a maximum of ¼ second delay).
>
> So now I need to see if I can get a sample config from someone that
> monitors the spindle  rotation coming to 0 rpm before changing the
> spindle direction, before I install the relay to reverse the spindle
> direction.
>
> Thanks,
> Alan
>
That shouldn't be too difficult. Here I am blocking the dir change, but 
us its detection to switch a mux2 in series with the spindle speed to 
ground the speed signal to a limit3, the outout of which is driving the 
pid. The xor that detected the dir change also starts a timer which is 
watching the encoder a or b leg and when 10 millisecs has expired with 
no new encoder edge, the timer resets with restores the input to the 
limit3 and also allows the dir change to get to the pwmgen, the limit3 
then ramps the motor back tp the requested speed, turning the other 
direction. The pico pwm-servo is a full 4 quadrant controller recovering 
the motor energy as it stops it, running the supply up to an overvoltage 
state for the filter caps stopping the motor but uses that to accell the 
motor in the other direction. It all happens very quickly, about 400 
milliseconds from 3000 revs fwd, to 3000 revs reversed on the G0704.

I'm doing that basic idea on 3 machines, 2 of which are 1hp PMDC motors 
driven by Pico pwm-servo's. The Sheldon lathe has a VFD so the switching 
is somewhat different, and I have concocted a display that shows the 
overshoot, which if the threading code feeds the tap pitch back will 
show in addition to the overshoot in turns, also the distance the tap 
over travels during that over shoot, which is at 100 spindle revs on the 
sheldon with a nearly 40 lb 8" chuck mounted, runs about .25 turns.

Give me a PM along with a better description and I'll return whichever 
config seems to fit better. You are welcome to whatever you can use.

Take care and stay well Alan.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to