LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicate LabView with PLCSim without using OPC.

Hi,
Two years ago i was developing a simulator for a Cracking Ctalitic Unit in one refinery. I was programming with Labview and all the out and input values of the model they needed to be send to PLCSim (PLC Simulator from SIEMENS). Then i found some people who need to achieve the same thing here in the community. So, I have reorganized everything into a VI package that I have called SIMVIEW and that can be used to achieve communication. In this post I attach two images of an example VI that works and the program is also attached. These blocks use the Siemens S7Prosim ActiveX not OPC. The link give acces to download SIMVIEW Blocks. I hope this tools could be necesary for someone. Regards.

 

LabView---PLCSim

LabView---PLCSim

 

https://mega.nz/#!nVtnxIZT!S90MlKBElH1AKto39GwENYINeO2sNnnSDJgy6IWFFWY

 

 

Message 1 of 3
(2,709 Views)

Thank you so much!

0 Kudos
Message 2 of 3
(2,308 Views)

Seems like there is an issue with your type casting from int32 to SGL. So I made it with standard typecast again for future ref.

 

See the solution here Re: Problem using PLCSim ActiveX Control in LabVIEW - Page 2 - NI Community

0 Kudos
Message 3 of 3
(972 Views)