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

Different IO Module Combinations with same application

jimmyd
2017-08-30
2017-09-14
  • jimmyd - 2017-08-30

    I'm attempting to write an application which covers two different IO Module Configurations that can be selected between in the application. The module protocol and power unit remains the same (EtherCAT). The difference is that one configuration uses more digital input and relay output modules as well as a different analog module. Is it possible to create one application with two different IO mappings and switch between the two within the application? My attempts so far have led either to the EtherCAT slave adapter not going into run or giving an invalid configuration error.

    In each case, I'm using a Crevis NA-9286 EtherCAT Adapter.

    If anybody has any input on this, it would be much appreciated.

     
  • johnlee - 2017-09-14

    you may to detect the the status of your ethercat couple to determine which is live and then switch over to the IO address to resume your logic. And make sure you have tick the autorestart of the slave

     

Log in to post a comment.