Pin 'halui.estop.is−activated' does not exist, when clearly it does

More
7 years 3 months ago #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:
Code:
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:
Code:
[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 to join the conversation.

More
7 years 3 months ago #139109 by pl7i92
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

Please Log in to join the conversation.

More
7 years 3 months ago #139124 by JetForMe
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.

Please Log in to join the conversation.

More
7 years 3 months ago #139132 by cmorley
please post the error messages

Chris M

Please Log in to join the conversation.

More
7 years 3 months ago #139133 by JetForMe
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.

Please Log in to join the conversation.

More
7 years 3 months ago #139134 by cmorley
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

Please Log in to join the conversation.

More
7 years 3 months ago #139135 by JetForMe
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.

Please Log in to join the conversation.

More
7 years 3 months ago #139137 by JetForMe
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:
Code:
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:
Code:
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 to join the conversation.

More
7 years 3 months ago #139140 by cmorley
When I looked at your postgui file I see this on line 13 :

net e-stop-active <= halui.estop.is−activated

Chris M

Please Log in to join the conversation.

More
7 years 3 months ago #139142 by JetForMe
Ooh interesting. File encoding issue, maybe. Lemme investigate.

Please Log in to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum