4/9/2010 11:19 AM | |
Posts: 1 Rating: (0) |
Hi, i know this is the old topic, but i have a question, how can i transfer a data form MATlab nntool, to PLC?? can you help me with this, give me some links or some solutions...?? Thank you. Goran Splitted from Matlab with S7300 PLC , Mathworks & SIEMENS. |
Last edited by: O_Moderator at: 4/12/2010 8:30 AMnew subject after splitting |
|
2/9/2011 7:36 AM | |
Posts: 151 Rating: (3) |
hello my friend matlab nntool give you excell output file then you have to search "how can iimport excell data to my plc?" good luck |
2/9/2011 7:52 AM | |
Posts: 151 Rating: (3) |
sorry but i have another question isyour system real time? or you desiged a neural network and after all calculation you want to use the result in plc? |
2/9/2011 6:21 PM | |
Posts: 7 Rating: (1) |
Thanks for the explanation. I will look into transferring the data from the m file to the Data Block. |
2/9/2011 6:48 PM | |
Posts: 7 Rating: (1) |
I believe that Bermuda has a likely answer. The first step is convert the m file into an Excel file. You can find an explanation here http://www.mathworks.com/help/techdoc/import_export/f5-115614.html It appears that STEP7 can import an Excel file to a Data Block. I found an explanation here. http://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&objId=15162450&nodeid4=20208582&load=content&csSort=DOCBETREFF&lang=en&siteid=cseus&aktprim=4&objaction=csview&extranet=standard&viewreg=WW If you want, you could try a direct import to the data block from MATLAB. Between the Siemens documentation above and this link about exporting data, you may be able to create a direct link. http://www.mathworks.com/help/techdoc/import_export/br5s872.html Another point, the above assumes a one timemanualtransfer. Are you looking to do this as a automatic update? |
2/9/2011 8:22 PM | |
Posts: 7 Rating: (1) |
Unless I am misunderswtanding your question, for the MATLAB --> Excel --> STEP7, you do not need any other software. If you do need communication between MATLAB and STEP7 for online data processing and do not have OPC Toolbox, you could write your own inteface via MATLAB COM support. http://www.mathworks.com/help/techdoc/matlab_external/f64299.html I'm not sure what STEP7 oftens for COM support. |
2/9/2011 8:36 PM | |
Posts: 40 Rating: (1) |
But on this link you gave me... there is Create_S7DB.exe, and it needs to be payed :( https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&objId=15162450&nodeid4=20208582&load=content&csSort=DOCBETREFF&lang=en&siteid=cseus&aktprim=4&objaction=csview&extranet=standard&viewreg=WW BR, Goran. |
Follow us on