ST_RegisterDiagSource - General Information
Type: |
Data structure |
Available as of: |
V2.0.0.0 |
Inherits from: |
- |
Versions: |
Current version |
Substructure for ST_DiagnosticsManagerToDiagSource via which communication of several diagnostic sources is coordinated
Variable |
Data type |
Description |
---|---|---|
xUsed |
BOOL |
TRUE, as soon as it is writing in the register structure during the program cycle. A diagnostic source must verify this register first and may only write if it still returns FALSE. |
udiNextId |
UDINT |
This ID must use a diagnostic source to register itself. The ID is required for all following communication. After the registration, a diagnostic source determines in each cycle whether it was sent a command by checking ST_DiagnosticsManagerToDiagSource.i_udiComWithId for the presence of the own ID. |
sName |
STRING(255) |
A unique string ID for every connected diagnostic source for the communication. |
sTypeName |
STRING(255) |
A string for describing and allocating the diagnostic source to a diagnostic type. |
xUnsubscribe |
BOOL |
Communication is only permitted as long as the value is FALSE. After the completion of all the communication processes, a diagnostic source must set this value to TRUE. |
udiSourceId |
UDINT |
ID of the source |