Download 4 - SEW-Eurodrive

Transcript
Description of the Function Modules
Directory MDX_SingleAxis
4.4
4
Directory MDX_SingleAxis
The MDX_SingleAxis directory, contains function modules that enable motion tasks
for a motor axis with encoder.
4.4.1
Function module MC_MoveVelocity_MDX
MC_MoveVelocity_MDX
Execute : BOOL
Velocity : DINT
Acceleration : DINT
Deceleration : DINT
InVelocity : BOOL
Axis : AXIS_REF (VAR_IN_OUT)
Active : BOOL
CommandAborted : BOOL
Error : BOOL
ErrorID : DWORD
Axis : AXIS_REF(VAR_IN_OUT)
20010AXX
Description
The function module MC_MoveVelocity_MDX triggers continuous rotation of a motor
axis.
•
The inputs Velocity, Acceleration and Deceleration determine the dynamic behavior
of the rotation.
•
The drive inverter controls the speed of the motor axis specified by the input signal
Velocity until the task of the function module MC_MoveVelocity_MDX is cancelled or
interrupted (→ Sec. "General functionality of the function modules," page 15).
Application
The function module MC_MoveVelocity_MDX can only be used on motor axes with
encoders.
Prerequisites
For the function module MC_MoveVelocity_MDX to be executed, the motor axis must
be assigned the status Standstill or ContinuousMotion in PLCopenState (output signal
of the function module MC_ConnectAxis_MDX).
Inputs
The function module MC_MoveVelocity_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 starts the
speed control.
Velocity
DINT
This input specifies the target setpoint speed of the motor rotation.
(Unit: 1/min, maximum setting range -6000 ...6000)
Acceleration
DINT
This input specifies the ramp time for acceleration to a speed changed
by 3000 1/min (increase of kinetic energy in the motor).
(Unit: ms, maximum setting range: 0 ... 2000000)
Deceleration
DINT
This input specifies the ramp time for deceleration to a speed changed
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
29