Ls_motioncontrolkernel, 8basic drive functions (mck) – Lenze 8400 User Manual
Page 439

Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05
439
8
Basic drive functions (MCK)
8.2
Internal interfaces | System block "LS_MotionControlKernel"
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
In the interconnection previously shown, the Motion Control Kernel monitors every interface. Some
of the signals such as a quick stop request or a DC-injection braking request are directly passed
through to the motor control. However, other signals are passed through or modified depending on
the operating mode (e.g. synchronising a setpoint selection via ramp function).
8.2
Internal interfaces | System block "LS_MotionControlKernel"
In the Function Block editor, the system block LS_MotionControlKernel provides the interfaces to
the Motion Control Kernel.
Inputs
Identifier
Data type
Information/possible settings
Control and setpoint signals for motor control
The purpose of the following inputs is to transfer control signals and setpoints to the internal motor control
function (
bPosCtrlOn
BOOL
Activation of position/angle control
FALSE Position/angle control deactivated.
TRUE Position/angle control activated.
bDeltaPosOn
BOOL
Activate position difference as setpoint selection
• In order to position the motor shaft, the
function can work
within the motor control function with the absolute position setpoint
dnPosSetValue_p or alternatively with the speed setpoint nSpeedSetValue_a and
the position difference dnDeltaPos_p.
FALSE Positioning with position setpoint dnPosSetValue_p.
TRUE Positioning with speed setpoint nSpeedSetValue_a and position
difference dnDeltaPos_p.
Note: In this case, no position encoder should be set to ensure a
correct function (
= "No encoder: nSpeedSetValue_a").
dnDeltaPos_p
DINT
Position difference (following error input)
• Difference between setpoint position and actual position in [increments]
• Is used for
if bDeltaPosOn = TRUE.
• Scaling: a revolution is displayed with 65536 increments or steps.
dnPosSetValue_p
DINT
Absolute position setpoint in [increments]
• Is used for
if bDeltaPosOn = FALSE.
• Scaling: a revolution is displayed with 65536 increments or steps.
bPosDerivativeOn
BOOL
Create a setpoint for the speed controller from the position setpoint
• For highly dynamic control systems, the setpoint for the speed controller can be
created from the absolute position setpoint dnPosSetValue_p instead of the
speed setpoint nSpeedSetValue_a.
Position control/additive speed
TRUE Create a speed setpoint from the position setpoint.
• The absolute position setpoint dnPosSetValue_p is differentiated
and a speed value is created which is the setpoint for the speed
controller.
• Internal limitation of 65536 increments/ms.
bMotorRefOffsetOn
BOOL
In preparation - Input has no function at present time!
Adopt home position ("Homing on the fly")
FALSETRUE Adopt home position dnMotorRefOffset_p.