- Posts: 19899
- Thank you received: 4655
Ethercat HAL driver
- andypugh
- Offline
- Moderator
-
Less
More
8 years 2 months ago #116443
by andypugh
Replied by andypugh on topic Ethercat HAL driver
Can someone who is watching this thread and knows more about EtherCAT than I do (ie, more than zero) take a look at this thread?
forum.linuxcnc.org/38-general-linuxcnc-q...with-ethercat#116440
forum.linuxcnc.org/38-general-linuxcnc-q...with-ethercat#116440
- cscheng
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
8 years 2 months ago #116896
by cscheng
Replied by cscheng on topic Ethercat HAL driver
Hi,experts:
I`m a new one at learning linuxcnc.
I meet a serious problem now. When I execute command 'start' in halrun, the linux system will be no response in few seconds. The screen is no flash。It seems that the os has halt.
I use Linuxcnc 2.7.14 on debain,and ethercat hal driver.
my hal command list below,
and the XML file list below,
has anyone has meet such situation?
cs.
I`m a new one at learning linuxcnc.
I meet a serious problem now. When I execute command 'start' in halrun, the linux system will be no response in few seconds. The screen is no flash。It seems that the os has halt.
I use Linuxcnc 2.7.14 on debain,and ethercat hal driver.
my hal command list below,
Code:
loadusr -W lcec_conf ethercat_config_Delta_R1-all.xml
loadrt lcec
loadrt threads name1=test period1=1000000
addf lcec.read-all cs-test
addf lcec.write-all cs-test
show thread
net link0 =>lcec.0.2.ot0
linksp link0 lcec.0.1.in0
net link1 =>lcec.0.2.ot1
linksp link1 lcec.0.1.in1
net link2 =>lcec.0.2.ot2
linksp link2 lcec.0.1.in2
start
and the XML file list below,
Code:
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<slave idx="1" type="generic" vid="000001DD" pid="00006002" configPdos="true">
<syncManager idx="0" dir="in">
<pdo idx="1a00">
<pdoEntry idx="6000" subIdx="1" bitLen="1" halPin="in0" halType="bit"/>
</pdo>
<pdo idx="1a01">
<pdoEntry idx="6010" subIdx="1" bitLen="1" halPin="in1" halType="bit"/>
</pdo>
</syncManager>
</slave>
</master>
</masters>
has anyone has meet such situation?
cs.
- sqmathlete
- Offline
- Premium Member
-
Less
More
- Posts: 118
- Thank you received: 18
8 years 1 month ago #117378
by sqmathlete
Replied by sqmathlete on topic Ethercat HAL driver
Hi all,
I am trying to hook up a Delta C2000 vfd via the ethercat hal driver but mapping via the generic driver doesn't seem map more than the control word 0x6040. I think this is because the limited number of available pdo's are already mapped and that pdo mapping is not available. Dumb question; does this mean that I need to build a module similar to the DeAsda module for the ASDA-A2 servo amps? and the beckhoff terminals?
Also, my servo's seem to come online inconsistently, sometimes one or the other will come online sometimes none, sometimes both with no discernible pattern. Any one else experience such oddities?
Kind regards
Dan
I am trying to hook up a Delta C2000 vfd via the ethercat hal driver but mapping via the generic driver doesn't seem map more than the control word 0x6040. I think this is because the limited number of available pdo's are already mapped and that pdo mapping is not available. Dumb question; does this mean that I need to build a module similar to the DeAsda module for the ASDA-A2 servo amps? and the beckhoff terminals?
Also, my servo's seem to come online inconsistently, sometimes one or the other will come online sometimes none, sometimes both with no discernible pattern. Any one else experience such oddities?
Kind regards
Dan
- schlank
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
8 years 1 month ago #117670
by schlank
Replied by schlank on topic Ethercat HAL driver
Hi Experts,
I may can get some EtherCAT drives with CoE402 protocoll.
I think they are very similar to what roschi is using here in his video:
Unfortunately the XML Files etc. that is linked in the video is not online anymore.
Where can I find them? His homepage is also down.
Thanks,
schlank
I may can get some EtherCAT drives with CoE402 protocoll.
I think they are very similar to what roschi is using here in his video:
Unfortunately the XML Files etc. that is linked in the video is not online anymore.
Where can I find them? His homepage is also down.
Thanks,
schlank
- Ilya
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
8 years 1 month ago #117692
by Ilya
Replied by Ilya on topic Ethercat HAL driver
Hi, schlank
Have you seen this document?
docs.google.com/document/d/1GiB065ZIAaoM...GQl2X9DM9-THNM/edit#
For my servos, I downloaded the XML file on the manufacturer's website. All parameters are described there
Then, using the roschi document (STEP 9), I started grabbing the parameters from the factory XML file into the ethercat-conf.xml file
Have you seen this document?
docs.google.com/document/d/1GiB065ZIAaoM...GQl2X9DM9-THNM/edit#
For my servos, I downloaded the XML file on the manufacturer's website. All parameters are described there
Then, using the roschi document (STEP 9), I started grabbing the parameters from the factory XML file into the ethercat-conf.xml file
- roschi
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 29
Time to create page: 0.184 seconds