MC_SetOverride
Item
Function overview
Symbol
[Structured Ladder]
Applicable hardware and
software (Language)
■Function description
• This FB changes the target velocity and the acceleration/deceleration of the specified axis.
• The target velocity and the acceleration/deceleration are changed to the value obtained by the multiplication of the velocity
in operation by the override factor.
• The FB is executed when Enable is TRUE. Enabled turns TRUE while the override factor is valid.
• If the override factor value is changed while Enable is TRUE, the new override factor is reflected.
• When an error has occurred in the FB, this FB turns Error to TRUE and stores an error code in ErrorID. For details of error
codes, refer to the following.
Page 534 List of Error Codes
• When 0.00 is set to the velocity override factor, the axis stops without changing the axis status to "4: Standstill".
• When 0.00 is set to the acceleration override factor, the acceleration override factor is not changed, and the previous
acceleration override factor is maintained.
Precautions
This FB changes AxisName.Cd.VelocityOverride and AxisName.Cd.AccelerationOverride.
■Timing chart
[When the FB is normally completed]
Enable
VelFactor
1.00
Enabled
Error
ErrorID
100%
Velocity
9 RELEVANT FUNCTIONS TO VELOCITY
322
9.3 Override Function
Description
Changes the target velocity and the acceleration/deceleration of the specified axis.
DUT : Axis
B : Enable
E : VelFactor
E : AccFactor
E : JerkFactor
RD78G(H) (Structured Text)
0.50
0.00
0
50%
0%
MC_SetOverride
Axis : DUT
Enabled : B
ErrorID : UW
0.75
75%
Busy : B
Error : B