Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens SIMATIC S7-1500 Funktionshandbuch Seite 278

Vorschau ausblenden Andere Handbücher für SIMATIC S7-1500:
Inhaltsverzeichnis

Werbung

Ausnahmen
Beispiel
S7-PLCSIM Advanced
Funktionshandbuch, 05/2021, A5E37039506-AD
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime Fehlercode
ERuntimeError-
Code.InterfaceRemoved
ERuntimeError-
Code.WrongModuleState
ERuntimeError-
Code.DoesNotExist
ERuntimeError-
Code.WrongArgument
ERuntimeError-
Code.WrongModuleType
ERuntimeErrorCode.Timeout
ushort seqNumber;
var In_ArrayOfDiagnosisEvent = new SDiagExtChannelDescrip-
tion[] {
new SDiagExtChannelDescription() {ChannelNumber = 0x8000,
ErrorType = 0x0001,
ExtErrorType = 0, Direction = EDiagProperty.Appear,Severity
=EDiagSeverity.MaintDemanded},
new SDiagExtChannelDescription() {ChannelNumber = 0x8000,
ErrorType = 0x0002,
ExtErrorType = 0, Direction = EDiagProperty.Appear,Severity
=EDiagSeverity.Failure},
new SDiagExtChannelDescription() {ChannelNumber = 0x8000,
ErrorType = 0x0003,
ExtErrorType = 0, Direction = EDiagProperty.Appear,Severity
=EDiagSeverity.MaintRequired},
Instance.AlarmNotification(269, 7, 3,
In_ArrayOfDiagnosisEvent, out seqNumber);
//ModuleState parameter is sum of the severities in the SDi-
agExtChannelDescription array above: 4+2+1
Anwenderschnittstellen (API)
7.6 API IInstances
Bedingung
Die Instanz ist im Runtime Manager nicht
registriert.
Das Modul ist momentan gezogen.
Die HW-Kennung des Moduls existiert
nicht.
Der Wert für den Modulzustand ist ungül-
tig.
Die Kanalnummer existiert für das Modul
nicht.
Die Funktion kehrt nicht rechtzeitig wie-
der.
277

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Simatic s7-plcsim advanced

Inhaltsverzeichnis