- Posts: 25
- Thank you received: 5
estop-out is not following the E-Stop status
3 years 3 weeks ago - 3 years 3 weeks ago #282739
by ruffle
estop-out is not following the E-Stop status [SOLVED] was created by ruffle
Elsewhere in this August Forum, someone said that estop-out should automatically follow the E-Stop status... but it doesn't seem to.
I'm running rodw's fine build for bullseye on a RPi 4 which means Linuxcnc 2.10-pre0.
A simple config built with PNCConf produces the following things to do with estop:
[/code]
I'm running rodw's fine build for bullseye on a RPi 4 which means Linuxcnc 2.10-pre0.
A simple config built with PNCConf produces the following things to do with estop:
Code:
[code]cnc@lathe:~/linuxcnc/configs/Test$ grep -i estop *
Test.hal:# --- ESTOP-OUT ---
Test.hal:net estop-out => hm2_7i76e.0.7i76.0.0.output-05
Test.hal:# --- ESTOP-EXT ---
Test.hal:net estop-ext <= hm2_7i76e.0.7i76.0.0.input-15
Test.hal:# ---estop signals---
Test.hal:net estop-out <= iocontrol.0.user-enable-out
Test.hal:net estop-ext => iocontrol.0.emc-enable-in
cnc@lathe:~/linuxcnc/configs/Test$
Triggering the external E-Stop button shows ESTOP on Axis but the state of estop-out doesn't change.
Attached images showing without and with the External EStop button triggered but Halwatch shows no change to estop-out.
Is this a PNCConf thing? a 2.10.-pre0 thing or am I totally misunderstanding the function of estop-out?
[attachment=56488]Screenshot_2023-10-11_12-36-37.png[/attachment][attachment=56489]Screenshot_2023-10-11_12-37-09.png[/attachment]
Thanks.
Last edit: 3 years 3 weeks ago by ruffle. Reason: Marked as solved
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago #282754
by chris@cnc
Replied by chris@cnc on topic estop-out is not following the E-Stop status
You have latency problems and in this case, the EMG status does not change.
Run this and check where the problem is.
Run this and check where the problem is.
Code:
latency-histogram --nobase --sbinsize 1000
halcmd show param hm2*tmax*
sudo chrt 99 ping -i .001 -q [your_card]
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago #282757
by ruffle
Replied by ruffle on topic estop-out is not following the E-Stop status
Ah.... maybe that didn't help but...
I'd used Pncconf to generate a simple config and took the defaults including a servo period of 1000000.
Changing this to 2000000 (as suggested for an RPi 4 by PCW) gets rid of the warning but estop-out still doesn't change from FALSE no matter what the E-Stop status actually is.
I'd used Pncconf to generate a simple config and took the defaults including a servo period of 1000000.
Changing this to 2000000 (as suggested for an RPi 4 by PCW) gets rid of the warning but estop-out still doesn't change from FALSE no matter what the E-Stop status actually is.
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago - 3 years 3 weeks ago #282758
by Aciera
Replied by Aciera on topic estop-out is not following the E-Stop status
could you please attach your hal and ini files?
[edit]
Also maybe try again with this line commented out in your hal file:
net estop-out => hm2_7i76e.0.7i76.0.0.output-05
[edit]
Also maybe try again with this line commented out in your hal file:
net estop-out => hm2_7i76e.0.7i76.0.0.output-05
Last edit: 3 years 3 weeks ago by Aciera.
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago - 3 years 3 weeks ago #282763
by ruffle
Replied by ruffle on topic estop-out is not following the E-Stop status
No difference with the
net estop-out => hm2_7i76e.0.7i76.0.0.output-05
line commented out.
hal and ini files attached.
[edit]
FYI, nothing in the other hal files. As I said it was a simple config generated by Pncconf.
net estop-out => hm2_7i76e.0.7i76.0.0.output-05
line commented out.
hal and ini files attached.
[edit]
FYI, nothing in the other hal files. As I said it was a simple config generated by Pncconf.
Code:
cnc@lathe:~/linuxcnc/configs/Test$ ls -l
total 44
-rw-r--r-- 1 cnc cnc 6630 Oct 11 18:33 Test.hal
-rw-r--r-- 1 cnc cnc 3233 Oct 11 16:41 Test.ini
drwxr-xr-x 2 cnc cnc 4096 Oct 11 12:02 backups
-rw-r--r-- 1 cnc cnc 103 Oct 11 12:02 custom.hal
-rw-r--r-- 1 cnc cnc 108 Oct 11 12:02 custom_gvcp.hal
-rw-r--r-- 1 cnc cnc 111 Oct 11 12:02 custom_postgui.hal
-rw-r--r-- 1 cnc cnc 1666 Oct 11 18:32 linuxcnc.var
-rw-r--r-- 1 cnc cnc 1666 Oct 11 18:32 linuxcnc.var.bak
-rw-r--r-- 1 cnc cnc 105 Oct 11 12:02 shutdown.hal
-rw-r--r-- 1 cnc cnc 209 Oct 11 12:02 tool.tbl
cnc@lathe:~/linuxcnc/configs/Test$
Last edit: 3 years 3 weeks ago by ruffle. Reason: Show other hal files
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago #282792
by phillc54
Replied by phillc54 on topic estop-out is not following the E-Stop status
iocontrol.0.user-enable-out does not follow the estop state, it is commonly used as an output from GUI's for estop.
github.com/LinuxCNC/linuxcnc/blob/2.9/sr...ask/ioControl.cc#L14
If you are looking to follow the estop state then you could use hauli.estop.is-activated.
github.com/LinuxCNC/linuxcnc/blob/2.9/sr...ask/ioControl.cc#L14
If you are looking to follow the estop state then you could use hauli.estop.is-activated.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
Time to create page: 0.256 seconds