Stepper online A6 Servo motor as Spindle motor
- Will_cnc
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 1
30 Oct 2025 12:25 #337480
by Will_cnc
Replied by Will_cnc on topic Stepper online A6 Servo motor as Spindle motor
Hi Hakan
Thanks for the help I have configured to the directory now, but have a new error message ?
Thanks for the help I have configured to the directory now, but have a new error message ?
Please Log in or Create an account to join the conversation.
- Will_cnc
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 1
30 Oct 2025 12:30 #337481
by Will_cnc
Replied by Will_cnc on topic Stepper online A6 Servo motor as Spindle motor
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/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.6
Machine configuration directory is '/home/cnc/linuxcnc/configs/probe_basic_dev'
Machine configuration file is 'EL8_machine.ini'
INIFILE=/home/cnc/linuxcnc/configs/probe_basic_dev/EL8_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=el8_homecomp
TASK=milltask
HALUI=halui
DISPLAY=probe_basic
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=el8_homecomp EMCMOT=motmod
Found file(REL): ./hallib/EL8_machine.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
HAL: ERROR: function 'cia402pv.Spindle.read-all' not found
./hallib/EL8_machine.hal:18: addf failed
2439
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
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/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.6
Machine configuration directory is '/home/cnc/linuxcnc/configs/probe_basic_dev'
Machine configuration file is 'EL8_machine.ini'
INIFILE=/home/cnc/linuxcnc/configs/probe_basic_dev/EL8_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=el8_homecomp
TASK=milltask
HALUI=halui
DISPLAY=probe_basic
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=el8_homecomp EMCMOT=motmod
Found file(REL): ./hallib/EL8_machine.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
HAL: ERROR: function 'cia402pv.Spindle.read-all' not found
./hallib/EL8_machine.hal:18: addf failed
2439
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 968
- Thank you received: 331
30 Oct 2025 12:58 #337483
by Hakan
Replied by Hakan on topic Stepper online A6 Servo motor as Spindle motor
Hmm, did you by any chance comment out the loadrt cia402pv line?
Please Log in or Create an account to join the conversation.
- Will_cnc
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 1
30 Oct 2025 13:22 #337484
by Will_cnc
Replied by Will_cnc on topic Stepper online A6 Servo motor as Spindle motor
Doesn't appear to be commented out in the Hal file ?
Please Log in or Create an account to join the conversation.
- Will_cnc
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 1
30 Oct 2025 13:26 #337485
by Will_cnc
Replied by Will_cnc on topic Stepper online A6 Servo motor as Spindle motor
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadusr -W lcec_conf ethercat-conf.xml
loadrt lcec
#loadusr -W hal_manualtoolchange
loadrt cia402 count=4
#loadrt mult2
#loadrt mult2 count=4 etc for multiple instances
loadrt cia402pv names=cia402pv.Spindle
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadusr -W lcec_conf ethercat-conf.xml
loadrt lcec
#loadusr -W hal_manualtoolchange
loadrt cia402 count=4
#loadrt mult2
#loadrt mult2 count=4 etc for multiple instances
loadrt cia402pv names=cia402pv.Spindle
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 968
- Thank you received: 331
30 Oct 2025 15:10 #337491
by Hakan
Replied by Hakan on topic Stepper online A6 Servo motor as Spindle motor
But there must be a reason that linuxcnc won't find it.
It looks okay in your files.
Response is exactly like it is commented out.
I tested to comment out the loadrt line and got exactly thisI also tested to mis-spell cia402pv.Spindl in the loadrt line and got the same error.
Also mis-spelling on the addf line give the same error.
There is some mis-spelling between the loadrt and the addf lines
but I don't see what it is.
From the output messages this is the hal file linuxcnc uses
./hallib/EL8_machine.hal
That's the one you showed, right?
I don't know. Can you retype those two lines?
It looks okay in your files.
Response is exactly like it is commented out.
I tested to comment out the loadrt line and got exactly this
Found file(REL): ./cia402pv.hal
HAL: ERROR: function 'cia402pv.Spindle.read-all' not found
./cia402pv.hal:27: addf failedAlso mis-spelling on the addf line give the same error.
There is some mis-spelling between the loadrt and the addf lines
but I don't see what it is.
From the output messages this is the hal file linuxcnc uses
./hallib/EL8_machine.hal
That's the one you showed, right?
I don't know. Can you retype those two lines?
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds