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? 

Similar Messages

  • Interfacing LabVIEW with SIEMENS s7-300 PLC

    Hi all,
    Im using LabVIEW 8.6 and DSC module I want to interface S7-300 SIEMENS PLC with LabVIEW. I've gone through the turorial on the NI site " Connect LabVIEW to any PLC". By following the tutorial when I am trying to create I/O server in the registred OPC servers window there is nothing what would be the reason. Also there is no specific information available about the hardware connection etc. Kindly help me through this or suggest some tutorial links. What about the PROFIBUS and MPI. I know the information i am giving is not specific and focused but I've tried to tell all of you to atleast understand what I want to do. Hope you people help. THANKS.
    Naqqash

    Hi,
    Lookout is our legacy OPC software that was phased out by the DSC module. You can read about both here: What is NI Lookout? and What is DSC?
    You can find a great introductory DSC tutorial here: Getting Started with the LabVIEW Datalogging and Supervisory Control Module. A couple other places to get started: NI Module Training (look for DSC)  and Connect LabVIEW to Any PLC Using OPC Webcast
    As for simulating your hardware, if you have a 3rd party simulator that will imitate your hardware, you might be able to fool DSC into thinking that there is actual hardware connected, but DSC does not include simulating capabilities itself. 
    Cheers, 
    Misha

  • 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

  • Connecting cRIO with Siemens S7-300 using OPC UA

    Dear all,
    I am looking for an example program (labview and siemens S7) to create a connection between a cRIO and a Siemens S7-300 PLC.
    If an example program is not possible, some tips and tricks to set this up are also helpfull.
    thanks

    Hello Poema,
    I am aware of the different OPC Standards that exist and have worked both with OPC DA and OPC UA.
    The previous month I was even working on a demo that implements an OPC UA Server that appropriately taht automatically links the Shared Variable Engine variables to published items with appropriate quality statuses (eg. Open thermocouple detection.
    I would suggest you first create an OPC UA server that doesn't require certificates and that we first focus on making that use case work.
    This will be easier and afterwards you'll only have to add the certificates.
    Can you tell me how you are at this moment seeing/determining that the connection has been made?
    Do you have some more details on the "internal siemens driver" you are using?
    Personally I'm not so familiar with Siemens OPCs (have only used them via OPC DA).
    Therefore, I would like to ask you if you can refer me to a reference document concerning the "internal siemens driver" or configuration manager you are using (or can use) at your side.
    I'm actually looking for a document similar to this one for another manufacturer: 
    http://www.kepware.com/Support_Center/SupportDocuments/Help/opcuacm.pdf
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • HT3500 how can i connect my macbook pro wirelessly to an hp printer with a asus rt 66acr router?

    how can i connect my macbook pro wirelessly to an hp printer with a asus rt 66acr router?

    Firstly, the HP printer must be connected to the ASUS' network. Then, simply connect your MBP to the network and your printer should be addable in Print & Fax in System Preferences.

  • I can not Connect my I Phone and my I Pod nano with my I Book G4

    I can not Connect my I Phone and my I Pod nano with my I Book G4. My iBook G4 is still runing on Mac OSX 10.4.11 so I can´t load itunes 10 and I can not Connect my I-Phone and my IPod to my laptop.
    The Question is: Way dose Apple dose not suupport their own products.
    Acctualy it smels a bit like designed obsolescence

    This is tru. I just don´t understand way it is possible to connect an IPhone with a windows PC runing on Windows XP but not with my Apple IBook G4.
    All I wont is to conect my IPhone and my IPod with my laptop. In oder to do that I have to buy a opperating system for over a 100 euro (additionaly: Leopard is no more in stoke and Lion dose not run on my laptop) as well as a more RAM for more than 50 Euro.
    It can´t be that hard to provide an access over an older version of Itunes. It seems like apple wont me to buy a new laptop.

  • Its my ipad 3 when i open appstore it says can not connect to app store and the same thing happens with itunes store

    its my ipad 3 when i open appstore it says can not connect to app store and the same thing happens with itunes store?

    1. Sign out of Apple ID and sign in again
    2. Settings>General>Date & Time>Set Automatically>On

  • How can I write to a Siemens S7-300 PLC tag from OPC Server.vbai page by using a Knob object ?

    I am using NI OPC Server and I can read Siemens S7-300 PLC tags such as thermocouple values from the PLC. Additonally I can write manually a constant value to that tag by selecting it in the NI Distributed System Manager. And I can read the written value from NI Distributed System Manager or from NI OPC Server. But I can not write any value to the S7300 PLC tags such as by using a knob object at the NI Vision Builder AI Inpection (.vbai) page.
    Any help is welcomed. Thanks in advance.
    Attachments:
    manual_writing_to_plc.png ‏298 KB

    The tutorial at the following location explains how to use Vision Builder AI as a OPC server.
    https://decibel.ni.com/content/docs/DOC-18647
    http://www.ni.com/white-paper/13574/en
    To allow VBAI to connect to an OPC Server (i.e. act as an OPC client), you need to purchase and install the DSC Run-time System.
    Once installed, you can create an OPC I/O client using the Distributed System Manager, create variables bound to OPC tags, then create VBAI network variables that are bound to these variables.
    Another possible technical solution to connect to OPC Servers supporting Data Access 2.0 is to use the datasocket API in a Run LabVIEW step.
    http://forums.ni.com/t5/Machine-Vision/Read-and-Write-with-OPC-through-NI-Vision/m-p/2048278/highlig...
    Hope this helps.
    -Christophe

  • Connecting a Siemens S7-300 PLC to NI OPC Server

    As a part of the final year Bachelor Thesis project I and two others are involved with, I have been tasked with setting up an HMI/SCADA system to control level and flow in several water storage tanks. This is to be done locally via a "Operator Panel" and also remotely over the Internet via webbrowser. These storage tanks and control system is placed on a wheeled demonstration model so it can be used in classrooms and auditoriums. As such, I have a Siemens S7-300 PLC and the latest edition of LabVIEW (2009 Professional Ed.) available to me. In order to create a HMI system, we will also acquire the NI DSC module as it should have everything we need (NI OCP is included?).
    Since this is a bachelor project and the school is basically paying for everything, we are on a rather strict budget. This means that we currently haven't settled on a solution for the "Operator Panel" since this would be dependent on how the PLC and panel interfaces. What we would like to do for simplicity sake is to use commercial laptop computer with touchscreen capability thus having a low cost "all-in-one" solution, both for local input & control and web publishing capability. Now, most computers today doesn't have serial comports anymore, but rather USB ports.
    On the OPC server webpage under the OPC Device Connectivity heading, it is specifically stated "Siemens HMI Adapter for S7-300/400 via Serial with HMI adapter". I assume this refers to the following Siemens product: https://support.automation.siemens.com/WW/llisapi.​dll/csfetch/8774263/hmi_adapter_x.pdf?func=cslib.c​... (6ES7 972-0CA1X-0XA0).
    Does this mean that the OCP server can only use a Serial connection via the HMI adapter for the S7-300 directly? Would it be possible to use a driverless Serial to USB adapter with the HMI adapter, or for example the Siemens CP5711 MPI to USB adapter? If it is not possible to use a USB based solution, We would have to use an older desktop PC with an serial comport or an additional PCI card and that is something we would like to avoid.
    Any help on this matter would be highly appreciated.
    -- DanJack, NUC Norway
    Solved!
    Go to Solution.

    now this is a problem the PLC S7300 does not support some functions of communication when you want to make a simulation may not be accessible from OPC Server, this by PROFIBUS Siemens USB / MPI + PLC S7300/400 protocol adapter cord
    Atom
    Certified LabVIEW Associate Developer

  • How to connect siemens S7-300 PLC

    Dear Sir,
    I am using labview 8.2 and i want to connect siemens S7-300 PLC. Please suggest me how can i connect it with labview 8.2?

    Ran across this similar message which points to this KB article which you may want to look at.

  • Siemens S7 300 PLC and Labview Communicat​ion

    Hi,
    I am attempting to communicate between Labview 7 and a Siemens S7 300 (CPU 314) PLC. I would prefer the communication to be over Ethernet or RS 232. Could you help me out with this implementation and let me know what additional hardware/software I may require for doing this.
    Thanks,
    Shameek

    Shameek wrote:
    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?
    I still havent figured out where the OPC server comes in and whether it is an option or a necessity.
    Using OPC is an option.
    Siemens has an the add-on ($$) library/FB  that includes code for enabling Modbus communication with S7 300 CPUs. I've never used it, but info is here.
    <snip>
    Our solution
    With its MODBUS function block (FB) and the CP343-1 and CP443-1 SIMATIC S7 communications processors, Siemens can supply a proven solution for the integration of SIMATIC automation systems into other system landscapes. This function block enables data to be exchanged easily between MODBUS-compatible devices from different manufacturers and SIMATIC S7 stations from S7-300 and S7-400 systems.
    </snip>
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • How can i connect labview with ge fanuc versamax plc via VISA

    I, ve a ge fanuc versamax plc. I am building a data logger in labview. There are two current trasmitters. I dont have any other data acquisition devices other than PLC. How can i access data acquired by PLC and how can i connect it with labview using VISA?

    KPAC wrote:
    I've a ge fanuc versamax plc. I am building a data logger in labview. There are two current trasmitters. I dont have any other data acquisition devices other than PLC. How can i access data acquired by PLC and how can i connect it with labview using VISA?
    There may be variations between models, but I believe all VersaMax support Modbus and GE's own SNP/SNPX serial communication protocols.
    For Modbus communication protocol:
    The link here is a good outline of the different options available. If you really want to limit yourself to the option of using VISA, then it's Items 1. and 2. in Khalid's list that are applicable. You might have to modify some of the free LabVIEW Modbus VIs to suit you needs, but they are useful as examples if you have little experience programming a serial driver.
    For SNP/SNPX:
    Your options are similar to those for Modbus, except that I'm not aware of any existing free set of LabVIEW VI's for it. With a web search you might find something (I almost programmed one 10 years ago). The SNP/SNPX protocol is/was well documented in a GE FANUC manual which you could get from them (in 1993 it was GFK-052B "Series 90 PLC Serial Communications User's Manual") so you still can write your own set of VIs.
    If you don't really need to limit yourself to using VISA, there are ActiveX and OPC drivers available which use SNP/SNPX that you can find with a web search. And you can see here that NI's Industrial Automation OPC Server's do include an object for GE Fanuc Versamax via Ethernet. This would not be the cheapest in terms of capital cost though.
    Good luck.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • I can't connect to the itunes store and have some problems with other websites. Some websites load OK. I had the same problem on my iPad and changed the DNS, but don't want to do this on my iMac, anyway, surely I should have my router's DNS?

    I can't connect to the iTunes store from my iMac and have problems loading a number of other websites, however some websites load perfectly well. I have had the iTunes store issue on my iPad and resolved it by changing the DNS but surely I should use the DNS for my router. I don't really want to change it for the iMac as I access secure sites with it to internet shop.
    Any ideas, I was going to try loading Chrome but can't get it without going through the iTunes store. Anyway, that is treating the symprom not the cause.

    Adding Open DNS codes to your Network Preferences, should give good results in terms of speed-up as well as added security, (including anti-phishing and redirects) (Full information about Open DNS is here: http://www.opendns.com/home/nobloat ) and further independent information can be read here:
    http://reviews.cnet.com/8301-13727_7-57338784-263/free-dnscrypt-tool-enhances-ma c-web-security/?tag=mncol;txt
    and here:
    http://www.macworld.com/article/1146064/troubleshootdns.html?t=234
    Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu, and in the box marked 'DNS Servers' add the following two numbers:
    208.67.222.222
    208.67.220.220
    (You can also enter them if you click on Advanced and then DNS)
    Sometimes reversing the order of the DNS numbers can be beneficial in cases where there is a long delay before web pages start to load, and then suddenly load at normal speed:
    http://support.apple.com/kb/TS2296

  • How can i connect LabView to a PLC or Profibus without using OPC?

    I can access data from the PLC or through the Profibus using OPC. Unfortunately is this not fast enough since I need a faster sampling rate. Are there any faster ways to access the PLC data? I’m now using Siemens S7-300 and CP5613 with the driver S7-5613.

    Hi Boris.
    This tip can be very helpful to me, tanks!
    Best regards, Martin

  • Can't connect to the App store, iTunes and software update with MBP 13

    Hi,
    I have a MBP 13 from 2011 and I have a really annoying problem with connecting it to the App Store, iTunes and the software update. It claims that I have no internet/wifi/network, although I clearly have it since I am watching series through Netflix and are on Facebook at the same time. So naturally I started to look in to the firewall and it works fine, since it does not and has never blocked any other Apple products/programs. So I continued looking everywhere in the computer, found nothing. And finally I decided to re-install the MBP and I still cannot connect to neither of these programs.
    I feel that it is really unnecessary to hand the MBP in for service for a problem like this, so I was wondering if there is someone out there who has a solution to this problem? Beacue , as I mentioned earlier, my internet/wifi is working perfectly with everything else, so I really do not understand why App Store, iTunes and the software update does not work.

    Hello there, Victoria Nisoho.
    The following Knowledge Base article should be of use for your issue:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

Maybe you are looking for

  • Revision: How to make tab control stop on a specific page upon pressing Pause?

    I have a scrolling tab which scrolls through the tab pages until the user presses Pause. That works. Now I want the tab control to stop on a specific page once the user presses Pause. How to do this?

  • Report Painter including Drilldown reports

    Hi Friends,              what is the meaning of drilldown report

  • Sales BOM display in SO

    Dear All, We have a BOM (sales type). Then when I create a sales order, I can see the BOM and its components as well. How can we disable the components and only display the BOM itself? In BOM, I already check the checkbox 'hide BOM components in prin

  • Mac OS X Leopard hates my domain address (apparently)

    I've had my Mac since December and up until a few weeks ago it had no problem going to any of the websites I own. Problem now is that it refuses to go to them if I use my actual domain address. The sites are blogs that I bought domain names for, but

  • How to delete secondary indexes

    Hello Guru's. I want to delete secondary indexes for my copa cube ZCOPA_CO1.where to see the secondary indexes for this cube..please give me step by step for deleting secondary indexes as well as creating secondary indexes .Its really urgent please g