1/8/2015 2:19 PM | |
Posts: 1368 Rating:
|
Hello, what PC do you use? I do not think, that your PC supports S7 communication. Therefore, you need another SIMATIC or WINAC. I think, you need a TCP/IP or UDP/IP connection. With CP, the FETCH/WRITEfunction is needed... Have a look here http://support.automation.siemens.com/WW/view/de/24690891 |
Last edited by: Pittiplatsch at: 1/8/2015 2:25 PMLast edited by: Pittiplatsch at: 1/8/2015 2:24 PMLast edited by: Pittiplatsch at: 1/8/2015 2:22 PM |
|
1/12/2015 2:33 PM | |
Posts: 1368 Rating:
|
Hello, you need the Automation Software WinAC to use your PC as "SIMATIC Controller" http://support.automation.siemens.com/WW/view/en/42782041/133200 For FETCH WRITE have a look here in Chapter "C" http://support.automation.siemens.com/WW/view/en/1172423/0/en |
2/19/2015 9:54 AM | |
Posts: 20 Rating:
|
Dear Nikosant, I 've been in your situation and I had many of your questions when I started few months ago. Therefore my expirence may help you. 1- One very important point in order to make the LabVIEW application work is that you should have next 3 software packages installed in your computer (you can chek then in the NI License Manager): a - LabVIEW 2012 b- Real-Time Module 2012 c- NI OPC Server 2012 Note that all of them HAVE TO BE the same version, 2012 or 2013 or 2014. As you have it now (LabVIEW 2014 and OPC 2012) will not work!!!! 2- Those are the steps to set the communication between the NI OPC and the PLC http://www.ni.com/tutorial/7450/en/ .As I said before, If you dont have the same version in NI software packages you will not get the option of "adding a new I/O Server" in your LabVIEW project. 3- Forget the S7 Connection (I spent a lot of time trying to make it work and it didn't :( )and go better for a TCP/IP Ethernet connection as described in attached document. It's easy and works. Sorry that it is not in English but I'm sure it will help you 4- I'm not 100% sure but I think that you will also need a NI DSC license, to run your application. Please check it. See this link "You need the DSC Module to use the OPC
UA VIs on Windows targets, and you need the Real-Time Module to use the
OPC UA VIs on LabVIEW Real-Time targets. " For my application I used LabVIEW (RT and OPC)2013 and the S7 1212 PLC and it works :D I also tried with the Siemens Lean OPC and LabVIEW 2014 and it works as well. The only thing with this second option is that I couldn't make it work with the S7 connection so at the end I used the OPC UA from Siemens OPC Lean. Good luck! Nais AttachmentLabVIEW OPC SERVER configuracion.pdf (142 Downloads) |
Last edited by: Nais at: 2/19/2015 10:52:23 AM |
|
Follow us on