04-03-2014 08:59 PM
Can someone help me on how to setup and configure NI OPC server to OMRON CJ2H model PLC using FINS Ethernet?
I already search in the web for available documents on how to to do this but I haven't found any. There are documents available but using different PLC and communication protocol. The NI OPC server is installed in my laptop with Windows 8 OS and LabVIEW 2012 version. The PLC has an Ethernet module (ETN21) that is connected to my laptop using a crossover LAN cable (RJ45) and I was able to ping the PLC from my laptop with success. I tried to configure the OPC server based on the documents available in NI website. I added a channel, device and created a tag. By the way, my application will only read the data in the tag. Before I proceed in doing the code in LabVIEW, I wanted to see if the data is really written on the tag but I dont know how to do this. How to monitor the data of the tag in real time? Can someone please help me? Thank you.
04-04-2014
04:53 PM
- last edited on
02-25-2025
11:18 AM
by
Content Cleaner
To confirm, you've been able to successfully connect to the PLC by creating a channel, adding a device, and adding tags in NI OPC Servers? You just want to be able to monitor the tag data?
You can check the tag data by opening the OPC Quick Client that installs with NI OPC Servers. There's a button to do this from the NI OPC Servers Configuration window, or you can open Quick Client from your start menu by going to Start->All Programs->National Instruments->OPC Servers 2012->OPC Quick Client. In Quick Client, you'll be able to select the channel, device, and tags you've added and monitor their values in real time.
The process of using Quick Client is also outlined in step 4 in the section titled "View Existing PLC Tags with NI OPC Servers 2012" in the document I've linked below.
Connect LabVIEW to Any PLC Using OPC
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0MPCAY&l=en-US
Regards,
04-08-2014 03:26 AM
Hi Ryan,
Thank you for your reply.
I already read the document you sent and I'm basing my setup and configuration in this document. I wasn't able to successfully connect with the PLC. When I run the OPC Client, the tag I created shows an unknown value and the quality is bad. I attached a screenshot of the OPC Client window. What could be the cause why I could not see the value I'm expecting?
04-09-2014
04:13 PM
- last edited on
02-25-2025
11:18 AM
by
Content Cleaner
Have you configured your DCOM settings to allow for OPC communication? The document I've linked below primarily discusses troubleshooting LabVIEW DSC OPC Clients, but step one addresses how to configure DCOM settings to allow for OPC in general.
Troubleshooting OPC Client I/O Servers (DSC Module)
https://www.ni.com/docs/en-US/bundle/labview-datalogging-and-supervisory-control-module/page/lvdsche...
Regards,