Ethercat HAL driver

More
5 years 11 months ago #190091 by Tomi
Thank You thesade,
I Succeeded install etherlab on top of current linuxcnc raspberry pi image to rpi4. I started ethercat and bus starts to blink fast with EK1100.
I also installed Beremiz to same image. And CanFestival. I am using cheap isolated 2-channel can hat from aliexpress (2-Channel Isolated CAN Expansion HAT,for Raspberry Pi,MCP2515 + SN65HVD230). I configured first channel to master and second to slave. Bus jumpered with wire. CanOpen bus starts communicate. There are some new cheap integrated ethercat AC-servomotor US $134.19, es in aliexpress. Also CanOpen models seems to be available even cheaper. I noticed that ethercat have been tested for Openplcproject with RPI also. All information and developers are separated and working with same problems without idea that someone is making just same thing elsewhere.

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

More
5 years 11 months ago #190122 by tetw
Replied by tetw on topic Ethercat HAL driver

Grotius wrote: Download link : iso
Instructions : steps

This is for :
jc2ktr & tetw.


Hi Grotius,
Hi Chimeno
I've installed grotius iso , but error don't change.
when I add slaves other than "EK1100" in the xml file ($home/Desktop/linuxcnc_axis/configs/sim.qtvcp_screens/ethercat_lcec.xml -- for grotius iso) in position "idx1"
Code:
"EL1104" EtherCAT ERROR 0 0: 1: PDO entry 0x6000: 01 is not mapped. (reading error) EtherCAT WARNING 0: 125 datagrams TIMED OUT! "EL2004" EtherCAT ERROR 0 0: 1: PDO entry 0x7000: 01 is not mapped. (Write error)

either giving a "name=" or not.

File Attachment:

File Name: ethercat_l...1-23.xml
File Size:0 KB

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

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

I checked both the EL1104 and EL2004 are available for the Lcec.
Your file is correct, your Os and Ethercat bus is correct.

Have you tried another cat4 cable? What does $ ethercat cstruct
say to you in terminal with only the EK1100?
And what do it say to you with EL1104 connected?
And what do it say to you with EL2004 connected?

This must work give the correct output, this command is doing a core command to the ethercat bus.
Is your EL1104 and EL2004 new out the box?

Are the EK1100 bus light's flickering fast?

Be aware of your filename..

It is ethercat-conf.xml
At this location : /home/ **yourname** /Desktop/linuxcnc_axis/configs/sim.qtvcp_screens/

You are giving up a different story by :
/ethercat_lcec.xml
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 #190272 by tetw
Replied by tetw on topic Ethercat HAL driver

Grotius wrote: @Tetw,

I checked both the EL1104 and EL2004 are available for the Lcec.
Your file is correct, your Os and Ethercat bus is correct.

Have you tried another cat4 cable? What does $ ethercat cstruct
say to you in terminal with only the EK1100?

It is ethercat-conf.xml
At this location : /home/ **yourname** /Desktop/linuxcnc_axis/configs/sim.qtvcp_screens/

You are giving up a different story by :
/ethercat_lcec.xml


Thanks grotius,
solved error 0x6000 the problem was the cable.
in the previous post I was wrong to enter xml.
I tried to insert only "ES9100" but you don't see it (ethercat slaves ethercat cstruct )?
why in the terminal when I start halrun and load lcec it goes into error?
you have a link or file on how to write the xml file?

Attachments:
Last edit: 5 years 11 months ago by tetw.

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

More
5 years 11 months ago #190338 by Grotius
Replied by Grotius on topic Ethercat HAL driver
@Tetw,

We have tried to help you. If you installed the grotius iso and added just one line to the existing xml file your EL1104 was working.
On github there is a readme enclosed by the grotius iso. But reading takes too much time?
Your cable was a problem. Oke that is solved.

Your really have to begin study this topic first. If you don't know what "ethercat cstruct" means, you have to google it and
study this command until you succeed !

You don't read my comment's good enough, and you don't interact on my comment's, accept changing a cat4 cable.

I tried to insert only "ES9100" but you don't see it (ethercat slaves ethercat cstruct )?
why in the terminal when I start halrun and load lcec it goes into error?
you have a link or file on how to write the xml file?

This is a proof you have too study first. Don't waste our time please before studying our comments !!

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

More
5 years 10 months ago #191311 by jc2ktr
Hello theshade,

i try to use the same ECT60 driver as you, but don't get it to move, tried to use your config from the post. Do you think it is possible to share your Config with us?

greetings Sven

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

Time to create page: 2.836 seconds
Powered by Kunena Forum