SMC_GroupSetDynamics (FB)ΒΆ
FUNCTION_BLOCK SMC_GroupSetDynamics
This function block allows setting a dynamic model for an axis group. Setting a dynamic model allows the axis group to calculate and limit axis torques. Setting or changing the dynamic model is only allowed while the axis group is disabled. See SMC_ChangeDynamicLimits in SM3_Basic for setting axis torque limits.
Note
A load (see SMC_GroupSetLoad) will be reset when executing this function block.
- InOut:
Scope
Name
Type
Comment
Inout
AxisGroupReference to a group of axes
Input
ExecuteBOOLThe dynamic model is set on a rising edge
DynamicsSMDYN.ISMDynamicsThe dynamic model. Setting it to 0 removes the current dynamic model and disables calculation and limitation of axis torques.
GravitationalAccelerationSMC_VECTOR3DThe gravitational acceleration, defined in the MCS in u/s^2.
Output
DoneBOOLThe dynamic model has been set successfully
BusyBOOLThe function block is not finished
ErrorBOOLSignals that an error has occurred within the function block
ErrorIDSMC_ERRORError identification