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

Change IP Address from CAA Runtime on PFC200

2016-10-28
2016-10-29
  • jessejamescox - 2016-10-28

    Hello, struggling with finding a way to change the target's IP address from within the PLC runtime. This is a feature that has always been available from WAGO on CoDeSys 2.3 and e!Cockpit Is there a TCP/IP config library or Linux command line block that will accomplish this?

     
  • eschwellinger

    eschwellinger - 2016-10-29

    Hi,
    for me it works with adding the setting (add the Interface which you want to set)

    [SysSocket]
    Adapter.0.Name="ethX2"
    Adapter.0.EnableSetIpAndMask=1

    in /etc/CODESYSControl.cfg

    and set the IP by adding the 'Ethernet Connector' to your project and set 'Change Operation System setting' see screenshot

    BR
    Edwin

    IMG: setip.jpg

    CheckLicensePFC200.project [79.32 KiB]

     

Log in to post a comment.