Replacing a PLC with LabView Article

I just read the article "Replacing a Programmable Logic Controller (PLC) with LabVIEW and FieldPoint for Composting Plant Automation ". I am very concerned by the author's lack of knowledge about current PLC's. This article does not fairly compare the two platforms and is not accurate. For example, the author states that 100 msec is a typical response time for a PLC. This is absurd. Today, even low end PLCs can achieve responses time below 10 msec and high end PLCs even as low as 1 msec. It all boils down to specifying the right hardware for the application. One real danger the author does not address with building a "soft PLC" is the potential for the I/O not to fail to a safe condition if the operating system (Windows) lock
s up. This can be disastrous and unsafe for many control applications. I would suggest any reader that is seriously considering replacing a PLC in an industrial environment with a "soft PLC" watch out for this potential shortcoming. Readers can visit www.isa.org to find additional information on this issue.
I would not dispute that for a pure data acquisition application LabView can offer a superior solution. The safety conern can be mitigated if there is a "hard wired" safety system that has been properly designed. However, many times the PLC may provide safety shutdowns that depend on its true deterministic operating system and high reliability.
I hope that readers will not interpret this as a slam against LabView but as encouragement research this issue further from a different perspective.

I can see from your comments that you have a firm grasp of the PLC/vs PC concept, and agree with your comments. I have been an instrumentation developer/integrator for 36+ years, and have first hand experience with the situation(s) to which you refer. I have found the optimum solution has been a combination of PC/MMI software and PLC hardware. I have many such systems up and running in different industries, and have found this to be the best overall solution. Let the PC do what it does best(MMI display, complex calculations and decision making), and the PLC what it does best(solid deterministic control, with a non-windows operating system). I usually use an OPC server for communication between the two units, and with proper software design on both ends,
and a hardwired E-Stop system, excellent overall opertion/safety is achieved.
Your comments should serve as good stimulus for other developers.
Dave

Similar Messages

  • 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

  • Connect plc using modbus with labview

    hi
    i m using Modbus to communicate plc with labview . but it is not working.......?
    can any one give me the example program so that i can understand how to communicate ?

    Hi Nadeemalikpda,
    Are you using the Modbus Library (http://zone.ni.com/devzone/cda/epd/p/id/4756) or the DSC Module for the Modbus communication?  There are examples included for each.
    For the Modbus Library, the examples are in the .llb (MB Serial Example Master.vi, MB Ethernet Example Master.vi).
    For the DSC Module, take a look at the help file here, which also has the locations of the example programs: http://zone.ni.com/reference/en-XX/help/371618F-01/lvmve/dsc_modbus_using/.
    Morgan S
    Applications Engineer
    National Instruments

  • I am looking to replace the hypertermi​nal with labview code

    I am trying to replace the hyperterminal with labview code. I am getting visa read error. Please provide me the sample code or let me know where I can find the sample code?
    Thanks
    Jey
    Attachments:
    SERIAL_READ.vi ‏50 KB

    Jey,
    here is my hyperterm replacement, I use it for first serial tests on new devices.
    It's maybe more than you need and not even documented.
    It's in LabVIEW 7.1 now (was 6.1), and this new serial assistant looks even more powerful than this, however I haven't used the assistant (started with LV3.1 ;-)
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
    Attachments:
    Serial tester.llb ‏196 KB

  • Can i connect Labview 8.5 with Siemens S7-300 PLC with Rs-232 protocols

    Hi....I want to interface Siemens S7-300 PLC with Labview 8.5.....The PLC has MPI to RS-232 PC Adapter (6ES7 972-OCA23-OXAO).....i have made a GUI on Labview 8.5 and want to bring Voltage and Current data in realtime in Labview and Display that......Please help me.....
    Thanx

    You should open the Example Finder (Help -> Find Examples) and take a look at the serial communication examples. They should be able to do what you want.
    However, I do have to point out this: "want to bring Voltage and Current data in realtime". Define "realtime". Do you mean you're working on a Real-Time OS? 

  • I want to interface s7 1200 plc to LabVIEW 2011

    i am not getting proper bit address in plc, i follow this attachment but i think it is not sufficient to integrate plc with LabVIEW
    advance thanking you...!!!
    Attachments:
    NI-Tutorial-13911-en.pdf ‏536 KB
    NI-Tutorial-13911-en.pdf ‏536 KB
    NI-Tutorial-13911-en.pdf ‏536 KB

    Hi Sachin,
    These cameras will be interfaced throught ethernet or USB. Will they be connected to the PC running Win XP or are you looking to interface them with the cRIO.

  • 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

  • PLC Communicat​ions with Labview

    How do I view and record data from my plc to labview, currently we are using autmation directs DL205 with the 260 processor

    If the DL 205 communicates through the Modbus protocol, you could use the Modbus library. This library consists of a bunch of VIs which can be used for Modbus communication. Think of them as advanced Serial read/write VIs. However, if you are looking into monitoring, datalogging and controlling the registers, then I would recommend the LabVIEW Datalogging and Supervisory Control Module. Using shared variables, you can then easily bind, control and talk to the registers and most of the work is taken away from you.
    If the DL 205 doesn't communicate throught the Modbus protocol, then you would need an OPC server (like the NI Industrial Automation OPC Servers) and the LabVIEW DSC Module. You can then communicate from the LabVIEW DSC Module with the OPC server.
    Message Edited by Adnan Z on 03-15-2007 10:27 AM
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • TestStand Queue with LabVIEW (replacing Batch Dialog)

    Hi,
    I want to replace the default Batch dialog UI with one made in LabVIEW with as little change as possible in the original processmodel (BatchModel.seq).
    To accomplish this, I want to use the "Create Dialog Request Queue" in the process model. I've attached a small example.
    There are 2 issues I'm struggling with:
    1: The process model use a type named "NI_BatchControllerRequest" and name the container "ControllerRequest" in the "ProcessDialogRequests" sub sequence. Can I pass this as a LV Cluster and Variant (see example).?
    2: I can't seem to get the Queue reference in LabVIEW (see LabVIEW example). It works fine if I use a name (string) instead, but the Queue in the process model use Object Reference, and I would like to keep this setting. 
    TestStand version: 4.2.1
    LabVIEW version: 2009
    (I would also like to implement this in TS 4.0 and LV 8.0)
    I'd appreciate any help on this.
    Regards
    Tom Andres Lomsdalen, CTD
    Attachments:
    TS Queue with LabVIEW.zip ‏23 KB

    I am getting the property object from Locals.ModelData.DialogRequestQueue from the sequence context of the top-level thread of the execution.  The problem with GetSyncManager is that it requires the name of an object (for which there is none).  I have the object itself.
    I have also tried to convert the object directly to a queue or a sync manager, but the conversion fails.

  • Omron cp1h plc communicate with labview

    I have some trouble with the communication of omron CP1H PLC and labview 8.20 which is the versionc can be free used only for one month.
    During this test,I download visaruntime4.2 version. I don't know wheather this visaruntime version is suitable for labview 8.20.
    In my test ,I fit the baud rate :9600,date bites :7,parity:even,stop bites:2.0
    when I write @00RR0000000141*\r  to the examle of (basic write and read).vi,then can read a string.but when I write @00RR00000001 and let this string pass throug a fcs.vi made @00RR00000001 become @00RR0000000141*\r,then I can't read anything.I am puzzled.
    And when I imitate the program of the example ,I find that this program can't  opration.
    what is wrong with my test?
    Thank you for your regards!!!!!!!!

    Somewhat duplicate post.
    You should keep your questions to the same topic in the same thread.  You show up on the forum as an NI employee based on the blue bars so I would expect you would know the ettiquette of the forums a bit better than the average new user. 

  • Siemens S7 300 PLC Communicationnd with Labview

    hi;
    I'm trying to connect my PLC s300 with labview in my PC .
    How can I proceed ?
    what is the easiest way to do the communication knowing that I did the simulation using TCP/IP protocol with OPC server.
    I have SIMATIC net station and CPU 315 2-DP
    any suggestion?
    I want to use OPC server with MPI  can I do so ? amI supposed to add materials and what are those materials ?
    Thanking in anticipation.

    sivaramkumar wrote:
    Hi.I am using a CP-343 communications processor
    to connect the S7 300 to industrial ethernet. Now can I commnicate
    directly from Labview to the PLC?We are plan to use ethernet communication (our TCP VI's). 
    Which type of command we need to ues. whether we need to form a MODBUS protocol command.
    Siemens S7 supports all kinds of protocols. Some are built in from start and are usually Siemens specific protocols whose specs are not always easy to come by, others can be purchased and installed on the communication processor seperately such as Modbus. Once you have the Modbus library installed on your S7 you can simply use the Modbus VIs downloadable from the NI site to communicate with your S7 datablocks.
    It is a strict IO access meaning you can read and write IO registers and memory datablocks, but not interfere with the actual programm on the S7 in other ways.
    Using Modbus is simply and hard at the same time, since Modbus uses various datatypes with different address ranges that are mapped in some way to the items in the target hardware. This mapping can be tedious to work out correctly since the documentation of devices is sometimes quite a bit unclear about how exactly that has been done by the manufacturer.
    There are many other Ethernet protocols that are available or can be installed on a S7 such as Profibus Ethernet, EtherCat, Industrial Ethernet, etc. Most of these while technically possible to be implemented on top of the native TCP LabVIEW nodes are rather complicated and therefore anything but trivial to create a VI library for.
    Your best bet really is to either use Modbus or an OPC Server that implements the native access to the PLC.
    Rolf  Kalbermatter
    Message Edited by rolfk on 03-12-2009 09:07 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LabVIEW connection to OMRON C200HS PLC with C200 LK202-V1 RS422 interface

    I have to make a connection with LabVIEW to an OMRON C200HS PLC. The OMRON PLC is equiped with an C00H-LK201-V1 Host Link Unit. On the NI website I saw some information on a Omron OPC Server Suite. What do I have to do to get things working. I have an evaluation version of LabVIEW 8.5 installed on my PC. Our target client uses LabVIEW 7.0. Where can I find the Omron OPC Server Suite is it on the evaluation CD? Is there any documentation about this Omron OPC Server Suite.

    Dear Sir,
    Thank you for your post on our discussion forum.
    You can find information about our OPC server by using the following link; http://sine.ni.com/nips/CD's/view/p/lang/en/nid/4584
    Under the tab 'overview' there is a link to all drivers on this CD. There is also a knowledge base about connecting Labview to a OPC server; http://digital.ni.com/public.nsf/allkb/EA15F53DB6FECCA5862567240064DF09
    Please find also the examples in Labview by using the example finder (search for OPC),
    If you have any questions, please don't hesitate to contact me.
    Martijn S
    National Instruments Netherlands
    Martijn S
    Applications Engineer
    NI Netherlands

  • Using PVCS keyword replacement with LabView

    Has anyone tried using "fixed keyword expansion" with LabView? There is feature that you can use to replace text strings in a binary file but I've not been able to make it work for a VI.

    > Has anyone tried using "fixed keyword expansion" with LabView? There
    > is feature that you can use to replace text strings in a binary file
    > but I've not been able to make it work for a VI.
    I don't think that is going to work. PVCS has no way to know about the
    offsets and size fields located in a given VI. I'm not familiar with
    the option you are asking about, but my suspicion is that it is
    specifically designed for a particular resource format or EXE format.
    If you are looking for a solution to translate strings in a VI, there
    are menu items under Tools>Advanced for Exporting and Importing strings.
    The file format is pretty readable for hand translating, and pretty
    easy to parse if you want to extract the strings to another form,
    translate, an
    d rebuild.
    Greg McKaskle

  • IMAQ PCI-1424 compatibility with Labview 8.6

    Hi, the computer I used for image analysis work had a broken motherboard problem, and I replaced it with a new one. I removed both the harddisks and the IMAQ board from the old computer to the new one and then installed Labview 8.6, but Labview 8.6 is not compatible with the image processing software programmed using labview 5.0, so I uninstalled Labview 8.6 and re-installed Labview 6.0. I still have some problems to run the image analyzer and processing software. After I uninstalled labview software, the computer cannot start successfully, poping up error information as "Check your hard drive to make sure it is properly configured and terminated. Run CHKDSK /F to check for hard drive corruption, and then restart your computer".
    Some basic information about that computer and the image acquisition system (set up in 2000) is as follows:
    Windows 2000 operating system;
    Labview Base Package 5.0;
    advanced IMAQ vision for Labview;
    IMAQ PCI-1408, IMAQ-BNC-1 cable, and Ni-IMAQ for Windows NT/95;
    IMAQ-A2504-1 (1m);
    Sony XC-55 1/3" Interline transfer progressive scan CCD, 659 (H) X 494 (V), C-mount with JB-77, CCXC-12P-02 and DKT503M;
    Computar H1212FI 1/2" C-mount 12mm w/focus and iris (10 inch FOV at 24 Working Dist.);
    Computar VM100 extension tube kit;
    Graftek High Frequency Fluorescent Light 11";
    Is the IMAQ hardware I am using compatible with Labview 6.0 or 8.6? Should I install also drivers for IMAQ hardware when I remove IMAQ board? Any solutions for my problems? Thanks very much in advance!!!
    Solved!
    Go to Solution.

    Hi simpra,
    Here are two links to articles that list compatability between Windows & LabVIEW and LabVIEW & IMAQ.   Why do you say that the image processign software was not compatable with LV 8.6?  Did a message appear?  Or did it just not work?  Also, are you talking about Vision Development Module, by chance?  
    I'm afraid I can't help with hard drive corruption if that's the case here.  Were you able to get past that?
    My suggestion is to upgrade to the most recent version possible.
    I hope this helps!
    Kristen H.

  • Playing sound with labview

    I have saved some sound clips into a matrix. Now I want to play the
    samples back (there are 10 of them) when I press the respective button
    (button 1 for sound 1, button 2 for sound 2, etc). My problem is I can't
    get the sounds to play when I press the button. I've tried a case
    structure that would select the sound, but I also tried to let the sound
    play (flipping a boolean). I can't get it to work. Does someone have a
    VI that I can get ideas, or does someone want to chit-chat?
    *peace*
    DG
    [email protected]
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Hi Dorian,
    I'm working on something similar. Have you looked at the telephone
    dialer example that comes with labview (5.0 and 5.1)? That's a pretty
    decent start.
    Does someone have something better?
    Cid
    In article <87di90$dmv$[email protected]>,
    Dorian Grey wrote:
    >
    >
    > I have saved some sound clips into a matrix. Now I want to play the
    > samples back (there are 10 of them) when I press the respective button
    > (button 1 for sound 1, button 2 for sound 2, etc). My problem is I
    can't
    > get the sounds to play when I press the button. I've tried a case
    > structure that would select the sound, but I also tried to let the
    sound
    > play (flipping a boolean). I can't get it to work. Does someone have a
    > VI that I can get ideas, or does someone w
    ant to chit-chat?
    >
    > *peace*
    >
    > DG
    >
    > [email protected]
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.
    >
    Sent via Deja.com http://www.deja.com/
    Before you buy.

Maybe you are looking for

  • LR4 Import won't import all files from a folder

    Have just installed Windows LR4 trial, told it to Import files from my photo collection in a folder + subfolders on a network attached storage (NAS) unit. Windows Explorer tells me that there are 10,308 files in 408 folders in the main folder, totall

  • How to use Alias name in OData service in SAP HANA

    Hi,      I need to change one column name with alias of another name in odata service definition or odata url running in rest client. I am trying to give alias name with as key in the service definition like sql query. ex: There is one table with col

  • APP --- SOME DOUBTS.....PLZ HELP

    HI GUYS,, I have some doubts in APP. 1. why do we give next payment date in F110 while we are running payment..... 2. can we do partial payment for one line item through running APP.... please help me out.. Thanks in advance Regards, pavan Moderator:

  • To Know more about CRM

    Hello Friends, For the past four years i am an SEIBEL end user, One of my friend suggested me about doing an course in SAP, Already i am designing Business object for my team, Can u tell me how is the global opportunities for SAP CRM, and will my exp

  • Parse SQL query and extract source tables and columns

    Hello, I have a set of SQL queries and I have to extract the source tables and columns from them. For example: Let's imagine that we have two tables CREATE TABLE T1 (col1 number, col2 number, col3 number) CREATE TABLE T2 (col1 number, col2 number, co