LabVIEW and OPC Server

Hola
Estoy trabajando con LabVIEW 7 Express, una licencia de LabVIEW OPC Server, y quiero comunicarme con los registros de un PLC de la serie Premium de Telemecanique.  El PLC con el que estoy trabajando habla Modbus TCP/IP, y no estoy seguro de si con el OPC Server del lado de LabVIEW es suficiente para comunicarse con el PLC Premium.  ¿Alguien ha tenido experiencias como esta? ¿Ha logrado comunicar LabVIEW con un PLC que hable Modbus TCP/IP?  ¿Tener el OPC es suficiente para garantizar la comunicacion?
Gracias
Alfredo

Estimado Alfredo,
National Instruments cuenta con un OPC para Modbus, si tu PLC se comunica por medio de Modbus, no habra ningun problema para establecer dicha comunicacion.
Saludos
Alvaro

Similar Messages

  • Is it possible to connect labview with opc server without using NI dsc Module ?

    Hellow sir,
    I want to get data over labview using OPC server and i am not using any dsc module vi (Alams, print, GUI, security).I am using share variable to get data from OPC server to labview. Now i want to deploy that application to third party computer. (where there is no NI software is installed)
    i am using labview 8.6 and 2009.
    Many ? like....
    1) what is the procedure to install that application in third party computer.
    2) Do i need to use my dsc run time licence..?
    waiting for your valuable feed back.
    Thank you.
    CLAD
    Labiew programmer

    Hi, When you connect to NI OPC Server by creating New I/O Server > OPC Client. You will see all registered OPC Servers running on local machine or remote machine. I used KepServerEx from Kepware and LSIS OPC Server from LG with no problems. Just make sure that the OPC server is running.
    Hope it helps
    Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
    Assistant Lecturer
    Mechatronics Department
    Faculty of Engineering
    Misr University for Science & Technology
    Attachments:
    LG.png ‏57 KB

  • Labview and opc

    Hi, currently im using labview to communicate with an OPC server over a network. So i wrote my program a few months ago now. And im still having issues with communication to the remote opc server. The last few weeks i thought id cracked it, but it seems to be losing comms again, not sure if its to do with dcom settings or network settings. It seems to be intermittent, not sure what it could be??
    Stuart

    Hi Stuart,
    I have researched your issue and have found a number of documents which I think could be of use. I have linked these document below.
    Good example to use, to communicate with a remote opc server?
    Connecting LabVIEW to an OPC Server through a DataSocket Connection
    DataSocket Tutorial
    I hope one of these helps.
    Best Regards,
    Christian Hartshorne
    Applications Engineer
    National Instruments

  • DSC toolkit and OPC server

    Can I datalogging data from OPC server directly to SQL without "datasocket", and how, example maybe?
    Thanks
    Rookie; LV 2011 on WIN 7

    Dear hlod,
    Can you provide me more information about your application, and why it is'nt possible for you to use DataSockets?
    If you want to use OPC servers for connecting to PLCs, I can recommend the followings:
    Here is a great tutorial, how to work with OPC Server to connect to PLCs: 
    Connect LabVIEW to Any PLC Using OPC http://zone.ni.com/devzone/cda/tut/p/id/7450 
    After the tutorial you're able to communicate with PLCs through NI OPC server, using I/O Server instead of DataSockets.
    Datalogging into Databases are also made easy with LabVIEW DSC Module. Look at the following tutorial:
    Data logging Options Using the LabVIEW DSC Module http://zone.ni.com/devzone/cda/tut/p/id/12525
    For more specific solutions, feel free to browse either the LabVIEW DSC Module Help from LabVIEW, or Online: http://zone.ni.com/reference/en-XX/help/371618G-01/
    If you have different, more custom application, which I can help you with, please post on forum some more specification of your task you want to do.
    Best Regards,
    Tamas Szekely
    Applications Engineer
    National Instruments

  • Labview and ole-server

    Hi,
    I need information about the activation of an "OLE server" via Labview.
    This server is activated without any problems by using the "CreateObject ("servername")" command within the Excel and Visual Basic environment and all methods are available. I tried an automation-refnum to find the server in the Labview Library - without any success.
    How might I realise this Labview Problem?
    Thanks
    Alex

    Hi BSS
    Your ActiveX device must be registerd in windows.
    Than you can create for example an ActiveX Container.
    Open the context menu by right-clicking and  select "Insert ActiveX Object ..."
    Is your ActiveX device not listed there. Choose "Create Object from File"
    instead of "Create Control" and directly select it
    I give you some attachements to visual the actions.
    Lars
    Attachments:
    ActiveX general programming example.PNG ‏3 KB
    ActiveX Container.JPG ‏82 KB
    Create Object From File.JPG ‏53 KB

  • OPC Server (Matrikon) and LabVIEW2009 (Client)

    Hello,
    In one of application, I am going to use OPC Server may be from Matrikon etc  and LabVIEW 2009 would be a client.
    So could anybody help me to start this with respective to following?
       1) Which software/Modules else required?
       2) How to get Server connection In Application for data exchange ?
       3) Any startup code?
       4) Any tutorial (Other than NI)?
    Thanks in Advance With RegardsHemant

    Hello
    I am to communicate with LabVIEW using the OPC Server's and OPC server´s Matrikon, I have all my varibles in Labview OPC Client, but to run my program my VI. I have an error someone can help me.
    Attachments:
    eror1.doc ‏73 KB

  • Add new item to OPC server in LabView

    Hi. I want to connect my PLC Unitronics Jazz to LabView using OPC Server. It have OPC Server called UniOPC Server. I don't know how to add an Item in LabView.
    UniOPC don't have option to add new Item - I have to do this by opc client. In OPC QuickClient I can see UniOPC server, and there I can add Item and change values of variables (for example I can change value of MB0 - Memory Bit 0) but in LabView when I try to use this in VI project I have error: "Error 0x0000002A connecting to .../plc.MB0".
    I would like to try to add new Item without QuickClient - in LabView and see if that works. Can someone help me, please?

    Hi there,
    According to the following link, you might not be able to connect your PLC to LabVIEW:
    http://www.ni.com/white-paper/6417/en
    In general, if you would like to establish a connection between LabVIEW and a PLC, here is a step-by-step guide:
    http://www.ni.com/white-paper/7450/en
    Regards,
    Norbert

  • Connecting between labVIEW and PLC S7-1200 using EPICS

    Hello everyone,
    I'm trying to connect between LabVIEW and PLC S7-1200 using EPICS. I did it using OPC and it succeeded and the communication was done, so right now i'm trying to do it using EPICS. so Can anyone help me with that?
    Thanks in advance.
    Ahmed

    Hello,Ahmed:
    Now I'm trying to conect S7-1200 to Labview by OPC server 2012, I'm newer for both PLC S7-1200 and OPC server. by the help file of NI's OPC I tested many times, but lost totally.
    You mentioned that you have succeeded making the connection between them, could you please help me :
    1) How to set in Simense TIA software? I can set the PLC's IP address now, that's all;
    2) OPC server setting.
    if there is a video, that will be great.
    thanks a lot.
    Delphi77.

  • OPC Server S7 1200 cannot pass data to VI

    Hi,
    I use siemens s7 1200 plc with labview 2011 and Opc server 2012. I can connect to opc server and create tags. Moreover, I am able to see data changes with quick client.
    The problem when I try to create I/O server and bound with shared variable, I pass it to VI. All tags are zero, I believe there is no communication to servers. Although there is no error message. Any suggestions?
    Please see the posts
    Attachments:
    Vi.JPG ‏43 KB
    server.JPG ‏37 KB

    Hello sir,
                   We are too handling a project and stuck with the same problem. The OPC quick client shows the updated value but while using the opc variable in the labview it doesn't shows any changes , So please help as with some good solution.
    AEI_JR wrote:
    I'm late to the party, but if you need to troubleshoot OPC communications, you should start with opening the OPC Quick Client.  Check there to see if you have good connectivity - if it is broken there, you will never receive data to LabVIEW.

  • Are there any example vi's for implementing a circular buffer between a plc, opc server, and labview dsc??

    I am storing a block of data inside plc registers and reading this group into labview as a continuous set of datapoints. I am counting the number of scans in the plc and sometimes the number of points collected inside labview doesn't match.

    To explain a a little bit about tag updating:
    The LabVIEW DSC tag engine is not just updated on any change of the value within the plc. There are, in fact, several "deadbands" that must be crossed before those tags are updated:
    1) The OPC Server has a deadband - where the plc register value has to change a certain % before it is recorded.
    2) In the LabVIEW DSC moduel, there is an I/O Group Deadband that determines when the tag engine is actually updated.
    Both of these deadbands must be satisfied before a new "value" is recorded in the LabVIEW DSC tag engine.
    Therefore, I would check your OPC Server's deadband (configurable in the OPC Server configuration utility) and also the I/O Group deadband for those tags (configurable in the tag configuration
    editor).
    If this doesn't resolve the issue, please let me know. Thanks.

  • Comunicati​on between opc server and a generic labview applicatio​n

    I'm developing a LabView application that hanldes data aquired with dedicated hardware. The system (PC+appl.+DAC) has to be iterfaced with remote PC that can see only an OPC server. Wich server have i install?
    Does exist a similar application?

    As far as I am aware, LabVIEW Base/FDS/PDS can only act as an OPC client i.e. they can receive information from other OPC servers. If you are reading information from an OPC server into LabVIEW, the easiest method is to use DataSocket as this considerably simplifies the communication process. Examples of using DataSocket within LabVIEW to view OPC data items are provided with LabVIEW.
    In order for LabVIEW to act as an OPC server i.e. LabVIEW acquires the data, and the publishes this data such that other OPC-aware applications can access the data, you will need to use LabVIEW DSC (Datalogging & Supervisory Control).
    LabVIEW DSC will allow you to generate a "tag" and assign this to the data that you acquire/process. This tag can then be seen by all OPC cl
    ients (either local to your computer or across a network).
    An alternative that you might want to consider would be to use DDE - this will all depend on the capabilities of the software you are working with. DDE capability is available in LabVIEW without DSC and will allow you to pass information between a DDE client/server. OPC has its origins with DDE so if this other piece of software that you refer to is a SCADA-type package, you may have some success here.
    Jeremy

  • Response time between LabVIEW w/DSC module and RSLinx OPC server hosting FlexLogix PLC tags too long

    We are experiencing communication response time delays between LabVIEW with DSC module and RsLinx OPC Server hosting all FlexLogix PLC tags (around 500-600 tags).
    The nominal response time for the system watchdog is < 500ms, but we occasionally have spikes of up to 1.5 seconds once every few days even when the system is idling.
    Changing more than six PLC connected shared variables at the same time from LabVIEW also causes the watchdog response times to spike above 500ms.
    Our watchdog is programmed so that LabVIEW toggles the watchdog bit to 1 as soon the shared variable event detects that the PLC has toggled it to 0. The PLC, however, waits 300 ms until it toggles it.
    Our system:
    Windows XP SP3
    LabVIEW 9 F3
    RSLinx Opc Server v2.54
    Allen Bradley FlexLogix PLC

    What is your update rate set for in the RSLink OPC server?
    You aren't toggling the same flag from both ends are you?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Interfacing PLC siemens S7_300 and LabVIEW DSC using siemens OPC server

    Does anyone already interface Siemens PLC S7_315-2-DP with LabVIEW DSC using Siemens OPC server?
    Is that a good solution? Are there any hidden problems?

    The use of an OPC Server is the way to go when dealing with LV. If you already have Siemens OPC Server then use that. Otherwise, NI has a product called IA Severs/Lookout Protocol Drivers (LPD), which has a large selection of drivers for PLC's. After configuring the driver, LPD is the OPC Server for the device.

  • Do I need rslinks and a kepware opc server

    To get 12 words from an Allen Bradley 1500, over an ethernet link, from an existing Labview 6.1 application, will I need an RSLinks sever and an OPC server such as Kepware?  Or one or the other

    kayr,
    RSLinx would be straighforward using DataSocket.  We use DataSocket quite often to communicate with AB hardware through RSLinx.  You could also communicate directly to the AB hardware using some of the tools available at this site.
    http://www.automatedsolutions.com/products/commab.asp
    Mark

  • I have an existing application need to add LabVIEW OPC Server

    I have an existing application written in LabVIEW which controls a Device. The data from the device is currently logged to the local drive. 
    It is desired to upgrade this application to become an OPC Server so that the manager can remotely acquire data and control the Application.
    What would be the easiest approach to accomplish this task?
    Thanks and Best Regards,
    Gary

    Hello Dan,
    1. The operator specifies a time interval to save the data to disk. The data is stored in a csv file.
     2. The manager is the Engineer who is managing the data collection system remotely.
    3.The desired end result is to have the LabVIEW with an OPC server provide the connectivity to an OPC client so that they can collect the data, that they desire from the system, and control the system.
    4. Controlling the system is secondary. Providing the connectivity so that an OPC client can specify what data is to be sent and the update interval is the first priority.  For example, they may only be interested
    in 10 of say 30 parameters, and want that data sent over every 10 seconds or so. The data once they receive it will be logged to a central data base.
    We suggested using TCP/IP but they do not want a custom interface.
    We also suggested Modbus, but they perfer to use OPC. The want to integrate it with their OSI PI.
     Thanks and Best Regards,
    Gary

Maybe you are looking for

  • Which is better or E70

    E70 has: - 352 x 416 or 416 x 352 resolution (best after E90 secondary display..) - Keypad & qwerty - WLAN & 3G - With BT GPS dongle best GPS solution possible (SIRF III) I just wonder why people have other devices then E70? Example N95 has lower res

  • HT4199 my ipod say no wi-fi. how can i get it to work

    i have a gen 1 ipod touch and the internet is not there. there is no wifi option to choose from even thogh i see the wifi tab

  • Lightroom 2.1 printer does respond mac

    I get an error message (300)- printer does not respond - using Lightroom 2.1 on macbook pro os 10.4.11. Happens first time I try to print any image. I delete the request and then try again. It will work second time through. Never had this problem wit

  • Mapping, use of scrap for repairs.

    Dear all, The scenario is such that, A company takes machines for servicing. The machines are serviced / repaired by purchasing old machine and using their spares. After some time all the spares from the old machine are used for machines serviced, an

  • Validate that one or more checkbox are ticked.

    Currently I'm checking if the user has ticked at least one of the checkboxes by using: if(CheckBox1.rawValue == 0 && CheckBox2.rawValue == 0){ app.alert("Please select one or more checkboxes."); Is there a way to count the number of checkboxes and do