- Posts: 193
- Thank you received: 57
Ethercat HAL driver
- sirop
- Offline
- Elite Member
-
Please Log in or Create an account to join the conversation.
- ChrisB
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 0
i am new to ethercat and linux.
But up to now i have installed IgH EtherCAT Master 1.5.2.
I have started ethercat master in the terminal with the gineric linux driver.
The networkleds are blinking and the statemachine is in the state: PREOP
But wehn i try to change to SAFEOP or to OP then the Slave gets the an Fieldbuserror with the wrong length.
I use a Kollmorgen Servostar 30361-NA with Ethercatmodul. Tho the Drive im am connected via RS232 with a Windowsnotebook an the Kollmorgen Drivesetupsoftware. Here i can see the AL-Controlword and AL-Statusword.
My assumption is that my mapping is wrong.
Here is the xml output from the comandlinetool:
i am using this doc : etherlab.org/download/ethercat/ethercat-1.5.2.pdf
and the attached Kollmorgen Ethercatdocument
on page 52 of ethercat-1.5.2.pdf is the SDO download described.
But i don´t know how to download the attached S300 xml.
Can someone help me?
Thanks a lot
Christian
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
- Posts: 193
- Thank you received: 57
Christian.Barth wrote: Hello,
i am new to ethercat and linux.
But up to now i have installed IgH EtherCAT Master 1.5.2.
I have started ethercat master in the terminal with the gineric linux driver.
The networkleds are blinking and the statemachine is in the state: PREOP
But wehn i try to change to SAFEOP or to OP then the Slave gets the an Fieldbuserror with the wrong length.
Christian
In terms of linuxcnc-ethercat your slave is a generic slave, so you need an XML description file similar to github.com/sittner/linuxcnc-ethercat/blo...at-conf.xml#L18-L143 .
If you have already such a file, please share it.
As for SDO download/upload: S300 xml is a slave description according to EtherCAT standard and you do not have to download it anyware.
SDO download however can be used to configure your slave, for instance, its mode of operation. For this you work with single values/numbers and - in less frequent cases - with array of numbers.
Please Log in or Create an account to join the conversation.
- ChrisB
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
- Posts: 193
- Thank you received: 57
Christian.Barth wrote: Hi sirop. Thank you for your fast response. I habe no XML description file. How can i create one? Do you have a documentation?
Try
Please Log in or Create an account to join the conversation.
- ChrisB
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 0
Please Log in or Create an account to join the conversation.