- Posts: 18
- Thank you received: 0
Ethercat installation from repositories - how to step by step
- Mehta_123
- Offline
- New Member
-
Less
More
2 years 6 months ago - 2 years 6 months ago #298341
by Mehta_123
Replied by Mehta_123 on topic Ethercat installation from repositories - how to step by step
Hello !!Thanks for the detailed steps, I have installed ethercat and able to detect slaves. As I am totally new to this I am not able to start LCNC.I have followed steps of xml and hal file from youtube (attaching hal file and error for your reference)
I am aware that its the issue of xml file as I am using different driver (panasonic MBDLN25BE)
Can you please guide me what type of changes I need to do in xml file ?
Thanks and Regards,
Mehta
I am aware that its the issue of xml file as I am using different driver (panasonic MBDLN25BE)
Can you please guide me what type of changes I need to do in xml file ?
Thanks and Regards,
Mehta
Last edit: 2 years 6 months ago by Mehta_123.
- sevketsakinc
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
2 years 5 months ago #300972
by sevketsakinc
Replied by sevketsakinc on topic Ethercat installation from repositories - how to step by step
Hello, first of all, thank you for your descriptive shares.
I used a servo with ethercat using "Debian 9" 4 years ago and it has been working since then.
PC: INTEL 9TH GENERATION I3
Ethercat version is 1.5.2.
Servo: Panasonic A6
Now I wanted to use Debian 12, Ethercat version 1.6.0 and LinuxCNC 2.9.2, which has been updated according to your shares.
PC: INTEL 12th GENERATION i3
When I close the Linuxcnc interface, the servos get a synchronization error. This did not happen in the old version.
The servo is still the same servo (PANASONIC A6) but I was getting 80.4 synchronization error.
This error ( <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
<watchdog divider="2498" intervals="5000"/>
)
I solved it by doing .
But now, when I restart it, some of the servos do not switch to OP mode on the first try.
Can you help me ?
I am grateful.
I used a servo with ethercat using "Debian 9" 4 years ago and it has been working since then.
PC: INTEL 9TH GENERATION I3
Ethercat version is 1.5.2.
Servo: Panasonic A6
Now I wanted to use Debian 12, Ethercat version 1.6.0 and LinuxCNC 2.9.2, which has been updated according to your shares.
PC: INTEL 12th GENERATION i3
When I close the Linuxcnc interface, the servos get a synchronization error. This did not happen in the old version.
The servo is still the same servo (PANASONIC A6) but I was getting 80.4 synchronization error.
This error ( <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
<watchdog divider="2498" intervals="5000"/>
)
I solved it by doing .
But now, when I restart it, some of the servos do not switch to OP mode on the first try.
Can you help me ?
I am grateful.
- sevketsakinc
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
2 years 5 months ago #301107
by sevketsakinc
Replied by sevketsakinc on topic Ethercat installation from repositories - how to step by step
After installing Debian 12, this time I installed ethercat 1.5.2 version.
The problem is still the same.
I suspect it's from Debian 12 or Linuxcnc 2.9.2.
Ethercat protocol does not work properly on servos.
The problem is still the same.
I suspect it's from Debian 12 or Linuxcnc 2.9.2.
Ethercat protocol does not work properly on servos.
- Cristian_g
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 1
2 years 4 months ago #302470
by Cristian_g
Replied by Cristian_g on topic Ethercat installation from repositories - how to step by step
Hi, I have installed bookworm kernel version 6.1.54-rt15 on a Raspberry Pi 4B. After restart, I have tried to install the cia 402 drivers, but the git command gives me an permission denied error. In the first attempt I used the sudo to install the drivers, however the hallcmd command to load the configuration file gave me an error. Should I used the sudo to install the drivers? Thank You for your help!
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
2 years 4 months ago #302525
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
Git does not require root permissions (sudo)
Using halcompile does.
Installing software from repositories with apt install needs sudo apt install
Using halcompile does.
Installing software from repositories with apt install needs sudo apt install
- Cristian_g
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 1
2 years 4 months ago #302537
by Cristian_g
Replied by Cristian_g on topic Ethercat installation from repositories - how to step by step
Thank You! I was able to install everithing according to your instructions. I did not know that git has now a credential manager.
The following user(s) said Thank You: rodw
Time to create page: 0.185 seconds