SMC_GroupSetAncillaryPathLimits (FB)¶
FUNCTION_BLOCK SMC_GroupSetAncillaryPathLimits
This function block configures so called ancillary dynamic path limits for an axis group, that is ancillary limits for the velocity, acceleration, deceleration, and jerk along the path.
The ancillary limits allow for an easy programming of different operating modes of a robot, for example a manual mode in which the robot may only move slowly for safety reasons.
The effective dynamic path limits for a movement are built from the following inputs:
C: the commanded path limits for a movement (inputs Velocity, Acceleration, …),
O: the current path override factors, and
A: the ancillary path limits.
The effective path limits L are computed from these inputs as L = O * min(A, C).
Note
This function block may not be called in the states
GroupDisabledorGroupErrorStop, and, ifExecutionModeequalsImmediately, no MC_GroupStop may be active.No path limit may be zero or negative. Otherwise, the function block returns an error.
MC_GroupStop ignores ancillary limits.
- InOut:
Scope
Name
Type
Comment
Inout
AxisGroupReference to an axis group
Input
ExecuteBOOLSets the limits on rising edge.
ExecutionModeDescribes when the new limits become active.
LimitsThe ancillary dynamic limits.
fTorqueMaxis ignored.Output
DoneBOOLThe limits have been set successfully.
BusyBOOLThe FB is not finished.
ErrorBOOLSignals that an error has occurred within the function block.
ErrorIDSMC_ERRORError identification