- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 942
- Thank you received: 330
24 Oct 2025 13:22 - 24 Oct 2025 13:24 #337050
by Hakan
Replied by Hakan on topic Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
Error messages says pyvcp_panel.hal, line 8.
Only thing I can think of is the line PYVCP=pyvcp_panel.xml in the ini file
that leads to the line it doesn't like.I suggest you comment out that line. It is for customization if I understand right. You can always come back later and look at that.
Only thing I can think of is the line PYVCP=pyvcp_panel.xml in the ini file
that leads to the line it doesn't like.
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
PYVCP = pyvcp_panel.xml
[KINS]
JOINTS = 1
KINEMATICS = trivkins coordinates=X
Last edit: 24 Oct 2025 13:24 by Hakan.
Please Log in or Create an account to join the conversation.
- SPH
-
Topic Author
- Away
- Premium Member
-
Less
More
- Posts: 98
- Thank you received: 6
24 Oct 2025 22:22 - 24 Oct 2025 22:34 #337097
by SPH
Replied by SPH on topic Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
That sorted it. Just #'d out the two PYVCP lines. Looking back over the build thread it was using probe basic so that's probably the issue.
I now have axis running with one encoder that's reading! Fantastic. Don't have any motor control though. I can move the motor shaft and get count and motion on the simulator display but with the machine enabled I can't jog. The sim shows movement but no shaft rotation.
I'm also getting a Linuxcnc notification "LCEC: Invalid appTimePeriod of 0 for master 0 (should be 1000000)."
A quick search on the forum suggests that relates to:
in the ini file but it's set to 1000000 already.
I now have axis running with one encoder that's reading! Fantastic. Don't have any motor control though. I can move the motor shaft and get count and motion on the simulator display but with the machine enabled I can't jog. The sim shows movement but no shaft rotation.
I'm also getting a Linuxcnc notification "LCEC: Invalid appTimePeriod of 0 for master 0 (should be 1000000)."
A quick search on the forum suggests that relates to:
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 1000000
HOMEMOD=always_homedin the ini file but it's set to 1000000 already.
Last edit: 24 Oct 2025 22:34 by SPH.
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 942
- Thank you received: 330
25 Oct 2025 08:20 - 25 Oct 2025 08:26 #337116
by Hakan
Replied by Hakan on topic Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
That's what makes it so challenging with ethercat. Settings in several places and cross-dependencies.
Anyways, the second line in ethercat-conf.xml has the appTimePeriod setting.
There also
There are two more settings you can do now when things start to work.
Add this line right under the "<slave" line
and go back up to the second line in the file and add a minus-sign to the refClockSyncCycles value
Anyways, the second line in ethercat-conf.xml has the appTimePeriod setting.
There also
There are two more settings you can do now when things start to work.
Add this line right under the "<slave" line
<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>and go back up to the second line in the file and add a minus-sign to the refClockSyncCycles value
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="-1000"
Last edit: 25 Oct 2025 08:26 by Hakan.
Please Log in or Create an account to join the conversation.
- SPH
-
Topic Author
- Away
- Premium Member
-
Less
More
- Posts: 98
- Thank you received: 6
25 Oct 2025 11:09 - 25 Oct 2025 11:28 #337121
by SPH
Replied by SPH on topic Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
Righto I've added those lines in. No change on the x axis motor movement though.
In the interim I've connected up my second servo drive in order to start getting a full setup. I've essentially just copied and pasted the working x drive info but I'm gettingI've attached the files. No doubt it's some stupid simple thing.
*Is it easier if I just put the files straight into the post as code rather than attaching them? I want to make sure it's as easy as possible for everyone.[/code][/code]
In the interim I've connected up my second servo drive in order to start getting a full setup. I've essentially just copied and pasted the working x drive info but I'm getting
[code][code]./EL8_machine.hal:69: Pin 'joint.1.motor-pos-fb' does not exist*Is it easier if I just put the files straight into the post as code rather than attaching them? I want to make sure it's as easy as possible for everyone.[/code][/code]
Last edit: 25 Oct 2025 11:28 by SPH.
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 942
- Thank you received: 330
25 Oct 2025 11:25 #337123
by Hakan
Replied by Hakan on topic Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
Ok, it's the second line in the hal file, num_joints=2
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Help with Delta E3 Ethercat drives - hal and ethercat-conf.xml
Time to create page: 0.061 seconds