DiagnosticsCounter (FB)¶
FUNCTION_BLOCK FINAL DiagnosticsCounter IMPLEMENTS IDiagnosticsCounter
Data structure for counting events for diagnostic purposes
See IDiagnosticsCounter for more details
- InOut:
Scope
Name
Type
Comment
Input Const
eClassification
eDiagnosticsLevel
Output
udiValue
UDINT
Current Counter Value
xActive
BOOL
True
🠖 Counter is activedtTimeStamp
DT
Timestamp when the counter changed
dtTimeFirstChange
DT
Timestamp when the counter changed from 0 to 1