Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml

More
1 year 1 week ago #337123 by Hakan
Ok, it's the second line in the hal file,  num_joints=2

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago - 1 year 1 week ago #337124 by SPH
Ah, yep, stupid simple. I'd been going back and forward for about an hour trying to figure that out.

One step forward, two steps back. Now throwing the error:
Code:
[code][code]Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl: 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.4 Machine configuration directory is '/home/cnc/linuxcnc/configs/linuxcnc_leadshine_EL8' Machine configuration file is 'EL8_machine.ini' INIFILE=/home/cnc/linuxcnc/configs/linuxcnc_leadshine_EL8/EL8_machine.ini VERSION=1.1 check_config: INCONSISTENT coordinates specifications: trivkins coordinates=X [TRAJ]COORDINATES=XZ PARAMETER_FILE=linuxcnc.var TPMOD= HOMEMOD=always_homed TASK=milltask HALUI=halui DISPLAY=axis COORDINATES=XZ KINEMATICS=trivkins coordinates=X Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io emc/iotask/ioControl.cc 786: can't load tool table. Starting HAL User Interface program: halui linuxcnc TPMOD=tpmod HOMEMOD=always_homed EMCMOT=motmod Found file(REL): ./EL8_machine.hal Starting TASK program: milltask Starting DISPLAY program: axis Shutting down and cleaning up LinuxCNC... task: 103 cycles, min=0.000008, max=0.010081, avg=0.008640, 0 latency excursions (> 10x expected cycle time of 0.010000s) @@@always_homed.comp:extra_setup: home_parms=no_home_parms !!!always_homed.comp: Skeleton Homing Module Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: Note: Using POSIX realtime note: MAXV max: 50.000 units/sec 3000.000 units/min note: LJOG max: 50.000 units/sec 3000.000 units/min note: LJOG default: 2.500 units/sec 150.000 units/min Traceback (most recent call last): File "/usr/bin/axis", line 3655, in <module> ja_id = aletter_for_jnum(jnum) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/axis", line 3642, in aletter_for_jnum return trivkinscoords.upper()[jnum] ~~~~~~~~~~~~~~~~~~~~~~^^^^^^ IndexError: string index out of range 6055 6087 Stopping realtime threads Unloading hal components Note: Using POSIX realtime

Files attached. [/code][/code]
Last edit: 1 year 1 week ago by SPH.

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #337125 by Hakan
This one
Code:
check_config: INCONSISTENT coordinates specifications: trivkins coordinates=X [TRAJ]COORDINATES=XZ

That is a line in the ini file
Code:
KINEMATICS = trivkins coordinates=X
should be XZ

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #337127 by SPH
Ah, so simple. I've been committing the cardinal sin of making multiple changes at once.
Up and running again and OH YEAH! Got motor motion! Although I must admit I'm a bit unsure what's changed to make it start working...

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #337129 by SPH
Hakan, thanks so much for taking the time to help get this working. I can switch off for the night on a high now. Lots more to do but being able to jog a drive feels like a big step forward.

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #337131 by Hakan
I guess you should use Probe Basic or QtDragon or some other cute hmi.
Now the ethercat part is sorted, just normal linuxcnc config left.

Please Log in or Create an account to join the conversation.

Time to create page: 0.131 seconds
Powered by Kunena Forum