What driver should I use for connecting Osisoft Pi with my C# Client - opc-ua

I have an C# application that uses OPC UA to communicate. Now I need to communicate with an Osisoft Pi system, which as I understand it also "is" an OPC UA Client. There is no PLC involved!
My client and the Osisoft Pi is running on different computers in the LAN.
The OPC UA Server (KepServerEx 6) needs a driver configured.
What driver would be appropriate for this scenario?

You would need an OSIsoft UA Interface licence to communicate with it using OPC UA.
OSIsoft PI is a historian run on a server i would suspect your client is scared of licencing costs. There are ways and means, you can insert the data into AF and still have it visible to the PI systems, however it is limited and the better way to do it is to implement the correct OSIsoft interface or protocol.
As mentioned above AF-SDK is the way to go for C#, however be aware you will need an PSA licence on the server to run it.

If you are using C#, the most native way to connect to the PI System is by using PI AF SDK. This sdk will allow you to connect to both the PI Data Archive as well as PI Asset Framework Server.
The first server (PI DA) contains the process data collected via PI Interfaces or PI Connectors (typically OPC, Modbus, flat files etc). PI AF (Asset Framework) is a server that allows to create all the assets hierarchies of a plant and map asset attributes to the process data collected in PI DA.
Perhaps, you should look at PI System interfaces or connectors to collect the data first, and then use the data stored in the PI System to build your application. This is the standard usage of the PI System who helps reducing different vendors silos of process data.
To get a quick start on the multiple ways to use the PI System as a developer have a look here: OSIsoft PI Developer Technologies
And to get started with the PI System, and understand what it is about, you should look here: What is the PI System?

Related

How to send data between two already configured HC-05 modules pi pico

I'm building an small project in which I'd like to send information from a master HC-05 bluetooth module to an slave one (both of them connected to different pi pico's), I've already synced them following Bluetooth HC-05 master-slave configuration using CircuitPython tutorial, I've finished the set up and now both modules (master and slave) seem to be properly connected, now the problem is that I don't know how to send data from one to the other.
All the tutorials that I've found that imply bluetooth communication seem to do it from a mobile Android app to the slave module, but what I'd like to do is to read data from an analog joystick with one pi pico and send it to through my master HC-05 the slave module (which would be connected to another pico) and then control an electric motor with this received data.
As I understand, the configuration process was finished in CircuitPython but this DOES NOT obligate me to continue with CircuitPython, I mean, I could do my implementation with microPython for example as Circuit Python was used only for the configuration process, is this correct?
My main question is, what is the library/process I could use to send data from master module to slave module?
Pd: I know there is a Raspberry Stack Exchange site but I posted my question here for visibility and also it is related to software too!.

How to Connect opc server?

I have Analyzer which connects to a computer with cat5 cables . This Computer reads the data through a software called ComVisioner .ComVisioner has two Modes, one is Server Mode and Other is Client Mode A Server software acts as the engine in the system, providing one or more clients with information.
Server version is installed on a single computer . Once Server version is installed it collects data, performs calculations, produce reports and so on.
The ComVisioner client runs in the same computer as the server. Other clients can access the same single server through a network, providing that the software license allows more than one client at the same time
so there is Two client computers who access the as mentioned above .this all connection is done by Network cables . This part is fine
As License of Client is very expensive our company wants to add a OPC software so that more user can acquire data .As i have no knowledge on Opc part please suggest me How can i do it ?. what sort of software should i use ?. Can i install this software different pc with is connected in same network
There is also one more software installed in that computer which pushes the data as Modbus protocol
First, you need to make sure that the ComVisioner can give OPC data. (work like opc server). This should be indicated in the documentation.
Download the free OPC client, and make sure you can read the data (for example you can use, matrikon opc explorer or kepware quick client (I like it more, it goes together with KepServerEx, to download them you need to register)
If you can connect and see the data, then there will be no problems with access to the data. Next you need to find a solution for which Opc client suits you. Probably some SCADA system, but some good SCADA also cost a lot, and require a lot of development time.
I don't recommend you try to use modbus if there is opc. If you will use modbus you will have many problem with addressing and value format.
ps
We had a problem with expensive licenses. As a result, we solved the problem by give access for programm for clients via RDP (remote desktop connection)

How to connect Raspberry PI and PROFIBUS?

I have a task to connect PROFIBUS (field bus technology by Siemens) to my Raspberry Pi. I need to make my Raspberry pi as a master and others devices as a slaves.
Let me know if you have any idea about how to make this connection. I am totally new in this topic and have no idea about this.
You might have a look at this project: https://bues.ch/cms/automation/profibus
When I understand it correctly, Profibus (Modbus) ist implemented by RS-485, that is not directly supported by the Raspberry Pi GPIOs.
You have to buy an extra shield or an USB to RS-485 Adapter.
There is also a library to send/receive data using modbus-protocol:
http://libmodbus.org/

How to Stream data over TCP to a Windows 7 laptop?

Im acquiring data from a sensor using RaspberryPi. Now the idea is to get the data streaming over an ethernet link to my Windows 7 laptop and do the monitoring and recording on the laptop. Can I get some advice on how to implement this in C/C++.
The idea is to get the signal from a sensor streamed to a Windows GUI.
You can push data from your raspberry PI to you Windows
You can have some sort of service on your Windows box and your raspberry PI can push information to your software running on your Windows.
or
you can pull data from your raspberry PI to you Windows
In this case, raspberry PI would be a passive provider and Windows would ask for data.
Hard to give you more information without more details but basically you decide who is going to the passive and active and program that way.
I personally would request data from the raspberry PI to Windows as I can have my service running and just update when I need instead of having my service running and suddenly have my data changing.
That said, it's hard to say without more details.
You need to tell what kind of programming language are you going to use.
According to your question, you need to dig into socket programming.
Recently,I linked my two Raspberry-Pi by writing a python script to establish a TCP connection between them.
and there is this protocol called "RTSP(Real Time Streaming Protocol)" to (as the name says) stream data in real-time.
(If you are to use python , there is this module called gst-python for streaming).
I think the above infos would give you where to start.

PLC not connecting to KEP Server (OPC)

We can't get our PLC to reliably connect with KEPServerEX (OPC).
I was wondering if anyone else here at SOF has experience working with PLC and OPC. If so do they have any tips on making a reliable connection with our OPC Server. We currently use KEPServerEX for our OPC, but if anyone knows a better program to use we are open to suggestions.
I use Kepware OPC server for MODBUS TCP, Simatic S7 and Yokogawa for more then 5 years on 4 servers in industrial environment without any problems. It was easy to set up and showed no problems during exploatation. Actually, it was so nice that we decided to not use it only when it doesn't support the device we have (which is rare, and mostly happens when I have to develop custom OPC server). Kepware OPC server is even able to use reserved PG connection for connection to Siemens PLCs (unlike Simatic OPC Server, this is good if you have limited number of connections like in CP343 LEAN version communication module). It will also save you $$$$$ if you use data from it in some historian like OsiSoft PI which charges per OPC server connections, since all Kepware OPC servers will show as single OPC server to Osisoft PI. The only thing that made me angry was that after some trial time it stopped without warning all servers (including licenced ones) when I was evaluating one new OPC server I was supposed to try out. Have you tried Kepware technical support? Have you checked your cabling? Are you aware that trial version will stop after some time?
As an alternative you can try Matrikon OPC servers. They are also very good and run without problems.