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

RASPBERRY OPC CONFIGURATION

jbunel
2019-07-02
2019-07-03
  • jbunel - 2019-07-02

    Hello. I have difficulties to run the OPC server of my pigeon PLC (raspberry pi compute inside) with runtime 3.5.14.20.

    The UaExpert windows "Add Server" :
    see attachment nΒ°3

    The UaExpert windows error :
    see attachment nΒ°2

    The Codesys log window:
    see attachment nΒ°1

    I have a questions :
    1) Which configuration file should I use?

    "/etc/CODESYSControl_User.cfg" or "/etc/CODESYSControl.cfg"
    

    2) What configuration in this file

    [CmdOPCUA]
    NetworkAdapter = eth0
    NetworkPort = 4840
    

    OU

    [CmpOPCUAServer]
    NetworkAdapter=eth0
    NetworkPort=4840
    

    3) What means the errors in Codesys log and UaExpert log ?

    Thank you

    Note:
    When I do a Codesys Win V3 project, everything works.

    IMG: LogOPC.png

    IMG: UAEXPERT.png

    IMG: AddServer.png

     
  • jbunel - 2019-07-03

    Hi. I found the solution.

    In UaExpert OPC client, after add the server, display the properties of this server and replace the "EndPoint URL" :

    by

    Now, it works

     

Log in to post a comment.