On 22/03/2017 20:41, Simon Mali wrote:
I have tested this procedure and it seems to work:

machinekit@beaglebone:~$ realtime start
machinekit@beaglebone:~$ halcmd loadrt debounce
machinekit@beaglebone:~$ halcmd show pexists debounce.0.0.in Exists
Exists
machinekit@beaglebone:~$ halrun -U
machinekit@beaglebone:~$

Now is a question how to run this xhc-hb04-layout2_mm.ini file? Probably not through machinekit because this returns an error:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=/usr/libexec/linuxcnc/inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
MACHINEKIT - 0.1
Machine configuration directory is '/home/machinekit/machinekit/configs/machinekit-master/configs/sim/axis/xhc-hb04'
Machine configuration file is 'xhc-hb04-layout2_mm.ini'
INIFILE=/home/machinekit/machinekit/configs/machinekit-master/configs/sim/axis/xhc-hb04/xhc-hb04-layout2_mm.ini
PARAMETER_FILE=sim-9axis.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting Machinekit...
Starting Machinekit server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting Machinekit IO program: io
io started
halcmd loadusr io started
Starting HAL User Interface program: halui
Shutting down and cleaning up Machinekit...
Killing task linuxcncsvr, PID=2799
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Unrecognized line skipped: ../../sim_mm.tblcore_sim9.hal:1: Unknown command '../../../common/core_sim9.hal'
2799

Is your ini file the same as this?
https://github.com/machinekit/machinekit/blob/master/configs/sim/axis/xhc-hb04/xhc-hb04-layout2_mm.ini

If not change it so that it is.

It appears to be corrupted, with tool table name and hal file concatenated.

All the files are in this repo,
https://github.com/machinekit/machinekit/blob/master/configs/sim/axis/xhc-hb04
make sure they all match and try again.

There were broken sim links originally, the files referenced were added directly to the sim dir. It is possible your updating has left old elements too, move anything not in the repo elsewhere.

  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components





--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com <mailto:machinekit+unsubscr...@googlegroups.com>.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to