S7-200 Pc Access Opc Server

Posted : adminOn 4/18/2018
Opc Server Tutorial

S7-200 PC Access V1.0 is now available for ordering. This is a new OPC Server product that works exclusively with S7-200 PLC's. The new product provides a standard. S7-200 OPC Server V1.0 SP1. 9.8 Modification of the properties of the access point using the 'Set PG/PC interface' dialog 10 Contacting Customer Support.

Please be forgiving for this is my first Active-X project.: I am running CVI 7 and would like to read (and possibly write) data from/to a Siemens S7-200 PLC. To simplify life, I have just purchased PC Access (Siemens) which is an OPC server for this PLC. I have set it up and it works nicely, that is I can read the status of my PLC via the serial port and display it in PC Access. But now comes the active part, I want to read the status from within my C program: I tried to run the CVI Active-X controller wizard and generated a function panel for the S7-200, but I have not the slighest idea how to proceed further. The Hobbit Pdf 2shared on this page. I have studied some ActiveX demos from NI, ie. The IE control, but: I do not know which of the many fp-functions to use to read a certain data value etc. Browsing this forum I have seen that there seem to be some programmers out there that have been dealing successfully with such a problem, so may be someone could give me some kind advice of how to tackle this problem:-).

Wolfgang, 1) I did try the datasocket binding of controls with Eurotherm 2700 Controllers (which are not in the list either). It is really basic: you enable the datasocket binding of the control in the iur, browse your OPC server item (choose read or write) and that's it.

It seems to me that datasocket is compliant with any OPC server. 2) To me, you don't need to buy any package as long as you do OPC CLIENTS with CVI.

You have your datasocket functions and you don't need anything more, i.e. ' LabVIEW, LabWindows/CVI, Measurement Studio These National Instruments software packages feature an OPC client. Use DataSocket functions to read and write to these OPC data items.' Int the NI page. Again, many thanks! I will have a closer look into the DataSocket approach. According to your email, it seems to be very simple.

Still, I wanted to ask about this CVI capability of building an Active-X client control. There are examples for IE, Word, Excel etc.

But I could not translate these samples to my case: I did arrive at this self-built function panel which unfortunately consists of so many functions that I am confused which one I have to use. Probably something very simple, but because so far I have never used this client server schema I am somewhat lost.And unfortunately I could not find some detailed beginners guide for these things. To use ActiveX controls: 1) You have to make sure that the ActiveX component is provided with your PAC.

And is documented. 2) If yes, you can use the CVI wizard for Active X. Generate a instrument. Will create for you all the stuff needed to access the control.

If this stuff exits in the control (i.e. If Siemens made it open to 3rd party softwares). 3) If you're lucky, the documentation is for Visual Basic (just as for NI ActiveX controls) and you 'translate' in C functions the C++ like methods and objects.

Descargar Windows Xp Colossus Edition 2 1 Link. Hard work indeed! If not, you have to 'guess' what the hundreds of functions generated by the wizard are made for and how to use them. My only sucessful experience with ActiveX was with NI 2D Graph controls. And it took me some time to make it working. The main frustration I had was that I did not find any sample code in C in the help.

Ahh, this is a really helpful answer: It is always good to see other, more experienced people having similar problems. Ok, I guess I will stop thinking about ActiveX immediately. For others: Yes, The PLC server (Siemens calls this software PC Access) is found by the CVI wizard, and there is an example for VBasic as well.