Part Number: AM6442
Hello,
I am trying to add new PDOs to the existing ethercat subdevice beckhoff ssc demo. I added the required data to the tiescappl.xlsx and created slave source files through the SSC tool.
I then flashed the generated xml file to the EEPROM through the EEPROM programmer. I set up a TwinCAT project using instructions from this link:
https://software-dl.ti.com/processor-industrial-sw/esd/ind_comms_sdk/am64x/2026_00_00_06/docs/api_guide_am64x/ETHERCAT_SUBDEVICE_DEMO_TWINCAT.html
None of the changes I made were reflected. The TwinCAT threw an error:
"State change aborted (requested SAFEOP, back to PREOP)
"PREOP to SAFEOP failed. Error 'check device state for SAFEOP. AL Status '0x0012' read and '0x004' expected. AL Status Code '0x001e - Invalid SM IN Cfg'
I then put the generated TIESC.xml file in the TwinCAT/3.1/Config/Io/EtherCAT folder. Only then the TwinCAT showed the updated PDO list and the application ran successfully.
I have the following questions:
1. The TwinCAT is supposed to read the EEPROM of the device to get the slave details. Why did it not happen? I created another project, restarted the TwinCAT application but still it did not fetch the details.
The new details were fetched without having any reference to the xml file in the TwinCAT folder only if device info was changed. What is the correct behaviour?
2. Is editing the tiescappl.xlsx and generating slave stack source files from the SSC tool the only way to perform this operation? What is the alternate method to add/modify the PDOs without involvement of the SSC tool?
Kindly guide me through the process.
SN