Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

OPC /VB/RSLogix app question...

Status
Not open for further replies.

JamesEspy

Electrical
Joined
Aug 19, 2004
Messages
8
Location
US
I'm very new to OPC and VB. I have a project where I am using a barcode reader to read a barcode to an RSLogix register. I would like VB to monitor this register through RSLinx and OPC.
I would like VB to retrieve this barcode and set it in a VB text box. The project is actually much deeper than this, but if I can accomplish this then I should have no problem finishing the rest.
My biggest question is how does the VB program reference the tags? I have used DDE in the past and understand how DDE references items, but we need to use OPC for flexibility issues in the future. I have set up an opc server and a group so far. Does anyone have any sample code that might help me with this application?
 
Rockwell software put out a VB demo that I used to learn OPC with RSLinx, but now I can't find it on their own website. It was published under tech note A7347.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top