
Mit C#, VB.NET an die jede SIMATIC S7
S7-1500 * S7-1200 * S7-300 * S7-400 * WIN AC RTX * VIPA S7 * !Logo
Das Framework ermöglicht den direkten Datenaustausch mit der SIMATIC S7 per TCP/IP. IPS7LnkNet.Advanced unterstützt alle SIMATIC-S7 SPS-Typen mit Ethernet OnBoard (PN) , S7-Ethernet-CP (CP-343...) und ProfiNet.
Auf Kommunikation zu allen S7-kompatiblen SPS wie VIPA-S7, S7-LAN und S5-LAN sind realisiert.
Die Kommunikation erfolgt über TCP/IP. Zur Verbindung mit der SPS werden nur IP-Adresse, sowie Steckplatz der CPU im Rack benötigt.
Schon kann auf die SPS-Daten zugegriffen werden. (Eingänge, Ausgänge, Merker, Datenbausteine, Timer und Zähler).
Es ist kein zusätzliches SPS-Programm nötig! IPS7LnkNet.Advanced bietet komfortable Objekte für .Net-Sprachen. Es werden die Microsoftstandards eingehalten.
Hier finden Sie Info zu den Einstellungen in der S7-1500 und 1200.
Hier ein Beispiel in C# : schreibe und lese "Hello World" in die SPS IP 192.168.0.80
namespace HelloWorld
{
using System;
using IPS7Lnk.Advanced;
///
/// This sample demonstrates a Hello World! application.
///
///
/// This application does write/read the 'Hello World!' message to/from the PLC and when
/// prints the message on the standard output.
///
public class Program
{
public static void Main(string[] args)
{
SiemensDevice device = new SiemensDevice(
new IPDeviceEndPoint("192.168.0.80"), SiemensDeviceType.S7300_400);
PlcDeviceConnection connection = device.CreateConnection();
connection.Open();
connection.WriteString("DB111.DBB100", "Hello World!");
string message = connection.ReadString("DB111.DBB 100", 16);
Console.WriteLine(message);
connection.Close();
Console.ReadKey();
}
}
}
Starten Sie Ihre Entwicklung sofort!
Viele Beispiele im Evaluationpaket Lesen / Schreiben von SPS-DatenBestellnummer | Bezeichnung |
---|---|
9742.net-S7-D | IPS7LnkNet.Advanced .NET S7 SDK Single Developer License |
9742.net-S7 | IPS7LnkNet.Advanced .NET S7 SDK Branch License |
9742.Logo.net-D | IPS7LnkNet.Advanced .NET only for S7 200/Logo Single Developer License |
9742.Logo.net | IPS7LnkNet.Advanced .NET only for S7 200/Logo Branch License |
SUP-9742.net-S7-D | IPS7LnkNet.Advanced .NET S7 SDK Single Developer License, 12 Months support and subscription |
SUP-9742.net-S7 | IPS7LnkNet.Advanced .NET S7 SDK Branch License, 12 Months support and subscription |
SUP-9742.Logo.net-D |
IPS7LnkNet.Advanced .NET only for S7 200/Logo Single Developer License, 12 Months support and subscription |
SUP-9742.Logo.net-D | IPS7LnkNet.Advanced .NET only for S7 200/Logo Branch License, 12 Months support and subscription |