> -----Original Message----- > From: andy pugh [mailto:[email protected]] > Sent: July-08-19 11:49 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] xhc_hbo4 pendant > > On Mon, 8 Jul 2019 at 19:21, John Dammeyer < <mailto:[email protected]> > [email protected]> > wrote: > > > > Anyone on this list using this pendant and willing to chat off list to see > why LinuxCNC times out when it can't find the Pendant? > > I don't have one, but LinuxCNC will be unable to continue to parse the > HAL if the component fails to load, so timing ouy and giving up is > probably reasonable. > > -- > atp I'm not sure that's the reason. I'm following these instructions http://linuxcnc.org/docs/html/man/man1/xhc-hb04.1.html Inside the README referenced at the end of the document is how to cut and paste the simulation .ini, .hal files into my own. The .tcl program makes a copy of the .ini file and sets up the system to run it. In the .hal file loadusr −W xhc−hb04 −H −I path_to_cfg_file −s 2 The key issue appears to be the -H parameter which as documented: Use the −H option to specify HAL mode Without the -H from the command line the Pendant is alive and reports button presses and MPG encoder changes. Starting up LinuxCNC it throws up this dialog. (Screenshot_2019-07-08_13-17-21.png)
Which is odd because again, without the -H it works in the terminal emulator. Click on OK and the dialog vanishes, LinuxCNC runs but without the Pendant. Here's the next interesting part. Unplug the Pendant while LinuxCNC is running and this comes up. (Screenshot_2019-07-08_13-18-18.png) Maybe not that important because the monitor-xhc-hb04 is a separate program launched from inside the .ini file. [APPLICATIONS] APP = xhc-hb04-accels APP = monitor-xhc-hb04 If you have a version of LinuxCNC newer than 2.6 then the distribution includes several simulation configurations in the directory: /usr/share/doc/linuxcnc/examples/sample−configs/sim/axis/xhc−hb04/ I'm sure I've made a mistake but after more than a day of mucking around with it I really can't figure out where I've gone wrong. John
_______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
