Which protocol is recommende​d to communicat​e between LabVIEW an the S7-300 PLC?

Hello,
I'd like to communicate between LabVIEW (CompactRIO) and the S7-300 PLC.
Which is the protocol NI recommend to use?
I read, that TCP/IP over OPC and profibus work fine. Maybe MPI or Modbus, too.
But I would favor a cheaper solution like the communication directly over TCP/IP. The problem is in my opinion, that Siemens modified the TCP/IP protocol and the protocol itself is not public. I found an example library at ni.com but this was build by using reverse engineering. And I'm not sure, if such a library would work reliable.
I know this topic is interesting for many people, but I could not find a general recommendation here in the forums.
Regards

I have direct experience using the NI OPC servers to talk to Siemens S7-300 PLCs, and it's by far the easiest way I've found to communicate.  There may be 'less expensive' options out of the box, but from purely a development standpoint, it's very fast and easy to get working.

Similar Messages

  • Communicat​ing between LabVIEW and Basic Stamp 2.0

    Hello,
    We are trying to control the movement of a Parallax Boe-Bot (robot with
    Board of Education) via LabView programming.  The BOE operates on
    Basic Stamp programming to control the pulse width sent to two servo
    motors.
    Is there a way to establish communication between LabVIEW and Basic
    Stamp 2.0?   We need to send commands from LabVIEW to the
    Basic Stamp to control the pulse width and therefore the rotation of
    the two servo motors.  We also need to send a signal from an
    accelerometer based on the robot to the LabVIEW ADC. 
    The ultimate goal is to do this with wireless communication, but for
    right now we are simply trying to figure out any way to send the data
    between LabVIEW and the Basic Stamp.
    Any ideas?
    Thank you,
    Adam

    Hi Adam,
    You can communicate with a BASIC Stamp microcontroller over GPIB using VISA.  To see some LabVIEW example code, just search for GPIB in the NI Example Finder (Help>>Find Examples). This will show you the basics of GPIB communication in LabVIEW.  I also found this link by searching the NI discussion forums for "basic stamp"
    http://www.parallax.com/html_pages/downloads/softw​are/software_basic_stamp.asp
    Here you can download an example using LabVIEW 7.0 or higher to communicate with a BASIC Stamp 2.
    I hope this is helpful!  Let us know if you have further questions.
    Megan B.
    National Instruments

  • I have a Mac Pro Mid2009,do i need a antivirus installed?.Never had a trouble till now though!,but just to get things clariffied.If got to install,which is one recommended and preferably a freeware which can do the job.

    Hello,
    I have a MacBook Pro mid 2009 version.Have got no Antivirus installed so far all these years and its been fine till this moment.
    Just to satisfy my curiosity,would i require to install one,to be on the safe side or doing so would that slow do my system,like browsing and my operations?.
    Please advice if it's preferred to have a antivirus installed and if so which one would the experts recommend,preferably a freeware if that could do the required job.
    Would appreciate any sincere advice on this topic,
    Cheers!.
    Aishsri

    Firstly thank you so much for your reply.
    As stated in my query earlier,i do not have or feel any specific issue is ongoing right now with my Mac pro,but at times i feel a sort of slowness in my Firefox browser opening up and at various times,have the beach ball popping up after a command is given and takes a while to set in.
    All these sometimes make me think,if i am getting into trouble,and hence thought should i install a Antivirus?.
    Ok,is there anyway i can check if my Mac pro is free of any Viruses or Malware or any sort of these things?.
    Would appreciate your reply.
    Thanks

  • I have a Mac book pro with regular drive, I want to replace the drive with SSD, so can I do t for Mac book pro purchased in 2012 and which SSD is recommended. I am looking for 500 to 700GB SSD.

    I have a Mac book pro(13 inch non-retina, i7) with regular drive, I want to replace the drive with SSD, so can I do it for Mac book pro purchased in 2012 and which SSD is recommended.
    I am looking for 500 to 700GB SSD.
    Thanks

    Upgrading your MacBook Pro with a Solid State Drive...
    ...call back with any questions.
    Clinton

  • I need to buy a camcorder -- upgrading from a Flip. Which would you recommend as easiest to use with iMovie 11? Which for Final Cut Pro? Thanks!

    I need to buy a camcorder -- upgrading from a Flip. Which would you recommend as easiest to use with iMovie 11? Which for Final Cut Pro? Thanks!

    You can't run iMovie 11 on a PPC G5 running the old OS 10.3 Panther - which is what you say you have.
    iMovie 11 - cameras supported:
    http://help.apple.com/imovie/cameras/en/index.html?lang=en_US
    iMovie 9 - cameras supported:
    http://support.apple.com/kb/HT3290?viewlocale=en_US
    iMovie 8 Camcorders supported:
    http://support.apple.com/kb/HT1014
    Digital camera RAW formats supported by OS X Lion:
    http://support.apple.com/kb/HT4757?viewlocale=en_US
    Digital camera RAW formats supported by OS X Snow Leopard:
    http://support.apple.com/kb/HT3825?viewlocale=en_US

  • Which protocol we should use for file transfer in ios ?

    which protocol we should use for file transfer in ios ?

    My friend that's definitively a Lotus Domino question, you'll probably ask in the Domino's forums if it generates wsdl, or simple http services you're ready to consume those services in Flex.

  • ACS with Dynamic VLAN which protocol to use ??

    Hello,
    Which Protocol do I need to use, for providing dynamic VLAN to my desktop machines?
    As in ACS 4.0 if I use local database of ACS then users successfully get the dynamic VLAN & as soon I use AD database while integration it with ACS ,the authentication fails!!
    Please help.

    Hi,
    Thanks for the reply. I am using EAP-MD5.
    However, the problem is if I am using ACS solution Engine local database, users are getting dynamic VLAN after authentication.
    But when I use AD as user database, the authentication fails. Even strange thing is that if I use AD database to log in to any Cisco Router then the authentication is working fine.
    Even I am struggling with TAC also from last week in two different cases! However, they are unable to help! I found TAC has limited resource for ACS.
    So please suggest what to do as on Cisco site, I found lots of stuff for Wireless but I have only the desktops (no wireless).
    So will the mention below URL be of any help?
    http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a00805e7a18.shtml
    Thanks in advance
    Vijay

  • My MAC BOOK PRO is slow - which software is recommended to clean it from unnecessary files ?

    My MAC BOOK PRO is slow - which software is recommended to clean it from unnecessary files ?
    thanks

    Why is my computer slow?

  • Which protocol version is really used?

    In the JSSE reference guide, Appendix A: Standard Names, is said, that the protocol name passed to the getInstance method of the SSLContext class maybe one of the following: SSL, SSLv2, SSLv3, TLS, TLSv1. But it does not specify which protocol version will actually be used, it is always said that it supports one or some specific protocols, but it may support other protocol versions as well.
    And what does the setEnabledProtocols method of the SSLSocket class do? May an application specify here exactly, which protocols should be used?

    JSSE currently supports SSL v3.0 and TLS v1.0 (SSL v3.1).
    The protocol agreeded with the server depends on your client/server configuration, and always is the lower protocol supported by both of them.
    For example:
    Server -> TLS v1.0
    Client -> SSL v3.0
    The shared protocol will be SSL v3.0.
    About the getEnabledProtocols() method, give a look here:
    http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html#NewMethods
    Hope this helps.

  • Which product is recommended for converting dvd to ipad2?

    which product is recommended for converting dvd to ipad2?

    Handbreak is good, free too.
    http://handbrake.fr/downloads.php
    -J

  • Design Premium or Web Premium, which do you recommend?

    I am a student and I'm considering buying a CS5.5 during the special offer period. I am not sure whether to get Design Premium or Web Premium. Here're my considerations:
    On Amazon, Design Premium [Mac] sells for $384.99 and Web Premium is $369.99. Web Premium is $15 cheaper.
    What I really NEED is Photoshop, Dreamweaver, Fireworks, and Acrobat, which are contained in both suite. So both will work for me, but I want to try some other products.
    Design Premium = Web Premium + InDesign - Contribute - Flash Builder.
    So, which do you recommend?
    Thank you!

    I’m partial to Design Premium, myself.
    This article on my website is a bit out of date and needs a re-write but it will give a basic idea why: http://theindesignguy.com/purchase-advice.shtml
    Bob

  • Which PC is recommended by Microsoft that ACTUALLY meet the requirements to work with software development for kinect for windows?

    My PC serves the minimum requirements described in the kinect page, but when installing the device, the software says that the computer does not meet the minimum requirements and therefore will not work with efficiency. Alternatively, theorize buy a new
    computer.
    Which PC is recommended by Microsoft that ACTUALLY meet the requirements to work with software development for kinect for windows?

    Getting a definitive answer from Microsoft will be difficult as to my understanding, requirements are still subject to change; and unless it's their brand of PC  I doubt they will give free advertisement to buy a specific make/model.
    There are other threads where people discuss specific machines that work with the Kinect V2.  
    The only compatibility problems I've had with getting it to work are: It has to be run Windows 8; It has to have a compatible USB 3.0;  The 'Compatible' USB 3.0 requirement seems to be the most difficult.

  • VPLS - Which protocol, BGP, OSPF, EIGRP

    Hi Community,
    I am trying to figure out which protocol to use on a flat layer 2 VPLS.
    We have a flat layer 2 to connect 10 offices and some other point to point links to connect to other offices. We currently use EIGRP but going forward we want to control the routnig and the path the traffic takes. I was planning on using BGP to peer between the offices using a hub and spoke topology, instead of a full mesh. I know OSFP is better for a layer 2 VPLS as it alows the full lan to be used effectively.
    Can anyone suggest why we shouldn't use BGP on a VPLS from a provider?
    Regards
    D.

    Hi Dinesh
    In my personal opinion using BGP in a LAN environment will not provide any benefit as it will add to the BGP Session overhead per LAN Node owing to the Full Mesh requirement which is definitely not scalable.OSPF as an IGP is good choice to be run on the LAN in broadcast Mode which will help keep optmial design using DR/BDR.As far as the Routing Control is concerned BGP should be used for external traffic outside OSPF domain and mutually controlled redistribution between the external Routing Protocol and OSPF should be used.
    But if we intend to use Hub and Spoke Topology using P2MP Broadcast Ethernet ie VPLS I think this will not be possible to achieve in OSPF Broadcast Mode neither in BGP using IBGP in Hub and Spoke Fashion among the sites because of BGP Split-Horizon Rule nor using dedicated EBGP Sessions between Hub and Spokes because of 3rd Party Next-Hop feature . So in this scenario of using VPLS for any to any communication in L2 Mode between the sites and then considering Hub and Spoke topology will not be possible to achieve either in OSPF or using BGP and also it defies the basic VPLS connectivity taken to connect the diffent sites in P2MP mode.
    This is my personal take on this scenario and hope this helps you something in your design considerations.
    Regards
    Varma

  • Which protocol does the Default JBoss Topic utilize?

    I have an implementation of a default JBoss topic (org.jboss.mq.server.jmx.Topic). Im trying to identify a source on the web where I can find a clear technical explaination of which protocol is used. I assume it's multicast?

    Welcome to the Apple Discussions.
    The iPad is capable of all 802.11 modes and there is nothing in the Apple tech specs that indicates it will default to anything but the highest stable mode.
    http://support.apple.com/kb/SP580
    It would be interesting to know where the person that gave you the information that it defaults to the lowest mode got that information. Apple products typically do not operate that way, especially since they have been a leader in the n mode development.

  • Which protocol does weblogic7 webservice use?

    hello
    i know that the java webservice development use either axis or soap protocol,but
    i don't know which protocol does the weblogic7 webservice use?
    thank you

    We have our own implementation of soap.
    WebLogic Web services use Simple Object Access Protocol (SOAP) 1.1 and 1.2
    as the message format and HTTP as the connection protocol. See SOAP 1.1 with
    Attachments.
    Note: WebLogic Web services accept both SOAP 1.1 and 1.2 incoming
    requests, but produce only SOAP 1.1 outgoing responses.
    http://e-docs.bea.com/wls/docs70/webserv/overview.html
    Google.........
    http://google.bea.com/search?q=soap+version&ie=&site=bea&output=xml_no_dtd&c
    lient=bea&lr=&proxystylesheet=http%3A%2F%2Fdev2dev.bea.com%2Fimages%2Fdev2de
    v.xsl&oe=
    cheers
    mbg
    "zhebincong" <[email protected]> wrote in message
    news:3e7d2ed3$[email protected]..
    >
    hello
    i know that the java webservice development use either axis or soapprotocol,but
    i don't know which protocol does the weblogic7 webservice use?
    thank you

Maybe you are looking for

  • Cleaning up edited photo files

    I have just joined the forum and reviewed 30 pages of topics without finding this covered, although I did learn a lot. After doing numerous edits to RAW files, which were saved a TIFF, I decided to use JPEG instead to conserve disk space. To make sur

  • Exception cx_ai_system_fault in web dynpro for abap

    hi. i am calling a web service from the portal to R/3 and the exception cx_ai_system_fault is raised. anybody know knows something about it? what causes can do this? it can be because the same user in both systems doesn't have the same password?? tha

  • Best option for optical au

    Hey guys, just a query - i have an audigy 2 ZS currently, and a high end yamaha 7. amplifier. what im wanting to do is connect this up via optical .. its currently connected via RCA and it seems to get confused as to which is the sub and which is the

  • Upgrade Custom Recipient Policies as part of Exchange 2003 to 2010 Migration

    Hello, We have Exchange 2003 and Exchange 2010 in co-existence. I have migrated all Mailboxes to Exchange 2010. Now I want to upgrade Recipient Policies. We have 1 Default Policy, which I know how to upgrade Set-EmailAddressPolicy "Default Policy" -I

  • FR seems to be gone after system crash

    Hi! I didn't find anything using the search function and I think my problem is a little bit peculiar. A while ago, I had a serious problem with my macbook pro. I wanted to reinstall the printer drivers but during installation it somehow deleted my OS