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

Axioline PLCNext and Ethercat

omiidla
2021-09-01
2021-09-02
  • omiidla

    omiidla - 2021-09-01

    Hi,
    I'm running a (v 3.5.17.0) compiler on Phoenix-Contact PLCNext 2152/2404267 (Codesys control for PLCNext v4.1.0.0, using 2021.0 LTS firmware) as an ETHERCAT master. The system also uses an extension module for the additional network interface (AXC F XT ETH 1TX/2403115, Intel I210 based).

    If i use eth0 or the primary network interface as the Ethercat master, everything is running fine, my existing Ethercat devices are found and accessible. If i switch the master to use enp1s0 - the network interface on the extension module - I find no devices, and no alarm messages other than a warning of no slaves found. Upon initiation, the device complains about incomplete or missing configuration, or no bus traffic.

    I've tried all sorts of /etc/networking/interfaces configurations, but so far no luck.

    Any idea what I'm doing wrong here?

     

    Last edit: omiidla 2021-09-01
  • eschwellinger

    eschwellinger - 2021-09-02

    Hi,
    you need to set:
    in /etc/CODESYSControl_User.cfg
    [SysEthernet]
    Linux.ProtocolFilter=3
    DSATagMode=1
    DSATagPort=0

     
  • omiidla

    omiidla - 2021-09-02

    That seems to have worked, thanks!

     

Log in to post a comment.