Download 4 - SEW-Eurodrive

Transcript
Description of the Function Modules
Directory MDX_InverterParameters
4
4.6.3
Function module MC_SetDynamics_MDX
MC_SetDynamics_MDX
Execute : BOOL
Velocity : DINT
Acceleration : DINT
Deceleration : DINT
Done : BOOL
Axis : AXIS_REF (VAR_IN_OUT)
Busy : BOOL
Error : BOOL
ErrorID : DWORD
Axis : AXIS_REF(VAR_IN_OUT)
20023AXX
Description
52
The function module MC_SetDynamics_MDX is used to change the dynamic parameters while a task of one of the function modules MC_MoveAbsolute_MDX or
MC_MoveRelative_MDX is being executed.
•
The task of the function module MC_SetDynamics_MDX should only be started
when the drive is executing a task of one of the function modules
MC_MoveAbsolute_MDX or MC_MoveRelative_MDX.
•
The inputs Velocity, Acceleration and Deceleration determine the dynamic behavior
of the rotation.
Application
The function module MC_SetDynamics_MDX can be used on all motor axes.
Inputs
The function module MC_SetDynamics_MDX has the following inputs:
Input
Type
Description
Execute
BOOL
This input starts the task of the function module.
When a rising edge occurs at this input, the function module changes
the dynamic parameters of the motor rotation according to the inputs
Velocity, Acceleration and Deceleration.
Velocity
DINT
This input specifies the new target setpoint speed of the motor rotation.
(Unit: 1/min, maximum setting range -6000 ... 6000)
Acceleration
DINT
This input specifies the new ramp time for acceleration to a speed
increased by 3000 1/min (increase of kinetic energy in the motor).
(Unit: ms, maximum setting range: 0 ... 2000000)
Deceleration
DINT
This input specifies the new ramp time for deceleration to a speed lowered by 3000 1/min (reduction of kinetic energy in the motor).
(Unit: ms, maximum setting range: 0 ... 2000000).
Axis
AXIS_REF
This input specifies the motor axis on which the actions of the function
module are to be executed.
Manual – MPLCMotion_MDX Library