- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Need help creating "Initcmd.xml" from Twincat config!
Need help creating "Initcmd.xml" from Twincat config!
16 Jun 2023 12:50 - 21 Jun 2023 07:07 #273692
by akg1904
Need help creating "Initcmd.xml" from Twincat config! was created by akg1904
Hi,
I am trying to create an "Initcmd.xml" file for an IO module.
I generated the device description xml file using TwinCAT 3.
Now I am stuck! I am not able to figure out what to map out of all of the initcmds present in the exported xml.
I have attached my device description xml file here.
I hope somebody can help me regarding this.
Thanks and Regards
Abhishek
I am trying to create an "Initcmd.xml" file for an IO module.
I generated the device description xml file using TwinCAT 3.
Now I am stuck! I am not able to figure out what to map out of all of the initcmds present in the exported xml.
I have attached my device description xml file here.
I hope somebody can help me regarding this.
Thanks and Regards
Abhishek
Last edit: 21 Jun 2023 07:07 by akg1904.
Please Log in or Create an account to join the conversation.
03 Nov 2023 14:54 - 03 Nov 2023 14:56 #284460
by panming
Replied by panming on topic Need help creating "Initcmd.xml" from Twincat config!
hello,Is your problem solved? I'm having the same problem as you
Last edit: 03 Nov 2023 14:56 by panming.
Please Log in or Create an account to join the conversation.
16 Nov 2023 12:48 #285615
by akg1904
Replied by akg1904 on topic Need help creating "Initcmd.xml" from Twincat config!
hi,
So basically the way Igh Ethercat master works is that it reads from sii memory of slave for configuration and odot's sii memory is blank.Connect odot with twincat and extract the proper sii data that has to be written and then use
ethercat sii_write command to upload it onto odot's sii memory. I don't remember how to extract this .bin file in TwinCAT top of my mind but it is fairly simple. Also one clue I had come across the solution by reading dmesg log error (some incomplete config something). search for that in google too.
cheers!!
So basically the way Igh Ethercat master works is that it reads from sii memory of slave for configuration and odot's sii memory is blank.Connect odot with twincat and extract the proper sii data that has to be written and then use
ethercat sii_write command to upload it onto odot's sii memory. I don't remember how to extract this .bin file in TwinCAT top of my mind but it is fairly simple. Also one clue I had come across the solution by reading dmesg log error (some incomplete config something). search for that in google too.
cheers!!
Please Log in or Create an account to join the conversation.
17 Nov 2023 07:55 #285704
by panming
Replied by panming on topic Need help creating "Initcmd.xml" from Twincat config!
hello,
I've looked at the EEPROM of the coupler and it's almost blank except for the vendor information at the beginning. I tried to burn the manufacturer's ESI (i.e. xml file) into eeprom, but nothing changed. Can you recall how to extract the bin file? or give a Google keyword.
thanks.
I've looked at the EEPROM of the coupler and it's almost blank except for the vendor information at the beginning. I tried to burn the manufacturer's ESI (i.e. xml file) into eeprom, but nothing changed. Can you recall how to extract the bin file? or give a Google keyword.
thanks.
Please Log in or Create an account to join the conversation.
17 Nov 2023 10:59 #285727
by rodw
Replied by rodw on topic Need help creating "Initcmd.xml" from Twincat config!
I found twincat totally useless. I just use ethercat pdos and save to a text file.
then write the xml. we've done a couple of no name IO modules and a servo drive that way.
then write the xml. we've done a couple of no name IO modules and a servo drive that way.
The following user(s) said Thank You: tiagounderground
Please Log in or Create an account to join the conversation.
17 Nov 2023 11:06 #285729
by panming
Replied by panming on topic Need help creating "Initcmd.xml" from Twincat config!
Hi.rodw
Your point is correct, provided that the "EtherCAT PDO" can correctly recognize the PDO, I have configured a board IO module, and his PDO is complete. But I'm on my pluggable coupler and there's no feedback. I'm thinking about how to manually map PDOs, but because I've been in the hospital lately, there's no way to experiment with some of my ideas.
Your point is correct, provided that the "EtherCAT PDO" can correctly recognize the PDO, I have configured a board IO module, and his PDO is complete. But I'm on my pluggable coupler and there's no feedback. I'm thinking about how to manually map PDOs, but because I've been in the hospital lately, there's no way to experiment with some of my ideas.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
28 Nov 2023 07:06 #286666
by akg1904
Replied by akg1904 on topic Need help creating "Initcmd.xml" from Twincat config!
Hi,
Sorry I don't remember much of it.
But I think it should be in Ethercat Tab -> Advance Setting.
there are multiple of setting which you can look into
Regards
Abhishek
Sorry I don't remember much of it.
But I think it should be in Ethercat Tab -> Advance Setting.
there are multiple of setting which you can look into
Regards
Abhishek
Please Log in or Create an account to join the conversation.
- tiagounderground
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 7
08 Dec 2023 22:43 - 08 Dec 2023 22:45 #287593
by tiagounderground
Replied by tiagounderground on topic Need help creating "Initcmd.xml" from Twincat config!
Hi.rodw
do you have a tutorial on this?
do you have a tutorial on this?
Last edit: 08 Dec 2023 22:45 by tiagounderground. Reason: mention an user
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Need help creating "Initcmd.xml" from Twincat config!
Time to create page: 0.081 seconds