Modify the diagnostic configuration of diagnostic messages appertaining to the same sub class.
This function allows you to modify the device reaction of the diagnostic messages with the same device reaction to another device reaction.
If the sub class changes, so that it is assigned to another diagnostic class, the diagnostic class is adjusted.
The interrelationship between the sub class, the diagnostic classes, and the reaction for drives and power supply units is listed in respective tables.
Input |
Data type |
Description |
---|---|---|
i_stAxisID |
ST_LogicalAddress |
Logical address of the axis |
i_diActualDiagSubClass |
DINT |
Present diagnostic sub class for the diagnostic message |
i_diNewDiagSubClass |
DINT |
New diagnostic sub class for the diagnostic message |
Data type |
Description |
---|---|
DINT |
0: OK 1: Some diagnostic messages configured. Not all diagnostic messages with ActualDiagSubClass can be changed to NewDiagSubClass because the MinimalReaction of these diagnostic messages are attached to a sub class that is higher than NewDiagSubClass. 2: No diagnostic messages configured. No diagnostic messages with ActualDiagSubClass can be changed to NewDiagSubClass because the MinimalReaction of these diagnostic messages are attached to a sub class that is higher than NewDiagSubClass. 3: No diagnostic message found for new configuration. There is no diagnostic message with a reaction attached to a sub class equal to ActualDiagSubClass. -1: The logical address is invalid. -431: Error detected during service request (for example, timeout). -445: Timeout of the service channel. -461: The Sercos bus must be in phase 2. -462: The addressed axis does not support this function. -464: Invalid service transfer. |