DIYbanter

DIYbanter (https://www.diybanter.com/)
-   Metalworking (https://www.diybanter.com/metalworking/)
-   -   Finally added a safety feature that I wanted (https://www.diybanter.com/metalworking/308460-finally-added-safety-feature-i-wanted.html)

Ignoramus12820 August 20th 10 03:31 AM

Finally added a safety feature that I wanted
 
My mill was lacking something very important: the drives would remain
powered, and drifting due to test/offset, when EMC2 was not commanding
any motion.

Just to clarify: if EMC is holding position, then the drives are held
in position by EMC. But if EMC is not holding position, for example
because it stopped due to following error, then the drives would start
drifting.

It happened a couple of times already that I would forget about EMC
left without controlling position, and the mill would drift next day
to some unacceptable position and trip the limit.

I finally added an extra instruction to "inhibit" the drives when the
axes were not position controlled. Now, if EMC is stopped due to
following error, or I turned the motion off, the drives are inhibited
and would not do anything.

i

Pete C. August 20th 10 03:47 AM

Finally added a safety feature that I wanted
 

Ignoramus12820 wrote:

My mill was lacking something very important: the drives would remain
powered, and drifting due to test/offset, when EMC2 was not commanding
any motion.

Just to clarify: if EMC is holding position, then the drives are held
in position by EMC. But if EMC is not holding position, for example
because it stopped due to following error, then the drives would start
drifting.

It happened a couple of times already that I would forget about EMC
left without controlling position, and the mill would drift next day
to some unacceptable position and trip the limit.

I finally added an extra instruction to "inhibit" the drives when the
axes were not position controlled. Now, if EMC is stopped due to
following error, or I turned the motion off, the drives are inhibited
and would not do anything.

i


Do you have them inhibited if the watchdog timer expires due to a
software crash / hang?

Ignoramus12820 August 20th 10 03:49 AM

Finally added a safety feature that I wanted
 
On 2010-08-20, Pete C. wrote:

Ignoramus12820 wrote:

My mill was lacking something very important: the drives would remain
powered, and drifting due to test/offset, when EMC2 was not commanding
any motion.

Just to clarify: if EMC is holding position, then the drives are held
in position by EMC. But if EMC is not holding position, for example
because it stopped due to following error, then the drives would start
drifting.

It happened a couple of times already that I would forget about EMC
left without controlling position, and the mill would drift next day
to some unacceptable position and trip the limit.

I finally added an extra instruction to "inhibit" the drives when the
axes were not position controlled. Now, if EMC is stopped due to
following error, or I turned the motion off, the drives are inhibited
and would not do anything.

i


Do you have them inhibited if the watchdog timer expires due to a
software crash / hang?


If watchdog timer expires, the all output of Jon's PPMC shuts down,
and that turns off the main motive power contactor. There is no
problem with that.

I really should try to simulate a system crash while moving, for
example by pulling a power cord.

i

Gunner Asch[_6_] August 20th 10 05:18 AM

Finally added a safety feature that I wanted
 
On Thu, 19 Aug 2010 21:49:38 -0500, Ignoramus12820
wrote:

I finally added an extra instruction to "inhibit" the drives when the
axes were not position controlled. Now, if EMC is stopped due to
following error, or I turned the motion off, the drives are inhibited
and would not do anything.

i


Do you have them inhibited if the watchdog timer expires due to a
software crash / hang?


If watchdog timer expires, the all output of Jon's PPMC shuts down,
and that turns off the main motive power contactor. There is no
problem with that.

I really should try to simulate a system crash while moving, for
example by pulling a power cord.


I would STRONGLY recommend putting in a couple relays on the power lines
going to the servos. When machine power goes out..it instantly opens the
relays and prevents the servos from running away for a second or two as
the power supply caps discharge.

My customers busted a bunch of tooling because of that not being
implimented in OmniTurns the first couple years.

Gunner

--


"First Law of Leftist Debate
The more you present a leftist with factual evidence
that is counter to his preconceived world view and the
more difficult it becomes for him to refute it without
losing face the chance of him calling you a racist, bigot,
homophobe approaches infinity.

This is despite the thread you are in having not mentioned
race or sexual preference in any way that is relevant to
the subject." Grey Ghost


All times are GMT +1. The time now is 12:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter