As I previously said we cannot support manual setup of EtherCAT in script header files. Only the IDE’s created configuration files in the “Configuration” folder (as documented in the IDE manual for the IDE version expressed): ECATConfig.cfg, Eni.xml, Systemsetup.cfg.
Simple power on modifications could be acceptable but these should not be in header files. These should be in power on PLC code with proper “verification” code.
Please answer the previously asked questions:
What is your IDE version?
What is your PMAC platform and firmware version?
To verify you have a correct, functional, and well-tuned EtherCAT setup post your tuning step-move and parabolic plots to review, without enabling the user servo code. To provide useful commentary I will need this information along with answers to the above questions.
Also note that your EtherCAT drive manufacturer’s software must properly set up the current loop in the drive. There may be other “torque” related SDOs that need specific settings per their documentation. Such as:
Object 607Fh: Max profile velocity
Object 6072h: Max torque
Please refer to your drive manufacturer’s documentation for details.