Ethercat HAL driver

More
5 years 11 months ago #189898 by Grotius
Replied by Grotius on topic Ethercat HAL driver
Download link : iso
Instructions : steps

This is for :
jc2ktr & tetw.
The following user(s) said Thank You: Nico2017

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #189920 by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello @jc2ktr
I don't have that controller but you basically have

enable these pins:
Code:
Switch ON Enable Voltage Enable Operation

pin connected:
Code:
Actual Position => joint.0.motor-pos-fb ProfileTargetPosition <= joint.0.motor-pos-cmd
I hope this can put you on your way


Hello @tetw
you have an error in some PDO or device configuration, can you attach the configuration file .xml I take a look?

Greeting
Chimeno
Last edit: 5 years 11 months ago by chimeno. Reason: Edit

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #189946 by JanMrlth
Replied by JanMrlth on topic Ethercat HAL driver

chimeno wrote: In my experience, the generic driver works very well if you have few connected devices, enough if they are in free mode and if it is in SYNC0 mode, nothing happens if a cycle is lost because the next cycle I will read the data again, but if you have many devices and you use the SYNC0 and SYNC1 mode, I advise you to use the e1000e controller, the configuration of the devices is much faster and you have no loss of synchronism.


Do you have some links on this topic?

Since Grotius' image worked fine out of the box, I did not look in to alternative drivers.

What are 'many' devices? A cnc mill usually comes with 3 axis and a few IOs.

I am in contact with Beckhoff for the 7041-1000 configuration at the moment. If someone has additional documentation on the Config of this card, please let me know.
Last edit: 5 years 11 months ago by JanMrlth.

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #189966 by Grotius
Replied by Grotius on topic Ethercat HAL driver
@Jan,

Don't buy the 7041 or 7041-1000. I tested both version's. They work but the output power is very low. In my opinion only suitable
for a 3d printer. This is a product for companies like asml.
Also the max output speed is not what i was expecting. They cost too much => ROI.

What i like the most is a :
EL2124 + (for example the dm860) stepper driver. This works really amazing. I have config files for this available.

What you could do, and i also advice if you want to do some research. Buy one chineze ethercat stepper driver and bring this to live with linuxcnc and share your experiences.
Last edit: 5 years 11 months ago by Grotius.

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #189975 by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello @JanMrlth

Right now I do not have any links for practical applications, many devices such as 50, although I have 43 devices connected in generic mode without problems using the PLL patch, now I want to switch to the e1000e controller. The generic driver works for all network cards, for example to use the e1000e driver you need a card with the specific intel chip, never used El7041 although it should not be difficult, if you have the manual and TWINCAT easy to configure.

Greeting
Chimeno
Last edit: 5 years 11 months ago by chimeno.

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #189977 by Grotius
Replied by Grotius on topic Ethercat HAL driver
Attached my EL7041 configuration files that worked for me.
The lcec driver has already the EL7041 inside on the grotius iso.

@Chimeno,

I have 43 devices connected in generic mode without problems using the PLL patch,
Including your wife? :laugh:
Attachments:
Last edit: 5 years 11 months ago by Grotius.
The following user(s) said Thank You: chimeno, jc2ktr

Please Log in or Create an account to join the conversation.

Time to create page: 0.925 seconds
Powered by Kunena Forum