07-29-2009 08:04 AM
Der SPS ist verbindet mit Labview 6,1 durch Modbus und Ethernet, und eine Applikation existiert auf eine PC die lauft Windows 2000. Ich möchte der Verbindung von der SPS mit Labview 8,5 auf eine PC die lauft Windows XP erstellen.
Ich habe Labview 8,5 installiert mit OPC in Windows XP. Ich öffnen der NI OPC Servers, new channel - und Schneider Electric oder Telemechanique ist nicht in der Liste. Ich kann Modbus Ethernet auswählen, dass ist wie ich kommunizieren wollen. Socket Usage und Unsolicited Settings (Port und IP Protokol) weiß ich nicht welcher Port zu nutzen. Wie finde ich dass raus?
Dann erstelle ich eine neue Device. Name, Modbus, IP Adresse, Timing Parameters, Demoting device, tags - ist das die Tags die in der SPS sind oder Tags die in Labview bzw. OPC sind? Tags existieren auf der SPS schon und ich will die nicht ändern.
Dann kommt wieder Port, Driver Settings, Block sizes (coils und registers), variable import file,
Am besten möchte ich zu den SPS verbinden und dann die Tags sehen die schon auf der SPS existieren. Danach kann ich in labview shared variables zu jeder Tag verbinden um die neue Variablen zu erstellen in Labview 8,5.
In der Labview Projekt:
OPC Client I/O Server hat zwei Optionen: 1. National Instruments.OPC Lookout Drivers 2. National Instruments.Lookout OPC Server
Welcher kann benutzt werden? Brauche ich eine zusatzlich option der nicht installiert ist (z.B. Lookout)? Der Labview 6,1 nutzt Lookout zu verbinden.
Falls jemand mich Hilfen kann, würde ich mich sehr freuen!
07-29-2009 08:11 AM
Google translation:
The PLC is connected with Labview 6.1 by Modbus and Ethernet, and an
application exists on a PC running Windows 2000. I want the connection
of the PLC with Labview 8.5 on a PC running Windows XP.
I have Labview 8.5 installed with the OPC in Windows XP. I open
the NI OPC Server, new channel - and Schneider Electric or
Telemechanique is not in the list. I can select Modbus Ethernet that is
how I want to communicate. Socket Usage and Unsolicited settings (port
and IP protocol) I do not know which port to use. How do I find that
out?
Then I create a new device. Name, Modbus, IP address, timing
parameters, Demoting device, tags - the tags in the PLC, or tags in
Labview or OPC are? Tags exist already at the SPS and I will not
change.
Then again Port, Driver settings, block sizes (coils and registers), variable import file,
At best, I would like to connect the PLC and then the tags are
already at the SPS exist. Then I can in LabVIEW shared variables to
connect every day to create new variables in Labview 8.5.
In the LabVIEW Project:
OPC client I / O Server has two options: 1 National Drivers
Instruments.OPC Lookout 2nd National Instruments.Lookout OPC Server
Which can be used? Do I need an additional option is not installed (eg Lookout)? The Labview 6.1 Lookout uses to connect.
If anyone can help me, I would be very happy!
08-03-2009 03:14 AM
Hi Glen,
in general you have two options to connect LabVIEW to your PLC using the Modbus protocol:
Either you have the LabVIEW DSC module installed (see here fore general information about the DSC module) or you use the Modbuse library for LabVIEW that's available for free, pleese see following links:
Do LabVIEW and LabVIEW Real-Time Support the Modbus Protocol?
Does your PLC have a Modbus interface? If yes, you don't need to use an OPC connection! The the DSC module (or the Modbus library) can directly use the Modbus protocol without the need of setting up an extra OPC communication layer.
If you want to use the NI OPC server (for whatever reason, e.g. you have other OPC servers as well) as a Modbus Ethernet OPC server, you would first have to create the server. After you have done so, you can use the DSC and create an I/O server to connect to all the tags you have previously created.
Please see also following links:
Anbindung von LabVIEW an beliebige Industrienetzwerke und SPSen
08-03-2009 03:15 AM
Hi Glen,
in general you have two options to connect LabVIEW to your PLC using the Modbus protocol:
Either you have the LabVIEW DSC module installed (see here fore general information about the DSC module) or you use the Modbuse library for LabVIEW that's available for free, pleese see following links:
Do LabVIEW and LabVIEW Real-Time Support the Modbus Protocol?
Does your PLC have a Modbus interface? If yes, you don't need to use an OPC connection! The the DSC module (or the Modbus library) can directly use the Modbus protocol without the need of setting up an extra OPC communication layer.
If you want to use the NI OPC server (for whatever reason, e.g. you have other OPC servers as well) as a Modbus Ethernet OPC server, you would first have to create the server. After you have done so, you can use the DSC and create an I/O server to connect to all the tags you have previously created.
Please see also following links:
Anbindung von LabVIEW an beliebige Industrienetzwerke und SPSen