03-03-2009 10:01 AM
Hi - I'm trying to set up comms between LabVIEW 8.5 and a Siemens S7-314 PLC. I hope to use Labview DSC shared variables via NI OPC Server to read from/write to the PLC.
I hope to use MPI to communicate as the PLC has MPI comms already installed. On the hardware side does anyone know:
On the software side
Any help would be appreciated - college project due in 3 months & starting to get nervous!!
03-03-2009 10:50 AM
Sounds like you will need the MPI adapter. See here for some info on OPC with Siemens S7.
03-06-2009 04:23 AM
Thanks unclebump - manged to get the PLC side sorted but there's a bigger problem. When I use OPC quick client (or any client for that matter) to open comms through OPC server it crashes my laptop completely i.e. the blue screen of death!
Any ideas? I've matched the com port settings to the channel settings in OPC server and to the device settings in Measurement & Automation explorer, I'm using a USB to serial converter and it appears to be working OK according to device manager. I downloaded NI-Serial also but it doesn't smme to have any effect?
Any help / suggestions appreciated!
03-19-2009 12:21 PM
Hi Paul
I've been taking a look into this issue but as of yet I've not been able to find any history of similar occurances. Is the laptop crashing the moment communication begins or is it after a brief while that it stops working? What manufacturer of laptop are you using? Have you had the opportunity to note down the error code when when the blue screen of death appears?
Also, you could take a look at some general trouble-shooting tips for OPC servers here:
Troubleshooting OPC Client I/O Servers (DSC Module)
Kind Regards
03-26-2009 04:53 AM
Thanks Geremy - I've been putting some time into this over the last few weeks & have made some progress.
So far I've been able to establish comms from OPC quick client via OPC server to the PLC next for the DSC module, I've already completed the LabVIEW part off-line so in theory...........................