Codesys OPC Server Communication error

Forum Home Forums Communicating with Devices OPC Codesys OPC Server Communication error

This topic contains 8 replies, has 3 voices, and was last updated by Mikhail Mikhail 11 months, 2 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2142

    arvindh91
    Participant

    I am trying create opc communication with codesys opc .
    Codesys

    Every thing i configued OPC according to Rapid Scada guide Document
    Connction to OPCServer is Normal
    But i am getting Quality Bat not Connected
    For reference i have attached image
    COdesys OPC and Rapid Scada are in same computer(loaclhost)
    https://ibb.co/ixqmBQ
    https://ibb.co/nnTjy5
    https://ibb.co/dh1trQ
    https://ibb.co/g3PDrQ

    Codesys PLCWinNT —->Codesys OPC —–> Rapid SCADA (not getting value of PLC, getting Quality Bat not Connected )

    but if i am connection matrikon simulator OPC Server i am getting values from matrikon OPC

    #2143
    Mikhail
    Mikhail
    Moderator

    Hello,
    Your configuration is correct.

    What data are received from CoDeSys OPC by Matrikon OPC client?

    The possible cause of the issue that processes of OPC server and Communicator uses different Windows users. Try the advice from http://doc.rapidscada.net/content/en/use-cases/opc-standard.html (scroll to the end of the article)

    #2144

    arvindh91
    Participant

    Hi Mikhail,
    In Matrikon OPC client i am getting values of PLC tags through CoDeSys OPC
    IN Matrikon OPC client OPC quality – Good , non specific.

    CoDeSys OPC and SCADA Comm both are running in same user account

    for reference image see in below link.


    image5
    image6<br />

    • This reply was modified 1 year, 7 months ago by  arvindh91.
    #2146
    Mikhail
    Mikhail
    Moderator

    Hi,

    Communicator consists of the 2 apps:
    1. Graphical shell (ScadaCommCtrl.exe)
    2. Windows service (ScadaCommSvc.exe)

    Your screenshot shows that the graphical shell works as Arvindh user. You should switch to Details tab of the task manager and check ScadaCommSvc.exe

    #2147

    arvindh91
    Participant

    Thanks Mikhail,

    ScadaCommSvc.exe ran in different USER
    Then i changed to same user of CodeSys OPC .
    after Change it and Restarting the System , PLC tags values recived correctly in SCADA COMM and OPC Quality Status : Good

    Thanks.

    #3013

    Seakz
    Participant

    Hello, I have same problem but changing user doesnt help me, do you have any advices?

    #3014
    Mikhail
    Mikhail
    Moderator

    Hi,
    Please try this advice.
    Does ScadaCommMono.exe work with the OPC?

    #3019

    Seakz
    Participant

    Hi, Mikhail, I already solved my problem but in really strange way: I am using codesysOPC so when I work in siglePLC it shows me badconnection, but in multyplc mode it works 🙂
    Anyway thanks for response

    #3020
    Mikhail
    Mikhail
    Moderator

    Interesting.
    Are “siglePLC” and “multyplc” set by a parameter of the OPC server?

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.