Advanced Search

Search Results (Searched for: )

  • ihavenofish
  • ihavenofish
09 Feb 2025 00:17
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

Already done here.

The no OS found is a lenovo thing I forgot about. needs a bios flash. doing that now.
  • tommylight
  • tommylight's Avatar
09 Feb 2025 00:10
Replied by tommylight on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

HAL: ERROR: duplicate component name 'lcec_conf'
lcec_conf: ERROR: hal_init failed
./Basic.hal:6: waitpid failed lcec_conf lcec_conf
./Basic.hal:6: lcec_conf exited without becoming ready
6928

Delete or omit (by adding # in front of it) the line trying to load lcec twice.
  • tommylight
  • tommylight's Avatar
09 Feb 2025 00:08

New ethercat / probe basic control for minimonster

Category: CNC Machines

Try Linux Mint Debian Edition 6
www.linuxmint.com/download_lmde.php
Try the live version, if everything works, almost always it will work after installing it on the drive.
To install LinuxCNC use the same
sudo apt install linuxcnc-uspace
  • ihavenofish
  • ihavenofish
09 Feb 2025 00:02
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

finshed installing.. reboots..... no operating system installed.

*slams head on desk*

Now what? its the only disk in there.
  • cakeslob
  • cakeslob
08 Feb 2025 23:57
  • vizavadsky
  • vizavadsky
08 Feb 2025 23:53
Replied by vizavadsky on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Thank you. I made onother step towards spinning this motor because of that for sure!
I thing I got my XML wrong now.
Slaves:
cnc@raspberrypi:~/dev/hal-cia402$ ethercat slaves
0 0:0 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus)
1 0:1 PREOP + EL1008 8K. Dig. Eingang 24V, 3ms
2 0:2 PREOP + EL2008 8K. Dig. Ausgang 24V, 0.5A
3 0:3 PREOP + AS715N_sAxis_V0.10

XML I got from MWalz but I changed slave idx from 0 to 3
I'm not sure but it is looks like logical thing to me.

<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<slave idx="3" type="generic" vid="00400000" pid="00000715" configPdos="true" name="A6">
<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="25000"/>
<watchdog divider="2498" intervals="1000"/>
<syncManager idx="2" dir="out">
<pdo idx="1600">
<pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="control-word" halType="u32"/>
<pdoEntry idx="607A" subIdx="00" bitLen="32" halPin="target-position" halType="s32"/>
<pdoEntry idx="60B8" subIdx="00" bitLen="16" halPin="touch-probe-function" halType="u32"/>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1A00">
<pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="status-word" halType="u32"/>
<pdoEntry idx="6064" subIdx="00" bitLen="32" halPin="pos-actual" halType="s32"/>
<pdoEntry idx="60BA" subIdx="00" bitLen="32" halPin="touch-probe-1" halType="s32"/>
<pdoEntry idx="60BC" subIdx="00" bitLen="32" halPin="touch-probe-2" halType="s32"/>
<pdoEntry idx="60B9" subIdx="00" bitLen="16" halPin="touch-probe-status" halType="s32"/>
<pdoEntry idx="603F" subIdx="00" bitLen="16" halPin="fault-code" halType="s32"/>
<pdoEntry idx="60FD" subIdx="00" bitLen="32" halPin="DI-status" halType="u32"/>
<pdoEntry idx="60F4" subIdx="00" bitLen="32" halPin="follow-error" halType="s32"/>
</pdo>
</syncManager>
</slave>
</master>
</masters>

And I got this report

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.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/v2xt'
Machine configuration file is 'EtherCat_2025-01-13.ini'
INIFILE=/home/cnc/linuxcnc/configs/v2xt/EtherCat_2025-01-13.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X
KINEMATICS=trivkins coordinates=X kinstype=BOTH
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=homemod EMCMOT=motmod
Found file(REL): ./Basic.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: duplicate component name 'lcec_conf'
lcec_conf: ERROR: hal_init failed
./Basic.hal:6: waitpid failed lcec_conf lcec_conf
./Basic.hal:6: lcec_conf exited without becoming ready
6928
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

Should I change something in Basic.hal or this is my XML wrong?
Will appreciate any help guys.
  • ihavenofish
  • ihavenofish
08 Feb 2025 23:41
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

no wired connection.
fixed now. this is my frustration with linux. it said you are missing this file, put it on a usb and continue. NOWHERE does it say no, don't do that at all, go get this .deb file of intel stuff instead.

They first make it deliberately difficult, then make the instructions deliberately obtuse assuming everyone already knows everything there is to know about linux.

And then they wonder why it never really makes more headway with the masses.

Well that was a waste of several hours for nothing.
  • rodw
  • rodw's Avatar
08 Feb 2025 23:23

New ethercat / probe basic control for minimonster

Category: CNC Machines

I did not know it was a wifi card. Why don't you just plug to a wired network until lts installed? I never use wifi for installations.
Trixie should support it as its up to 2024 version

sudo apt install firmware-iwlwifi should do the trick on Trixie.
packages.debian.org/search?suite=trixie&...mes&keywords=iwlwifi
 
  • ihavenofish
  • ihavenofish
08 Feb 2025 23:07
  • rodw
  • rodw's Avatar
08 Feb 2025 23:04

New ethercat / probe basic control for minimonster

Category: CNC Machines

I have no idea. What is the driver? Link? is it supported in later kernels?
  • ihavenofish
  • ihavenofish
08 Feb 2025 22:30
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

Yeah this seems like trading one problem for many more problems. haha.

I just need to figure out how to make it read this driver. can you not just stick it onto the installer usb like you do with windows drivers?
  • rodw
  • rodw's Avatar
08 Feb 2025 22:25

New ethercat / probe basic control for minimonster

Category: CNC Machines

You could try installing Trixie CD  which is now in alpha release
www.debian.org/devel/debian-installer/
Once you sort out your network install linuxcnc from their repos
 sudo apt install linuxcnc-uspace linuxcnc-uspace-dev
This should also install PREEMPT_RT
This will get you a very late version of 2.9.3 which is basically the same as 2.9.4

Then to hook up the Ethercat repos, try this script
forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories
and click through to the install instructions in that link

This could be a bit experimental as Trixie is using the 6.12 kernel which was not supported by etherlabmaster. But I raised an issue with them that should have fixed the issue 2 days ago.
gitlab.com/etherlab.org/ethercat/-/issues/160
 
Displaying 19411 - 19422 out of 19422 results.
Time to create page: 0.612 seconds
Powered by Kunena Forum