名称 |
值 (INT) |
描述 |
---|---|---|
OK |
0 |
功能块 FB_Drive_PosControl 执行成功。 |
UnexpectedReturnValue |
1 |
系统的返回值无法确定 请联系 Schneider Electric 服务代表 |
AxisInvalid |
2 |
未为输入 i_ifAxis 指定轴,或者指定的轴不提供功能块 FB_Drive_PosControl 所需的功能。 将要执行功能块的轴连接到输入 i_ifAxis。连接提供此功能块所需的功能的轴。 |
PositionDiffOutOfRange |
3 |
位置偏差超过输入 i_lrMaxPositionDiff 设置的最大值,或此输入的值为 0。 |
InvalidPositionResolution |
4 |
以用户自定义单位表示的编码器分辨率(每转的用户自定义单位数)无效。 |
InvalidIncrementalResolution |
5 |
以增量表示的编码器分辨率(每转的增量数)无效。 |
VelocityThresholdsNotConsistent |
6 |
输入 i_lrMaxVelocity 和 i_lrMinVelocity 的值不一致。 |
InvalidPositionDiff |
7 |
位置偏差值无效。 |
NegativeValueForProportionalGain |
8 |
在输入 i_lrKp 处设置的值小于 0。 |
AxisInErrorStop |
9 |
由于检测到轴错误且轴处于 ErrorStop 运行状态,因此无法执行功能块。 |
ExternalError |
10 |
(比如,在驱动器中)检测到外部错误。 |
DriveNotEnabled |
11 |
驱动器不处于运行状态 Operation Enabled。 |
OnlyControlledAxisSupported |
12 |
在输入 i_ifAxis 处指定的轴不是受控轴(MOIN.FB_ControlledAxis 类型)。 |
ControlledAxisIsConnectedToDevice |
13 |
在输 入i_ifAxis 处指定的轴是连接到物理驱动器的受控轴(MOIN.FB_ControlledAxis 类型)。 |
MaxDeadTimeExceeded |
14 |
已超过输入 i_uiDeadTime 指定的最大空载时间值。最大值为 50。 |
InvalidVelocityFeedForwardControl |
15 |
输入 i_lrVelocityFeedForwardControl 的值无效。值范围为 0 ...1。 |
IfMotionCommandNotSupported |
16 |
连接的轴不支持所有需要的功能。 确认连接的轴实现了 MotionInterface 库的 IF_MotionCommand 接口。 |
MovementOnVirtualAxisDetectedWhileDriveDisabled |
17 |
已检测到虚拟轴运动,但未启用驱动器的输出级。 |
NegativeValueForErrorStopDeceleration |
18 |
检测到错误后停止的减速度值为负值。 |
ErrorStopping |
19 |
停止受控驱动器的输出速度正在降低。 |