- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Beckhoff ethercat 64 with bit linuxcnc, How to install.
Beckhoff ethercat 64 with bit linuxcnc, How to install.
I was able to set the driver to OP with your file and your help, ¿will I be able to do with my xml?........
Nevertyheless, Ihave still some "Synchronization error",atached dmesg file.(One system start up and one linuxcnc startup with your xml).
Thanks
Please Log in or Create an account to join the conversation.
I'm shure that we will get it run with your config after some changes....
As i told before AX5000 are very accurate drives and through this very sensitive at the DC Clock. We can now tune your DC Settings for exactly your configuration... (we spent nights with this some years ago...)
Or make it direct right, and add an minimal change to the realtime handling of linuxcnc... and all clocking problems will went away .
I will write about that later..
Do you have an rip version or an installed linuxcnc package?
Please Log in or Create an account to join the conversation.
Its :
LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO
from linuxcnc.org/downloads/.
I suppose that this means that is a RIP version.
Thanks
Please Log in or Create an account to join the conversation.
In a Run-In-Place build, the LinuxCNC programs are compiled from source and then run directly from within the build directory. Nothing is installed outside the build directory. This is quick and easy, and suitable for rapid iteration of changes. The LinuxCNC test suite runs only in a Run-In-Place build.
do you need to write ../rip-environment before starting of linuxcnc?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You have to install an second copy of linuxcnc, because we wan't to make a change in the linuxcnc source code and compile it by our own...
I assume you installed ethercat and the rest like its written at the start of this thread, than many steps are already done.
I'm writing out of my head now, have no linux machine here. maybe there are typos but it wouldn't be to difficult...
1. open an new terminal window
2. get a copy (clone) of the official linuxcnc source
decide a name for the folder for this copy (linuxcnc or linuxcnc28 or linuxcnc_ec ...)
terminal : git clone https:// github.com/LinuxCNC/linuxcnc.git your_foldername
it clones the sourcecode....
3. Change the Branch to 2.8
Terminal : cd your_foldername
Terminal : git checkout 2.8
Branch should change to 2.8
4. configure for debian
Terminal :cd debian
Terminal : ./configure uspace
(should run without errors)
5. configure and prepare for compiling
Terminal: cd ..
Terminal: cd src
Terminal: ./autogen.sh (creates the configure script)
Terminal: ./configure --with-realtime=uspace
(now the script runs, if everything is fine it tells you "Next compile by typing....", if not it tells you the packages which are missing to compile linuxcnc, install them by hand.
6. ONLY if the last step fails :installing missing packages
Terminal: sudo apt-get install PACKAGE_NAME (like configure has told, example libusb_v1234... you can install more packages in an line seperated with space, or do it step by step) after that
Terminal: ./configure --with-realtime=uspace (run the script again to check if everything is ok, continue with the missing packages.
7. Compiling Linuxcnc
Terminal: make -j2
(compiling begins, after finish there should be no error...)
Terminal: sudo make setuid
8. testing the rip Install
Terminal: cd .. (now you back in your_foldername)
Terminal: cd scripts
Terminal: . ./rip-environment (this sets some environment variables, to make it able that linuxcnc can run in this Terminal window from this folder
Terminal: linuxcnc (linuxcnc should start with Version 2.8.1.
Break....
to start this linuxcnc version you always have to open an terminal go to your_foldername, cd scripts, . ./rip-environment ...
if you close this terminal or start linuxcnc from desktop or another terminal then the installed version from the ISO would start.
By the way, this is mostly for development. In the future if your config works etc. , you can build a package from the rip-Version and install it as normal usable Version, or start with an scripts without the need of manualy doing rip-environment.
In the next steps, we will apply the patch, and install linuxcnc-ethercat for this rip installation.
Please Log in or Create an account to join the conversation.
Doing:
4. configure for debian
Terminal :cd debian
Terminal : ./configure uspace
(should run without errors)............jejejejejej
I obtain:
Package libxenomai-dev exists, but information about its source package
is not available. This most likely means that you do not have the
right deb-src lines in /etc/apt, or that you need to "apt-get update".
I dont find the repositories.
Please Log in or Create an account to join the conversation.
sudo apt-get update, after this
sudo apt-get upgrade
if this fails again, skip this step. And do the next step and obeye the output from the other configure step.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Beckhoff ethercat 64 with bit linuxcnc, How to install.