S300 ethercat flexible mapping PDO problem
I am tring to use S343 hw rev_04.10_nd0+fw_rev_5.86 + ethercat card implemented in twincat plc application. During commisioning I noticed, there are supported flexible mapping PDOs just from >=5.18 firmware + 04.00 hardware rev. When you want to use flexible mapping PDOs for your purpose, you have to set on bit 16 in DRVCNFG3 parameter, via DriveGUI config software to enable Flexible mapping of PDOs.
I did everything from chapter before, I have S343 + ethercat card, I enabled bit 16. But during the Scanning devices in TwinCAT3.1 it scanned just some old config s300/s400/s600/s700. It not allows any flexible mapping pdos, (picture below in red rectangles) in data objects 0x1C12 and 0x1C13. I can run it in velocity mode via this config.
But when I manually added item and select (S300/S700_v40 / S300/S700_v50) newer config there are flexible mapping PDOs in data objects 0x1C12 and 0x1C13.
I can apply 0x1A00 and 0x1600. I can put in my data objectes what I need in my motion task. I need to run it in CSP mode, adress 0x6060 data 8.
I can activate configuration but but when I check data object in DriveGUI EtherCAT menu mapped PDOs, there are no one mapped pdos there. In twincat I applied read PDOs from device, there are 0x1C12 and 0x1C13 and they are empty. It appears more warning n16 and fault F29 in my case.
I am going step by step through free accessible kollmorgen ethercat manual see below, but in case of flexible mapped process data objects it is not working at all in my case.
I need to read more data from driver that are in fixed PDOs.
Is there any guidence or any solution to run drive through flexible PDOs please?
Thanks, for help
Comments & Answers
feralMaster said ...
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?
I don't know why TwinCAT
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.
Slav, I'm handing this over
Slav, I'm handing this over to the Kollmorgen tech support group in Europe. They can work with you directly.
Make sure to place the latest
Make sure to place the latest xml file (s300s700_50.xml) in the EtherCAT folder. The directory path is different for TwinCAT2 and TwinCAT3.
TwinCAT2: C:\Program files\TwinCAT\IO\EtherCAT
Make sure you delete any older xml files for the S300 in that folder.
In TwinCAT, go to the TwinCAT menu and select EtherCAT Devices -> Reload Device Descriptions.
Scan for devices and boxes.
When you see PDO assignments 1A00, 1A01, 1A02, 1A03 and 1600, 1601, 1602, 1603, place a checkmark in the checkboxs to select the assignments you want to use. Map the assignments with the objects you want. Then activate the configuration.
Your picture XAE_0.png shows
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.