How to write to a PLC Simatic S7-300 via HMI Adapter from Labview

Has someone tried to write from Labview 6.0 via a Siemens HMI Adapter to a DB on a Simatic S7-300 CPU.
I am only able to read. Trying to write comes the message from the OPC server: Protocol error, NO response from PLC

Greetings!
   Thanks for the post. Please check the following.
   1) Did you try connecting with server explorer and see if you are getting a response from the PLC
   2) Also please refer to the following links which will help you on further programming
    http://digital.ni.com/public.nsf/websearch/3F0B1B7C1E80FC3286256738007EED39?OpenDocument
    http://digital.ni.com/public.nsf/websearch/F92C1F2F7B35105B86256DB200628B24?OpenDocument
    http://digital.ni.com/public.nsf/websearch/9FAE59C3B902458B8625672400651A2E?OpenDocument
   3) Is this the first time you are talking to the PLC , or
did it just happen and if it did was there something that changed
Do you have any vi built and testing. The links above have example programs you could use.
Thanks much and hope this helps.
Best regards
Avi Harjani

Similar Messages

  • How to write a procedure to run the call the custom package from backend

    Hi All
    Oracle 10g
    Oracle Apps R12
    I am working with oracle order management here we have a customize Package called (Pick Release).Due to some problem we have running this concurrent program by manually giving Route_id as parameter. The route_id is taken from the route Table. By using this query
    select distinct route_id from route@DB_LINK_APPS_TO_ROADSHOW
    where trunc(route_date) = trunc (sysdate+2).
    so daily we have nearly 42 routes and we are running this concurrent program manually nearly times.
    so now how to write a procedure for this
    Step 1 Getting the route from route table.( By cursor we can get the route_id Accordingly)
    Step 2 How to trigger the custom package from back end and execute accordingly to that output of the cursor(route_id)
    If the cursor get 40 routes is it then the concurrent program runs 40 times according to that route_id.
    can some could provide the steps to do this
    Thanks & Regards
    Srikkanth.M

    This is about 4 or 5 lines of PL/SQL and the name of the custom package is not provided.
    If you request someone in this forum to do your work for free -because obviously you didn't even try to write it, which must be considered abusing this forum- you must at least provide sufficient info so someone can do it.
    And no, I won't do it for you.
    Sybrand Bakker
    Senior Oracle DBA

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

  • PLC SIMATIC s7-300 with adaptater MPI-USB under Labview

    Hello everybody
           I'm trying to connect a SIEMENS
    SIMATIC S7-300 directly to my PC ( without using a profibus card ) , so
    I'd like to know if some one think it's possible to use a MPI-USB
    adapter for that knowing that I use Labview to program my S7-300.
    Thanks ! .

    Deltalogic provides several low-cost S7 adapters (MPI-Adapter, MPI-Adapter-USB, HMI-Adapter,...) and appropriate LabVIEW drivers. If you can't understand German you should send them an email.
    Here is the email-address for sales related questions: [email protected]
    If you are looking for a high-performance solution you should have a look at the Profibus boards from Comsoft. Comsoft provides a native LabVIEW driver for their boards that runs on Windows and LabVIEW Real-Time systems.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • How to write more than 65536 data in excel Via Labview in one column

    I have more than 65536 data and i want to write these data in excel sheet. It is giving Error:-
    "Description:-
    Error -2146827284 occurred at an unidentified location
    This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input."
    Less than 65536 data can be written....
    Please give some solution...

    This is not a limitation of LabVIEW writing to a spreadsheet file but a limitation of Microsoft Excel (and also of Notepad) itself.
    One option could be, you can switch to Excel 2007 or higher verison...!!
    Other solution could be, forget about writing to Excel, instead write in some other format and use LabVIEW your other compatible (with large data) application to read it back.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How to write ModuleData process exit bean in the sender file adapter

    Hi all,
    I am referring to this blog:
    /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    Can any one come across this situation like reading a PDF file and converting it to XML using XSL-FO. I am using NWDS, and selected Java Project and added libraries specified in that blog. I am in total confusion as what type of Project i should select. <b>I need a step by step procedure for developing XML file out of PDF referred in that blog.</b>.Thanks a lot
    regards,
    Ganesh

    Hi Ganesh,
    the how to on Adapter Modules in also available in SDN Libraray.
    Check this,
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a">How to create Modules for the J2EE Adapter Engine</a>
    Regards,
    Bhavesh

  • How to write a plain string into a file using File Adapter

    Hi All,
    I am new to ESB technology. I have created one ESB application to invoke a java web service(Which will return string as result) and to write retrieved result in to a file. To achieve it i have created the file adapter using user defined schema. It was working fine. But, I got the modifications in my requirement to store the returned result(String value) in to a text file without any user defined schema. So i used native format for FileAdapter and mapped the returnedResponse(String value) to opaque:opaqueElement. But i am facing relationship error.
    anybody can help me to solve this issue?.. is there any method to convert a string value to opaqueElement..
    Thanks in advance..

    Hi All,
    I am new to ESB technology. I have created one ESB application to invoke a java web service(Which will return string as result) and to write retrieved result in to a file. To achieve it i have created the file adapter using user defined schema. It was working fine. But, I got the modifications in my requirement to store the returned result(String value) in to a text file without any user defined schema. So i used native format for FileAdapter and mapped the returnedResponse(String value) to opaque:opaqueElement. But i am facing relationship error.
    anybody can help me to solve this issue?.. is there any method to convert a string value to opaqueElement..
    Thanks in advance..

  • How to write a formula that includes the value of a cell from another external numbers file ?

    Hello,
    Maybe my Numbers is too old : Numbers '08 v 1.0.3
    But it doesn't seem to allow me to write a formula that includes the value of an external cell...
    Any answers ?
    Upgrading to Numbers '09 ?
    Thanks !

    Olivier,
    Be sure to Send Feedback to Apple using the Feedback tool in the Numbers menu. That will help the Numbers design team prioritize their feature requests for the next version.
    Jerry

  • How to write Java script for refering the 1st page text field from 2nd page?

    Hello I am developing an VISITOR info interactive form with webdynpro ABAP, its with 2 pages. Their heirarchy is,
    VISITOR_form
        |
        |
        |------Page_1
        |            |
        |            |
        |            |------Text_Field_A_1
        |            |
        |            |------Text_Field_A_2
        |
        |------Page_2
                     |
                     |
                     |------Text_Field_B_1
                     |
                     |------Text_Field_B_2
    Now, i have selected the 'Text_Field_B_1' of page_2 and writing the Java script, my requirement is; If Page_1's 'Text_Field_A_2' has a value of "Value_ABCD", THEN the 'Text_Field_B_1' of page_2 should be 'readOnly'. Pls let me know Wht is the Java script for this requirement?

    if (xfa.event.newText=="ABCD")
    VISITOR_form.Page_2.Text_FieldB_1.access ="readOnly";
    place script on change event of Text_FieldA_2

  • How to write API for web cam?

    who knows how to write API for web cam?

    if you mean capture from the cam try JMF I've done it a million times
    salut

  • How to write the condition

    Hi guys, I wonder how to do this in Disco Desktop( not in admin). How to write the exists like a statement in “where close”
    select * from emp
    where exists (select 'x' from emp_1
    where emp_1.sal>2999
    and empno=emp.empno)
    Thank in advance.

    Hi
    In order to use a subquery in a condition there has to be an existing worksheet already in the workbook. If you don't have an existing worksheet then you will still see the Create Subquery option but you won't be able to use it.
    Here's a workflow to try it out using SYSDATE:
    1. First of all, make sure you open Desktop, not Plus.
    2. Create a new Table worksheet containing only a calculation, SYSDATE - you do this by continually clicking Next until you get to step 6 of the wizard, ignoring the message which says you have no items in the worksheet
    3. In step 6, click the New button
    4. Leave the calculation name as Calculation0 and add SYSDATE into the calculation
    5. Click the OK button
    6. Click the Finish button - you now have the current date in your worksheet
    7. From the menu bar, select Sheet | New Sheet and select Table
    8. Once again continually click Next until you get to step 6 of the wizard, ignoring the message which says you have no items in the worksheet
    9. In step 6, click the New button
    10. Leave the calculation name as Calculation1 and once again add SYSDATE into the calculation
    11. Click the OK button
    12. Click the Finish button - you now have the current date in your second worksheet
    13. Staying in the second worksheet, from the menu bar select Tools | Conditions
    14. Click the New button to create a new condition
    15. In Item use the drop-down and select Calculation1
    16. Under the drop-down for Value(s) you should see Create Subquery
    17. Notice how Discoverer has automatically selected Calculation0? This is the only item so naturally it will be selected. However, if you have more than one item Discoverer picks an item of the same data type
    18. Nothing more to do now except click the OK button a couple of times
    What you have done is said that the SYSDATE in worksheet2 is dependent upon the formula in sheet1 which happens to be also SYSDATE.
    To prove this working, go back into sheet1 and change the formula to SYSDATE -1, then go back to sheet 2 and refresh it. This time you should get no data returned showing that the subquery is working.
    By the way, any worksheets you create in Desktop that use subqueries will still work in Plus even though you cannot edit the subquery itself in Plus.
    Best wishes
    Michael

  • 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

  • Write data to PLC register using datasockets

    hello all...
    i have made some headway, i can access the PLC read data from it (1-10) and depending on the random # produced i get a message from a file and display it.
    Now...i need to write back to a register in the PLC with some informatio (string and integer.)
    i was advised to use datasockets, my stumbling point is i have no idea how to proceed. i read a lot of posts on this form as well as the labview form on Google.
    could anyone please throw some light on this, a detailed explanation or link where i may gain some information.
    thank you
    cheers,
    -U

    How are you communicating with the PLC? I am not sure if this is a card in your computer or an external device. If it is the latter, are you using GPIB, serial, ethernet, etc.?
    LabVIEW does not communicate very well to memory locations(as in custom built devices). There is no built in way to do this(although there are VIs on the web that you can use). You are usually better off writting a driver for the device in C and then calling the driver from LabVIEW. This is how NI communicates to its own hardware.
    I mention this because datasocket will probably not be a good solution to your problem. It is a communication protocol developed by NI and there is no documentation on its format. Trying to hack it is not going to worth your time when you can
    just use TCP instead. In simple data transfer cases between LabVIEW and high level languages, it cannot be beat, and I highly recommend it in these cases. In your case, the PLC will likely not support it.
    You should look on NI's site for info on Datasocket. The KnowledgeBase, Product Manuals, and Tuturials are where I would start. Advanced Search

  • I have Mitsubishi PLC FX 128 MR model type, I have a scada which supports opc client. how do i communicat​e PLC and Scada. please note the the SCADA which i have does not have FX series PLC protocol.

    k

    Use Mitsubishi's MX Component. This utilises activex and I have successfully managed to develope VI's to both read and write to the PLC for control and datalogging. MX Component currently retails at 299 GBP and I do not know of any other protocol on the market that you can use(Mits have told me that they do not know of any either and were not even aware that MX Component could be used with LV until I proved it to them).You can use this by directly connecting to the PLC using one of many different communication protocols(serial, ethernet, profibus etc.)
    I am not sure how this will tie in with your SCADA package, are you using this as your front end because by using LV and MX Component you could do away with any bespoke SCADA and easily develope your own. I am curren
    tly working on a VI that reads data from the PLC (FXon-24MR)in real time, displays it on a graph and logs it to a MySQL database complete with report production.
    If you would like further details on how to use MX Component with LV(Its a doddle, really)then please email me at [email protected]
    Yours
    Mark lea

  • How to write numbers in Arabic?

    Hi All,
    How to write numbers in arabic?
    (how will you in normal papers....assume 123 to be in the arabic numerals here).
    Should it be:
    | -123|
    (or)
    | 123-|
    Thanks,
    Jana

    Try the following.
    DecimalFormat formatter_ar=null;
    Numberformat form = NumberFormat.getNumberInstance(new Locale("ar","EG"));
    if(form instanceof DecimalFormat) formatter_ar = (DecimalFormat)form;
    String str = formatter_ar.format(-123.45);
    System.out.println(str);

Maybe you are looking for

  • Creating audio tracks in logic 8.

    Hi, Having used logic 8 for about half a year now I have had no problems whatsoever. However, about a week ago, when creating new audio tracks this happens. I create 2 tracks for example Audio track 1 works as normal and below the level meter at the

  • I no longer have the computer that I used to sync my Ipod touch.  So Itunes does nto recognize it.  My Ipod is diabled and locked so i cannot enter the passcode.

    I no longer have the computer I used to sync my Ipod Touch when it was new. Now the Ipod is locked and disabled and Itunes requests me to enter the passcode which I cannot do becasue the Ipod is locked!  Any suggestions?

  • Restart the application on air

    Hello, I'm doing a game on air 2.5 for Android and I would like to know how can I restart the whole application in action script 3. I was looking for that information but I just found that: var urlRequest:URLRequest = new URLRequest(Application.appli

  • 3 Problems with Address Book-- now considering Bento

    I have 3 problems with Apple Address Book that make it close to unusable for me, so I'm considering buying Bento 3: 1. *Can't un-do accidentally deleted text*- When you click in the "Notes" section, it will select all the text there by default (inste

  • Photoshop 3d loop stutters

    I'm tearing my hair out! I've spent two days trying to make a Photoshop CC 2014 3D animation loop work. It's a very simple sphere with a world map as the sphere material. It only took a couple of minutes to do the 3D bit with no problems. But when I