Monitoring and controlling the Tag values of Logix 5000 using Labview while using RSLogix 5000 to program the PLC

Hi
  I want to know how to change the input bits or tags of a PLC which is programmed using RSlogix 5000. But I need to use Labview to monitor the input bits ( like in Digitial Input bits) and then be able to change the BITS while the PLC runs and the PLC should be able to detect the change in input bits and act accordingly. The programming is done using ladder logic and its done in RSLogix 5000 and dumped into PLC using RSLogix.
Thanks in advance

msu,
Once you have the OPC server up and running the best way to communicate with is is through the Datalogging and Supervisory Control module for LabVIEW.  The DSC module allows you to bind shared variables to items on your OPC server.  Then you could just read from or write to these shared variables to access the data on this OPC server.  If you don't want to get this module you could also just use datasocket to read/write from an OPC server.  The URL you would use in data socket would look something like "opc://localhost/{your opc item's address}".
-Justin D

Similar Messages

  • HTML Tags. Not able to store all the tag value

    Hi Guys,
    I am not able to Store the tag values with the program below. When it goes to read the second TAG the first TAG value is null or lost.
    <html>
    <head>
    <META NAME="name1" CONTENT="content1">
    <META NAME="name2" CONTENT="content2">
    <META NAME="name3" CONTENT="content3">
    <META NAME="name4" CONTENT="content4">
    </head>
    <body>
    Hello world.
    </body></html>
    import javax.swing.text.html.parser.*;
    import javax.swing.text.html.*;
    import javax.swing.text.*;
    import java.io.*;
    public class ParseTest extends HTMLEditorKit.ParserCallback {
    public void handleText(char[] data, int pos){
    System.out.println(new String(data));
    public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos){
    System.out.println("start: " + t);
    public void handleEndTag(HTML.Tag t, int pos){
    System.out.println("end: " + t);
    public void handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos){
    if (t == HTML.Tag.META){
    String name1=(String)a.getAttribute(HTML.Attribute.NAME);
    if (name1 != null){
    System.out.println("META name1: " + name1);
    String content1 = (String)a.getAttribute(HTML.Attribute.CONTENT);
    if (content1 != null){
    System.out.println("META content1: " + content1);
    public static void main(String argv[]) {
    try {
    Reader r = new FileReader("test.html");
    ParserDelegator parser = new ParserDelegator();
    HTMLEditorKit.ParserCallback callback = new ParseTest();
    parser.parse(r, callback, false);
    } catch (IOException e) {
    e.printStackTrace();
    Thanks for your HElp.

    Hi,
    it took me some time to understand what the code should do.
    First of all please let me say, that wiring trough the error cluster is immanent for debugging. One problem I see is that the refnum from the document element is zero, so that all other calls for childs are failing. You will only notice this by debugging or execution highlighting (see James hint). You will also see a hint for a problem in this region of the code when you look at your indicator loadXml. This once was always False.
    I have changed two things:
    LoadXml.vi -> Read from Text File instead of binary
    Main.vi -> Using the read text for input of the LoadXml invoke method and not the pretty printed one.
    Now LoadXml performs the action and your 2D array is filling in some stuff. My advice would be to carefully debug your code and look, where references get lost and where errors occur.
    Good Luck
    Tyler
    Certified LabVIEW Architect

  • How to create remote monitor and control webpages using cFP2220

    Hi all,
    I'm fresh user using compact field point. I would like to make cfp2220 as a web server, so other PCs can using IE to monitor and control through web browser.
    Moreover, does the webpages support security? and how to setup?
    Thanks,
    Regards,
    Robert

    Hi Robert,
    You can use LabVIEW Web Services to set up a system like you describe, and there is also information available on how to secure your Web services.
    I hope this is helpful.
    Regards,
    Stephen S.
    National Instruments
    Applications Engineering

  • Home Monitoring and Control with a third party also monitoring and controllin​g?

    I was wondering if anyone has tried to install Home Monitoring and Control with a third party monitoring, and or controlling the same devices. I know many systems offer multiple control points such as auxilary control touch screens. Has anyone made this work? I have Z wave devices on my home security system (lighting), and would also like to monitor them via Verizon. Possibly also adding some energy monitoring and control, that is not available via my security company. My security monitoring company provide support through Alarm.com, but has limited energy monitoring to thermostat control and such.
    The only interactive control with my security company is for alarm monitoring and control, with limited lighting control. All of my devices are GE in the wall mounted lighting controls, and I would prefer to pay Verizon the few extra dollars for the additional features VIA the web, rather than pay Verizon. There used to be an energy package, that included the main power panel load and I thing Thermostat, but I believe some of the bundles have been split up.
    There are other options out there now, but I have neen exploring. My GE Switches are from the Lowes Iris system. Much less expensive, and can replace existing wall switches, not like the power cord switches. Plus the store is four miles from my house.

    I started with Verizon home monitoring, but if you read through the threads the service is extremely unreliable, still to this day. I am stillusing it, although I am waiting for a refund on the services that I have used since it is so bad but I bought a MiCasaVerde Vera3 system.  You pay appoximately $300 for the unit and there is no monthly charge and you get all the features plus pretty much unlimited types of z wave devices to use on it. I would seriously consider using that before Verizon.

  • Would like to monitor and control a labview application with a hand held device.

    Would like to monitor and control a labview application with a hand held device.
    Would like to use a palm or ipac on a local area network or communicate directly with the PC running windows.

    LabVIEW doesn't run on a hand held device. But, check out these documents:
    Is it Possible to Use Remote Front Panels to Control a LabVIEW VI Remotely Using my PDA?
    "What OS is recommended for LabVIEW to run on a PDA?"

  • Database monitoring and control i

    Hi all,
    I am looking for various options to monitor and control the database.
    Could you provide your thoughts on this.

    You will get more, faster and better responses to your questions when you learn that your questions should contain as much information about your interests as you can provide.
    What you asked about database monitoring is pretty close to posting only question mark in you post. Like this : *?*
    When you are going to car mechanic to ask him for advice about your car, you will not just tell him : I am looking for thoughts on achiving higher HP for my car,tell me ,how to do that? .
    You will obviusly tell him at least what car you have, what model, what year was made and so on. You can apply almost the same logic when asking oracle questions here.
    For zilion reasons , providing at least information about database release you are using is a 'must do' when asking a question.
    Also, your first stop when looking for info about something that is so general as your question here suggests, should be http://tahiti.oracle.com/ , where you could eventually, as in this case , after few more clicks lead yourself to this, and after that enable yourself to ask more specific and concrete question.
    By the way, your forum activity statistics are saying that you are one of those posters which is appearing here with the moto 'ask question-respond never' , and this attitude can discourage many forum members to help you because they prefer two-way communication, which you obviusly don't.

  • Monitoring and controlling wifi activity by device.

    Is there a relatively simple way to set up monitoring and controls per device on a Time Capsule-based wireless network?  For example, I might want to limit wifi access late at night by my son's iPhone or my daughters e-reader.  Or I might want to disallow internet access during certain periods for certain devices, while still allowing full access to the disk for backups via Time Machine.  I would also like to see a how much and when individual devices are using the network.  Is there an application out there for that sort of thing?

    There are some access controls for the TC available.
    Just open the airport utility, manual setup, airport, access control, and used timed access.
    But that is all that is available.
    To get download usage etc is well beyond what the TC can manage.. you will need a wireless router with 3rd party firmware, gargoyle. It will do exactly what you want. That is the only firmware or even software on the market that puts the control into a relatively cheap router.
    http://www.gargoyle-router.com/download.php
    You can get a TP-Link router for about $70 but the Netgear WNDR3700 at around $120 is a much better router for the job. This has far superior controls cf the apple routers.

  • Monitoring and controlling of Diesel Power Plant Using Labview

    Respected Sir,
    Our Project name is monitoring and controlling of Diesel Power Plant Using Labview7.1.Here we are monitoring and controlling important Diesel engine Parameters and elecrical parameters.Expecting more ideas andsupport from NI

    it s very difficult to manage each and every generators manually in a diesel power plant.we have done an inplant training in a diesel power plant from where we got idea of automating the plant.in tat plant they are using SCADA software.To reduce the complicity of hardare an unnecessary comp languages v r planning to do the same purpose in LabVIEW software as our final year project.As this s our own idea v r not more familiar with the application areas of LabVIEW in a Diesel Power Plant.Plz suggest more advantages of LabView over SCADA in tis field and also welcome innovative ideas from NI to make project simple and more useful

  • Object would have more then one attribute with the tag :VALUE

    I'm creating a new component in Ultiboard - a 100 pin connector.  This connector (Hirose) has 4 rows of 25 pins. Alternate rows are staggered. I'm trying to name each pin with it's appropiate name: A1, A2, A3 ....A50. Then B1, B2, B3 .....B50.
    When I change the VALUE or NUMBER attribute, I get the DRC error  message:
    This action cannot be completed because the resulting Object would have more then one attribute with the tag :VALUE
    Please remove one of the attributes and try again.
    Okay, so I've tried deleting the tag and now I can't name the pin at all. 
    What am I missing?

    You should be in the footprint editor to edit the pin name.  Select tools>>Database>>Database Manager, highlight the component in your database and click on the Edit icon.  In the footprint editor, double click on the pad and a SMT or THT pin Properties dialog appears, select the Attributes tab and highlight the Number row, press the change button and you should be able to change the pin name.   
    Tien P.
    National Instruments

  • Extracting the tag value sent from PCo

    Hi,
    Can anybody explain how to extract the tag value hidden in a PCo notification, which is sent to a BLS transaction as an XML parameter. Appreciate it.
    Chanti.

    Guess that document only shows how to setup the communication between PCo and MII.
    Anyway I was able to extract the values once the notification is received into the BLS.
    Never mind.
    Chanti.

  • Formating and calculating xml tag value

    I have an xml file that holds xml tag such as <weight>.55 kg</weight>
    I want to have two outputs:
    Output 1) Output to print: 0.55
    Output 2) Output to print 0.8 of the xml tag value (0.55 * 0.8) : 0.44
    I was able to get the Output 1) by using <?format-number:weight;'9G990D00'?>
    However, I can not get the Output2) as expected.
    If I put <?format-number:(weight)*0.8;'9G990D00'?>,
    I get the error message "Caused by: oracle.xdo.parser.v2.XPathException: Cannot convert .55 kg to number."
    Appreciate any help on how to solution for Output2)
    Edited by: user4697912 on Jun 22, 2010 1:23 AM
    Edited by: user4697912 on Jun 22, 2010 1:23 AM

    If that is the case then try using
    <?format-number:( substring-before(WEIGHT,'kg')*0.8);'9G990D00'?>

  • My safari keeps closing unexpectedly and when it does it tells me that it quite while using the .GameHouseBeachParty.so plugin. I have no idea what this means! Can someone please help me fix this?

    My safari keeps closing unexpectedly and when it does it tells me that it quite while using the .GameHouseBeachParty.so plugin. I have no idea what this means! Can someone please help me fix this?

    You have the Flashback trojan.
    Check out the replies in this thread for what to do;
    https://discussions.apple.com/message/18114958#18114958

  • For no apparent reason, the printing from the iPad to the HP wireless printer was no more possible, while it was still possible from the iPhone.

    For no apparent reason, the printing from the iPad to the HP wireless printer was no more possible, while it was still possible from the iPhone 5. Any idea why?

    Gutenprint drivers are intended for non-laser printers. HP supplies the proper drivers, and you can download the latest version directly from HP's support site. Or you can install the most recent HP drivers provided by Apple.
    Printing speeds do not include the time it may take to transfer data to the printer. It also doesn't take into account the time it takes for the printer to be prepared to start printing. Color is much slower than B/W.
    Contact HP for any additional assistance you may need since these forums do not provide support for non-Apple products.

  • I cannot open numbers.  When I double click on the icon it says "Numbers cannot be opened while it is being updated."  The same is happening with other programs.  I recently upgraded to Mavericks

    I cannot open numbers.  When I double click on the icon it says "Numbers cannot be opened while it is being updated."  The same is happening with other programs.  I recently upgraded to Mavericks

    Well, I figured itout.
    Apparently the Numbers (and Pages) app downloads was stopped and \never re\started.. possibly because of something I did, like turn off my machine during them.
    I went to Apple > App Store > Purchases.  I discovered all three iWorks apps were listed but showed "Resume" as the status button at the right.  I clicked on each to get them started again... and they eventually automatically became "Installed".
    They work, now!

  • When I have more than one tab open, if I click on a picture to view, when the window opens to view the photo, firefox crashes. I also notice while looking at a web page, the pinned tabs to the left of the bar are constantly reloading for some reason.

    When I have more than one tab open, if I click on a picture to view/enlarge, say eBay, and I click on the items photo to enlarge it, when the window opens to view the photo, Firefox crashes. I also notice while looking at a web page, the pinned tabs to the left of the bar are constantly reloading for some reason, The green circle starts going round and round for no reason even though the tab is not being viewed. Both problems seem to have started after the last software update.

    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * https://support.mozilla.org/kb/Firefox+crashes

Maybe you are looking for

  • Third party ImageIO Plug-Ins

    I'm writing an application using ImageIO for reading and writing images. All worked fine with the standard ImageIO package in Java 1.4.1. Then I wanted to have the ability to read and write other image formats than gif, jpg and png. So installed JAI

  • WRT54gs no internet

    my router has no ip address  i have logged in to it and in the status bar there is all 0's. i have also downgraded the firmware for it and have still no joy. if i plug the modem directly to the computer then i can get on the net.  the wireless side o

  • WLS Clustering: beginner's question..

              Hi,           Im just about to start get my hands dirty with WLS clustering. As I understand,           it is not available in the WLS6.0/6.1 eval version downloadable from the web.           [1] Do I need to purchase a web Logic licence to

  • Adding Canon MP 620 Printer to Network

    I added a new Canon MP 620 to my home network. It's WiFi enabled. I've two laptop PCs that are able to locate the MP 620 but my MacBook cannot. The setup function can identify the printer's MAC address but it cannot find the printer for setup. It eve

  • Version setting for MIGO

    Hi, While doing Goodss Issue against a Reservation My screen is showing in the General Tab;near print icon - 1 Individual Slip Can anybody show me the setting so that it will come as 3 collective Slip by default when ever I try for Goodss Issue again