de:project_s7:start

Simatic Projekts und Lösungen

Simatic Projekts und Lösungen

deutsch Mir kommt oft vor, dass die Anpassung verschiedener externer Systeme unrealistisch lange Entwicklungszeit in Anspruch nimmt. In solchen Zeiten denke ich, dass andere dieses Problem bereits gelöst haben, und es wäre gut, darüber Bescheid zu wissen. Das TIA-Portal unterstützt keine direkte Adressierung. Daher ist die Lösung dieser Probleme in vielen Fällen recht umständlich.

Allgemeine Softwarelösungen für Arduino (zB I²C-Scanner, SIM900-Testprogramm, ..) finden Sie hier: Arduino Tools

In dieser Bibliothek teile ich daher Lösungen, die auf das TIA-Portal angewendet werden können. Wenn Sie keine geeignete Lösung finden können oder wenn die Lösung nur teilweise für das Problem geeignet ist, kontaktieren Sie mich bitte. Möglicherweise können wir uns auf eine Lösung einigen.

Liste der Projekte in chronologischer Reihenfolge (zuletzt nach oben)

english It often happens to me that adapting various external systems takes an unrealistically long development time. At such times, I think others have already solved this problem and it would be good to know about it. The TIA Portal does not support direct addressing. Therefore, solving these problems is very cumbersome in many cases.

General software solutions for Arduino (eg I2C scanner, SIM900 test program, ..) can be found here: Arduino Tools

In this library I am therefore sharing solutions that can be applied to the TIA Portal. If you cannot find a suitable solution, or if the solution is only partially suitable for the problem, please contact me. We may be able to agree on a solution.

List of projects in chronological order (last up)

magyar Gyakran előfordul velem, hogy a különféle különféle rendszerek adaptálása irreálisan hosszú fejlesztési időt igényel. Ilyenkor arra gondolok, hogy mások már lehet, hogy megoldották ezt a problémát, és jó lenne tudni róla. Ráadásul, a Simatic esetén a klasszikus (V5.5, v5.6,..) rendszerrel szemben a TIA portál nem támogatja a közvetlen címzést. Az ezzel kapcsolatos problémáknak a megoldása sok esetben nagyon körülményes.

Ebben a könyvtárban olyan megoldásokat osztok meg, melyek a TIA Portálon alkalmazhatók. Ha nem talál megfelelő megoldást, vagy ha a megoldás csak részben alkalmas a problémára, kérjük, lépjen velem kapcsolatba. Lehet, hogy meg tudunk egyezni a megoldásról.

tablelayout

Projektname - Project name Beschreibung
description
Tags
Convert String to LInt and Real
Konvert String nach real und Lint
deutsch Das Programm konvertiert den (Bruch-)Zahl, der zuerst in der (TIA-Portal) String-Kette auftritt, in LInt- und Real-Typ.
english The program converts the fraction that first occurs in the (TIA-Portal) String chain to LInt and REAL numbers.

2020.10.30.
#s7 #tia #s7_1500 #string #real #convert #Lint
current time to words and bytes
aktuelle Uhrzeit zu Words und Bytes
deutsch Dieses Programm konvertiert die aktuelle Uhrzeit vom selten verwendeten Format date_and_time (DT) in das Byte- oder Wortformat.
english This program converts current time from the infrequently used date_and_time (DT) format to byte or word format.

2020.10.23.
#s7 #tia #s7_1500 #current_time #date_and_time #convert #word #byte
S7-1500 und Arduino Modbus Verbindung 1
S7-1500 and Arduino Modbus connection 1
deutsch Mit den Mikroprozessorlösungen von Arduino eröffnet sich eine neue Welt für Simatic-Anwendungen. Im folgenden Beispiel speichert Arduino die gesammelten Messdaten als Server. Die Daten werden Simatic als Client abgefragt.
english In the following example, Arduino saves the collected measurement data as a server. The data is queried by Simatic as a client.
#s7 #tia #s7_1500 #modbus #sensor #master
"INIT" nur einmal mit Verzögerung ausführen

Execute INIT only once with a delay
deutsch Oft muss die SPS einen Init-Programmblock für eine bestimmte Aufgabe ausführen. Dieser Init-Block muss nur einmal ausgeführt werden und mit einer Verzögerung im Vergleich zum Einschalten der SPS beginnen (beispielsweise darauf warten, dass das Gerät eine stabile Kommunikation herstellt).
english The PLC often has to execute an init program block for a specific task. This Init block only needs to be executed once and has to start with a delay compared to switching on the PLC (for example, wait for the device to establish stable communication).
#s7 #tia #s7_1500 #delay #init #easy_example
Simatic S7-1500 - IntesisBox Modbus Kommunikation

Simatic S7-1500 - IntesisBox Modbus communication
deutsch Das Programm kommuniziert mit der intesisBox über Modbus. Der intesisBox Modbus-Server besteht aus Modbus-Modulgruppen, eine Modulgruppe ist auf 22 Wörter festgelegt. Die Anzahl der zu lesenden Gruppen kann parametriert werden.
english The program communicates with the intesisBox via Modbus. The intesisBox Modbus server consists of Modbus module groups, a module group is fixed at 22 words. The number of groups to be read can be parameterized.
#s7 #tia #s7_1500 #intensisBox #Modbus #Kommunikation #vollständig
Scalance Modul diagnose (s7-1500, TIA-portal)

english Siemens has released its own diagnosis library for Scalances (109753067_PNDateRecord_LIB_TIA_V21). It works very well, its show the used ports and it can read the IP, MAC address. If – on the other hand – the module shuts down (fails, loses power), the library will it not notify, as far as I know. I have fixed this problem
deutsch Siemens hat eine eigene Diagnosebibliothek für Scalances veröffentlicht (109753067_PNDateRecord_LIB_TIA_V21). Dies funktioniert sehr gut, es liest die verwendeten Ports aus und es kann die IP- und MAC-Adresse lesen. Wenn andererseits das Modul heruntergefahren wird (ausfällt, Strom verliert), benachrichtigt die Bibliothek meines Wissens nicht. Ich habe dieses Problem mit dem folgenden Programm behoben.
#s7 #tia #s7_1500 #Scalance #diagnose #hmi #scada
  • de/project_s7/start.txt
  • 2022/04/21 15:01
  • ()