- Posts: 193
- Thank you received: 0
Ethercat HAL driver
ethercat slaves -v
or
ethercat master -v
Please Log in to join the conversation.
I think some linking is missing probably
Please Log in to join the conversation.
I'm trying to configure a machine with 37 servos HIWIN. I created my own lcec_hiwin and everything is fine for many machines with 3, 4 or 5 servos.
I get some kind of problem when I connect more than 13 slaves. The 13th and 14th get stuck on PRE-OP with error and the following not even try to get OP.
the output of ethercat slaves for 15 servos:
The dmesg output:
Hal configuration:
And the xml:
I've tried to change all the xml parameters, refClockSyncCycles, Dc values... with no result. Has anybody any idea of how to solve this?
Please Log in to join the conversation.
Do you see
AL status code 0x002E is indeed unknown.
Besides all that:
lists.etherlab.org/pipermail/etherlab-dev/2016/000553.html0055-fsm_slave_config_scan-to-fsm_slave.patch
...
The motivating case was a network of about 100 slave devices; while scanning
is fast (under a second, after prior SII patches), the configuration process
to bring the slaves from PREOP to OP took about 80 seconds (and you could
see the lights coming on each slave in sequence). After the patch it takes
about 20 seconds.
Please Log in to join the conversation.
sirop wrote:
Code:[ 133.613219] EtherCAT ERROR 0 0:1: PDO entry 0x6000:01 is not mapped. [ 133.613226] LCEC: master 0 PDO entry registration failed
That's the point to research.
thanks for help.
but I searched over here and in internet and still and I could not figure out what is the cause or remedy of this problem. I used the example xml file by sascha, so where is the mistake?
one more question too: Am I supposed to be connected online to all devices that are defined in xml file during start up of linuxcnc with hal driver?? may be this what causes error ?
Please Log in to join the conversation.
mfalcon wrote:
sirop wrote:
Code:[ 133.613219] EtherCAT ERROR 0 0:1: PDO entry 0x6000:01 is not mapped. [ 133.613226] LCEC: master 0 PDO entry registration failed
That's the point to research.
thanks for help.
but I searched over here and in internet and still and I could not figure out what is the cause or remedy of this problem. I used the example xml file by sascha, so where is the mistake?
one more question too: Am I supposed to be connected online to all devices that are defined in xml file during start up of linuxcnc with hal driver?? may be this what causes error ?
Which xml file by sascha is that?
Please Log in to join the conversation.
sirop wrote:
mfalcon wrote:
sirop wrote:
Code:[ 133.613219] EtherCAT ERROR 0 0:1: PDO entry 0x6000:01 is not mapped. [ 133.613226] LCEC: master 0 PDO entry registration failed
That's the point to research.
thanks for help.
but I searched over here and in internet and still and I could not figure out what is the cause or remedy of this problem. I used the example xml file by sascha, so where is the mistake?
one more question too: Am I supposed to be connected online to all devices that are defined in xml file during start up of linuxcnc with hal driver?? may be this what causes error ?
Which xml file by sascha is that?
this one:
github.com/sittner/linuxcnc-ethercat/blo.../ethercat-conf_X.xml
Please Log in to join the conversation.
Please Log in to join the conversation.
sirop wrote: Do you get this
before starting the threads of the HAL script?Code:[ 6342.761973] EtherCAT WARNING 0: 124 datagrams TIMED OUT! ... [ 6352.575153] EtherCAT ERROR 0-14: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR). [ 6352.579146] EtherCAT ERROR 0-14: Unknown AL status code 0x002E.
No, I get that after start HAL script.
sirop wrote:
Do you seealso if you use less slaves?Code:EtherCAT WARNING 0: 124 datagrams TIMED OUT!
That doesn't appears always. Here is other test:
sirop wrote:
AL status code 0x002E is indeed unknown.
Besides all that:lists.etherlab.org/pipermail/etherlab-dev/2016/000553.html0055-fsm_slave_config_scan-to-fsm_slave.patch
...
The motivating case was a network of about 100 slave devices; while scanning
is fast (under a second, after prior SII patches), the configuration process
to bring the slaves from PREOP to OP took about 80 seconds (and you could
see the lights coming on each slave in sequence). After the patch it takes
about 20 seconds.
I'm going to read the last link, test it and comment the results.
BR
Please Log in to join the conversation.
currently EK1100 coupler, but I did not connect it during starting of linuxcnc , because i was thinking that xml file will be used to check the slaves when I press "run" button in linuxcnc gui.
Please Log in to join the conversation.
