Forum Home › Forums › Communicating with Devices › OPC › Codesys OPC Server Communication error
Tagged: Codesys OPC, OPC Quality Bad not Connected
- This topic has 8 replies, 3 voices, and was last updated 7 years, 10 months ago by
Mikhail.
-
AuthorPosts
-
May 12, 2017 at 10:32 am #2142
arvindh91
ParticipantI am trying create opc communication with codesys opc .
CodesysEvery 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
May 13, 2017 at 6:12 am #2143
MikhailModeratorHello,
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)
May 13, 2017 at 5:58 pm #2144arvindh91
ParticipantHi 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.
-
This reply was modified 8 years, 6 months ago by
arvindh91.
May 15, 2017 at 5:33 am #2146
MikhailModeratorHi,
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
May 15, 2017 at 7:21 am #2147arvindh91
ParticipantThanks 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 : GoodThanks.
January 4, 2018 at 6:12 am #3013Seakz
ParticipantHello, I have same problem but changing user doesnt help me, do you have any advices?
January 4, 2018 at 8:24 am #3014January 5, 2018 at 9:43 am #3019Seakz
ParticipantHi, 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 responseJanuary 5, 2018 at 11:25 am #3020
MikhailModeratorInteresting.
Are “siglePLC” and “multyplc” set by a parameter of the OPC server? -
This reply was modified 8 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.

