- Posts: 26
- Thank you received: 5
Ethercat HAL driver
- Allan
- Offline
- Junior Member
-
Less
More
10 years 7 months ago #71262
by Allan
Replied by Allan on topic Ethercat HAL driver
Hello Billie
Have you downloaded the etherlabmaster-dev from
repo.modusoft.de/linuxcnc/wheezy/
as described in the EtherCatDriver documentation
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
in the Building section?
Allan
Have you downloaded the etherlabmaster-dev from
repo.modusoft.de/linuxcnc/wheezy/
as described in the EtherCatDriver documentation
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
in the Building section?
Allan
Please Log in or Create an account to join the conversation.
- billiehuijbregts
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 1
10 years 7 months ago #71267
by billiehuijbregts
Replied by billiehuijbregts on topic Ethercat HAL driver
Hi Allen,
Thanks for the tip, that seemed to be the problem.
I got that working now, only I can't seem to find any ethercat slaves.
When I load a template config in my Linuxcnc program I get this error:
I'll add my config templates.
Thanks for the tip, that seemed to be the problem.
I got that working now, only I can't seem to find any ethercat slaves.
When I load a template config in my Linuxcnc program I get this error:
Code:
Invalid pdoEntry halType special32
I'll add my config templates.
Please Log in or Create an account to join the conversation.
- Allan
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 5
10 years 7 months ago #71268
by Allan
Replied by Allan on topic Ethercat HAL driver
Hello Billie
In the EtherCatDriver documentation
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
in the Building section have you cloned and made
the driver?:
If you like to build the driver by you own, you could just clone the git
# git clone github.com/sittner/linuxcnc-ethercat.git linuxcnc-ethercat
# cd linuxcnc-ethercat
and do a
# make
and
# sudo make install
Allan
In the EtherCatDriver documentation
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
in the Building section have you cloned and made
the driver?:
If you like to build the driver by you own, you could just clone the git
# git clone github.com/sittner/linuxcnc-ethercat.git linuxcnc-ethercat
# cd linuxcnc-ethercat
and do a
# make
and
# sudo make install
Allan
Please Log in or Create an account to join the conversation.
- billiehuijbregts
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 1
10 years 7 months ago - 10 years 7 months ago #71619
by billiehuijbregts
Replied by billiehuijbregts on topic Ethercat HAL driver
Dear Allan,
Seems like the Ethercat driver is working now, I can find my Ethercat slaves.
Still can't connect to my drive tho. When issuing the 'show pins ethercat' it gives back 0 pins.
Guess it's a problem in my xml or hal file but I followed the tutorial exactly as described.
Seems like the Ethercat driver is working now, I can find my Ethercat slaves.
Still can't connect to my drive tho. When issuing the 'show pins ethercat' it gives back 0 pins.
Guess it's a problem in my xml or hal file but I followed the tutorial exactly as described.
Last edit: 10 years 7 months ago by billiehuijbregts.
Please Log in or Create an account to join the conversation.
- Allan
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 5
10 years 7 months ago #71871
by Allan
Replied by Allan on topic Ethercat HAL driver
Hello Billie
I noticed that the XML file you attached to your post on 14 March does not contain a <masters> </masters> entry whereas the XML file attached to your post on 9 March does. The current version Ethercat HAL driver produces errors if the <masters> </masters> is omitted.
Are any errors generated?
Allan
I noticed that the XML file you attached to your post on 14 March does not contain a <masters> </masters> entry whereas the XML file attached to your post on 9 March does. The current version Ethercat HAL driver produces errors if the <masters> </masters> is omitted.
Are any errors generated?
Allan
Please Log in or Create an account to join the conversation.
- chuchengbing
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
10 years 7 months ago #71928
by chuchengbing
Replied by chuchengbing on topic Ethercat HAL driver
really?thank you for all . i will do something like with you and control one servo driver with ethercat.
i encounter some questions :
while i try to start linuxcnc ,there are two errors:
1.failed to set SAFEOP state,slave refused the state change;
2.AL state message 0x001E,invalid input configuration;
so,i try to execute hal file in hal cmd line, i found when i run "addf lcec.write-all servo-thread ",the error are alredy coming.
please tell me the answers of this question .
thank you again.
i encounter some questions :
while i try to start linuxcnc ,there are two errors:
1.failed to set SAFEOP state,slave refused the state change;
2.AL state message 0x001E,invalid input configuration;
so,i try to execute hal file in hal cmd line, i found when i run "addf lcec.write-all servo-thread ",the error are alredy coming.
please tell me the answers of this question .
thank you again.
Please Log in or Create an account to join the conversation.
Time to create page: 0.632 seconds