I’ve been working on a new configuration using a fresh install from the live 
image for 2.8.0 and have had some trouble with my E Stop logic.  I am using two 
Pico USC boards and a config based on the default USC with encoder sample.  
When I attempt to click the red button (F1 in Axis) the machine will not come 
out of E Stop.  My E Stop logic is copied below.

# connect e-stop write/sense to I/O controller
# and univstep's fault with estop's output, so  estop FF is reset, but
#      prevent continued estop signal from univstep from holding FF cleared
net ppmcEstop ppmc.0.din.15.in-not
net ppmcEstop and2.0.in0
net EstopOkIn estop-latch.0.fault-in
net EstopOkIn and2.0.out
net EstopOkOut <= ppmc.0.dout.15.out
net EstopOkOut iocontrol.0.emc-enable-in
net EstopOkOut estop-latch.0.ok-out
net EstopOkOut and2.0.in1
net emc-estop-out iocontrol.0.user-enable-out
net emc-estop-out estop-latch.0.ok-in
net emc-estop-reset iocontrol.0.user-request-enable
net emc-estop-reset estop-latch.0.reset

I’ve confirmed that my E-Stop OK light on the USC lights up when the E-Stop 
switch is closed and the E-Stop OK light goes out when the E-Stop switch is 
palmed down.  I have also looked at the HAL configuration window and confirmed 
that there are no internal or external conditions blocking a successful enable. 
 I was able to trace the issue to the estop-latch.0.reset pin not successfully 
triggering an estop-latch.0.ok-in.  Instead, I can clearly see the reset pin go 
true when I click the button in the Axis GUI, but the state never changes.  I 
was able to bypass this using a simpler arrangement ("net estop-loop 
iocontrol.0.user-enable-out iocontrol.0.emc-enable-in") that I pulled from a 
sim config.  Neither the Pico USC example nor my config based on that example 
will come out of E Stop.

Does anyone have any ideas for why the estop-latch would refuse to give an 
ok-in when all conditions are met per the manual?  
http://www.linuxcnc.org/docs/html/man/man9/estop_latch.9.html

Thanks,
Matt

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

Reply via email to