ST_EL2258_Diagnostics
The data type ST_EL2258_Diagnostics contains diagnostic data that can be used for error analysis.
TYPE ST_EL2258_Diagnostics :
STRUCT
ErrorOnOutputMissed : BOOL;
ErrorOffOutputMissed : BOOL;
ErrorNoOfEventsExceeded : BOOL;
ErrorBufferOverflow : BOOL;
ErrorEventDistance : BOOL;
OnPrecisionReduced : BOOL;
OffPrecisionReduced : BOOL;
LastOutputLevel : BOOL;
ActivatedOnValues : INT;
ActivatedOffValues : INT;
END_STRUCT
END_TYPE
Name | Type | Description |
---|---|---|
ErrorOnOutputMissed | BOOL | Indicates that a rising switching edge could not be determined to an exact cycle and therefore could not be output. The ForceWhenLate input can be set in order to output the switching edge as well as possible. |
ErrorOffOutputMissed | BOOL | Indicates that a falling switching edge could not be determined to an exact cycle and therefore could not be output. The ForceWhenLate input can be set in order to output the switching edge as well as possible. |
ErrorNoOfEventsExceeded | BOOL | Indicates that too many edges were delivered for a cycle and that therefore not all of them can be output. |
ErrorBufferOverflow | BOOL | Indicates that the output buffer of the EL2258 is full. |
ErrorEventDistance | BOOL | Indicates that the distance between two consecutive edges is too small. |
OnPrecisionReduced | BOOL | Indicates that a rising switching edge could not be determined to an exact cycle. However, the switching edge was output as well as possible. |
OffPrecisionReduced | BOOL | Indicates that a falling switching edge could not be determined to an exact cycle. However, the switching edge was output as well as possible. |
LastOutputLevel | BOOL | Indicates which signal state the channel of the EL2262 will have after the following update. |
ActivatedOnValues | INT | Number of rising edges activated in this cycle. |
ActivatedOffValues | INT | Number of falling edges activated in this cycle. |