Siemens SPS5 and LabVIEW over OPC

Hello everyone,
for a new project i have to down and upload some data between a PC running
LabView and a Siemens SPS5 PLC controller.
Im new to this kind of application so it would be nice to hear in which way
i should try to do that.
A friend told me i should take a look at OPC (Ole for Production Controll).
Does anyone know where i can find some infos about it?
I would be very interested in some example Vi's and which hardware i need
for this application.
Tom
ROTEX GmbH
Langwiesenstr.10
74363 Gueglingen
Germany
Fax: 0049 (0)7135 103 200 - Tel: 0049 (0) 7135 103 287

Consider posting your question in natinst.public.bridgeview.general by visiting http://zone.ni.com/dev_exchange/newsgroups.htm. The people who monitor that group will be able to respond to your post. Thanks for your cooperation.

Similar Messages

  • Interfacing PLC siemens S7_300 and LabVIEW DSC using siemens OPC server

    Does anyone already interface Siemens PLC S7_315-2-DP with LabVIEW DSC using Siemens OPC server?
    Is that a good solution? Are there any hidden problems?

    The use of an OPC Server is the way to go when dealing with LV. If you already have Siemens OPC Server then use that. Otherwise, NI has a product called IA Severs/Lookout Protocol Drivers (LPD), which has a large selection of drivers for PLC's. After configuring the driver, LPD is the OPC Server for the device.

  • Data transfer fro Siemens VFDs and labview software

    How can i do data transfer from Siemens VFDs which is having profibus port to labview software?

    Start looking here.
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/global/lang/en/pg/1/q/profibus/

  • Set up and control "counter" in S7-300 by OPC and LabVIEW

    Hi everyone,
    I am using a PLC S7-300 and OPC Server for my projects. I have a problem: S7-300 has a counter module which count digital signal. I only can set it up by using SIMATIC STEP 7. Can I set up counter module by only using OPC Server and LabVIEW
    does anyone have any solution or any idea for my problem?
    could you please help me...
    thank you
    Solved!
    Go to Solution.

    Hi Echion,
    NI-DAQ(mx) is used just for NI-Hardware: no you can't use it.
    To program the PLC you need to use the right programming environment. For Siemens S7 you need to use Simatic (or maybe some other 3rd party software supporting IEC61131). Point.
    The OPC server is used just for data exchange. It's no programming interface!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Controlling a Siemens S120 drive from LabVIEW over Profinet

    Does anyone have any experience using LabVIEW to control a Siemens Sinamatic S120 drive over Profinet.  Siemens has a very basic application note which describes using a DLL that they provide to interface with the S120 drive.  It is really unclear if all the drive parameters can be controlled using this interface.
    https://support.industry.siemens.com/cs/attachments/99684399/99684399_SINAMICS_G_S_Ansteuerung_mit_L...
    https://support.industry.siemens.com/cs/document/99684399/sinamics-gs-profinet-anbindung-an-labview?...
    Does anyone have any experience using LabView to control a Siemens S120 drive?  How difficult is it?

    Hello ipbrown,
    This looks to be a DLL created by Siemens to be interfaced with LabVIEW.  Unfortunately, we will have very limited knowledge of what capabilities this DLL provides.  You may need to contact Siemens.  Most of the experience I have with PROFINET and LabVIEW involve our PROFINET C Series Module, that can be used to transform a cRIO into a PROFINET slave.

  • Useful,important features and advantages of labVIEW over Dasylab

    what are the advantages, applications and attractive features of labVIEW over Dasylab? can we say that labVIEW is superior to dasylab in any aspect?

    The first chapter in the DASYLab to LabVIEW Migration Guide can give you some ideas.
    LabVIEW Champion . Do more with less code and in less time .

  • Is it possible to connect labview with opc server without using NI dsc Module ?

    Hellow sir,
    I want to get data over labview using OPC server and i am not using any dsc module vi (Alams, print, GUI, security).I am using share variable to get data from OPC server to labview. Now i want to deploy that application to third party computer. (where there is no NI software is installed)
    i am using labview 8.6 and 2009.
    Many ? like....
    1) what is the procedure to install that application in third party computer.
    2) Do i need to use my dsc run time licence..?
    waiting for your valuable feed back.
    Thank you.
    CLAD
    Labiew programmer

    Hi, When you connect to NI OPC Server by creating New I/O Server > OPC Client. You will see all registered OPC Servers running on local machine or remote machine. I used KepServerEx from Kepware and LSIS OPC Server from LG with no problems. Just make sure that the OPC server is running.
    Hope it helps
    Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
    Assistant Lecturer
    Mechatronics Department
    Faculty of Engineering
    Misr University for Science & Technology
    Attachments:
    LG.png ‏57 KB

  • Create and configure an OPC IO server programatically in LV 2010

    Can I create and configure an OPC IP server programatically using LabVIEW 2010?  Currently I create a process (using code) then wire the process name to the LV express VI to create an IO server that I have manually set the attributes for.  Then I can create my shared variables and bind them to the OPC items.  I would like to eliminate the manual configuration of the attributes to give my VI greater flexibility.  Is this possible in LabVIEW 2010?
    Thanks in advance,
    AJL

    Hi mani.siet.eng,
    You can write data to OPC tags using LabVIEW. There are multiple ways to do this such as binding shared variables (which you can create programmatically) to the tags or by using DataSockets. Information on how to use OPC in LabVIEW can be found in this KnowledgeBase article.
    If you have any more specific questions, I would recommend creating a new thread since the last activity on this one was over three years ago.
    Best Regards,
    Matthew B.
    Applications Engineer
    National Instruments

  • Convert PXIe-8135 controller to dual-boot Windows 7 and LabVIEW RT

    Hello. I have a PXIe-8135 controller that originally was just running Windows 7. We are trying to convert it to a dual boot system to also run LabView Real Time. (There is host computer that will run LabVIEW 2014 with the RT module, and the controller will become a target).
    I have created a FAT32 partition on the hard drive of the controller. Now, I’m trying to install the real-time OS with a USB flash drive made using the MAX utility, but I cannot boot using the USB drive for some reason. I keep getting the message “waiting for USB device to initialize”.  
    In BIOS, legacy USB support is [ENABLED] and boot configuration is set to [Windows/other OS]. I’ve tried removing the drive, waiting, and reinserting. I’ve tried two different USB drives (both 8 GB, different brands).
    I’m not sure what to do next. Apart from the USB boot issue, is converting the PXIe-8135 even possible?  I read about SATA/PATA hard drive issues with older controllers, but I don't know about this one.
    Thanks, in advance, for your help!
    -Jeff
    Solved!
    Go to Solution.

    Per Siana's licensing comment, more information on purchasing a deployment license if you do not have one for this target can be found here.
    The RT Utility USB key is used to set up non-NI hardware with LabVIEW Real-Time, but you should not need it in this situation to convert to dual-boot (*). Try this:
    1. Since you already have a FAT32 partion created, go into BIOS setup and change to booting 'LabVIEW RT'.
    2. The system will attempt to boot LabVIEW RT, see that the partition is empty, and switch over into LabVIEW RT Safe Mode. (this safemode is built into the firmware, which is why you don't really need the USB key).
    3. The system should come up correctly and be detectable from MAX, and you can proceed with installing software.
    4. To switch back to Windows, go back to BIOS setup and choose 'Windows/Other OS'
    (*) One area where the USB key is helpful on a dual boot system is with formatting the disk. If you want to convert from FAT32 to Reliance on the partition designated for LabVIEW RT, the USB key lets you attempt to format a single parition and leave the rest of the disk untouched. If you format from MAX, the standard behavior is to format only one RT partition if found, but if not found, it will format the entire disk.  Formatting from MAX on a dual boot system is consequently riskier and you could lose your Windows partition.

  • Communication problem with FP-2000 and Labview 7.1

    I am using the FP-2000, DO-403 and TC-120 modules with Labview 7.1, being run on a host computer via an ethernet connection.  The setup has operated flawlessly for ~2 years; recently, I have noticed that while a VI is running on my PC, connection to the FP module ceases.  There is no pop-up "connection error" in my VI, and the all the power and status LEDs on the FP modules are normal.  I can still interact with the VI on the front panel while it is running, but nothing is passed to the FP module.  I have tried communicating with MAX when this occurs and receive a "no connection" message.  Is there a simple solution here, such as rebooting the FP module?  Or is it time to invest in new hardware?
    Justin

    I am having a very similar problem with my cFP-1804 and Labview 7.0.  I have no problem initiating communication over ethernet, and the vi will run perfectly for hours or even days.  Inevitably, however, at some point there is no longer communication with the cFP-1804.  Data is no longer being passed either to or from the cFP-1804, and MAX will show that the device is not connected.  I also will not see any pop-up error message that says the connection has been lost, either from Windows or from Labview.  The vi will just continue to run as if nothing has happened.  Turning the power to the cFP-1804 off and then on will always resolve this problem.  Since I am using the cFP-1804 primarily for data logging, however, this behavior is particularly problematic as the system will record nothing but zeroes until I discover that the communication has been severed and perform the manual power cycling.
    I have been unable thus far to determine the cause of this problem.  Any help would be greatly appreciated.
    Thanks,
    Derrick

  • Run-time engine problem in Labview 2009 and Labview 2010

    I have a problem with Labview 2009 and Labview 2010. I updated my Labview 2009 into 2010. But it turned out to be a trial one, because i did not have the serial number. So I uninstalled the Labview 2010. however, the funny stuff came over. I cannot use my Labview 2009. So i uninstalled Labview 2009 again. But eventually, I could not reinstall Labview 2009. Every time i had a runtime error and i could not proceed with the installation. in addition, any installation  related to Labview is not permitted and the same error came up every time. it is very annoying.
    So, What is the deal?
    I attached the error here. Any comments or advice are welcomed and appreciated.
    Attachments:
    error.docx ‏2305 KB

    By chance is this machine's language set to any non-English locale?  You would check the locale setting by:
    Opening Control Panel.
    Opening "Regional and Language Options".
    Looking Under "Regional Options" >> "Standards and Formats"
    If it is set to something besides English, trying setting it to English and please report back what locale it was set to (or if this even solves the problem).
    Regards,
    - WesW

  • MATLAB and LabVIEW Communication Optimal Performance

    I have tried my own code,  searched through forums and examples to try and figure out best method to communicate between LabVIEW and MATLAB.  Most of the information I found was over a year old and I was wondering if there was a better current solution.  My goal is to work in LabVIEW to collect the data, process in MATLAB and return the results to LabVIEW.  I have encountered some difficulty in my search and before I delve even further in to one in particular, I was wondering if anybody had an optimal solution with this communication protocol or solutions to my errors encountered thus far.
    I have looked at the following methods.
    1)TCP/IP and a very good example found here: http://www.mathworks.com/matlabcentral/fileexchange/11802-matlab-tcp-ip-code-example
    When I try to adjust even the example and communicate for my own purposes I get the following errors
    Error 63 if MATLAB server not running
    Error 66 occurs if the TCP/IP connection is closed by the peer. In this case, Windows notices that no data is returned within a reasonable time, and it closes the TCP/IP connection. When LabVIEW attempts to communicate after Windows closes the connection, error 66 is the result. 
    However, the example itself works perfectly and does not get these errors
    2)Math Script Node, works but the post below states that MATLAB Node is faster.
    "computing fft of a 1024x1024 matrix ten times (attached code). Result is that Matlab node version takes 0.5s versus 1.6s for Mathscript node version."
     http://forums.ni.com/t5/LabVIEW/Why-are-mathscript-performances-much-below-matlab-s/m-p/2369760/high...
    3) MATLAB Node, which states it uses ActiveX Technology seemingly works well, but loses time for data transfer.
    4) Trying to use the ActiveX functions or if there is other Automation potential.
    5)Other solutions that I have not found that might be better suited.
    Thank you for any help or suggestions in advance. 

    Barp and Mikeporter,
    Thank you for your assistance:
    The reason I need to do the processing in matlab is as you mentioned the processing script is coming from another person who has already developed it in matlab.  I almost have to treat it as a black box.
    The TCP/IP method was interesting is that none of the errors show up when I run the example but if I try to modify it in a new VI I get the errors.
    I have attached a simple program that just has a basic butterworth low pass filter I am trying to confirm if it works in the Matlab node.  I have done other simple codes which work, and this one does not seem the implement  the appropriate filter.  The LabVIEW signal and LabVIEW filter seem to work at the default values (but not if I change sampling rate) for the Simulation of signal, Matlab signal and Matlab filter work, but the Labview signal processed in Matlab is not working...
    Ideally it would be bandpass filtered (0.1-30) at sampling rate of 256 Hz and further processed from there, but I can't even seem to get low pass to work in the matlab to labview communication.
    Any help would be greatly appreciated.  Once I have that working I will have more of an idea of the constraints of the actual processing Matlab Code I will be using.
    Thank you again.
    -cj18
    Attachments:
    labview_matlab_filter.vi ‏70 KB

  • Hi!! I need help: I'd like to know how to obtain a communicaion between a PLC of ABB model 07 KT 97 and Labview 8.

    Hi!! I need help: I'd like to know how to obtain a communicaion between a PLC of ABB model 07 KT 97 and Labview 8.I have to realize a scada system to control an electrical implant.I think that I need to learn more about OPC server: do you have some manual and tutorial to help me step by step in this configuration?And do you have some examples (one time PLC is connected and well configurated) to realize communication with Labview software?
    thank you so much!!
    please!!!Answer soon because I need help!!!

    Hi Leoeffe,
    I've found some documents that cam help you to understand how is possible to communicate
    unsing OPC Servers and ho use them in Labview 8.
    First of all I suggest to take a look to these documents:
    How Do I Use OPC in LabVIEW?
    http://digital.ni.com/public.nsf/websearch/EA15F53DB6FECCA5862567240064DF09?OpenDocument
    Connecting LabVIEW to an OPC Server through a DataSocket Connection
    http://zone.ni.com/devzone/conceptd.nsf/webmain/DF8C0A4BA2E2B22A86256A3700592BEA
    Using the LabVIEW Shared Variable
    http://zone.ni.com/devzone/conceptd.nsf/webmain/5b4c3cc1b2ad10ba862570f2007569ef
    You can also use the Labview DSC module:
    Developing Monitoring Applications with the LabVIEW DSC Module for Control Systems
    http://zone.ni.com/devzone/conceptd.nsf/webmain/199c3fb9456a16d986256b5200678917
    LabVIEW 8 DSC Simplifies Distributed Development
    http://zone.ni.com/devzone/conceptd.nsf/webmain/d76c3788a0c4c5668625708b0072987c
    Tools for Troubleshooting OPC Interface Problems
    http://zone.ni.com/devzone/conceptd.nsf/webmain/401CB3A4E216356286256BC7004B5831
    I hope all these tutorials can help you.
    Best regards,
    MarcoL

  • Connecting to labview over TCP/IP port

    I have got an undocumented project to maintain, it has a Java UI code, which connects with some component of LABVIEW over
    TCP/IP Port = 1234
    and over this port it sends commands for clear, get, set
    I need links for understanding the component from LABVIEW which is been accessed over port 1234
    I have installed LABVIEW Run time 2013, and do not know which PROCESS the Java code is trying to connect over TCP/IP, and I do not see any of the RT processes binding to port 1234.
    Any pointers/links would certainly help me!
    Thanks,
    -Vikrant

    Can you define what you mean by "component of LabVIEW"?
    The LabVIEW runtime engine is just a required component to run any custom build LabVIEW executable or dll. So, what is it?
    You also mention RT processes. Does this run on an RT system? What is running where? If you are connecting to a remove LabVIEW RT system that runs a service on port 1234, you don't need LabVIEW or a run time engine at all on the local side.
    At this time we don't have any useful information from you. Please be significantly more detailed! Thanks.
    LabVIEW Champion . Do more with less code and in less time .

  • Controling "posmo a" drive with CP5613 Profibus and LabVIEW

    Looking for a solution to controll a "POSMO A" drive with CP5613/OPC and LabVIEW (without WIN-AC).
    Helpful would be to have a Library to set the velocity, target, acceleration.

    What kind of solution are you looking for? A complete programm, graphical elements for the front panel or how to access OPC items?
    If you want kind of a helpful solution you should ask a precise question.
    Using LV8.0
    Don't be afraid to rate a good answer...

Maybe you are looking for

  • Boot-camp/Windows with cordless mouse and keyboard

    I am picking up my 27" quad core iMac tomorrow. In anticipation I bought the Pogue book on Snow Leopard. In it he says that you can't install Windows with the cordless mouse and keyboard but that once installed it can be used with the cordless mouse/

  • The app store thinks all my apps were bought with the same id

    When i try to update all my apps (or individually) it always asks me for my main id, but i use 3 different ids, that all have paid apps. i can confirm all apps that will not update have been bought with the other two ids (not the main one). when i tr

  • Apple menu item link broken

    I installed a new hd today on my G4 933 Quicksilver. I did not have my installation disks handy, having moved and they're packed away somewhere, so I used disk utility to initialize the hd then restored the image of the old hd to the new. After remem

  • Env variable confusion - newbie install

    Hello, I have completed the installation sequence for db 10g (10.2.0.1) on RHEL 4.3 (x86_64). I am somewhat confused by this installation procedure wrt env. variables such as ORACLE_HOME, ORACLE_SID, ORACLE_BASE, etc. The pre-installation guidelines

  • Bluetooth, Blackberry bridge and Playbook not linking to Q10

    Please..... After checking settings and browsing the Internet for possible problems or fixes, I'm having frustrating problems in linking my phone and playbook when they worked fine before a few wks back, does anyone know if this has been a recent pro