Hello Guest it is March 28, 2024, 05:25:35 PM

Author Topic: Servo drive tripping, mach3 stays online.  (Read 4799 times)

0 Members and 1 Guest are viewing this topic.

Offline Tarak

*
  •  229 229
    • View Profile
Servo drive tripping, mach3 stays online.
« on: June 03, 2017, 05:36:01 PM »
Hi All,
I have this issue that happens once in a blue moon:
I believe I have a leadscrew with a tight spot in it. And occasionally when the machine is ramping up speed at this exact point it will tripout my Z axis servo drive (TEK10), but it doesn't stop Mach from running, so my other axis keeps machining, is there a basic setting I haven't enabled to stop the system when a servo drive trips?
Its easy to re-position once it does trip, I just re-home the offending axis and it's good to go again.
BTW, I'm running three ID33003 servo motors with three CNC TekniX TEK10 drives

Thanks,
TaraK
Re: Servo drive tripping, mach3 stays online.
« Reply #1 on: June 03, 2017, 11:57:38 PM »
Hi,
not familiar with your particular drive but drives I have all have a 'fault' output which can be monitored by Mach and
Estop on fault. Have a close look at your manual to see if indeed your drive is equipped with such an output.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline Tarak

*
  •  229 229
    • View Profile
Re: Servo drive tripping, mach3 stays online.
« Reply #2 on: June 04, 2017, 02:47:58 AM »
Hi Craig,
Thanks for that, I had a look, and you're right the drive has an output that for when the drive is enabled that goes LOGIC LOW when the drive disables.
I also had a look at the INPUT config in Mach3, but I cannot figure out which INPUT signal I need to connect to.
Could you advise which INPUT signal I should connect the drives to?
TaraK
Re: Servo drive tripping, mach3 stays online.
« Reply #3 on: June 04, 2017, 04:35:46 AM »
Hi,
I would've thought that if your Z axis servo faults you want to immediately go to Estop to protect the tool and/or work piece.

I don't know how your Estop is wired but if its like mine logic low represents fault/emergency stop. Thus could you hook the output
pin to your Estop circuit. Depending on the current that could be delivered by your existing Estop circuit you may have to protect
or otherwise buffer your pin. Does the manual tell you how much current the pin can sink?

Do you have many inputs to spare? I know that you're talking about a fault on the Z axis but ideally you would monitor both X and Y
as well. I would combine those inputs to one 'servo fault' signal and interface that one signal with your Estop. The reason I'd adopt
that strategy is so that a servo drive which is yet to be enabled at power-up does not prevent you from enabling Mach. At power up
you need to enable Mach but if a disabled servo prevents you and you can't enable the servo until Mach is enabled you can't do anything!

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline Tarak

*
  •  229 229
    • View Profile
Re: Servo drive tripping, mach3 stays online.
« Reply #4 on: June 04, 2017, 05:43:51 AM »
Hi Craig,
The datasheet doesn't mention anything about the voltage from the RUN OUTPUT (Pin 8 on the IDC10).
I've attached the datasheet for the drive.
I thinkI have the Estop settings as Port 1 Pin 10 with ACTIVE LOW enabled.

TaraK
Re: Servo drive tripping, mach3 stays online.
« Reply #5 on: June 04, 2017, 07:25:08 AM »
Hi,
I can't see any spec for it either. I do see that the upper board logic supply needs be capable of 0.1A. Clearly the outputs are logic level,
I wouldn't consider asking an output to sink more than 5mA, the risk of blowing it up is too high.

The Estop terminal on my BoB is logic high by virtue of 5V being applied through the series of normally closed contacts of my limit switches
to the Estop terminal with a 5k resistor from the same terminal to earth. Thus with all contacts closed 5V is applied directly to the pin, when
one or more contacts are open the 5V continuity is lost and the 5k resistor pulls the pin logic low and Estops Mach. If I were to hook the output
pin of a servo drive such as your TK 10 to the Estop in addition to the limit switch circuit it would fail. The 5V of the limit switch circuit would
attempt to hold servo drive pin high even when the pin was trying to go logic low, it would try to sink a lot of current and fail and damage the drive.

You'll need to introduce some resistance in the 5V supply to your limit switch string. If you put 5K in there with the limits all closed logic high would
only be 2.5V by virtue of the voltage divider formed by the 5k resistance to earth at the Estop pin, such a low logic high could render your Estop
noise sensitive. If you reduce the series resistance to 1k then the current to be sunk by the servo pin would be 5mA and yet have a logic high of
4V, acceptable. I would in addition put a diode in series with the servo pin so that if in fact its voltage goes higher, 12V say, it cannot blow your
Estop pin of you BoB if as in my case your BoB is a 5V device.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Servo drive tripping, mach3 stays online.
« Reply #6 on: June 04, 2017, 07:42:47 AM »
Hi,
hopefully this makes a bit more sense.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Servo drive tripping, mach3 stays online.
« Reply #7 on: June 04, 2017, 08:28:42 AM »
Hi,
after talking about putting in a diode to be on the safe side I bloody well forgot to put it in there!

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Servo drive tripping, mach3 stays online.
« Reply #8 on: June 04, 2017, 10:08:47 AM »
I always wonder what would happen if a motor fails during a run.

There are 2 scenarios here: one is if the motor fails and the other is if the motor driver fails and as far as I know there is nowhere on Mach3 to notify what to do if any of these fail.

The same goes with the spindle: if the spindle stops for any mechanical / electrical reason Mach3 will keep run until the end of the program.

What Craig is mentioned here is very interesting
Nicolas
Re: Servo drive tripping, mach3 stays online.
« Reply #9 on: June 04, 2017, 10:28:37 AM »
I'd connect the VFD fault input using simple isolating relay if your drive has a solid state output instead of a dry contact relay. Then you know your E-stop won't cause you intermittent grief. On my machine I have the limits switches all in series with the mechanicly held E-stop buttons, the Mach 3 E-stop output through a relay and a reset button that closes across all of the E-stop circuit momentarily so Mach 3 can be reset and allow you to jog away from a limit or out of a part while holding the reset button in. The E-stop circuit holds in a power contactor which removes all power from everything on the machine, spindle drives and axis drives.