Re: [Emc-users] Spindle rps and index

2021-04-07 Thread Nicklas SB Karlsson
Den 2021-04-05 kl. 21:48, skrev Karl Schmidt: On 3/19/21 4:53 AM, andy pugh wrote: Here is a schematic of a typical LinuxCNC spindle orient setup: https://wiki.linuxcnc.org/uploads/orient.svg I've updated the svg - but I think it might be missing the spindle-index-enable connection? Does

Re: [Emc-users] Spindle rps and index

2021-04-05 Thread andy pugh
On Tue, 6 Apr 2021 at 02:13, Karl Schmidt wrote: > > Motion's spindle.0.speed-out is always in RPM. Encoder outputs both > 'velocity' and velocity-rpm (not sure why as scale > should get us to either unit?) spindle.N.speed-out-rps, speed-out-rps-abs and speed-out-abs (rpm) also exist. This is

Re: [Emc-users] Spindle rps and index

2021-04-05 Thread Karl Schmidt
Motion's spindle.0.speed-out is always in RPM. Encoder outputs both 'velocity' and velocity-rpm (not sure why as scale should get us to either unit?) so I can plug RPM into the PID (I think both the PID.command and PID.feedback should be in the same units), but then pid.output passes through

Re: [Emc-users] Spindle rps and index

2021-04-05 Thread andy pugh
On Mon, 5 Apr 2021 at 20:50, Karl Schmidt wrote: > I've updated the svg - but I think it might be missing the > spindle-index-enable connection? That isn't really related to orient. I don;t know if it belongs in the diagram, or whether it would cause confusion. > Does the go to both the

Re: [Emc-users] Spindle rps and index

2021-04-05 Thread Karl Schmidt
On 3/19/21 4:53 AM, andy pugh wrote: Here is a schematic of a typical LinuxCNC spindle orient setup: https://wiki.linuxcnc.org/uploads/orient.svg I've updated the svg - but I think it might be missing the spindle-index-enable connection? Does the go to both the position-pid and the

Re: [Emc-users] Spindle rps and index

2021-03-31 Thread andy pugh
On Thu, 1 Apr 2021 at 00:54, Karl Schmidt wrote: The names of these pins seem to have changed.. Good point. It's an SVG, so the changes can be made with a text editor and find/replace. motion.spindle- to spindle.0. (in most cases). It is probably possible to pass the .svg through the regex

Re: [Emc-users] Spindle rps and index

2021-03-31 Thread Karl Schmidt
On 3/19/21 4:53 AM, andy pugh wrote: Here is a schematic of a typical LinuxCNC spindle orient setup: https://wiki.linuxcnc.org/uploads/orient.svg The names of these pins seem to have changed.. For instance - there is no motion.spindle-on - must be spindle.0.on I'm going to edit this up if

Re: [Emc-users] Spindle rps and index

2021-03-21 Thread Karl Schmidt
On 3/19/21 4:53 AM, andy pugh wrote: Here is a schematic of a typical LinuxCNC spindle orient setup: https://wiki.linuxcnc.org/uploads/orient.svg I happen to be doing about the same thing - The svg is quite helpful but I ended up with 3 questions.. In my case output of will go to a VFD -

Re: [Emc-users] Spindle rps and index

2021-03-19 Thread Peter C. Wallace
On Fri, 19 Mar 2021, Nicklas SB Karlsson wrote: Date: Fri, 19 Mar 2021 19:07:50 +0100 From: Nicklas SB Karlsson Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Spindle rps and index Den 2021-03-19 kl. 10:53, skrev

Re: [Emc-users] Spindle rps and index

2021-03-19 Thread Nicklas SB Karlsson
Den 2021-03-19 kl. 10:53, skrev andy pugh: On Fri, 19 Mar 2021 at 01:46, John Dammeyer wrote: I take it then that you can't actually move the spindle to the index position unless you have some sort of control beyond velocity? Velocity control + PID = position control. Here is a schematic

Re: [Emc-users] Spindle rps and index

2021-03-19 Thread John Dammeyer
> From: Roland Jollivet [mailto:roland.jolli...@gmail.com] > On Fri, 19 Mar 2021 at 11:58, andy pugh wrote: > > > On Fri, 19 Mar 2021 at 01:46, John Dammeyer > > wrote: > > > > > I take it then that you can't actually move the spindle to the index > > position unless you have some sort of

Re: [Emc-users] Spindle rps and index

2021-03-19 Thread John Dammeyer
> From: andy pugh [mailto:bodge...@gmail.com] > On Fri, 19 Mar 2021 at 01:46, John Dammeyer wrote: > > > I take it then that you can't actually move the spindle to the index > > position unless you have some sort of control beyond velocity? > > Velocity control + PID = position control. > >

[Emc-users] Spindle rps and index

2021-03-19 Thread Roland Jollivet
On Fri, 19 Mar 2021 at 11:58, andy pugh wrote: > On Fri, 19 Mar 2021 at 01:46, John Dammeyer > wrote: > > > I take it then that you can't actually move the spindle to the index > position unless you have some sort of control beyond velocity? >

Re: [Emc-users] Spindle rps and index

2021-03-19 Thread andy pugh
On Fri, 19 Mar 2021 at 01:46, John Dammeyer wrote: > I take it then that you can't actually move the spindle to the index position > unless you have some sort of control beyond velocity? Velocity control + PID = position control. Here is a schematic of a typical LinuxCNC spindle orient setup:

Re: [Emc-users] Spindle rps and index

2021-03-18 Thread dave engvall
My Mazak V5 had a coarse helix cam which oriented the spindle. The one at Galesburg used something closer to  an  inductive sensor to sense index.. I think that got swapped out for an encoder. Once it picked up the index it then rotated n counts to index the spindle for tool change.  If memory

Re: [Emc-users] Spindle rps and index

2021-03-18 Thread John Dammeyer
> -Original Message- > From: Jon Elson [mailto:el...@pico-systems.com] > > Interesting topic. > > > > I take it then that you can't actually move the spindle to the index > > position unless you have some sort of control beyond velocity? > > > > I'm currently using PWM on mine but once

Re: [Emc-users] Spindle rps and index

2021-03-18 Thread Jon Elson
On 03/18/2021 08:43 PM, John Dammeyer wrote: -Original Message- From: Jon Elson [mailto:el...@pico-systems.com] Sent: March-18-21 6:22 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Spindle rps and index On 03/18/2021 05:18 PM, Nicklas SB Karlsson wrote: Need

Re: [Emc-users] Spindle rps and index

2021-03-18 Thread John Dammeyer
> -Original Message- > From: Jon Elson [mailto:el...@pico-systems.com] > Sent: March-18-21 6:22 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Spindle rps and index > > On 03/18/2021 05:18 PM, Nicklas SB Karlsson wrote: > > Ne

Re: [Emc-users] Spindle rps and index

2021-03-18 Thread Jon Elson
On 03/18/2021 05:18 PM, Nicklas SB Karlsson wrote: Need to orient spindle. Using a quadrature encoder spindle need to be "homed" by rotating up to one revolution to find index pulse but there is no homing for spindle. Know what index pulse is in encoder but what does the index enable signal

[Emc-users] Spindle rps and index

2021-03-18 Thread Nicklas SB Karlsson
Need to orient spindle. Using a quadrature encoder spindle need to be "homed" by rotating up to one revolution to find index pulse but there is no homing for spindle. Know what index pulse is in encoder but what does the index enable signal for spindle do? or how is it used? There is a float