LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SPS comunication with labview

Hello,
 
i've got a problem to realize a SPS comunication with LabVIEW.
I had to control a SPS (Siemens) with a LabVIEW programm.
 
What's the right way to communikate with a SPS?
My SPS has got a controler with an ethernet connection.
 
thank you for every post
 
markus
 
0 Kudos
Message 1 of 11
(4,203 Views)

Hallo, Markus,

The easiest way is connection to the OPC Server (OPC.SimaticNet I guess) via DataSocket.

best regards,

Andrey.

 

0 Kudos
Message 2 of 11
(4,197 Views)
 

I have just written an application with a Modbus ethernet connection. Although I had no previous SPS experience, it was rather easy to solve this task with the free LabVIEW library. LV 7.1 (or a workaround) is needed to install the library.

As mentionned, I'm not very familiar with this topic and there may be several other options (OPC server...)

 



Message Edité par JB le 01-29-2008 10:23 AM

Message 3 of 11
(4,196 Views)

Thank you for your posting.

I'll check your posts and write an answer to you.

 

0 Kudos
Message 4 of 11
(4,190 Views)
 

Hi, Colleagues,

I don't think that Siemens SPS equipped with ModBus interface.

Here is a relative good description how to use DataSocket with OPC.SimaticNet server:

Using CP 5613 with National Instruments OPC Clients:
http://zone.ni.com/devzone/conceptd.nsf/webmain/A0C16C79880C5BC98625695F004BE57A?opendocument&node=dz00000_us 
hope it help

best regards,

Andrey.

 

0 Kudos
Message 5 of 11
(4,185 Views)
Could you please explain the "2 stars" rating ? (1=worst, 5=best)
0 Kudos
Message 6 of 11
(4,181 Views)

Sorry !!!!

I thought 1 is the best.

It should be a four.

 

0 Kudos
Message 7 of 11
(4,172 Views)
See here for more info about Modbus and Siemens. Modbus is just a protocol that can be used with a serial or ethernet connection.

In my case, the SPS is from Telemecanique.

Message 8 of 11
(4,169 Views)
Hi, JB,
 
I agree, it is possible to enhance Siemens with Modbus interface, but this is addon for Siemens (you have to pay for the license, etc). But LabVIEW able to communicate with OPC via native datasocket SubVis, and in this case it is easiest way, because it is not necessary to use two addons (one from Siemens side and one from LabVIEW side just for communication). But if Siemens SPS will be integrated into workflow where ModBus used already, then you are absolutery right - Modbus is best way.
 
Thanks for the link.
 
Andrey.
 
Message 9 of 11
(4,162 Views)
Hi Andrey,

My aim was not to claim that Modbus is the best way.

I have used it in my last application with a Telemecanique SPS (this protocol was imposed by the programmer of the SPS), the LabVIEW library was easy to implement and the application works ! Therefore, Modbus may be one among many other solutions to consider... No more no less...

Have a nice day

0 Kudos
Message 10 of 11
(4,156 Views)