Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
05 Dec 2024 21:44

Ethercat installation from repositories - how to step by step

Category: EtherCAT

When you downloaded the script, you did not edit the file name to remove the .txt ending
It told you it could not find the file, ls would list the files
  • rodw
  • rodw's Avatar
05 Dec 2024 21:39
Replied by rodw on topic Build master fails

Build master fails

Category: Installing LinuxCNC

I think it will be difficult to meet all dependencies on Debian 10. Upgrade to Debian 12 Bookworm
  • Grotius
  • Grotius's Avatar
05 Dec 2024 21:34 - 05 Dec 2024 21:34
Replied by Grotius on topic Build master fails

Build master fails

Category: Installing LinuxCNC

Hi Tommy,

Yes, python related.

PyConfig_InitPythonConfig and PyConfig_SetString, are part of Python's new initialization APIs introduced in Python 3.8.

Try:
sudo apt-get update
sudo apt-get install python3 python3-dev python3-pip python3-venv
  • Grotius
  • Grotius's Avatar
05 Dec 2024 21:28

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Hi,

Looks your sources.list is not ok.

$ sudo thunar

Then find and edit the ~/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware

deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

# Fetch sources list.
$ sudo apt get update
# Check if source excists:
$ sudo apt-get install --dry-run ethercat-master

 
  • COFHAL
  • COFHAL
05 Dec 2024 21:12
round holes not exactly round. was created by COFHAL

round holes not exactly round.

Category: General LinuxCNC Questions

I have a problem when making round cavities or holes. In the axes corresponding to the angles 0 -180 and 90 -270 the dimensions are correct, but in the diagonals the dimensions are no longer correct, in the diagonal 45-225 the dimension is smaller and in the diagonal 135-315 the dimension is larger.
  • Grotius
  • Grotius's Avatar
05 Dec 2024 21:05
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

Hi Collins,

Today was a good day for coding. This morning still had a crash problem for the interpreter.
For the colors of the code i thought, RGB, red, green, blue.

Now the super imposed interpreter is running ok.

Added the realtime environment : base-thread & servo thread is loaded and running.

The servo-thread has now 3 motion components running. This is really cool.

libmotion_0.so -> produces motion for main interpreter (red)
libmotion_1.so -> produces motion for sub_0 interpreter (green)
libmotion_2.so -> produces motion for sub_1 interpreter (blue)

The idea is then to send the interpreter's gcode output to the motion components over the 1ms thread.
We do this over shared_memory.

Then we have to code the motion components. They will use the scurve and toolpath optimalisation as seen before.

The base thread has the libethercat.so component running soon.   This has ethercat auto configuration.

This is going to be a cool winter project.

There are a few questions, like what if sub_0 interpreter is a tool changer. The green tool cone is then not valid.
Depending on the machine configuration, the green and or blue cone must be replaced by something else?

codeberg.org/skynet/realtime_app/src/branch/master

  • Hakan
  • Hakan
05 Dec 2024 20:42
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

I'll try to explain how the spindle-index-enable works.
This is the traditional syntax in hal to enable synchronization on index signal
linuxcnc.org/docs/html/examples/spindle...._synchronized_motion

net spindle-index-enable encoder.3.index-enable => spindle.0.index-enable


First look at what motion.spindle.M.index-enable says

spindle.M.index-enable I/O BIT
For correct operation of spindle synchronized moves,
this signal must be hooked to the index-enable pin
of the spindle encoder.


Then look at what the encoder's index-enable pin says
linuxcnc.org/docs/html/man/man9/encoder.9.html

encoder.N.index-enable bit i/o
When true, counts and position are reset to zero on the
next rising edge of Phase-Z. At the same time, index-enable
is reset to zero to indicate that the rising edge has occurred.

These three lines say a lot. This is the behavior the EtherCAT client tries to replicate.
index-enable is a I/O bit, that means read AND write variable. As mentioned, EtherCAT variables
are read OR write. The metalmusings_encoder component split index-enable in two variables
one read variable that forwards the value to the EtherCAT client, and one write variable
that when set will change index-enable, as specified above.

In the EaserCAT 3000 client, when Obj.IndexLatchEnable is set, i.e. when index-enable is set, it waits for the next Z-index interrupt, which then then zeroes the counters. This needs to be done exactly when the Z index happens, not any time afterwards. Because this happens in an ISR it communicates to the rest of EaserCAT with indexPulseFired variable. So in cb_get_inputs() when setting whether the index fired it will know that from this variable.
It is pretty indirect programming, but that is how I have been taught to communicate with ISRs.
Then it will set Obj.IndexHappened, which will go the the metalmusings_encoder component whioch will reset the i/o variable.

Not sure this clears things up, not so easy to write a good clear answer to this.
  • vibram
  • vibram
05 Dec 2024 20:34 - 05 Dec 2024 20:51

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Hello

My turn to request some help.
Brand new installation with the latest ISO from the Linuxcnc download section version 2.9.3 PREMPT-RT

paul@mill:~$ sudo apt install  linuxcnc-ethercat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linuxcnc-ethercat 


and same for:

sudo apt install ethercat-master libethercat-dev  linuxcnc-ethercatReading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ethercat-master
E: Unable to locate package libethercat-dev
E: Unable to locate package linuxcnc-ethercat
I tried the mokutil stuff:sudo mokutil --import /var/lib/dkms/mok.pub
EFI variables are not supported on this system

sudo mokutil --sb-state
EFI variables are not supported on this system



I also tried the ecat.sh script from the other topic:

paul@mill:~/Downloads$ sudo ./ecat.sh
[sudo] password for paul:
sudo: ./ecat.sh: command not found

paul@mill:~/Downloads$ ls -l
total 4
-rw-r--r-- 1 paul paul 726 Dec  5 21:45 ecat.sh


Any idea of what should I do?

Thanks you in advance

 

  • Grotius
  • Grotius's Avatar
05 Dec 2024 20:33
Replied by Grotius on topic Ethercat auto configurator.

Ethercat auto configurator.

Category: EtherCAT

Hi Salame,

My contact This email address is being protected from spambots. You need JavaScript enabled to view it.
The mail is also visible here : codeberg.org/skynet

Thanks a lot for your proposal so far !!
It's in good hands, as it is used for development for our open source community.
  • PCW
  • PCW's Avatar
05 Dec 2024 20:30
  • heathmanc
  • heathmanc
05 Dec 2024 20:28
Replied by heathmanc on topic 7i95T convert all step/dir to PWM?

7i95T convert all step/dir to PWM?

Category: Driver Boards

Thanks! Greatly appreciated! I assume I can use a SPINx1 on one of those PWM/dir channels?
  • Grotius
  • Grotius's Avatar
05 Dec 2024 20:24 - 05 Dec 2024 20:45
Replied by Grotius on topic Debian 12 Bookworm Update problem

Debian 12 Bookworm Update problem

Category: Installing LinuxCNC

Hi,

apt sources list is set on local cd. This is my suggestion.
edit the sources.list to update from internet sources.

~/etc/apt/sources.list

Easy to use in terminal is :
sudo thunar
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware

deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

sudo apt get update // Fetch the sources list.

Then try it again.
  • tommylight
  • tommylight's Avatar
05 Dec 2024 20:23
Replied by tommylight on topic Debian 12 Bookworm Update problem

Debian 12 Bookworm Update problem

Category: Installing LinuxCNC

What is the result of
sudo apt update
And
sudo apt upgrade
?
  • vibram
  • vibram
05 Dec 2024 20:11
Replied by vibram on topic Debian 12 Bookworm Update problem

Debian 12 Bookworm Update problem

Category: Installing LinuxCNC

Hello

I have exactly the same issue on a brand new install with the iso from linuxcnc download section. I'm. Not able to update at all. Any idea?

Thank you
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
05 Dec 2024 19:17
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Ex corporate pc is cheaper, more powerful, easier to setup than either the 4 or 5.
Displaying 20581 - 20595 out of 22505 results.
Time to create page: 0.429 seconds
Powered by Kunena Forum