Comunicación OPC entre un PLC Festo (OPC EasyServer) con Labview

Ayuda.....Necesito comunicar un PLC Festo Fc 640 con Labview, yo tengo el software OPC EasyServer pero no se cómo comunicarlo con un VI.....
Gracias.....

Mmm... si tienes el software OPC para el equipo que quieres comunicar, LabView debe detectarlo al momento de querer conectar un control/indicador con alguna variable de tu equipo... El OPC es el que se ocupa de la conexión al equipo (PLC Festo en tu caso), es ahí donde tienes que configurar parámetros de comunicación tales como baudrate, paridad, stopbits, etc (asumiendo comunicación serial) y este software OPC server es directamente comunicable con LabVIEW... Sólo tienes que colocar tu control/indicador en el front panel >> [click derecho] >> Data Operations >> Datasocket connections... En la ventana que aparezca, al lado de la casilla "Connect to..." seleccionar el botón "Browse...", luego "Browse Measurement Data..."  y a continuación te aparece una lista de los servidores de datos registrados en tu máquina... busca y selecciona el parámetro que quieres y ya está.
Ojo: la secuencia de pasos que menciono son para LabVIEW 7.1 (es la versión que yo tengo) debe ser igual o más fácil en versiones más recientes.
Espero te sirva este comentario...
Saludos!!

Similar Messages

  • Como comunico un plc s7 400h siemens con labview si utiliza industrial ethernet tcp/ip

    hola a todos
    Necesito comunicar con labview un plc s7 400h  de siemens, utiliza industrial ethernet tcp/ip  me gustarìas saber de que forma lo puedo comunicar, si es necesario utilizar algùn opc o si solamente con los vi's de tcp puedo comunicarlos

    Hola elias 2231, para comunicarte con un PLC a través de Labview básicamente tienes 3 opciones I/O digital, estándares de red, y OPC.
    Utilizar las salidas digitales de tu PLC, y conectaras a una tarjeta DAQ, o a un PAC.
    Para la parte de estándares de red como mencionas tcp/ip, puedes generar una arquitectura cliente servidor, y enviar los datos por tcp/ip, para implementar el cliente o servidor en labview puedes encontrar un ejemplo en find examples.
    Finalmente, y muchas veces la opción mas sencilla es el uso de un OPC Server, para conectarte con este las dos opciones principales son utilizar el modulo de DSC (data and supervisor y control) que es la mas sencilla o por medio de Datasocket en el cual realizarías una conexión a cada elemento de tu OPC
    Por facilidad y para reducir el tiempo de desarrollo yo te recomendaría utilizar el modulo de DSC
    Los siguientes links pueden ser de interés
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/2342
    http://digital.ni.com/public.nsf/websearch/F92C1F2F7B35105B86256DB200628B24
    Saludos
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • PLC FESTO connect to LabVIEW

    Hi!!
    Please, help me!; I need connect a PLC FESTO FC660 with LabVIEW, I was Looking in DATABASE of OPC of National Instruments But I not Find FESTO, somebody, can I help me?
    Thanks
    Best Regards

    Hello qz6y7q,
    Thanks for using NI forums! Unfortunatelly FESTO is not suppoerted directly by NI OPC server, what you need to do is communicate FESTO's OPC server with NI OPC server and then create the shared variables. Here is a link with all supported devices from NI OPC server.
    http://www.ni.com/white-paper/6417/en/
    Here's also a link that shows how to connect LabVIEW to a PLC using NI OPC Server.
    http://www.ni.com/white-paper/7450/en/
    Hope this information works for you!
    Regards,

  • Geting Error by using the opc.sinume​rik.maschi​neswitch OPC-Server

    Hello I want to connect my control with Labview over OPC. For this I'll use the OPC-Server from Siemens called OPC.sinumerik.maschineswitch. But when I want to open it. I get the Error with Errorcode# 0x80004002(see the attechment).
    What is the Problem? Perhaps somebody can help me if possible in german :-)
    The info in the Knowlead Base to register the opcproxy.dll wasn't the resolution
    Greets Felix
    Attachments:
    opcerror.jpg ‏14 KB

    Es dreht sich hier ja nicht um die Hardware sondern um die Software.
    der OPC.Sinumerik.Machineswitch, wird mit der Software HMI-Advanced von Siemens mit installiert.
    Der server wird mit folgender Ini geladen.
    ; SINUMERIK OPC Server Parameter File
    ; Juni 2003
    [Registry]
    ProgId  = OPC.SINUMERIK.Machineswitch
    ClassId  = {75d00afe-dda5-11d1-b944-9e614d000000}
    SymbolicName = OPC.SINUMERIK.Machineswitch
    RegKey  = SINUMERIK.Machineswitch
    ;needed to access configuration information at runtime
    [Configuration]
    VendorInfo = SINUMERIK OPC-Server DataAccess-V2.4.2.98  (C) Siemens AG (1998-2003)
    NoAccessPath = 1
    IVarServer = @MCVar.Var2
    ;INSInfoServer =
    Daher gehe ich davon aus das das opc.sinumerik.machinswitch nur eine Bezeichnung ist und es sich hierbei um einen Sinumerik OPC-Server handelt.
    Wenn es ihnen etwas bringt, kann ich ihnen die Exe zukommen lassen. Werde aber sicherheitshalber nachschauen ob man diesen Server nicht auch downloaden kann.

  • Como comunicar un PLC festo con labview

    Hola a todos, necesito comunicar un plc de festo con labview para hacer intercambio de datos, he intentado hacerlo por ethernet pero no he podido establecer la comunicacion, no se que se debe hacer. gracias

    Estimado luis_tec:
    Hay varias maneras de realizar la adquisicion que requieres. Necesitaria mas informacion sobre tu aplicacion para darte una solucion mas personalizada a tu aplicacion. 
     Suponiendo que unicamente manejaras seniales de 4-20mA y que tu velocidad de muestreo no importara, te pudiera recomendar utilizar los sistemas PAC (Programmable Automated Controller).
    Una solucion seria utilizar el cFP 100 el cual te permite medir corriente y voltaje en varios rangos si lo necesitaras. Luego adquirir la base de montaje para el modulo cFP 1808 o 1804. Con esta solucion  puedes comunicarte a tus seniales de manera serial o ethernet y te da la posibilidad de expansion.
    A continuacion te hago la referencia de estos productos en  nuestra pagina web:
    CFP 100
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/115​82
    CFP 1808
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/202​210
    Tambien te incluyo enlace a una presentacion de el manejo de estos equipos:
    http://www.ni.com/swf/presentation/us/pacpcio/
    Te recomiendo te comuniques a nuestra linea gratuita desde Mexico al 01 800 0100 793 y pidas te comuniquen con un representante de ventas para obtener una cotizacion  y mas detalles sobre estos sistemas.
    ESpero y esta informacion te haya sido de ayuda
    SAludos 
    ls
    Luis S
    Application Engineer
    National Instruments

  • Coneccion PLC controllogix allen bradley rslinx con labview

    tengo un plc allen bradley controllogix que configuro la comunicacion con rsview a traves de rslinx pero quiero hacer un panel de similares  caracteristicas con labview 8.5 que tengo el opc server, lo que no se es la configuracion de ambos, es decir rslinx y labview para que se comuniquen y hacer en el panel frontal algo bueno. quiero poner aprueba labview. 
    espero que me puedan ayudar con comentarios, link, etc.
    cualquier ayuda lo agradecere

    Buenos días!
    Este link puede ayudar a usted:
    http://zone.ni.com/devzone/cda/tut/p/id/4626
    Saludos,
    Wagner Marinho

  • Siemens PLC S7-300 data to LabVIEW RT via Profibus ?

    How can I acquire Siemens PLC S7-300 data to LabVIEW RT via Profibus ? (My RT is hooked up to SCXI chassis.) There is the PCI-1500 Profibus board - but I'd have to use it on another PC running regular LabVIEW, then get data somehow to the SCXI chassis... that's too complicated! Any ideas ? Thanks! benji.

    We are currently working on a driver for the Profibus cards and LabVIEW RT. I imagine that NI is too. Our intention is to help fill in the Industrial network gaps for LVRT. If you'd like, I'll send you an update in 2-4 weeks. Maybe you can help us beta test it.

  • Connect OMRON PLC CP1E/NA (hostlink) to LabView via Serial Cable

    I am trying to connect my PLC (Omron CP1E-NA) to LabView. The PLC supports Hostlink when talking to PC.
    I have LabView Full development environment and DSC Module installed. Other modules are avaiable if needed.
    My project is to connect this PLC to LabView so that I can develop control interface via LabView. The connection between PLC and PC is RS232 cable.
    I am not sure how to configure LabView in order to enable communication with PLC.
    Any possible connection methods are welcome. My work is somewhat urgent, so I look forward to your help very much.
    Thank you all for your kindly help.
    Wei

    Hello Mateen,
    Here is a forum thread that describes the steps to posting:
    http://forums.ni.com/t5/Feedback-on-NI-Discussion-Forums/Quick-Introduction-to-the-Forums-for-New-Us...
    I hope you have success finding solutions using the NI Discussion forum.
    Thanks,
    Joel
    Motion PSE
    National Instruments

  • How to use DSC & OPC with mitsubishi PLC FX2N

    Hi I have  PLC of Mitsubishi FX2N /FX3U
    Communication board is FX 232 BD.
    Data register in PLC  D8120  For serial communication.I want to use this type of PLC with DSC & OPC 8.5 version but, I am not able to communicate this PLC with DSC as I want to use this to control hydraulic test stands.Also guide how I can use DSC for data acquisitions.Support india is trying this from last 2-3 weeks still they are not able to slove the problem so kindly help asap.
    Regards
    Nitin Badgujar.

    Labview application to Mitsubishi PLC communications, No Mitsubishi PLC OPC Server to communications.all the labview vi write....
    We are finish it
    see at
    http://www.abb-furnace.com/scada-system/labview-mitsubishi-fx2n-plc.html
    [email protected]
    [email protected]
    ==============================================
    Labview Applications Engineering
    Labview SCADA/HMI Systems
    Labview AB Rockwell PLC, Omron PLC,Mitsubishi PLC,Siemens PLC,Fatek PLC,Delta PLC
    Labview Vision, Vision Builder
    Labview Profibus,EtherNet/IP,EtherCAT,DeviceNet,Canopen
    http://www.abb-furnace.com/scada-system/scada-system.html
    ==============================================

  • Connecting a plc without opc server

    hi, can i connect a plc to labview 7.1 (to send and read data) without an opc server, using just an rs232 cable from plc to pc.
    Solved!
    Go to Solution.

    syd_b,
    RS232 is just the physical interface, but it says nothing about the communication protocol. Allen Bradley PLCs use several serial protocols, e. g. the DF-1 protocol. You can either try to implement the protocol by yourself by using VISA calls (good documentation is required) or you can purchase a library. NI doesn't offer an Allen-Bradley library for LabVIEW, but I have found a vendor with a quick Google search.
    Jochen

  • Feasabilit​y using OPC for COMPLETE PLC IO-NO LADDER LOGIC

    Attention intergration Gurus:
    I was wondering if this is REALLY feasable and would work? We need a high channel output using AB PLC's for air solenoids (high current) and +24v Prox's and such.
    I really would like to get rid of the existing (3 plc) design and use labview to do everything.
    The PLC's inter-communicate via RS232, done by three seperate companies.  Thats why its not intergrated.
    Has anyone really used PLC's I/O withou a Ladder program ??
    I can do both, but want to bring things up to todays tech....
    Thanks
    Eric

    I do this frequently, although not with OPC. Usually we use NI's cFP-180x I/O modules, but we've also non-NI hardware.
    The basic questions you would want to ask yourself:
    Can I afford a situation where the system might not behave correctly (for example, if there is a network error or the desktop machine gets stuck doing something else)?
    Is the technology I'm going to use (OPC, Modbus, custom protocol, etc.) going to be fast enough for the balance of the desired program speed and the channel count?
    If the answer to both of those is yes, then you should be able to do this.
    Try to take over the world!

  • OPC writing to PLC

    Hi, i have an Allen-Bradley PLC (slc 500) and I have connected to Labiew 8.5 through OPC server with RsLinx Gateway.
    The question I have is, it´s posible to control an output(O0:0) or an input(I0:1) of the PLC through the OPC. I can write to a variable (N7:0,etc) but I want to control directly an output or an input of the PLC
    If it´s possible, how can I do it.
    Thanks.

    Hi,
    So You Are able to write data in N 0:0 I think You are writing on Modbus address Is it ?
    As I had connected Mitshubishi PLC to Ni OPC server Easily, Where We could directly read write onto their Register.
    (Say D words (D100) as well as Boolean M Bit (M 100)).
    So I am Sure you can do read write directly in Allen Bretly PLC.
    That Is sure.
    May be you might be selecting wrong driver.
    Because, after selecting driver just create one Device and then create tag. In that tag whatever the Register terminology you use for the PLC will pop up while creating tags. Like in Mitshubishi we had D words, Boolean For M bit, Network Register were W and B Bit.
    So I think Just check, u might be making mistake with driver selection.
    Thank U so much for putting post.
    Brijesh Patel
    CLAD
    Labiew programmer

  • How does labview opc communication with plc affect timing for the actual plc application

    Hi Everyone, 
    I have a doubt and thus want to start a discussion regarding communication with PLC's from NI OPC server.
    Let's imagine you have a production machine like a caping machine for a bottle production line, let's say the PLC on this machine is a Siemens S7300 which according to NI is compatible with NI OPC server.
    The PLC would have already been programmed by the company who sells the machine to control it correctly.
    The question is, if you'd like to add an interface, and all the capabilities that LabVIEW offers to this machine by controlling/monitoring its PLC, returning its alarms etc...
    In that configuration is there a possibility that the LabVIEW application you would devellop affects the PLC's Behaviour and thus the machine functionality or yield and thus would have a negative impact?
    Thanks a lot for your answers.
    Best Regards,

    Hi Olivioloyer Good Morning:
    The issue here is that if you want to control, display and log data and funcionality from that PLC through LabVIEW you will have to change the program on the PLC to work correctly with your Interface and Alarming program that you will create in LabVIEW. If you develop a well designed architecture and an efficient code there will be no negative impact on yout PLC, on the contrary you will expand the funcionality and capability of your application. 
    Note: You will need to change your PLC program to achieve correct functionality with what your LabVIEW code will do.(Send and receive control commands). If you just want to monitor your PLCs behaviour, your code will be much more simple and maybe no change will be required on the PLCs program.
    Juan Arguello
    National Instruments México y Latinoamérica
    Applications Engineer

  • Interfacing S7-300 PLC with OPC variable not having any value

    Hi, i am trying to interface a Seimens S7-300 PLC with LabVIEW with the MPI protocol. I followed the webcast "Connect to any PLC using LabVIEW". There are 2 problems that i face,
    1. There is a Timeout Dialog Box which ofcourse times out the connection to the PLC. This allows a max time of 30seconds. Can i increase the Time out in any way?
    2. When i create a variable as shown in the webcast, it does not have any value nor does it have a time stamp value as the variable in the webcast. I am uploading a picture here to make it clear. I wanted to know why does this happen? It does display the system variable values as being valid and also updates them.
    Thanks.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    bolen input error.JPG ‏106 KB

    Hi David,
    This is the webcast i am talking about
    http://zone.ni.com/wv/app/doc/p/id/wv-263
    I am using LabVIEW 8.6, NI OPC Servers to connect with an S7-300 PLC using the MPI protocol. Following the procedure outlined in the webcast:
    Opened OPC servers:
    1.Created a Channel.
    2.Cose the device driver.
    3. Set the serial communcations settings(Baudrate etc) according the configuration settings of the PLC.
     After doing step 3 i get a dialog box asking me to set the time out period of the PLC (which i set to 30 seconds i-e the max that was allowable). I also set the write attemps before failure(which i set to 8).
    4. Added a Device and gave it an arbitrary name.
    5. Chose the device model.
    6. Set the Device ID to 1.
    Than i added a tag. Gave the name Input, the address of the input and all(which was accepted by the OPCServer).
    After creating a tag when i open the OPC Client, all system variables are displayed as being valid and also get updated but the tag i created has no value and there is not updating taking place as indicated by the time stamp. I will change the tag and also see if i can upload a video of exactly what i am doing.
    Thanks for your reply.
    LabVIEW 8.2,8.6,2009...still learning

  • OPC: what is the path to follow in LabVIEW 8.20?

    Hello:
    I started with OPC in Labview 6. The only two functions that I need is "read  multiple tags" and "write tag". The tags are either located on the same PC or on a different one. I use Labview as an OPC client. The number of tags that i need to acquire is in the range of 2000-5000, once per minute. In Labview 6 and 7, all experts in the discussion forum and at NI said that above 100 tags, it was impossible to use Datasocket (performance issue when too many tags) and that the preferred path had to be DSC. So I started using DSC. Now that I migrated towards LabVIEW 8.20 the people at NI say that the best option is to use.... Datasockets! The read/write tags vi having  disappeared the suggest me to make my own "read multiple tags.vi" and "write tag.vi" by encapsulating a "DS read/ write" in a for loop. As an entry to the loop, I would just wire the ref number that the connection ids that the Datasocket Open.vi supplies.
    So my first question: why is this old Datasocket mechanism again the path to follow in Labview 8.20?
    By curiosity I checked in Labview 8.20 what was embodied in the "read multiple tags.vi" that were shipped in the Labview DSC 7.1. And found that the very last layer of the Vi used... Datasocket read in a for loop.
    So my second question: why was the Datasocket mechanism so poor in Labview 6 and 7 (for more than 100 tags) and now is the preferred way to go?
    I cannot use the shared variable mechanism in my case because the entry of my application is a list of tags (2000-5000) to read and I just want an automated way to read these tags values in one take.
    As I need to install the compiled application on dozens of PC I would prefer not to be forced to buy the DSC licenses on each runtime machine hence Datasocket that does not require the DSC license might be a good choice?
    Thanks for all ideas and comments,
    Christophe

    I have an example of a DSC application in this thread. This is in DSC 7.0 format.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=234478#M234478
    Here is the scf file. It might have some stuff added to it since the llb file was created.
    Attachments:
    d103210.zip ‏3 KB

Maybe you are looking for

  • How to stop  after first loop operation  over?

    Hi friends. How to stop  after first loop operation  over? I have a loop operation in module pool program. After first loop over I want to stop. I used the STOP keyword, but it is going to dump. Thanking you. Regards, Subash

  • Af:train stop width

    Hi all, I like to give same width for each of the train stop. since train stop length is depending on length of display name. With Regards, Wai Phyo

  • Cannot Bluetooth an I-Pad 2 with Mac Mini

    setting up my mac-mini and cannot 'Pair' it to my I-Pad 2 with the Bluetooth functionality. The software on both devices is up to date as of 20June.....

  • Help!  Itunes not recognizing Ipod Nano.  Have tried several things already.

    Itunes does not recognize my ipod nano (6th generation).  When I plug it in to the computer, nothing happens (except it charges).  I have tried several of the recommendations (reinstalling itunes, resetting ipod, etc. etc.)  I have Windows 7 on my co

  • Will my DVD player still work after I install 10.5?

    Hi, all. This is what I found for requirement for 10.5 -- "DVD Player requires a 1.8GHz PowerPC G5 or faster processor for improved de-interlacing." Does that mean once I install Leopard 10.5 that my DVD player will not work with my G4 machine?