Skip to main content

feralMaster said ...

feralMaster |

Hello, 

there in picture XAE_0 with number 1. is my .xml folder and project tree from twinCAT3.1. There I add all these guys as check if they are readable for TwinCAT and they are.

My drive is S343 hw rev_04.10_nd0+fw_rev_5.86 + ethercat card implemented, I enabled bit 16 in DRVCNFG3. I just hit scan devices and online it shows just this guy at picture XAE_1, but in the IO .xml folder it has just s300s700_50.xml file. This file is ignored by the twinCAT configuration and it looks like just download data from online scanned device S300_S400_S600_S700_r8.xml - picture XAE_1.

When I manually added item S300S700_r50.xml under twinCAT master its add it. You can go online but you can not added it into the NC-task. picture XAE_3. It is in the list, but when you select it, the command windows stayes empty. I can added just old stuff config without flexible mapped PDOs.

There it is showed flexible mapped PDOs in picture XAE_2. They are here and I want to work with them, I check 0x1600 and I check 0x1A00. I hit build twinCAT project. All gone, but when I hit button Load PDO info from device, all rectangle of PDO config are blank and all values in NC task are therefore 0.000. picture XAE_4.

I do not know what is wrong in my configuration. Can you help me with trouble shooting please?

Reagrds Slav

 

XAE_0.png (203.58 KB)
XAE_1.png (238.26 KB)
XAE_2.png (232.51 KB)
XAE_3.png (167.96 KB)
XAE_4.png (142.14 KB)

jcoleman02 | Wed, 07/27/2022 - 13:14

Your picture XAE_0.png shows 5 xml files for the S300 (also for the S700, S400, and S600) in the TwinCAT folder. You need to delete 4 of the 5 files. If you have multiple xml files for the S300 in that folder, then TwinCAT can use any of those. Remove all but the newest one.

feralMaster | Thu, 07/28/2022 - 05:44

Yes, when you go through the content of my comment higher, there was written I just want to check, if the all .xml files are readable for twinCAT.

There was just S300S700_r50.xml lefted in the IO .xml folder of the twinCAT.

When I started scanning the net, XAE_1, in the IO .xml folder it was just s300s700_50.xml file no others... It looks like that, this file was ignored by the twinCAT configuration and it looks like just download data from online scanned device S300_S400_S600_S700.xml - picture XAE_1. But when I manually added item S300S700_r50.xml under twinCAT master its add it. You can go online through it, but you can not added it into the NC-task. picture XAE_3. It is in the list, but when you select it, the command windows stayes empty.

I can added just old stuff config without flexible mapped PDOs.

There it is showed flexible mapped PDOs in picture XAE_2. They are here and I want to work with them, I check 0x1600 and I check 0x1A00. I hit build twinCAT project. All gone, but when I hit button Load PDO info from device, all rectangle of PDO config are blank and all values in NC task are therefore 0.000. picture XAE_4.

jcoleman02 | Thu, 07/28/2022 - 13:07

I don't know why TwinCAT would download an online device description instead of using the available xml file. Go to the TwinCAT menu and select EtherCAT Devices -> Reload Device Descriptions. Then scan. See if that works. You may need to talk to Beckhoff about this. Obviously, when manually using the correct device description, the flexible PDO's are available. So the issue is getting the scan to use the xml file instead of downloading from the web.

feralMaster | Mon, 09/19/2022 - 19:50

Hello mr. Coleman,

I am tring to run simplest benchtop configuration of single axis over ethercat the TwinCAT3 and facing to unusual problem of not responding drive on task target position 0x607A in the CSP mode. Drive is setted to run over free mapped PDOs - 1A00 and 1600 PDOs. It has fm 5.98 and hw 04.10. More important information below : 

- no error or waring in drive(no synchronization error from ethercat DC)
- task time 8*250us scan like as default
- DC used in 2ms interval
- user units of drive are setted in micrometers
- succesfull scan devices in TwinCAT XAE with ESI file which supporting FreeMapped PDOs
- succesfull configuration, upload to drive and check consistency via DriveGUI
- OPMODE setted to 5 external position 
- reading actual position via 0x6064 is working, tested over manual DriveGui - Motion Service spinning subroutine

Which values will be in 0x6060, 0x60C2 at startup please?

Position in  0x607A register are changing with target position from trajectory generator, but motor not spinning in any direction. I spent more then week in reconfiguring of paramters in drive and in twincat solution but with no success. 

I will be thankful for any advice.

I am adding drive parameter file for DriveGUI and twincat project on my google drive space at next link " https://drive.google.com/drive/folders/1sPSQXqOWsQUzHhqDYLzVKfMkhIAX0ta… ".

Just for information -

I do not know if it is a feature or it is a bug in this document about configuring of actual ESI/.xml file, which is used during TwinCAT configuration in the "https://www.kollmorgen.com/sites/default/files/public_downloads/srether…;. It has swaped logic in the DriveGUI DRVCNFG3 parameter and in the DriveGUI-Help too.
When you want to use new configuration with Free Mapped PDOs (FW 5.16 and newer), you have to have 16bit setted to 0 , but! when you have 16bit in 1, you will using old ESI/.xml file during the scanning devices in the TwinCAT configuration. It works with FW 5.16 and newer too, but you will not have access to usefull feature of Free Mapped PDOs. Two way options of ESI/.xml file config probably supporting old drives such as S600 and S400 drivers and S300 and S700 drives with older FW versions too.
There is right configuration of 16bit in DRVCNFG3 parameter via DriveGUI in the next link "http://www.wiki-kollmorgen.eu/wiki/DanMoBilder/file/s300s700help/etherc…;.

Regards Slav

jcoleman02 | Mon, 09/19/2022 - 22:11

Slav, I'm handing this over to the Kollmorgen tech support group in Europe. They can work with you directly.