OPTO22 opc

I'm using Labview 2014 to communicate on a rack of Opto22 and I'm having a problem with the snap-snap-IN-IDC5Q which is defined as a counter in quadrature. I use datasocket links to communicate with points (none module DSC, don't want that).

I can read the meter and read/write for all my other I/O points (digital and analog) very well, but I can't use the COUNTERDATA_READCLEAR variable to reset the counter. Opto22 says it's my problem because the client must be set up for asynchronous data (?). This variable is not "digitized" in the OPC Opto22 server so that you need to do a direct reading to use it, who I am.

I read the COUNTERDATA variable until a key is pressed, and then I read the COUNTERDATA_READCLEAR variable.

I don't know what else to try! Of course, the example of OPC client they provide works perfectly...

Any tips?

Thanks in advance. Last problem on this project.

Opto22 came back and told me that I have to read the meter, not by a cache directly. As soon as the search in the forum, I found this thread:

http://forums.NI.com/T5/LabVIEW/DataSocket-read-from-OPC-cache-or-from-PLC/m-p/1797244/highlight/Tru...

the key is:

Data Socket Read VI can only read from the OPC server there is no way to read PLC directly using data taking, the OPC server should be used as a midpoint between the two clients (LabVIEW and the PLC)

So I have libraries that I started with of ArchonWest I'll try to play with. I started with these libraries but decided that spending the $300 for the OPC server because the data binding is much easier! Stupid me...

Tags: NI Software

Similar Questions

  • Channel missing features like tags of the OPC

    Hello

    I have a number of features of channel in my system. First of all, I added these features for track and ran with it for a while. Now, I added the same characteristics for the rest of my strings of the accelerometer, but they fail to appear in the form of tags when I navigate on the server from a client. The first channel, they are all there. The characteristics was the installation for the first string until I allowed mutual FUND on the InsightCM server. I Don t know if it has a meaning or not.

    Thank you.

    Hey Jens,

    It seems that whenever a InsightCM tag value updates our code OPC Server checks to see if there are new tags InsightCM he needs to create corresponding OPC tags for. So if you configure features and a new channel, but has not to collect new data still in InsightCM the OPC server will appear any OPC tag.

    The OPCHistorian.TagCreate trace point creates a log entry when new tags are created.

  • Beckhoff CX8091 works with the SCADA OPC - UA

    Anyone had any experience of working with the beckhoff CX8091. I want to know, how beckhoff CX8091 works with SCADA OPC - UA. I knew the work 3200 siemens CAP with SCADA OPC - UA, but did not find any good material for beckhoff CX8091. I'll be very grateful, if someone can help me in this regard.

    Kind regards

    Usman

    I'm not using any programming language. I only check/see that this system could be interface or not

  • Communication of lookout with CompactLogix 5370 series using OPC will not work

    I am trying to contact a series of 5370 CompactLogix 1769 - L18ER - BB1B PLC. I tried NI OPC servers V4.5 and NI OPC servers V5.5 2011 with no luck. I can create a new channel and device ok using CompactLogix 5300. I can automatically create the database of the tag and it will pull all the tags of the PLC ok. I use Lookout version 6.6. When I create a new driver using OPC Client it will show all the tags correctly.

    As soon as I drag a label on a Panel, Lookout alarms with:

    OR mutual FUND shows these errors:

    Any help would be greatly appreciated!

    I had updated the firmware in the CompactLogix at 24 Rev before you start.  Mutual FUND would work for about 25 seconds before stopping, but only after downloading a program in the PLC.  I got the firmware to the oldest I could 20.014 and now everything works as it should. OR mutual FUND is not yet compatible with rev 24?

  • OPC Server Connect slow, L32E

    6.7.1 using lookout, NOR for CompactLogix 5300, (AB L32E) OPC server, I noticed that after 300 labels, after a cold computer starts, it will take about 10-15 minutes for Lookout display data of up to 14 PLC (L32E), in real time.

    Now that I'm at 1 400 tags, read-only, it will take about 45 minutes after a boot cold for Lookout start playback of all the tags in real-time. I noticed a sharp increase in traffic network also after 45 min. With only a few writing tags that I use, I will enter a new value, the new value entered displays about 5-10 minutes later. If I'm waiting for 45 minutes, then I get written and the instant play sometimes.

    Any thoughts?

    This correction has done the job. AB L32E 15, 1025 + tags. Everything works very well.

    «Open the property of the unit and check the Mode of Protocol on the tab Options of Logix.» If ' Non-Blocking logic ' or 'Blocking of logic', replace 'Symbolic' and see if there is better performance. »

  • OPC will not AB L32E - write Will Read

    OPC will not AB L32E - write Will Read.

    I was able to put in place an OPC server using OPC server, OR by using the ControlLogix Ethernet driver for the 1769-L32E AB PLC.

    All tags are visible. The lookout 6.7.1 see data in real time, but everything that I write too, never appears in the PLC.

    Using the OPCclient at Lookout. There is no alarm, another that a value has been adjusted by the direct user...

    There is no error of comm.

    I just bought this software last month.

    The OPC Server NOR, events, no error.

    Thank you.

    Dave

    I had figured it out. The address may be a little different than Lookout Direct.

  • Can not find driver for CompactLogix L32E in OPC Server OR

    Anyone know how to contact the CompactLogix L32E Lookout 6.5.

    It doesn't seem to be a driver for it in the OPC server from OR.  Can someone point me in the right direction.

    I thought that the 5300 ENI:CompactLogix would work, but it does not work.

    Thanks to the folks at Kepware. I was able to get this working for CompactLogix L32E.

    Step 1: In the OPC Server OR create a new channel. The channel name can be anything you want.

    Step 2: Device driver will be ControlLogix Ethernet.  You can also enable diagnostics if you want.

    Step 3: Network adapter. I used default.

    Step 4: Write only the latest values.  Service at 10. (These are the default settings and are recommended.)

    Step 5: Finish new channels configuration

    Step 6: Click the icon to create the new device

    Step 7: The name of the device can be selected.

    Step 8: Select model of device in this case CompactLogix 5300

    Step 9: Device for me ID been XXX.XXX.XXX.XXX, 1, 0 IP address (note the 1 redirects the path at the bottom of basket.) 0 to the location where the processor is)

    Step 9: Device synchronization.  Leave the default values.

    Step 10: Automatic demotion leave unchecked.

    Step 11: Leave default values do not generate start remove create and enable the subgroups

    Step 12: Port and watchdogs with default settings

    Step 13: Options of the project leave default. (In my case, I've changed to short because that's what most of my tags was)

    Step 14: Create tagname of the device.

    Step 14: Finishing Device setup.

    You now have two options.

    Option 1: Start creating labels according to your needs. (This is what I did)

    Option 2: Newly created device right click and select property.  Then select the database creation and click auto create.

    Go to the belvedere and create the new driver.

    Select Client OPC

    The server name will be on the menu drop down. National Instruments: NIOPCServers

    Click OK

    You must be done and smiling.

  • connect a controller without opc Server

    Hi, I can connect a controller for labview 7.1 (to send and read the data) without an opc server, using only one cable rs232 of the plc to the pc.

    Hi syd_b,

    Yes, VISA read and write operations are essentially functions, you need to use. Please refer to the shipping of serial communication examples. Again I have not the slightest idea how complex the DF-1 protocol is to implement. It could be a much better deal to buy an OPC server or a ready to use the library instead of reinventing the wheel, but of course it depends on your personal situation.

    Kind regards

    Jochen

  • cRIO communication as a PLC with NOR-OPC-Server

    Hello

    I have the task to implement communication between multiple cRIO and NOR-OPC-server. The OPC OR server should act as a data manager for a complex interface.

    I tried the NO-OPC Server and I managed to communicate with the server OPC-NOR as OPC-Client in Windows using a server IO and shared Variables. But the task is to do it on a cRIO. I tried to open a data from a cRIO socket connection to the NOR-OPC-server using a specific URL by using "DataSocket select URL.vi." But as long I do not activate the simulation in the OPC Server - OR-I get errors on the data socket connection opening. If I activate the simulation, which is not the solution, I can write data without error, but the quick OR-OPC-Server Client sees no change for the data label.

    I have the feeling that I am not a good way to get this working. Is there anyone with experience with this? Is data taken one possible at all? It is possible at all? I have to put in place a cRIO-OPC-driver?

    Thank you.

    Hello

    I found the solution in this article:

    http://www.NI.com/white-paper/7451/de#H36

    Thx for your help.

  • LabVIEW OPC error

    Hello

    I am trying to bind a Boolean buttons on Panel before Labview for items on an OPC server. (I'm under LabVIEW Professional Develompent system version 9.0)

    I'm hoping to use Labview as a client for a SCADA application for a client.

    I can go to and see all my OPC tags when using Datasocket as the method of data binding.

    When I run the VI, I see a red light next to the buttons on the front panel, giving the following error message: "error: cannot add the item to the OPC group.»

    I tried several other test of the OPC clients to test whether the problem is with the server or the client. I was able to add (and write) at the points of each test client I've tried outside of Labview.

    However, I noticed that I had to set a path for the OPC items, when you use a Client of Quick Kepware OPC, otherwise, they would not add. I guess I might have to do the same thing in LabVIEW, but I can't figure out how to do this.

    Can you please indicate.

    Thank you.

    Thanks for the info. I had actually heard than before. I know that the server has worked with OPC clients that supported only the OPC 2.0 because I have tested, so I assume it would work with Labview.

    However, after a more thorough investigation of this problem I have since discovered that there is a known bug with the version of the server OPC I use and Labview. I guess that explains all the problems I had.

    Thanks for all the answers.

  • How to install the OPC Server with the Application Setup

    Hi all,

    I make the datalogging progam in the PLC via modbus communication using the OPC server.

    1. I got configer the opc via the Project Explorer client some time it works perfectly, but when I run it by the next day, he cannot communicate with an OPC server but the OPC server is to communicate with the PLC. When I right click on the properties of the customer e/s in the exploer project opc and make any change and still run the application it works where is the problem.

    2. the second problem is by building the installer that will be installered to my PC targate OPC server. Bacuse I had installed the application on the computer target just for testing but OPC Server havn't installed even if there is no option for adding the OPC while bulding server.

    Serdar, SALVATION

    Thanks for the reply I saw your example, your idea is ok, but if I have more then 100 and with different types of data tag then where is the problem to manage all these tags.

    Now, what I had done I took the express to create vi or configer server I/O and give the name of the process even as file name as opcdemomo and same server name reference in the Project Explorer and restart and scream in low tow and three times it works I havn't get any problem.but which is not the right method. 

  • run the command VI OPC without OPC

    Hi all

    I develop a VI for use with a mutual FUND. Because the installation is no place for the development of client software, I brought the PC with Labview & OPC to my office where I want to develop the VI. Here the facility is not connected to the computer and I get the error

    1950679035 obviously because labview cant properly read some variables of the OPC.

    Do you know how can I work around this error without deleting the variable according to mutual FUNDS? He would e end for me to set it at zero or something.

    Thanks for the answers in advance!

    You want to communicate with the OPC server without it existing?

    A better plan would be to invest in a headset.  Put them in, sitting in your office and rock on the program.  It will be much more beneficial for you.

    Otherwise, you can emulate the behavior of the OPC.  To do this, you essentially want to build a second VI that does SOMETHING with your 'tags '.  What it will do is update the Variables shared in your project.   Later, you will need to change all that in your code.  I don't really see the interest of working from home on a project like this.

    Alternatively, you can configure your computer so that you can remote inside of the House.  But, then you'll deal with the lag associated with.

  • Remote OPC c ++ dll

    Hello

    I use an OPC Server (with Data Access 3.0) and I'm trying to develop an application Client OPC Labview on Windows Vista.

    I also use a C++ DLL where the activities of the OPC client are made!

    Everything works fine if I use this DLL OPC Client to an Application from the Console Windows C++, so I think that all the DCOM settings and other settings are fine.

    But if I try to connect and read something with Labview remote OPC Server OPC and "call library Node function' then it is not possible to connect the DA-Session with the point DA!

    Can someone help me? Is there a setting in Windows to Labview.exe necessary?

    Local OPC Server work well (also with Labview).

    Thank you

    Hans

    I solved the problem (s)!

    Problems:

    -Labview-> socket Data-> local OPC Server: OK, remote OPC: error

    -Mit .NET or ActiveX OPC Toolbox Labview Client: local OPC Server: OK, remote OPC: error

    Solution:

    Add the line "ole. AuthnLevel = 1 ' in the LabVIEW.ini file.  (C:\Programme\National Instruments\LabVIEW 8.6\LabVIEW.ini)

    Now it works!

    Hans

  • Problems using Modbus TCP accessible by NI OPC Server

    Hello

    I use OPC OR server to access a module of measure. The accumulation is pretty easy, my system with NI OPC, modbus door and the module connected with RS485.

    There is a thermocouple to provide me with some examples of data.

    But there is the point. I know, my data is in the records to be kept and I can access, but each type of data, I'm train does not bring my outgoing, any other (sometimes huge with e34, sometimes very small as e - 13...) my data sort, I do not understand.

    The type provided by the module must be single precision.

    The address used to be lookout is 41000 Labview in is just 999 and in the 'target' - OPC Server I get some values to 401000 but not useful.

    I also get the same results to access the 301000 into different types.

    Read/write or read-only is equal.

    I tried to tell my mutual FUND values are strings, floats, words, BCD, and all other possible means what mutual FUNDS offered to me, but nothing results in a usable temperature.

    I hope that I missed something and it might suggest.

    Cateros

    Finally, the issue is resolved.

    We tried a few others setting for the device in NI OPC modbus Modbus function 06 use simple written record. Using the Modbus 05 functions for single coil written and use default Modbus byte order.

    These parameters were not default and I tried some combinations but bad not these.

    As the tag data type, we tried anyway and got the content of the Register Holding data [0].

    Now it works, and the value is the casting of Holding register [0] and [1] Holding and I got the temperature.

    Already you are quite right, thanks again.

    Cateros

  • DSC: Connection to the 3rd party OPC Server

    I had this work with LabVIEW 2011 and Win XP...  After update I can't make it work...   Now with LabVIEW 2012 and Win 7, the server is now upgraded to Win 7 system.

    I'm reading a commercial server OPC of Yokogawa variables.  I can connect to the server.  I can see the variables and create a related shared variable.  But when I access the variable fails.

    Dave,

    My problem is very basic.  Go to the administrator in the 'control panel' the instructions say.  It does not exist in Windows 7.  I'm stuck.  Here is the complete procedure as given by the very useful Dylan Caswell.

    Here are the instructions for Windows 7 (I'll put this on the forum so that others can see or change the KB if it works)

    1. press on the Start button and Type: Component Services
    2. click on "Component Services" under programs
    3. in the left Section of "Component Services" expand: ' Component Services > computers > my computer > DCOM Config.


    4. search for the name of your OPC Server (in your case should be in the sense of: "Yokogawa Exaopc Data Access Server")
    4A (not sure if this is necessary, but I also repeated for the other server "Yokogawa Exaopc data access server OPC Link1")
    5. right click and select properties of your OPC Server

    6. click on the identity of the Properties window tab
    7. Select "interactive user."
    8. click OK, and then restart the computer

    This does not solve the problem, so I went to the second stage.

    If this does not work, let's try the other method, as described in the KB but for Windows 7:

    1. press on the Start button and Type: Services
    2. Select 'Services' under programs
    3. in the right part of the window, sort by name by clicking on the 'Name' column, and then select: NEITHER engine Variable
    4. right click NI Variable engine and go to properties
    5. Select the log tab, click this account:
    6. Select an account that is an administrator
    7. Select OK and restart the computer.

    There is a 'right click' option to stop and start the service.  I don't reboot but simply stopped the service, numbered 5 and restarted the service.

    Immediately my VI running began to show valid numbers!

Maybe you are looking for