Category: Computers and Hardware
I deleted xhc-whb04b-6.hal still an error
I no longer have the problem of " MOTION: num_joints is 33, must be between 1 and 16"
I post you the .ini and .hal files in
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/manu/linuxcnc/configs/NVEM'
Machine configuration file is 'NVEM.ini'
INIFILE=/home/manu/linuxcnc/configs/NVEM/NVEM.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtplasmac
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./NVEM.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
motmod: already exists
./NVEM.hal:6: waitpid failed /usr/bin/rtapi_app motmod
./NVEM.hal:6: /usr/bin/rtapi_app exited without becoming ready
./NVEM.hal:6: insmod for motmod failed, returned -1
8403
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
The error gives a hint - motmod: already exists
Looks like you are loading it twice in your hal file. Try removing the 2nd line. From above EMCMOT=motmodloadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD #num_joints=[KINS]JOINTS[TRAJ]SPINDLES
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_spindles=[TRAJ]SPINDLES