This enumeration contains the return values on the status of the execution of the function block FB_Drive_PosControl.
Name |
Value (INT) |
Description |
---|---|---|
OK |
0 |
Function block FB_Drive_PosControl executed successfully. |
UnexpectedReturnValue |
1 |
Indeterminable return value from system Contact your Schneider Electric service representative |
AxisInvalid |
2 |
No axis is specified for the input i_ifAxis, or the specified axis does not provide the functionality required by the function block FB_Drive_PosControl. Connect the axis for which the function block is to be executed to the input i_ifAxis. Connect an axis that provides the functionality required by the function block. |
PositionDiffOutOfRange |
3 |
The position deviation has exceeded the maximum value set by the input i_lrMaxPositionDiff or the value at this input is 0. |
InvalidPositionResolution |
4 |
The encoder resolution in user-defined units (number of user-defined for every revolution) is invalid. |
InvalidIncrementalResolution |
5 |
The encoder resolution in increments (number of increments for every revolution) is invalid. |
VelocityThresholdsNotConsistent |
6 |
The values at the input i_lrMaxVelocity and i_lrMinVelocity are not consistent. |
InvalidPositionDiff |
7 |
The position deviation value is invalid. |
NegativeValueForProportionalGain |
8 |
A value less than 0 has been set at the input i_lrKp. |
AxisInErrorStop |
9 |
The function block cannot be executed because an axis error has been detected and the axis is in operating state ErrorStop. |
ExternalError |
10 |
An external error has been detected, for example, from the drive. |
DriveNotEnabled |
11 |
The drive is not in the operating state Operation Enabled. |
OnlyControlledAxisSupported |
12 |
The axis specified at the input i_ifAxis is not a controlled axis (type MOIN.FB_ControlledAxis). |
ControlledAxisIsConnectedToDevice |
13 |
The axis specified at the input i_ifAxis is a controlled axis (type MOIN.FB_ControlledAxis) connected to a physical drive. |
MaxDeadTimeExceeded |
14 |
The maximum dead time value specified by the input i_uiDeadTime has been exceeded. The maximum value is 50. |
InvalidVelocityFeedForwardControl |
15 |
The value for the input i_lrVelocityFeedForwardControl is invalid. The value range is 0 ... 1. |
IfMotionCommandNotSupported |
16 |
The connected axis does not support all of the required functions. Verify that the connected axis implements the IF_MotionCommand interface of the MotionInterface library. |
MovementOnVirtualAxisDetectedWhileDriveDisabled |
17 |
A movement of the virtual axis has been detected, but the power stage of the drive is not enabled. |
NegativeValueForErrorStopDeceleration |
18 |
The deceleration value for a stop after an error has been detected is negative. |
ErrorStopping |
19 |
The output velocity for a stop of the controlled drive is being reduced. |