From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Connectivity between OPC server object and CVI(client) through datasocket

Hi.
I am using labwindows CVI 5.5. For my application i want to have connectivity with siemens S7-200 PLC through modbus. I am also having OPC server 4.5.
According to me, the procedure should be -
1. Creating a modbus object in OPC Server.
2. Writing a application in CVI which will act as client and connect to OPC Server object tho datasocket.

Kindly clarify me-
1. Whether there is any way of checking that the validity of step 1.
2. Also, how to find and give the path of URL in OpenURL function of datasocket.

wbr,
Amit Kumar
Project Engineer
AED, ARAI
Pune, India.
0 Kudos
Message 1 of 2
(3,055 Views)
Hi Amit,

Yes you are right on the procedure. There is a way to check if the configuration is correct or not, in other words there is a way to check if you have communication. You can download "Server Explorer" which is a OPC client and is a free download at :

http://digital.ni.com/softlib.nsf/954feaeea92d90918625674b00658b83/34e67fa9f8ff7a0686256ae60054198c?OpenDocument

And check if you can read fine from your IA OPC Server fine.

As far as your URL, it will be in the following format :


opc://ComputerName/National Instruments.OPCLookoutDrivers/Modbus1.1


I hope it helps

Best Regards

Andre Oliveira
0 Kudos
Message 2 of 2
(3,055 Views)