From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-20-2010 11:11 AM
Hi! I need help to connecting Labview to SIEMENS plcsim. Please say how it`s possible
11-22-2010 01:00 PM
Do you know what protocol SIEMENS plcsim uses? Without having the program, I don't know how everything connects. But there are several different methods in LabVIEW to connect to PLCs. Here is some information on how you can connect to actual PLCs:
Connect LabVIEW to Any PLC Using OPC
If SIEMENS plcsim simulates PLCs using any of these protocols, you might be able to connect to it just like you were working with an actual PLC. As far as I know, there aren't any drivers or toolkits that specifically connect with SIEMENS plcsim.
Best Regards,
Starla T.
07-07-2011 08:43 AM
plcsim has a feature called s7prosim using which you can communicate between plcsim and labview(in fact any 3rd party software).
it is basically set of COM objects.libraries. I believe ActiveX controls can be used for the same.
Here is a manual on how to use it:
http://cache.automation.siemens.com/dnl/jkxNzkzAAAA_21170043_HB/ProsimActive_e.pdf
But can anyone help with an example code for the same based on the chart given on pg1 of the manual?
06-24-2012 01:35 PM
Hi
This is a sample but it's not working properly ... I can read the state but I can't read the output ...
The problem is the vData than I don't know how to set it.
I'd like to read the output and write the input for simulate the software of the PLC with labview.
I hope someone can help us with this ActiveX
08-06-2013 07:41 AM
HI:D
im also trying to conect labview to PLCsim.
Have you decided this problem? Could you send me working example of the code?
Thank you:D
05-13-2017 05:14 PM
I have the solution, e-mail me at yunierpm82@gmail.com. I just did it.
05-15-2017 09:23 AM
Hi yunierpm82,
Would post that solution to this forums so that others can use it as a reference if they have a similar problem?
Thanks,
ShaneK
Applications Engineering
06-07-2017 11:57 AM - edited 06-07-2017 12:03 PM
Hi 2Shanez:
In the link bellow you can find my solution. In the .zip you'll have some VIs i created to solve the problem and you can use to comunicate with PLCSIM..All this VIs form part of a complete solution i'm developing named SIMVIEW....i hope it could be usefull for all those who need to communicate with the SIMATIC PCSC7 PLC Simulator. If Somebody need help about connections, can write me to yunierpm82@gmail.com because i'm writting the SIMVIEW help yet.
Regards,
Regards,
Yunier
https://mega.nz/#!LUtgHQ7S!OGLiBiCouU4GdQ36xFyqTUfvwk3QW0K5z2dJqvOvKHA
07-14-2022 02:25 AM - edited 07-14-2022 02:25 AM
For future ref, I recommend trying the inbuilt ActiveX support (S7PROSIM) for communication with the S7PLCSIM.
See and download an example of read/write of real's (SGL) here: Re: Problem using PLCSim ActiveX Control in LabVIEW - Page 2 - NI Community