Re: [Emc-users] Spindle acceleration/decelleration

2020-07-09 Thread Gene Heskett
On Friday 10 July 2020 01:13:12 Peter C. Wallace wrote: > On Thu, 9 Jul 2020, John Dammeyer wrote: > > Date: Thu, 9 Jul 2020 22:02:31 -0700 > > From: John Dammeyer > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "'Enhanced Machine Controller (EMC)'" > > Subject: [Emc-users] Sp

Re: [Emc-users] Spindle acceleration/decelleration

2020-07-09 Thread John Dammeyer
Thanks Peter, Wasn't sure if there was an easier way. I cut and pasted the example from the doc page but it's in the wrong place and LinuxCNC does start. For now it's all commented out. So I have to figure out what I need to 'fix' in the hal file so it uses the limit component properly.

Re: [Emc-users] Spindle acceleration/decelleration

2020-07-09 Thread Peter C. Wallace
On Thu, 9 Jul 2020, John Dammeyer wrote: Date: Thu, 9 Jul 2020 22:02:31 -0700 From: John Dammeyer Reply-To: "Enhanced Machine Controller (EMC)" To: "'Enhanced Machine Controller (EMC)'" Subject: [Emc-users] Spindle acceleration/decelleration My ini file these parameters. MAX_VELOCITY =

[Emc-users] Spindle acceleration/decelleration

2020-07-09 Thread John Dammeyer
My ini file these parameters. MAX_VELOCITY = 50.0 MAX_ACCELERATION = 300.0 Setting MAX_ACCEL to 30 doesn't change the rate of change from 3000 RPM to 0. Still goes from 10V to 0V in 80 mS. In the HAL file these set up the MESA for speed to RPM. But I seem to have missed an acceleration.

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Chris Albertson
How to generate pulse at the exact rate you need... First make a loop that runs as fast as you can make it run. The first thing it does is "sleep" for a hundred or so microseconds. Then it checks the time of day and to see if it is time yet to do the next pulse. If not it fall to the end of the

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Thaddeus Waldner
Stepper motors are called that because they move in steps. Usually they have two coils. Both coils are powered when the motor is powered on, and this is what holds the motor in position. Reversing the current to one of these coils will advance the motor to the next step. The direction the motor

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread R C
On 7/9/20 6:47 PM, Chris Albertson wrote: OK, got it a "Dob, on a Ea, platform and the platform on an Az, El mount. Yup. Again PWM is "Pisle Width Modulation" Steppers and stepper drivers don't use PWM. They use what we cal "Pulse/Direction" I didn't know that,  I read the product manual

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Gene Heskett
On Thursday 09 July 2020 20:32:42 Gene Heskett wrote: > > > Steppers aren't pwm driven, so ignore that. But a 48 volt supply > > > is pushing the ratings of a DM542 which is 50 volts max, and you > > > would be wise to adjust it a few volts lower. I have a pair of 7.5 > > > amp 48 volt supplies r

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Chris Albertson
Gene, Belts are a good idea for the Ax and El axis but in the Eq axis he needs something on the order of 100:1 reduction The time tested traditional method is a synchronous AC moter and a VFD that can do 60 Hz +/- about 5 percent. This axis turns only 1 rev per day but the step need to be less t

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Chris Albertson
OK, got it a "Dob, on a Ea, platform and the platform on an Az, El mount. Again PWM is "Pisle Width Modulation" Steppers and stepper drivers don't use PWM. They use what we cal "Pulse/Direction" PWM uses a constant square wave rate like that is always between 60 Hz and maybe up to 1,000 Hz. Wh

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Gene Heskett
On Thursday 09 July 2020 19:05:45 R C wrote: > Hello Gene, > > > To start with the end of your reply,  I actually am a mathematician  > :) > > On 7/9/20 4:24 PM, Gene Heskett wrote: > > On Thursday 09 July 2020 14:23:57 R C wrote: > >> Hello, > >> > >> this is (probably) off topic, been seen that

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread R C
I am not using linux cnc,  I am just  'driving'  the stepper drivers with a raspberry pi I figured,  same hardware (drivers, motors),  "Linux CNC" can use it, so thought I'd just ask here about the internals/specifics and how to use it. On 7/9/20 1:44 PM, andy pugh wrote: On Thu, 9 Jul 202

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread R C
Hello Gene, To start with the end of your reply,  I actually am a mathematician  :) On 7/9/20 4:24 PM, Gene Heskett wrote: On Thursday 09 July 2020 14:23:57 R C wrote: Hello, this is (probably) off topic, been seen that happen.  If it is please ignore it. I am building a "motorized"  tel

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread R C
On 7/9/20 1:44 PM, andy pugh wrote: On Thu, 9 Jul 2020 at 19:26, R C wrote: The stepper motors I use with a stepper driver, those common DM542 ones, the stepper motors themselves are 2A and 1.8 degrees per step. ... As with PWM itself, I am probably just not too familiar with it. Do you me

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Gene Heskett
On Thursday 09 July 2020 14:23:57 R C wrote: > Hello, > > this is (probably) off topic, been seen that happen.  If it is please > ignore it. > > > I am building a "motorized"  telescope mount (dobsonian) with what is > called an equatorial platform, it has 3 axis which I am going to drive > with s

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread R C
there will be worm gears, and those will just gear all the axis/axes down down. On 7/9/20 1:23 PM, Chris Albertson wrote: Telescopes are something I know a little about, What you don't tell us and what matters quite a lot is the mechanical gearing. How are the motors connected to the mount?

Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-09 Thread N
> On Thu, 9 Jul 2020 at 09:58, N wrote: > > > It's in e09ae64fb0a76355b4f559e28c91a29fb25af8ce but did not see it in old > > 2.8 version bef8d9d525b9d483a4cf97a1040289d1aaddc74f > > That's a big gap: > https://github.com/LinuxCNC/linuxcnc/compare/bef8d9d525b9d483a4cf97a1040289d1aaddc74f...e09ae

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Chris Albertson
On Thu, Jul 9, 2020 at 12:47 PM andy pugh wrote: > On Thu, 9 Jul 2020 at 19:26, R C wrote: > > > The stepper motors I use with a stepper driver, those common DM542 ones, > > the stepper motors themselves are 2A and 1.8 degrees per step. > ... > > As with PWM itself, I am probably just not too fa

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread andy pugh
On Thu, 9 Jul 2020 at 19:26, R C wrote: > The stepper motors I use with a stepper driver, those common DM542 ones, > the stepper motors themselves are 2A and 1.8 degrees per step. ... > As with PWM itself, I am probably just not too familiar with it. Do you mean PWM? Stepper drivers take step a

Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-09 Thread andy pugh
On Thu, 9 Jul 2020 at 09:58, N wrote: > It's in e09ae64fb0a76355b4f559e28c91a29fb25af8ce but did not see it in old > 2.8 version bef8d9d525b9d483a4cf97a1040289d1aaddc74f That's a big gap: https://github.com/LinuxCNC/linuxcnc/compare/bef8d9d525b9d483a4cf97a1040289d1aaddc74f...e09ae64fb0a76355b4f

Re: [Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread Chris Albertson
Telescopes are something I know a little about, What you don't tell us and what matters quite a lot is the mechanical gearing. How are the motors connected to the mount? If this is an equatorial mount what are there three motors? and why care much about if declination moves smoothing as it is on

[Emc-users] off topic: pwm with a stepper driver/motor

2020-07-09 Thread R C
Hello, this is (probably) off topic, been seen that happen.  If it is please ignore it. I am building a "motorized"  telescope mount (dobsonian) with what is called an equatorial platform, it has 3 axis which I am going to drive with stepper motors. The stepper motors I use with a steppe

Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard), wrong about old version

2020-07-09 Thread N
> On Tue, 7 Jul 2020 at 22:14, N wrote: > > > I do not consider it a big problem and will probably connect other jogging > > method once machine is up and running but as it worked in old version it > > would of course be good to get it perfect again. > > https://github.com/LinuxCNC/linuxcnc/co

[Emc-users] Yapps

2020-07-09 Thread N
Compile does not work with yapps2 requiring python3 ? ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users

Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-09 Thread N
> On Tue, 7 Jul 2020 at 22:14, N wrote: > > > I do not consider it a big problem and will probably connect other jogging > > method once machine is up and running but as it worked in old version it > > would of course be good to get it perfect again. > > https://github.com/LinuxCNC/linuxcnc/co