RASPBERRY OPC CONFIGURATION

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

    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

    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.