- Configuring LinuxCNC
- Advanced Configuration
- Pin 'halui.estop.is−activated' does not exist, when clearly it does
Pin 'halui.estop.is−activated' does not exist, when clearly it does
11 Jul 2019 11:21 #139100
by JetForMe
I'm trying to wire up `halui.estop.is−activated`, but LinuxCNC (2.9) doesn't like it. Here's a snippet of my HAL:
The first line reference to `halui.program.is-idle` goes without a hitch. I can look in the Show HAL Configuration UI and see the pin is there and responding to changes in Axis. I can even issue a hal command in the dialog to link `halui.estop.is−activated` to a net. But I can't do it in my HAL files. I also tried to do it in postui.hal, but that had no effect. I think my hal ui pins are all created by the time any of my HAL files are read:
net program-idle <= halui.program.is-idle
net program-open-collet <= motion.digital-out-02 # m64/m65 p2
net program-purge-air <= motion.digital-out-03 # m64/m65 p3
net e-stop-active <= halui.estop.is−activated
The first line reference to `halui.program.is-idle` goes without a hitch. I can look in the Show HAL Configuration UI and see the pin is there and responding to changes in Axis. I can even issue a hal command in the dialog to link `halui.estop.is−activated` to a net. But I can't do it in my HAL files. I also tried to do it in postui.hal, but that had no effect. I think my hal ui pins are all created by the time any of my HAL files are read:
[HAL]
#TWOPASS = on Doesn't work, causes load errors
HALUI = halui
HALFILE = router3.hal
HALFILE = io.hal
HALFILE = custom.hal
HALFILE = postgui.hal
[HALUI]
Please Log in or Create an account to join the conversation.
11 Jul 2019 15:34 - 11 Jul 2019 15:36 #139109
by pl7i92
Replied by pl7i92 on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
just mark it as # not read
then start the mashine and look if it is existig
spelling
as of 2.9 the pinnames changed
and use the one that is in halshow
or halmeter present
it is highly recomended to use halui only in postgui files as special the estop chain is effected
POSTGUI_HALFILE = custom_postgui.hal
not a postgui as a halfile and at the end of the hal files loaded
then start the mashine and look if it is existig
spelling
as of 2.9 the pinnames changed
and use the one that is in halshow
or halmeter present
it is highly recomended to use halui only in postgui files as special the estop chain is effected
POSTGUI_HALFILE = custom_postgui.hal
not a postgui as a halfile and at the end of the hal files loaded
Last edit: 11 Jul 2019 15:36 by pl7i92.
Please Log in or Create an account to join the conversation.
11 Jul 2019 20:47 - 11 Jul 2019 20:49 #139124
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
The pin name *hasn't* changed, though. It shows up in the running LinuxCNC as I detailed above.
And I tried POSTGUI_HALFILE = postgui.hal
It had no discernible effect. That INI file was created by the 7i76e wizard.
And I tried POSTGUI_HALFILE = postgui.hal
It had no discernible effect. That INI file was created by the 7i76e wizard.
Last edit: 11 Jul 2019 20:49 by JetForMe.
Please Log in or Create an account to join the conversation.
12 Jul 2019 00:41 #139132
by cmorley
Replied by cmorley on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
please post the error messages
Chris M
Chris M
Please Log in or Create an account to join the conversation.
12 Jul 2019 02:13 - 12 Jul 2019 02:14 #139133
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
It's in the title of the post: "Pin 'halui.estop.is−activated' does not exist." Sorry, I meant to clarify that in the original post. This error is displayed in the output from invoking `linuxcnc` on the command line, after a bunch of typical output while it processes the config files.
Last edit: 12 Jul 2019 02:14 by JetForMe.
Please Log in or Create an account to join the conversation.
12 Jul 2019 02:18 #139134
by cmorley
Replied by cmorley on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
Is that the exact message? was there any messages before it?
It's possible that is not the real error, but an error caused by something before it.
Chris M
It's possible that is not the real error, but an error caused by something before it.
Chris M
Please Log in or Create an account to join the conversation.
12 Jul 2019 02:44 - 12 Jul 2019 02:44 #139135
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
Yeah, that was the exact message. I'm not in front of it right now, but I looked pretty closely, and I didn't see any other output before that that was different from when I comment out that line in the HAL file. I even tried with `-d`. I'll try again as soon as I'm in front of it to be sure, but I don't think so.
The error line included the file and line number of the HAL file with the error.
The error line included the file and line number of the HAL file with the error.
Last edit: 12 Jul 2019 02:44 by JetForMe.
Please Log in or Create an account to join the conversation.
12 Jul 2019 03:59 #139137
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
I've attached the console output when launching with the two configurations. There's one other difference between them. In the non-error case (when I comment out the is-activated line), I get this additional line in the logs:
normal.txt:
When I uncomment the line, that line is suppressed, the rest show up, as well as the error lines:
error.txt:
I've also attached all my config files.
normal.txt:
waiting for s.joints<0>, s.kinematics_type<0>
When I uncomment the line, that line is suppressed, the rest show up, as well as the error lines:
error.txt:
postgui.hal:13: Pin 'halui.estop.is−activated' does not exist
Shutting down and cleaning up LinuxCNC...
task: 64 cycles, min=0.000005, max=0.011011, avg=0.007812, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/rmann/linuxcnc_debug.txt
and
/home/rmann/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
I've also attached all my config files.
Please Log in or Create an account to join the conversation.
12 Jul 2019 05:17 #139140
by cmorley
Replied by cmorley on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
When I looked at your postgui file I see this on line 13 :
net e-stop-active <= halui.estop.is−activated
Chris M
net e-stop-active <= halui.estop.is−activated
Chris M
The following user(s) said Thank You: JetForMe
Please Log in or Create an account to join the conversation.
12 Jul 2019 05:41 #139142
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
Ooh interesting. File encoding issue, maybe. Lemme investigate.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Pin 'halui.estop.is−activated' does not exist, when clearly it does
Time to create page: 0.095 seconds