Rtelligent RS400E PREOP -> OP

More
21 Nov 2023 13:23 - 21 Nov 2023 13:25 #286165 by TimP
Trying to configure Rtelligent RS400E but it always throws an error


Warning: Spoiler!


Here is my xml config
Warning: Spoiler!


And this is truncated dmesg output, as you can see it is trying to set Uploading SDO 0x0000:00. and failing because of it, but i cannot find from where it's take this SDO 0x0000:00.
Warning: Spoiler!


PDOs
Warning: Spoiler!


SDOs
Warning: Spoiler!
Last edit: 21 Nov 2023 13:25 by TimP.

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

More
22 Nov 2023 06:53 #286211 by rodw
Replied by rodw on topic Rtelligent RS400E PREOP -> OP
the Rtelligent servos must be similar to their steppers. Have a look at my configs here
github.com/rodw-au/linuxcnc-cia402

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

More
22 Nov 2023 08:10 - 22 Nov 2023 12:54 #286213 by Hakan
Replied by Hakan on topic Rtelligent RS400E PREOP -> OP
To debug this you can remove all the pdoentrys and hopefully it should go to OP then.
Then add one pdoentry after the other.

Actually, without starting linuxcnc, you can test
ethercat slaves
ethercat -p slaveno state init
ethercat slaves
ehercat -p slaveno state op
ethercat slaves
 
hopefully that works.
Last edit: 22 Nov 2023 12:54 by Hakan.

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

More
22 Nov 2023 17:09 #286234 by TimP
Replied by TimP on topic Rtelligent RS400E PREOP -> OP
used yours as template, and even tried to use it directly without changes, neither worked, i already think maybe this one is configured somewhat wrong, and i need to try other that i have RS750E, but i. think they are similar in this regard

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

More
22 Nov 2023 17:10 #286236 by TimP
Replied by TimP on topic Rtelligent RS400E PREOP -> OP
how to remove all pdos?

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

More
22 Nov 2023 19:18 - 22 Nov 2023 19:51 #286257 by Hakan
Replied by Hakan on topic Rtelligent RS400E PREOP -> OP
Use an editor, in the xml file.
The lines starting and ending with <pdoentry> </pdoentry>, or they start with <pdoentry and ends with />
It's just text.
Last edit: 22 Nov 2023 19:51 by Hakan.

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

More
22 Nov 2023 19:51 #286262 by TimP
Replied by TimP on topic Rtelligent RS400E PREOP -> OP
yep have tried this, same result

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

More
22 Nov 2023 19:52 #286263 by Hakan
Replied by Hakan on topic Rtelligent RS400E PREOP -> OP
Did it work with "ethercat -p nr state op"?

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

More
22 Nov 2023 19:56 - 22 Nov 2023 19:57 #286264 by TimP
Replied by TimP on topic Rtelligent RS400E PREOP -> OP
nope, here is `dmesg` log
 
EtherCAT WARNING: Datagram 0000000038320a25 (master-fsm) was SKIPPED 1 time.
[  587.780452] EtherCAT DEBUG 0-0: Changing state from PREOP to OP.
[  587.780466] EtherCAT DEBUG 0-0: Configuring...
[  587.781419] EtherCAT DEBUG 0-0: Now in INIT.
[  587.781422] EtherCAT DEBUG 0-0: Clearing FMMU configurations...
[  587.781705] EtherCAT DEBUG 0-0: Clearing sync manager configurations...
[  587.781984] EtherCAT DEBUG 0-0: Clearing DC assignment...
[  587.782264] EtherCAT DEBUG 0-0: Configuring mailbox sync managers...
[  587.782267] EtherCAT DEBUG 0-0: SM0: Addr 0x1000, Size  64, Ctrl 0x26, En 1
[  587.782271] EtherCAT DEBUG 0-0: SM1: Addr 0x1080, Size  64, Ctrl 0x22, En 1
[  587.782554] EtherCAT DEBUG 0-0: Assigning SII access to PDI.
[  587.784253] EtherCAT DEBUG 0-0: Now in PREOP.
[  587.784256] EtherCAT DEBUG 0-0: Assigning SII access back to EtherCAT.
[  587.784528] EtherCAT DEBUG 0-0: SM2: Addr 0x1100, Size   0, Ctrl 0x64, En 0
[  587.784534] EtherCAT DEBUG 0-0: SM3: Addr 0x1400, Size   0, Ctrl 0x20, En 0
[  587.786165] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[  587.786455] EtherCAT ERROR 0-0: AL status message 0x0025: "Invalid Output Mapping".
[  587.787307] EtherCAT 0-0: Acknowledged state PREOP.
Last edit: 22 Nov 2023 19:57 by TimP.

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

More
22 Nov 2023 21:53 #286276 by Hakan
Replied by Hakan on topic Rtelligent RS400E PREOP -> OP
Based on this thread forum.linuxcnc.org/ethercat/46141-ethercat-gha-servo-drive it looks indeed like you have the wrong pid in the xml file, at least compared to the esi xml file here www.rtelligent.net/download_list_3.html (three zeros vs two zeros in pid). Also, maybe the rsconfigurator can be useful?
There are some other tips in that forum-thread as well.
The following user(s) said Thank You: TimP

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

Time to create page: 0.210 seconds
Powered by Kunena Forum