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

Setup multiple ethercat divice on a switch

r3dflyter
2021-06-03
2021-06-04
  • r3dflyter - 2021-06-03

    Hi,
    I work with synapticon nodes and they are in tow or more system.
    In each system they are in serial connection on overcast and it works fine.

    But I want a common controller for them so I plug my controller and my system with a switch but I could not manage to connect to both at the same time:
    -If I plug, one on the switch it work
    -If I plug a second one I don't see any devices on the Ethernet master scan

    I suppose that as the addresses are automatically atribute (as 1001 for the first in line, then 1002...) and I can't change those, when I plug two line of devices the addresses are in conflict.
    One little work around I found is to have tow ethercat master, but it only works with tow as I have only 2 at the port.
    I try to put both on the same port, but the first one open it and the second one can't (which is logical).

    I'm out of idea to make it work, so if anyone has a hint I'll gladly accept it.

     
    πŸ‘
    1

    Last edit: r3dflyter 2021-06-03
  • eschwellinger

    eschwellinger - 2021-06-04

    Hi,
    this does not work with a switch,
    you need to have for example:
    https://www.beckhoff.com/en-us/products/i-o/infrastructure-components/cuxxxx-epxxxx-ethercat-components/cu1128.html
    but why not just connect your slaves all in one row, daisy chain?

     
    πŸ‘
    1
    • r3dflyter - 2021-06-04

      Hi thanks for the anser
      I can't just daisy chain them because they are in different subsystem and they are connected by a hybrid cable so I can't pass two cables to one of those sub system.

      Edit:
      I found a solution by re-wiring a splitter:
      -Rx0<=>Tx1
      -Rx1<=>Tx2
      -Rx2<=>Tx0
      and its work as a daisy chain

       
      πŸ‘
      1

      Last edit: r3dflyter 2021-06-04

Log in to post a comment.