Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

EtherCAT: How to change station-alias/ Slave address

dkugler
2021-08-27
2021-09-07
  • dkugler - 2021-08-27

    I've the need to change the slave address by IEC code and write it to the EEPROM of the slave. I found the FB ReadWriteEEprom in the EtherCATStackLibrary.
    Is it possible to do edit the slave addresses with this FB?
    The story behind: We have AutoConfig deactivated at the MAster to be able to hotplug optional slaves.
    So we will first boot the PLC with a small application to address the slaves. At this point all slaves come up with address 0 and we want to show a table in the visu to set and change the addresses depending on the read vendor and product ID's. Then restart the PLC with the main application. Hope it's not confusing and someone can help me with a hint to go in the right direction forward. Thanks!

     
  • dkugler - 2021-09-06

    pushing up this thread. Somebody can help me?

     
  • eschwellinger

    eschwellinger - 2021-09-07

    You should an answer from your plc manufacturer meanwhile.

     

Log in to post a comment.