Table 7- 425 SDiagExtChannelDescription - .NET (C#)
Syntax
Member
Error types
The following table contains important error types (
standard:
Table 7- 426 Error types according to PROFINET standard
Value
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008:
0x0009
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
struct SDiagExtChannelDescription
{
UInt16 ChannelNumber;
UInt16 ErrorType;
UInt16 ExtErrorType;
EDiagSeverity Severity;
EDiagProperty Direction;
};
•
UInt16 ChannelNumber:
If the interrupt relates to a specific channel of the IO device (e.g. short circuit),
this parameter must contain the number of the faulty channel.
If the interrupt was generated by a module or submodule, the number of the
channel must be set to 0x8000.
•
UInt16 ErrorType:
The parameter defines error types according to PROFINET standard, see "Er-
ror types" section.
•
EDiagSeverity Severity:
The value of the severity for the diagnostics, see EDiagSeverity (Page 346).
•
EDiagProperty Direction:
The value for the incoming/outgoing information, see EDiagProperty
(Page 345).
•
UInt16 ExtErrorType:
This parameter provides the option of defining more details for the diagnostic
interrupt. This is helpful in combination with PDEV error types which are gener-
ated for CPU-internal modules. Should be 0 by default.
) according to PROFINET
ErrorType
Meaning
Reserved / unknown error
Short-circuit
Undervoltage
Overvoltage
Overload
Overtemperature
Wire break
High limit violated
Low limit violated
Error
User interfaces (API)
7.8 Data types
325