Re: [Emc-users] Need a way to totally disable ALL ... -> Emergency stop, STO (link missing)

2022-05-21 Thread gene heskett
On Saturday, 21 May 2022 08:38:01 EDT Nicklas SB Karlsson wrote:
> Den 2022-05-21 kl. 14:02, skrev gene heskett:
> > On Saturday, 21 May 2022 04:52:28 EDT you wrote:
> >> Den 2022-05-19 kl. 23:57, skrev gene heskett:
> >>> On Thursday, 19 May 2022 16:19:37 EDT Marius Alksnys wrote:
>  Gene,
>  
>  how about setting min and max limits to zero (or other initial
>  value),
>  maybe also not enabling B drive?
>  This can be done in a bash script like:
>  halcmd unlinkp io-board-going-to-b-servo-drive.enable-pin
>  halcmd setp ini.4.min_limit 0
>  halcmd setp ini.4.max_limit 0
>  halcmd setp ini.b.min_limit 0
>  halcmd setp ini.b.max_limit 0
>  
>  or in HAL with mux_generic
>  http://linuxcnc.org/docs/html/man/man9/mux_generic.9.html
> >>> 
> >>> First I've heard of this, sounds like it could be usefull. ATM I'm
> >>> carving up an e-stop coupling between linuxcnc and a couple of
> >>> those
> >>> 3
> >>> phase drives.
> >> 
> >> These 3 phase drives have STO Safe Torque Off you connect to a real
> >> emergency stop button? You use a safety relay?
> > 
> > Not a relay in some cases, although on this machine there is a relay
> > because there's two power supplies. A 120 volt to run most stuff, and
> > a 250 for the spindle motor.
> > 
> > The low voltage 127 feed and the 254 for the vfd are interlocked in
> > hal by being disabled when F2 is toggled off. In this machine by a
> > relay, but in most of my machines by BIG SSR's controlled by logic
> > level signals.
> > 
> > The Fault outputs are simply linked into the E-stop to toggle F2 off,
> > and by cross linkage in the hal file, toggles F1 to the inactive
> > state also.
> A safety relay like this one in link
> https://se.farnell.com/pilz/pnozx4/relay-safety-3pst-no-240vac-8a/dp/43
> 01237?ost=pnozx4 missing before connected to the emergency button. This
> one seems to be German made, me myself have French pilz in my machine
> and guess it work equally well.
> 
> It is common relay have an extra normally closed NC contact and plan is
> to connect these in series with a magnetic unlock mechanism to the
> door. If relays are correctly designed door will be locked until
> relays are fully closed.
> 
No doors or housings on these beasts.
> 
> Nicklas Karlsson
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> .


Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need a way to totally disable ALL ... -> Emergency stop, STO (link missing)

2022-05-21 Thread Nicklas SB Karlsson

Den 2022-05-21 kl. 14:02, skrev gene heskett:

On Saturday, 21 May 2022 04:52:28 EDT you wrote:

Den 2022-05-19 kl. 23:57, skrev gene heskett:

On Thursday, 19 May 2022 16:19:37 EDT Marius Alksnys wrote:

Gene,

how about setting min and max limits to zero (or other initial
value),
maybe also not enabling B drive?
This can be done in a bash script like:
halcmd unlinkp io-board-going-to-b-servo-drive.enable-pin
halcmd setp ini.4.min_limit 0
halcmd setp ini.4.max_limit 0
halcmd setp ini.b.min_limit 0
halcmd setp ini.b.max_limit 0

or in HAL with mux_generic
http://linuxcnc.org/docs/html/man/man9/mux_generic.9.html

First I've heard of this, sounds like it could be usefull. ATM I'm
carving up an e-stop coupling between linuxcnc and a couple of those
3
phase drives.

These 3 phase drives have STO Safe Torque Off you connect to a real
emergency stop button? You use a safety relay?

Not a relay in some cases, although on this machine there is a relay
because there's two power supplies. A 120 volt to run most stuff, and a
250 for the spindle motor.

The low voltage 127 feed and the 254 for the vfd are interlocked in hal
by being disabled when F2 is toggled off. In this machine by a relay, but
in most of my machines by BIG SSR's controlled by logic level signals.

The Fault outputs are simply linked into the E-stop to toggle F2 off, and
by cross linkage in the hal file, toggles F1 to the inactive state also.
A safety relay like this one in link 
https://se.farnell.com/pilz/pnozx4/relay-safety-3pst-no-240vac-8a/dp/4301237?ost=pnozx4 
missing before connected to the emergency button. This one seems to be 
German made, me myself have French pilz in my machine and guess it work 
equally well.


It is common relay have an extra normally closed NC contact and plan is 
to connect these in series with a magnetic unlock mechanism to the door. 
If relays are correctly designed door will be locked until relays are 
fully closed.



Nicklas Karlsson


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users