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

How to change Codesys OPCUA Server IP PORT ?

HeroLin
2017-05-09
2017-05-10
  • HeroLin - 2017-05-09

    as Subject .
    Can any one know how to change it ?
    i am using v3.5.9.0

     
  • petergrote - 2017-05-10

    Hi HeroLin

    Please see this commend:
    The problem is if the runtime starts before you have an valid IP address which
    is usually the case the OPCUA Server does not reasign/change the address.
    This leads to problems on startup (runtime works OPCUA not)
    You could workaround this by a later start of the runtime (init Sleep with 20s)
    If you have a port problem you could configure the port in /etc/CODESYSControl.cfg (and even which nic you want to use for OPCUA)

    [CmpOPCUA]
    NetworkAdapter=eth0
    NetworkPort=4841

    Hope this can help you.

    HeroLin hat geschrieben:
    as Subject .
    Can any one know how to change it ?
    i am using v3.5.9.0

     

Log in to post a comment.