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.

Similar Messages

  • Connection Siemens PLC S7 300 via CP1613 PCI card (via SImatic net software) with Lookout scada

    Hi,
    for automation one mill is used Siemens PLC S7 300, CPU 317-2DP. It communicate with PC station where will be installed Lookout scada, via Siemens ethernet card CP1613 A2. Also, on PC station is installed SImatic net software for making link between CP1613 and PLC via industrial ethernet connection. Also, Simatic net software can adjust as OPC server for PC clients. And my question is: how can I connect Lookout with SImatic net software? Is it possible? What is need to adjust or add in Lookout for exchange date between this points: Lookput and S7 300 PLC.
    Thank you in advanced,
    Ognjo

    Use OPCClient object in Lookout. Set up the OPC Server, including the configuration of items, then the OPCClient is able to connect the OPC Server and read or write items. In this way, Lookout just talks to the OPC Server. The communication with the PLC is handled by the OPC Server.
    Ryan Shi
    National Instruments

  • I have siemens plc s7-300 and labview how can i communiction between plc and s7-300

    Hi all good  morning
     iam new user for labview
    now iam working one new projects with labview and s7-300 automation plc  so how can i communication between plc and s7-300 using profibus or ethernet cables can any one help me with example
    thanks
    best regards
    vijaynagar.

    Dear vijaynagar,
    it would be posible to communicate with our Comsoft PROFIBUS products like DF PROFI II, FNL or cRIO PB.
    Please have a look at:
     - DF PROFII:  PCI, PCIe, C-PCI or PC104+ card with LabVIEW drivers: Link
     - FNL: Ethernet/PROFIBUS Gateway: Link
     - cRIO PB, C-Series module for National Instruments FPGA chassis: Link
    The DF PROFI II can be bought directly from Comsoft, the cRIO PB can be bought from National Instruments.
    Regards,
    Sven
    P.S. If you have any questions feel free to contact: [email protected]

  • Profibus DP S7 300 Siemens PLC to communicate to LabView 8.0 without using opc server

    Does anyone know of a way to communicate with Siemens PLC s7 300 PLC and Step 7 software to LabView 8.2.1 without using a opc server. I'm currently using a opc and it works but it is to slow. Looking for a faster way to move my readings for Siemens to Lab View.

    Hi Duck,
    Please refer to the below articles:
    Profibus Overview
    http://zone.ni.com/devzone/cda/tut/p/id/6958#toc1
    Using an Applicom Profibus Board
    http://zone.ni.com/devzone/cda/tut/p/id/4501
    Hopefully these will help you get started.
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • How can I connect LabView with a PLC S7-300?

    I want to use LabView with a PLC S7-300. I think I can use a PC card or RS 232 with a HMI interface.What is the difference? I think I need an OPC server (I don´t know who sell it, National Instruments or Siemens) and I don´t know if I need anything else than LabView6i.
    Thank you.

    Alicia,
    Ben's answer is absolutely correct. "Profibus" is the key word here, and a search of "profibus" from ni.com will provide quite a bit of information. I went ahead and pulled out the main items below. Follow the link below for product catalog info on the plug-in cards and interface software (the OPC Server) required.
    http://sine.ni.com/apps/we/nioc.vp?lang=US&pc=bymn&cid=1315
    For a step-by-step configuration tutorial, please follow this link:
    http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&BA7CB7B0FFBEA12286256A32005B2BEA&cat=103057DD6D5AE678862568630016C98C
    And finally, for examples on how to communicate with this OPC Server, or any other OPC Server for that matter, LabVIEW has some shipping examples. From LabVIEW, goto "Help >
    > Communication >> Datasocket OPC". A good one here is the "Demo OPC Client" program, which uses a software OPC Demo Server that installs with LabVIEW. You could pull that open and work with the LabVIEW programming now before you even have the hardware.
    Regards,
    Greg Caesar
    National Instruments,
    Applications Engineer

  • I would like to use DasyLab for a research project with Siemens PLC

    I would like to use DasyLab with Siemens PLC Simatic S7-300. Which OPC Server shall I use?
    I would like a manual for connecting DasyLab via OPC server to the PLC if it is possible.
    Could I use NI OPC Servers which are compatible with LabView?
    Thank you for your help

    I believe that Siemens has an OPC server that you can purchase.
    KepWare has the KepServer and drivers for Siemens www.kepware.com.
    DASYLab has the Help menu with the instructions for the OPC DA modules. It's straightforward - configure the OPC server with the necessary drivers and connections (tags). Update rates are in milliseconds, for example, 100 ms is typical. You need to know your device and driver, to determine data types.
    Once configured, KepServer has an OPC quick client to allow you to test your settings. 
    Then, add the OPC DA module to DASYLab, connect to the server, and select the tags to read or write. 
    Note that it's simple to set up on a single computer - to set up on multiple computers requires assistance from your It team to correctly configure the DCOM permissions. That's specific to the OPC server.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Direct communication with SIEMENS PLC

    I am trying to establish a direct connection with a SIEMENS S7 PLC. I donot want to use any card or profibus etc. I want to do it through the Serial Port.
    I have used the IA server kit when communicating with SIEMENS S5 for which I used AS511 protocol. I would like to know if there is any such protocol for S7.
    Please Help!!

    Hi.
    I'll try explain it.
    All Simatic S5 PLc's processors (CPU90 ,CPU100) have got serial (current loop converted to RS232) physical inteface as standard.
    You can program PLC's or communicate with its by AS511 protocol.
    S7 Simatics processors (CPU 3xx, CPU4xx) haven't got RS232 interface as standard. RS 232 interface occurs in forms of interface module connected to the rail (slot) and doesn't serve any protocol (simple chracters exchange).
    You can program PLC, observe/modify I/O, variables, etc. only by standard RS485 interface using protocols MPI or PROFIBUS (PPI/MPI for Simatic S7-2xx CPU's).
    You can try exchange data between Labview and S7 PLC by serial in characters form, but it is very difficult and inconvenient (you have to w
    rite own driver for Labview and program for S7).
    Another solutions:
    1.PROFIBUS card for PC with drivers for Labview (I don't know if they exist)
    2.connection thru OPC server (PLC->PC by PROFIBUS card->OPC server->Labview by Datasocket)
    I think second solution is more comfortable.
    See also:
    Connecting LabVIEW to an OPC Server through a DataSocket Connection
    Regards.
    Romek.

  • 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!!

  • A problem that how to communicate between PLC S7-300 and IA Server

    The PC running the OPC server is connected to PLC S7-300 via the RS232 serial port and the Siemens RS232-MPI adapter (product no. 6ES7972-0CA23-0XA0).
    But I encounter such problem when I create an object(S7_HMI)in IA Server:
    Step 1:
    links:http://www.simwe.com/forum/upload/2005/04/30/87472755.jpg
    Error message:
    Protocol error:Unexpected response from PLC
    links:http://www.simwe.com/forum/upload/2005/04/30/48471774.jpg
    When I communicate between S7-300 and PC by LOOKOUT 5.1,it works well.
    Could someone give me help? Thanks a lot.帖子被qzxin在05-08-2005 04:54 AM时编辑过了
    帖子被qzxin在05-08-2005 04:56 AM时编辑过了

    First of all, Thank You very much for Your answer.
    I'm using the TS Adapter that make the conversion from MPI to the serial bus.
    I have made yet control panels to supervisor systems with Omron PLCs and I correctly use the DataSocket with the DSC module: with Omron PLCs I've never had any problems of communications. The problems is now with Siemens. For the communication between control panel and PLC I have to use the internal modem of my computer and the OPC is S7_MPI of IA opc Server.I wondering if this OPC is ok for modem communications (inside there is a form to insert the phone number of the remote station) or if every kind of modem are compatible with S7-300 modem it has inside.I've noted that my computer modem don't do the phone number when i run the front panel!In running mode, if I take a look to the Block Diagram and I click the "Highlight Execution" button I don't see any animation on the code generated by the HMI Wizard to connect the only one tag to the DataSocket URL.
    Have You any other suggestions to solve the problem?
    Massimo Lazari

  • Writing data from labview to excel

    Hi, currently I'm trying to get an array of data from labview into a specific excel file everytime.
    The attachment i have is a program creating a new worksheet everytime it runs. I couldn't figure out how to make it work. Anyone can help me? 
    Attachments:
    Excel Copy Example.vi ‏19 KB

    So what is the specific problem? What is it doing that is incorrect? If the problem is that it is creating a new file every time its because the first subVI is opening a spreadsheet template file. Or at least I think it is since all of the subvis are missing...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Can a CIN that is in an infinite loop send data to labview without exiting?

    I have a C program that continuously queries a motor controller.  Right now that program is in a labview vi as a CIN.  The problem is that the CIN must exit before reporting the controller response to the labview vi.  This means I have to constantly run the CIN which opens, queries and closes the connection each time.  Is it possible to run the loop in the CIN itself so that the response buffer from the controller can be sent to the labview vi without exiting.  Are there variables types that can be passed from the CIN before completing the CIN? 

    The controller is a Galil DMC4080 motor controller.  I am running Labview under Mandrake Linux.  I can connect and send commands to the controller using a C program.  I modified the C program as a CIN to pass the controller response to the Labview front panel.  Galil has a library of functions used for the controller commands.  LStrPrintf is the command I use to write the data to labview.  Currently I just run this CIN without a while loop and loop it in labview but I recieve an  error message  after  a 1000 executions, see: http://forums.ni.com/ni/board/message?board.id=170&message.id=270220
    If interested here is the current code I am using with the infinite loop. 
    #include "extcode.h"
    #include "dmclnx.h"
    #include "hosttype.h"
    MgErr CINProperties(int32 prop, void *data);
    MgErr CINRun(LStrHandle IPAddress, LStrHandle Command, LStrHandle Response,
            float64 *ErrorCode);
    MgErr CINProperties(int32 prop, void *data)
        switch (prop) {
            case kCINIsReentrant:
                *(Bool32 *)data = TRUE;
                return noErr;
        return mgNotSupported;
    MgErr CINRun(LStrHandle IPAddress, LStrHandle Command, LStrHandle Response,
            float64 *ErrorCode)
       float          rc = 0;          /* Return code */
       char           buffer[32] = ""; /* Response from controller */
       char           ip[20]=""; /* IP address of controller*/
       char           cmd[20]=""; /* Command to send to controller*/
       HANDLEDMC      hdmc = -1;       /* Handle to controller */
       CONTROLLERINFO controllerinfo;  /* Controller information structure */
       memset(&controllerinfo, '\0', sizeof(controllerinfo));
       controllerinfo.cbSize = sizeof(controllerinfo);
       controllerinfo.usModelID = MODEL_2100;
       controllerinfo.fControllerType = ControllerTypeEthernet;
       controllerinfo.ulTimeout = 1000;
       controllerinfo.ulDelay = 5;
       SPrintf(ip,"%H",IPAddress);
       strcpy(controllerinfo.hardwareinfo.socketinfo.szIPAddress, ip);
       controllerinfo.hardwareinfo.socketinfo.fProtocol = EthernetProtocolTCP;
       DMCInitLibrary();
       /* Open the connection */
       rc = DMCOpen(&controllerinfo, &hdmc);
       if (rc)
           *ErrorCode = rc;
           return noErr;
          while (1)
              SPrintf(cmd,"%H",Command);
              rc = DMCCommand(hdmc, cmd, buffer, sizeof(buffer));
              if (rc)
                  *ErrorCode = rc;
                  return noErr;
                  break;
              else
                  LStrPrintf(Response,buffer);
       rc = DMCClose(hdmc);
       if (rc)
          *ErrorCode = rc;
          return noErr;
       *ErrorCode = rc;
       return noErr;

  • Converting formatted excel date to useful data in labview

    I am using the report generation toolkit for Office, and reading an excel file.  All the data comes back fine, except for the date column.  In excel the column is formatted as a date (ex. 5/5/05) but when it comes through in labview it ends up being something like "37740", it's the same effect if you switch the format in excel to general, the date changes to a number.  Is there anyway to leave the formatting the way it is in Excel and still bring into labview a useful date, or would I have to format the excel file differently?
    Thanks.

    I think I have it figured out using the Excel serial number date.  I attached a vi of something I threw together quickly to convert excel date serial numbers to labview date info.  I'm not 100% if it works all the time, but the few examples I tried worked fine.
    Attachments:
    Excel date to labview date.vi ‏53 KB

  • Plot exel data in labview dynamicall​y

    I would like to plot My Excel data in labview on XY graph, dynamically every 5 seconds.
    i heard that we have to make use of activex.
    Attachments:
    int_ana_110101.xlsx ‏14 KB

    Hi,
    Yes, you can use ActiveX to do this.
    Search "excel" on LabVIEW examples and forums, and you will find a lot of examples to male what you want.
    Best Regards,
    V-F

  • Ideas about storage of spatial data in Labview?

    hello,
    by working on a project i have met such a problem:
    how can i read the data from the spatial database named PostGIS and in which format can i store the data in Labview?

    So you have a remote database (probably somewhere on the file system)...
    This database is a PostgreSQL database.
    Now you want this data to be available on your local machine. The most
    effective way is to simply copy the database. If you do that, you can use
    all code for the local and the remote database. Simply connect to one of
    them, and the queries will succeed. MySQL has functions to create copies of
    the database, and my guess is PostgreSQL has similar functions. So a command
    line call to the database is probably all that is needed to make the copy.
    If you (for some reason I can't imagine) want to read all information from
    the database and store it in a text file, I can't give you all the details.
    I'm not a PostGIS expert. I have no idea what sort of things are stored in
    the database or how it is organized. Going by the manual, it sure looks
    complicated.
    In general, you need to do a query for each table (SELECT * FROM table).
    1) do a query
    2) store the query's result (it is a 2D array, so convert it to a
    spreadsheet string)
    3) repeat these steps, until you queried all tables.
    If you do this, you have all the information in the database.
    Regards,
    Wiebe.

  • Import excel data for labview control

    I'm having some trouble importing excel data into labview. Goals: Input valve flow rates into excel, use those values to control DAQ, have user balance odor with excel defined flow rate, export balance data to excel. Here is what I have so far. Any help is greatly appreciated.
    Attachments:
    Intensity.vi ‏162 KB

    Where in the code are you reading from the Excel Spreadsheet? What VIs are you using? What are the problems are you experiencing (errors, unexpected values, etc.)?
    There is a Read From Spreadsheet File.vi in LabVIEW. LabVIEW uses ActiveX controls for .xlsx files, so saving the spreadsheet as a CSV file may be better for this VI. Try it out! See what happens.
    Here some more info on reading from spreadsheets:
    LabVIEW Manual: Read From Spreadsheet File VI
    KnowledgeBase article: How Can I Import Spreadsheet Files into LabVIEW using the .csv Format?
    Taylor B.
    National Instruments

Maybe you are looking for

  • I'm trying to make a poster and invert part of it but the black is coming out as a beige colour instead of white.

    I can't figure out why this is happening - I've remade this document from scratch twice and each time it did this. I made a new adjustment layer with an invert mask on it, and instead of the black coming out as white, it came out as this beige colour

  • Query to get account balance

    Hi everyone. I wrote a query to get the balance for an internal bank account below: select cba.bank_account_id, cba.bank_account_name, cba.bank_account_num, cbau.bank_acct_use_id, (glb.period_net_dr - glb.period_net_cr) begin_balance, hr_general.deco

  • WBS Element Numbering

    Dear Gurus, In my system, I am creating a project definition with a certain number say vh/09/0015 as per defined coding logic Under this, I can create WBS elements with subsequent numbers as vh/09/0015/01, /02 and so on.... But I am also able to crea

  • Columns in structured framemaker

    I was wondering if there is a way to set up columns in a structured framemaker document without messing up the tagging of the document? Thanks. I tried to make a text box and then tried to tag, but it did not work. Ashley

  • Links List iView: Hiding the "Organize Entries" Command

    Hi all! I am using the Links List iView to display some corporate links. This iView shows an "Organize Entries" control to update the list by default. However, in my requirement, i need to hide this command from the end user. I have taken a look on t