2010/4/16 Jon Elson <[email protected]>
> Slavko Kocjancic wrote:
> > I just enter git diff and got as I see teh estop latch should be working
> now
> >
> Can you describe what you have changed in estop-latch and what the side
> effects are?
> I use estop-latch with all my products. The watchdog in that case is in
> the external hardware, so I don't need to have a software one.
>
> Jon
>
>
In the documentation for estop latch from
http://linuxcnc.org/docs/2.4/html/man/man9/estop_latch.9.html
is stated:
While ok-out is true, watchdog toggles, and can be used for chargepumps or
similar needs.
And I want just that!
But in reality the watchdog togles if ok_in is true and fault_in is false.
They not observe if latch is reseted.
So I change source estop_latch.comp to match the documentation. Ie the
watchdog output togle only if ok_out is true.
the change is on only one line!
Instead
watchdog = !watchdog;
i write
if ( ok_out ) {watchdog = !watchdog;}
And thing work's as is stated in documentation.
and gere is git output. And I don't know where how to post it.
I don't want to make some direect upload (probably I can't too) but some of
developers check if I make something wrong before updating.
Slavko.
diff --git a/src/hal/components/estop_
latch.comp b/src/hal/components/estop_latc
index 2a1e0dd..9cf84a6 100644
--- a/src/hal/components/estop_latch.comp
+++ b/src/hal/components/estop_latch.comp
@@ -22,7 +22,7 @@ FUNCTION(_) {
fault_out = 0;
}
/* toggle watchdog */
- watchdog = !watchdog;
+ if ( ok_out ) {watchdog = !watchdog;}
} else {
/* fault condition exists, trip */
ok_out = 0;
sla...@emc2:~/emc2-git$
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users