Motion control C3F_T40
302 192-121102 N04 June 2008
5.12.3. Set error reaction (C3_SetErrorReaction)
FB name C3_SetErrorReaction
This module is used to define the error reaction.
Note: The error reaction cannot be changed for errors with standard reaction 5 (switch
immediately to currentless (without ramp), close brake).
VAR_INPUT
Execute
BOOL The defined error reaction is set for the selected error
ErrorID
WORD
Error number [hexadecimal] for which the error
reaction should be set, e.g. 0x6281
Reaction
INT Error response:
0: no reaction, error is deactivated.
1: Downramp actual speed; remain in position control
state
2: Downramp the actual speed; then switch off
controller
VAR_OUTPUT
Done
BOOL The defined error reaction was set
Error
BOOL Error while executing module
Note:
Error list
The error reaction settings from the configuration wizard are overwritten.
The setting of the error mask is made internally via a C3 object. If the objects are
saved permanently, the setting is memorised after Power off.
Please note:
The C3_ErrorMask overwrites (depending on the calling-up order) the settings.
The corresponding error reaction is valid for both axes (of Compax3F) as the case
may be.
The module will overwrite the settings made via the C3 ServoManager.
If the ErrorID has an invalid erorr number, no change is effected.
Execute : BOOL
ErrorID : WORD
Reaction : INT
C3_SetErrorReaction
Done : BOOL
Error: BOOL