Re: [Emc-users] Dealing with Servo Faults

2021-02-12 Thread John Dammeyer
I'm finally at the point where I'm ready to bundle up the CNC cabinet with the new Knee Servo driver connection and a few of the other changes. Status LEDs on the front cover. Anyway my research has turned up some interesting conclusions. 1. An open loop stepper motor system with a relay to

Re: [Emc-users] Dealing with Servo Faults

2021-02-12 Thread Gene Heskett
On Friday 12 February 2021 11:17:36 Jon Elson wrote: > On 02/11/2021 09:41 PM, Gene Heskett wrote: > > Well, it takes FF1 = 20.5 to get a cruise at about null, > > And I did have FF2 = .5, but .35 cancels the stop spike. > > > > So my question is why are these so far out of the normal range where

Re: [Emc-users] Dealing with Servo Faults

2021-02-12 Thread Jon Elson
On 02/11/2021 09:41 PM, Gene Heskett wrote: Well, it takes FF1 = 20.5 to get a cruise at about null, And I did have FF2 = .5, but .35 cancels the stop spike. So my question is why are these so far out of the normal range where for a stepgen FF1=1.0 and FF2 = .001 is about right. Something else

Re: [Emc-users] Dealing with Servo Faults

2021-02-12 Thread Todd Zuercher
Subject: Re: [Emc-users] Dealing with Servo Faults [EXTERNAL EMAIL] Be sure links are safe. On Thursday 11 February 2021 18:31:31 Jon Elson wrote: > On 02/11/2021 04:37 PM, Gene Heskett wrote: > > So, looking at pid.error with a 100mv/div scale, 1 div would be .1 > > degree?

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread Gene Heskett
On Thursday 11 February 2021 18:31:31 Jon Elson wrote: > On 02/11/2021 04:37 PM, Gene Heskett wrote: > > So, looking at pid.error with a 100mv/div scale, 1 div would be .1 > > degree? > > If you look closely at the Halscope screen, you will see > that it does NOT show a "v". > So, you would get a

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread Sam Sokolik
ok.. This is my take... This is why I like linuxcnc>-a/d>- analog drive>-servo>-encoder>-linuxcnc... The enables are controlled by motion. The power is controlled by estop. The PID within linuxcnc has a lot of power - saturation, following error and so on. It can detect most all faults a

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread Jon Elson
On 02/11/2021 04:37 PM, Gene Heskett wrote: So, looking at pid.error with a 100mv/div scale, 1 div would be .1 degree? If you look closely at the Halscope screen, you will see that it does NOT show a "v". So, you would get a 100m/div scale, 100 milli-somethings. If the INPUT_SCALE or SCALE

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread Gene Heskett
On Wednesday 10 February 2021 23:09:36 Jon Elson wrote: > On 02/10/2021 07:08 PM, Gene Heskett wrote: > > But is the error also in degrees? The halsope is > > measuriing volts and I have not found anyplace where it > > states the error is in the same sized unit the rest of > > that particular

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread Gene Heskett
On Thursday 11 February 2021 10:40:12 Jon Elson wrote: > On 02/10/2021 10:37 PM, Gene Heskett wrote: > > I went to take the bs-1 off its table, and found I can't > > take it very far as I have negleted to build a 2nd set of > > inline connectors so I can disconnect the encoder and > > really take

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread Jon Elson
On 02/10/2021 10:37 PM, Gene Heskett wrote: I went to take the bs-1 off its table, and found I can't take it very far as I have negleted to build a 2nd set of inline connectors so I can disconnect the encoder and really take it away. And I've yet to come up with a scheme to detect that it is

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread Gene Heskett
On Thursday 11 February 2021 07:28:51 andy pugh wrote: > On Thu, 11 Feb 2021 at 04:39, Gene Heskett wrote: > > I've yet to come up > > with a scheme to detect that it is plugged in, and if not, disable > > linuxcnc's ability to see an error because its not there > > I have a GPIO pin looped up

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread andy pugh
On Thu, 11 Feb 2021 at 04:39, Gene Heskett wrote: > I've yet to come up > with a scheme to detect that it is plugged in, and if not, disable > linuxcnc's ability to see an error because its not there I have a GPIO pin looped up to the connector socket and back. A jumper in the plug completes

Re: [Emc-users] Dealing with Servo Faults

2021-02-11 Thread John Dammeyer
I've attached the app node pdf from Practical Micro Design for their PMDX-126. My system is set up as in Figure 1 and at the time it seemed like a really good idea. The trouble is a fault from any of the drives into the PMDX-125 or 126 effectively removes the ChargePump which results in all

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Gene Heskett
On Wednesday 10 February 2021 23:09:36 Jon Elson wrote: > On 02/10/2021 07:08 PM, Gene Heskett wrote: > > But is the error also in degrees? The halsope is > > measuriing volts and I have not found anyplace where it > > states the error is in the same sized unit the rest of > > that particular

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Jon Elson
On 02/10/2021 07:08 PM, Gene Heskett wrote: But is the error also in degrees? The halsope is measuriing volts and I have not found anyplace where it states the error is in the same sized unit the rest of that particular servo is using. And, if its degrres I should have tripped a coup le dozen

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Gene Heskett
On Wednesday 10 February 2021 21:58:16 John Dammeyer wrote: > > From: Gene Heskett [mailto:ghesk...@shentel.net] > > > > On Wednesday 10 February 2021 20:51:47 John Dammeyer wrote: > > > Ah! Was missing > > > setp hm2_7i92.0.gpio.023.is_output true > > > setp hm2_7i92.0.gpio.025.is_output true >

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread John Dammeyer
> From: Gene Heskett [mailto:ghesk...@shentel.net] > On Wednesday 10 February 2021 20:51:47 John Dammeyer wrote: > > > Ah! Was missing > > setp hm2_7i92.0.gpio.023.is_output true > > setp hm2_7i92.0.gpio.025.is_output true > > > > All fixed now. And setting it to DB25-17 (gpio.024) which runs a

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Gene Heskett
On Wednesday 10 February 2021 20:51:47 John Dammeyer wrote: > Ah! Was missing > setp hm2_7i92.0.gpio.023.is_output true > setp hm2_7i92.0.gpio.025.is_output true > > All fixed now. And setting it to DB25-17 (gpio.024) which runs a > relay on this little BoB I can make the relay click on and off

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread John Dammeyer
Ah! Was missing setp hm2_7i92.0.gpio.023.is_output true setp hm2_7i92.0.gpio.025.is_output true All fixed now. And setting it to DB25-17 (gpio.024) which runs a relay on this little BoB I can make the relay click on and off which can run an air solenoid and give me misting. John > From:

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Gene Heskett
On Wednesday 10 February 2021 19:06:56 Jon Elson wrote: > On 02/10/2021 01:45 PM, Gene Heskett wrote: > > You may be forgetting that this is calibrated in a degree > > Ah, yes, 0.25 degrees doesn't look so huge. > > Jon But is the error also in degrees? The halsope is measuriing volts and I

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread John Dammeyer
> From: Jon Elson [mailto:el...@pico-systems.com] > On 02/10/2021 12:42 PM, John Dammeyer wrote: > > So back to the original subject. It's not just motion that can cause a > > driver fault. A broken encoder wire, DC or AC power instability, > or even random electrical noise. In all those cases

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Jon Elson
On 02/10/2021 01:45 PM, Gene Heskett wrote: You may be forgetting that this is calibrated in a degree Ah, yes, 0.25 degrees doesn't look so huge. Jon ___ Emc-users mailing list Emc-users@lists.sourceforge.net

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Jon Elson
On 02/10/2021 12:42 PM, John Dammeyer wrote: So back to the original subject. It's not just motion that can cause a driver fault. A broken encoder wire, DC or AC power instability, or even random electrical noise. In all those cases I've found I still have to execute a HOME ALL command to

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Gene Heskett
On Wednesday 10 February 2021 11:42:28 Matthew Herd wrote: > I agree, I feel like that’s a fairly safe assumption, although I > acknowledge that it is possible the drives might run away. I figure > the best way to handle drive faults is to trigger an e-stop (via HAL) > so that all drives and the

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Gene Heskett
On Wednesday 10 February 2021 11:20:22 Jon Elson wrote: > On 02/10/2021 01:12 AM, Gene Heskett wrote: > > FERROR = 0.50 > > MIN_FERROR = 0.25 > > > > And as you can see, running errors allowed are fairly > > large as I am not done tuning. > > Geez, these don't protect you at all from something

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread John Dammeyer
nal Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: February-10-21 8:30 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Dealing with Servo Faults > > On Wed, 10 Feb 2021 at 16:26, Jon Elson wrote: > > > > So, non-faulted dr

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Matthew Herd
I agree, I feel like that’s a fairly safe assumption, although I acknowledge that it is possible the drives might run away. I figure the best way to handle drive faults is to trigger an e-stop (via HAL) so that all drives and the spindle halt motion. Then you could one-shot the fault clear

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread andy pugh
On Wed, 10 Feb 2021 at 16:26, Jon Elson wrote: > > So, non-faulted drives will stop, but hold position. > > > Well, the issue there is whether a faulty drive would > actually stop when disabled. I was assuming that the faulted drives would disable themselves. I was thinking about what to do

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Jon Elson
On 02/10/2021 03:38 AM, andy pugh wrote: On Wed, 10 Feb 2021 at 05:11, John Dammeyer wrote: Should just the enables to the other servo drives be removed or should power be cut to all drives. I don't know what the industry standard is, but I can think of arguments for leaving the drives

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Jon Elson
On 02/10/2021 01:12 AM, Gene Heskett wrote: FERROR = 0.50 MIN_FERROR = 0.25 And as you can see, running errors allowed are fairly large as I am not done tuning. Geez, these don't protect you at all from something going wrong! Here's the settings on my X axis : FERROR = 0.003 MIN_FERROR =

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Todd Zuercher
Inc. 630 Henry Street  Dalton, Ohio 44618 Phone:  (330)828-2105ext. 2031 -Original Message- From: Gene Heskett Sent: Wednesday, February 10, 2021 10:03 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Dealing with Servo Faults [EXTERNAL EMAIL] Be sure links are safe

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Jon Elson
On Wednesday 10 February 2021 00:08:41 John Dammeyer wrote: Quick question. There's a multi-axis operation in progress. For whatever reason one of the servos throws out a fault and of course stops. Should just the enables to the other servo drives be removed or should power be cut to all

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Gene Heskett
o repeats since turning the heater down to the 700 watt coil only. > -Original Message- > From: John Dammeyer > Sent: Wednesday, February 10, 2021 12:09 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: [Emc-users] Dealing with > Servo Faults > > [EXTE

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Todd Zuercher
- From: John Dammeyer Sent: Wednesday, February 10, 2021 12:09 AM To: 'Enhanced Machine Controller (EMC)' Subject: [Emc-users] Dealing with Servo Faults [EXTERNAL EMAIL] Be sure links are safe. Quick question. There's a multi-axis operation in progress. For whatever reason one of the servos

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread Frank Tkalcevic
ALL power, but shutting the PC down was silly). -Original Message- From: John Dammeyer [mailto:jo...@autoartisans.com] Sent: Wednesday, 10 February 2021 4:09 PM To: 'Enhanced Machine Controller (EMC)' Subject: [Emc-users] Dealing with Servo Faults Quick question. There's a multi-axis

Re: [Emc-users] Dealing with Servo Faults

2021-02-10 Thread andy pugh
On Wed, 10 Feb 2021 at 05:11, John Dammeyer wrote: > Should just the enables to the other servo drives be removed or should power > be cut to all drives. I don't know what the industry standard is, but I can think of arguments for leaving the drives enabled, but stopping the motion controller.

Re: [Emc-users] Dealing with Servo Faults

2021-02-09 Thread Gene Heskett
On Wednesday 10 February 2021 00:08:41 John Dammeyer wrote: > Quick question. > > There's a multi-axis operation in progress. For whatever reason one > of the servos throws out a fault and of course stops. > > Should just the enables to the other servo drives be removed or should > power be cut

Re: [Emc-users] Dealing with Servo Faults

2021-02-09 Thread David Berndt
No experience on commercial systems. But I agree, a servo fault throwing e-stop wouldn't be the best. The behaviour that seems standard on fault is that the machine goes to power off which removes enable from all the other axis and spindle is effective and limits the chaos to a reasonable

[Emc-users] Dealing with Servo Faults

2021-02-09 Thread John Dammeyer
Quick question. There's a multi-axis operation in progress. For whatever reason one of the servos throws out a fault and of course stops. Should just the enables to the other servo drives be removed or should power be cut to all drives. I'm not really in favour of dropping out power because