Comunicacion PLC Allen Bradley y Labview 2012

Que tal buenos dias, soy estudiante de ingenieria electromecanica y actualemente estoy desarrollando un proyecto de automatizacion, en el cual quiero hacer un HMI usando labview, cabe aclarar que soy nuevo en esto de labview y me gustaria saber cual es la manera de comunicar mi PLC(Micrologix 1500) a LabView, he estado investigando y no se si necesito un OPC de LabView y pues no se como configurarlo. Agraderia muchisimo la ayuda que me puedan dar.
Saludos Jorge Huerta 

Lo puedes realizar pormedio de DataBinding, colocando la dirección del tag y del OPC, aquí te envío dos pequeños ejemplos de como hacerlo en un RSLogix 5000.
Saludos,
Adjuntos:
opc_labview_rslogix5000_datasocket.vi ‏8 KB
OPC_RSLOGIX.vi ‏6 KB

Similar Messages

  • 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

  • Comunicacion lookout con plc slc 500 allen bradley

    Actualmente tengo un plc allen bradley slc 500 y quiero conectarlo a traves del lookout a traves de los drivers que tiene el mismo lookout
    object -- drivers -- driver slc500 pero me sale un error de comunicacion, anteriormente ya pude conectarlo a traves del keepserver y tambien a traves del mismo rslink con la opcion de new topic DDE sin ningun problema, pero quisiera saber como hacer para conectarlo a traves de los drivers q tiene el propio lookout.
    utilizo lookout 6.0 - 6.2
    rslink classic gateway
    De ante mano agradezco cualquier ayuda
    FIRA

    thanks for answer me soon
    First I use the DF1 to conect with the PLC I see that lookout has driver to SLC500 and It can comunicate with lookout without some OPC server like keepserver or NIServerOPC i would like to conect the PLC direct to loookout with the SLC500 drivers.
    I can comunicate the lookout with keeperserver and also with NIserverOPC but i don´t want to spend more many in order to buy the OPC servers
    also I can comunicate lookout with SLC 500 with the DDE topic that has RSLINK but now i want to know how can i do to comunicate lookout to SLC500 with the SCL drives that has lookout.,
    The problem is:
    when i made that comunicate with the SLC drivers from lookout I had comunication error and i don´t know why?
    I use SLC 500,
    RSLINk classic.
    lookout 6.0 and 6.2
    FIRA

  • Interface of Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol

    Hello.....
    I want to connect a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.
    The PLC which I am using is a series of 1766BWA (Allen Bradley) please can you help me for the same or please give me suggestion.
    Also I want to know the resistance values of this PLC.
    Thank you.

    Hello
    I was trying for connection of a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.
    Here I am attaching the snapshot of PLC interfacing and communication vi using modbus but it is not working
    For reading we use setting shown in CHANNEL 1-modbus but it gives error regarding modbus addressing
    and for writing it shows error illegal address please help me for the same.
    Thank you.
    Attachments:
    PLC_SCREEN.zip ‏261 KB
    Modbus_(Read-Write).zip ‏14 KB

  • Allen bradley l35e plc interface to Honeywell EBI

    To All,
    I'm trying to interface an Allen Bradley L35E PLC with Honeywell's EBI system.  I'm hoping someone out there has accomplished this successfully.
    Kind Regards,
    SDMAC

    AB PLC talks with EtherNet\IP on Ethernet Networks..
    PLC5, MLX Series PLC uses DF1 Protocol for Serial RS232 Communication.
    Lower End AB PLC's/Net-ENI Modules uses DF1 Protocol encapsulated with EtherNet\IP CIP Services for cummunication.
    Latest AB PLCs uses EtherNet\IP(Pure CIP Services) for communication. Check, http:\\www.odva.org for more details into these protocols. With NI-OPC Servers, Lower End AB PLCs such as MLX Series, PLC5 Series can be integrated with LabVIEW. however., NI OPC Server doesnot supports Control Logix and Compact Logix PLCs.
    If you are looking for some low cost solution to integrate All kind of AB PLCs with LabVIEW Software, Check this link, http://forums.lavag.org/Industrial-EtherNet-EtherNet-IP-t9041.html&p=35563#entry35563
    Best regards
    Siva
    [email protected]

  • Serial Communicat​ions with Allen Bradley PLC 2.30

    Does any one know the required pin outs for the serial cable from the PC com port to the Allen Bradley 1771-KG card or directly to the Allen Bradley processor? Any samples on writing TAGs to the registers?
    Roy L. Costa
    Email: [email protected]
    Catalyst Test Engineer
    General Motors Warren Tech Center (R & D)

    Hello Chad
    Thanks for the pin out information. I tried that pin out configuration Monday and it did not work. I am pasting a copy of a communication with Allen Bradley in this comment box as well as a communication with another programmer that commented in here as well. Please read it and let me know what you think. Thanks again Chad.
    Roy
    Everything works well, from the LPD OPC Server to creating TAGS..to using the HMI wizard on the front panel,...but there is no communication with my hardware. An NI Application Engineer came by yesterday and we concluded that this was a hardware ware communication problem. I talked with an Automation Engineer in Austin yesterday and he told me to try RSLinx and see if I could get it to communicate with the hardware. I like that HMI wizard, it is pretty cool! I am pasting a copy of an email I sent to Allen Bradley so you can see a little bit more information about my hardware. thanks for your help again Khalid.
    {{{I am having much difficulty in communicating to my PLC 2 communication port or through my RS-232 port on my 1771-KG card. I am using a serial (null modem) cable on com port 1 on my PC. I have Win98 operating system. I am using LabView Datalogging and Supervisory control (Lookout) software to create several HMI?s. Can you please give me the pinouts that I need to communicate with the processor port on the PLC and or the 1771-KG card? Please contact me as soon as possible for I really need to get this to communicate so I can get started on this HMI upgrade. We are using PanelMates as HMI?s, but they are 13 years old and are failing frequently as well as being obsolete. At the present time I am creating new HMI?s but we are planning to do one fuel processing line at a time and replacing the PLC 2.3 with PLC-5 and then we can use the Ethernet module. Please call me at 313-972-4635 I do not have my own email at work so you will need to email any communications to my supervisor Fred Jacobsen he then will pass it on to me. Email: [email protected] If you have something you can fax me, here is the fax number: 313-871-2835
    Roy L. Costa
    Email: [email protected]
    Catalyst Test Engineer
    General Motors Warren Tech Center (R & D)

  • Password 1395 Allen Bradley HELP PLEASE !!!

    Please help, I have a machine down, and believe it or not, I actually have a spare Allen Bradley 1395 Digital DC drive complete working spare 200hp drive, but someone put a password in it, and I need to get around it or reset it so I can reconfigure my settings and communication. The password can be something like 1 to 56335, it would take years to guess it. I contacted AB by phone, but despite the fact that I have a quantity of two of their $26,000.00 drives, they want a $500 purchase order to have a tech give me the back door password. Someone must surely know how to do this. I have a DHT (1300) programming module connected to it, and I can view all of the parameters in monitor mode, but I NEED the password to do some parameter adjustments post haste. [email protected]

    Hello
    I was trying for connection of a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.
    Here I am attaching the snapshot of PLC interfacing and communication vi using modbus but it is not working
    For reading we use setting shown in CHANNEL 1-modbus but it gives error regarding modbus addressing
    and for writing it shows error illegal address please help me for the same.
    Thank you.
    Attachments:
    PLC_SCREEN.zip ‏261 KB
    Modbus_(Read-Write).zip ‏14 KB

  • Map Allen Bradley 1400 addresses to NI Modbus addresses

    Hi,
    How do I map Allen Bradley 1400 Micrologix addresses like (N7:0, B3:0/1, etc., etc.) to NIs modbus addresses? Can the NI DSC module access the PLC for read/write operations without using the NI OPC server?
    Is there any tutorial or URL  which specifically addresses the above queries?
    Thanks in advance.

    It's easier if you are using OPC ... you can map and bridge data between the two protocols quickly through tags (addresses).
    Here is what you need:
    Modbus << OPC Data Manager >> Allen Bradley
    Data Manager allows one-to-one, one-to-many, and many to many relationships between tags
    Let me know if you have any questions.
    Wassim Daoud
    Senior OPC Architect

  • LabVIEW 2012 f1 Patch crashes

    I've just installed LabVIEW 2012 and unfortunately I've already run into some troubles.
    I received a "Setup has stopped working" when I installed the device drivers.  But the installation appeared to be fine.  LabVIEW started and MAX would open.  I did not try connecting to any hardware yet.
    When attempting to install the f1 patch, LabVIEW crashed again.  Subsequent retries net the same thing. 
    Has anyone else had this trouble with the patch?   
    This is on a Win7 machine with LV 8.6, and 2011 previously installed. 
    Patrick Allen
    Solved!
    Go to Solution.

    Why do you have LabVIEW open when you are trying to install a patch?  Are you running other versions of LabVIEW when performing the install?  It is highly recommended you are not running anything NI when running installers from NI.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • RT webservice on allen-bradley panelview HMI?

    Hello,
    anywhere I can find the requirement for the browser that will be used to display wedsites from a RT target?
    I've made a simple VI, just some controls and indicators, and I can easily see it IE (even with silverlight disabled) - but the HMI only shows the title, and then an empty picturebox where the VI was expected to be.
    I actually just want to show a picture on the webpage, nothing more - any ideas?
    Henrik
    Solved!
    Go to Solution.

    Hi Henrik.
    You also need to install the LabVIEW Run-Time enginer in order to get Remote Front Panel to work. After this installation, you should be able to use Internet Explore. I have also tried using Firefox, and that seemed to work just fine.
    How Can I Display a Remote Front Panel on my Host Computer?
    I don't know the HMIs that Allen-bradley is making, but according to this link
    http://www.ab.com/en/epub/catalogs/12762/2181376/1239781/1670480/10791114/12293528/Introduction.html
    it seems they are running on Windows 6.0 CE with limited functionality.
    I would recommand a newer OS, like WES7 that are supported by NI.
    http://sine.ni.com/nips/cds/view/p/lang/da/nid/209369
    Another idea is to use Data Dashboard. With this, you can publish data over LAN, and connect an iPad that they are able to show the data, and even give new inputs to your LabVIEW aplication.
    Getting Started with the Data Dashboard for LabVIEW
    Best Regards
    Alex E. Petersen
    Certified LabVIEW Developer (CLD)
    Application Engineer
    Image House PantoInspect

  • Fpga labview 2012

    hola tengo un problema entre la comunicacion entre labview 2012 y solidworks 2010 este es que cuando voy a simular el simulador en solid no arranca pero el de labview si y no me muestra ningun problema de comunicacion.
    si alguien tiene la respuesta le agrdeceria mucho

    Hola buen día.
    Estoy realizando un proyecto universitario con una espartan 3e y labview 2011, instale el módulo fpga y el driver de la spartan 3e, el problema es que no me aparece el folder de xilinx university,(también lo intente con labview 2012 pero desafortunadamente obtengo los mismos resultados) Espero que alguien me pueda ayudar.
    Muchas gracias y saludos a todos en el foro.
    Anuar escribió:
    Hola juancarmona!
    Te refieres al LabVIEW FPGA Driver for Xilinx SPARTAN-3E XUP??  Este driver es compatible con LabVIEW 2010, sin embargo, necesitas contar con el módulo de FPGA para LabVIEW 2010 instalado en la computadora con la que deseas programar tu tarjeta SPARTAN-3E XUP. En el siguiente link podrás encontrar información para utilizar LabVIEW FPGA en conjunto con tu tarjeta:
    Using LabVIEW FPGA with the Xilinx SPARTAN-3E XUP Starter Kit
    Espero que te sirva!
    Saludos!

  • Some fonts are not shown correctly in LabVIEW 2012

    I found a bug related with fonts in LabVIEW2012 f3 KR.
    - When I select NI7SEG in font selection dialog, right font is not shown in the example box.
    - Draw text at point.vi shows same problem for some fonts while other fonts are working.
    I reported it to Korean NI. As far as I know, this was not reported in previous versions and I couldn't find any related documents in Google. 
    So, here I would like to know whether it is related with only Korean version. Please let me know if English version is OK. 
    * OS: Windows 7 32bit KR

    Just now, I installed LabVIEW 2012 f3 (32-bit, English) and checked for the issue. But the font(NI7SEG) was not shown properly in VI either.
    - Both of Korea and English version of LabVIEW 2012 on Win 7 Korea OS shows wrong results. It is same on 64-bit OS.
    - LabVIEW 2010 but on same PC shows correct fonts.
    Is there a limit of number of fonts in LabVIEW? There are more than 100 fonts are shown in the "Selection Font" dialog and I can divide them into 3 groups by sequential order. I find that all fonts in the 3rd group are not applied correctly.
    (1st group)
    Arial Unicode MS...
    Bookshelf Symbol 3....
    Windings 3
    (2nd group)
    @Arial Unicode MS...
    @Terminal
    (3rd group)
    Arial...
    Consolas...
    Courier...  
    Licida Console... 
    NI7SEG...
    Verdana

  • Issues with windows 7 after Labview 2012 installation

    Hi
    I am having some issues after installing Labview 2012 on machines running Windows 7. Firstly, after installing a program on a user's machine, the machine sometimes takes 20 minutes to boot up before the user can log on. The 'Please Wait' message appears during this time. This is also the case on the development machine.
    Secondly, on the development machine, I am having an issue when trying to run compiled programs created in Labview. When installing, everything works fine but when I go to open the program, it appears on the task bar for a brief period before closing. It does not appear in the task manager either. I have tried this on 2 other machines with windows 7 and Labview installed and still get the same issue.
    Any help on these matters would be much appreciated. Thank you

    Hi
    Firstly, looking at the issue with the slow Windows 7 boot up time, as Norbert_B suggested the Windows Event Log is a good starting point to find the root of the problem. The following link describes how to launch “Event Viewer” and some common problems:
    http://itexpertvoice.com/home/what%E2%80%99s-taking-so-long-how-to-fight-slow-startup-times-in-windo...
    Aside from that, if your computer is part of a domain, the problem may be connected with certain Windows Services that start automatically on boot up. I recommend trying the following steps:
    Open up “Control Panel” go to “System and Security” then “Administrative Tools” from here launch “Services”.
    Sort the list by name and scroll down to “Network Store Interface Service” right click and select “Properties”. Under the startup type dropdown select “Automatic (Delayed Start)”.
    Next scroll down to the “WebClient” service again under “Properties” this time select “Disabled” under the startup type.
    As for the problem with running LabVIEW executables, I have a few questions:
    Do you get any error codes when it closes automatically?
     Does this occur for multiple executables or just one in particular?
     Does the code run without a problem within LabVIEW?
     Have you tried to update LabVIEW?
    What hardware are you running?
    Without this information I can only think it may be caused by the Windows Data Execution Prevention (DEP) security feature. So you can try the following steps:
    Right click on “Computer” and select “Properties”.
    Click on “Advanced System Settings” and select the “Advanced tab, then under the performance section click “Settings”.
    Click the “Data Execution Prevention” tab.
    Make sure it is activated for essential Windows programs and services only, or you have an exception for your EXE.
    You may also find the following link helpful on debugging applications:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/debug_apps_dlls/
    Let me know if these solve the problems.
    Andrew.N
    Applications Engineer
    National Instruments

  • Spartan 3E with Labview 2012 (32 bit) on WIndows 7 64-bit - Error Code: -310602 NI-COBS: Unable to communicate with device over communication cable.

    Thanks for the info, Kyle.  I will probably try to find an older 32-bit XP machine.  VM is just not an option for me right now.

    Hello everybody,
    I am trying to use the DIgilent Spartan 3E board with Labvew 2012 SP1 32 bit.  I am able to compile the example code for LED shift.  I am however unable to transfer code to the FPGA.  I get the following error message:
    Error Code: -310602 
    NI-COBS:  Unable to communicate with device over communication cable. 
    Please verify that the cable is connected to a supported device and that the appropriate drivers are installed.
    My system configuration is as follows:
    Windows 7 (64 bit) on Dell XPS laptop.
    Labview 2012 SP1 (32 bit)
    Labview FPGA 2012 SP1
    Labview 2012 FPGA support for Spartan3E
    Xilinx 13.4 tools
    DEFB LV FPGA 2012sp1 support installer
    Xilinx USB cable driver v1.3 installed.
    I took all the precautions mentioned by others on this forum and others, mainly that the cable must be disconnected before installing the Xilinx cable driver. All software and drivers were installed correctly.  I even uninstalled and reinstalled the entire Labview software set I had.  I still get the same error.
    A few other questions:
    1.  Is the Xilinx cable different from a regular USB cable of the same configuration ?
    2.  When I program the FPGA I only have the USB cable connected between my computer and the Spartan 3e board.  Should any other cable be connected ?
    3.  What should be the correct jumper settings for J1 - JP30 (especially J30, J11, JP9, JP6, JP7, etc) ?
    I have been at this or over 3 days trying to figure it out.  Any help will be greatly appreciated.
     

  • Can I get MJD (date and time) in LabVIEW 2012 SP1?

    I need to time stamp my data before sending it to the file.  I have been doing this with the standard calendar date and time but MJD is what we prefer to use.  How can I get an MJD timestamp in LabVIEW 2012 SP1?
    Solved!
    Go to Solution.

    Hello Brad_Henry,
    The Format Date/Time String will return the day of the year when the %j argument is used, as per this help document:
    LabVIEW Help: Format Codes for the Time Format String
    http://zone.ni.com/reference/en-XX/help/371361J-01/glang/codes_for_time_format_str/
    If you're looking for the actual MJD, I'm not aware of a built-in function that generates this so you'll probably need to create or find a function to calculate it manually.  This should pretty basic arithmetic, and it looks like people have already made a few public examples, the first two search results here look to be just about what you need:
    ni.com search:
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:ex/q/julian/
    Regards,
    Tom L.

Maybe you are looking for

  • No sound on youtube app?

    WTH (yes I have headphones)

  • Under Windows 7, passwoord are not saved/remebered

    Using WIndows 7, passwords are not saved / remembered. The list stays empty and sometimes the button "remember password" isn't even functioning.

  • Can we declare a Cursor in Package Specs?

    Dear buddies Can I Declare a Cursor in Package Specs so that I can call that cursor and use its data in some procedures and functions of package. Otherwise I've to write that cursor for every sub-program of a package which I don't feel a smart way to

  • Javascript for calculating End Date

    I have two date fields "Start_Date" and "End_Date". User selects the start date. Then the form takes that date and adds 365 days. puts the result in the "End_Date" field. I have attempted a couple of scripts and none have worked. So I attempted to fi

  • TSR Apps

    One of the issues that I had with windows was all the TSR apps that needed to get installed. OTB windows seemed to run good enough but once I installed all the needed extras (virus software ect...) it slowed down a lot and took forever to boot. My MB