OPC Visual Basic - cant see plc

AmerK

Member
Join Date
Jul 2014
Location
Sarajevo
Posts
6
Hi,

i'm using SoMachine opc server (CoDeSys) for modicon M238 PLC, and I want to create application in VB (2010 or 2012) but when i try to read tags in vb i cant see my plc i only see some PLC_id23. I was using opcsystem.net and QuickOPC.net in for communication with VB.

In other opc client (example: OFS client) i can see tags. :confused:
 
thank you both for reply, the problem wasn't in code.
In VB I couldn't see allias of PLC connected to OPC server, but on other opc clients i could see it.

I figure out that problem vas in .ini (settings.ini & OPCsettings.ini) for no reason OPCconfig.exe couldnt save my parametars for OPC server and PLC (example: my plc name vas "MyPLC" but in those files it was "PLC_id52" ) Then i manually edited those files and it all works.

Thank you guys.
 

Similar Topics

I need urgent help to solve the following problem: We use simatic s7 300 and visual basic HMI . The PLC exchanged data with HMI through OPC...
Replies
3
Views
3,866
I've been attempting to use OPC off and on for the past year. I HATE OPC! DDE was so much easier, and I have yet to see any advantage to OPC. I'm...
Replies
17
Views
33,482
Hello gentlemen. What I am trying to learn is how to create my own HMI using Visual Basic/OPC/Excel. I had the good fortune of spending a little...
Replies
11
Views
5,345
I am using VB6 with a Moeller PLC and using OPC Server to connect to the PLC. I am trying to work in some error checking in case the PLC is not...
Replies
15
Views
17,319
Greetings Earthlings, We are attempting to contact the mothership but our Engineer is not familiar with coding tools on this planet. He has...
Replies
2
Views
4,555
Back
Top Bottom