Chapter 12 Troubleshooting
1
10. If VelFactor value is modified when Enable is TRUE and VelFactor value exceeds the valid range,
an error will occur in MC_SetOverride and the target velocity will return to that as VelFactor value is
100%.
11. When Enable changes to FALSE, the axis will accelerate or decelerate by taking VelFactor=100 as
the target.
12. If another MC_SetOverride instruction is started while one MC_SetOverride instruction is being
executed on the axis, the execution result of the later executed MC_SetOverride instruction will be
regarded as the reference result. The Enabled of the two instructions is TRUE.
13. If the MC_SetOverride instruction is used in the course of execution of the MC_MoveVelocity
instruction, InVelocity remains TRUE even if MC_SetOverride is executed after Invelocity of
MC_MoveVelocity changes to TRUE.
Programming Example
The example of how MC_MoveVelocity is affected by the execution of the MC_SetOverride instruction is
described as below.
1. The variable table and program
Vel_Act BOOL
2
1
SetOv_Bsy
SetOv_Err
SetOv_ErrID
SetOv_EnaAxis1
SetOv_En
SetOv_Velf
MC_SetOverride
Axis Enabled
SetOv
Enable
VelFactor
Busy
Error
AccFactor
JerkFactor
ErrorID
Axis1
10000.0
10000.0
10000.0
10000.0
Vel_Dir
Vel_Bsy
Vel_Act
Vel_Abt
Vel_Err
Vel_ErrID
Vel_Ex
Vel_Invel
MC_MoveVelocity
Axis Invelocity
Vel
Execute
ContinuousUpdate
Busy
Active
Velocity
Error
ErrorID
CommandAborte d
Acceleration
Deceleration
Jerk
Direction
BufferMode
11-85