FC_DiagConfigSubClassGroupSet - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.50.1.0

Versions:

Current version

NOTICE
MODIFICATION OF THE VERIFIED STANDARD ERROR HANDLING
Make sure that only authorized and qualified programmers use this function after consulting Schneider Electric.
Failure to follow these instructions can result in equipment damage.

Task

Modify the diagnostic configuration of diagnostic messages appertaining to the same sub class.

NOTE: The call-up of this function is only possible as of Sercos phase 2.

Description

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.

Interface

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

Return Value

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.