8basic drive functions (mck) – Lenze 8400 HighLine User Manual

Page 520

Advertising
background image

8

Basic drive functions (MCK)

8.3

MCKInterface

520

Lenze · 8400 HighLine · Referenzhandbuch · DMS 10.0 EN · 06/2014 · TD05/TD14

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Inputs

Outputs

Note!

When

C01296/2

> 0, the position selected in

C01295

is calculated in [units]. In this case,

the output values wPosUnitsLW, wPosUnitsHW and dnPosOut_p are not updated in a 1-

ms cycle (not in real time). However, they are applied consistently to each other. For this

reason, we recommend the use of these outputs only for diagnostic purposes where an

update in real time is not important.

Identifier

Data type

Information/possible settings

wInMckPosState_1

wInMckPosState_2

WORD

Inputs for accepting the status words from the

LS_MotionControlKernel

system

block.

dnPosIn_p

DINT

Position in [increments]

• Is converted into [units] if

C01295

= "0: dnPosIn_p" and output at the

wPosUnitsLW and wPosUnitsHW outputs.

• The mode for calculating the position is selected in

C01296/2

.

Identifier

Data type

Value/meaning

bAccelerating

BOOL

TRUE Acceleration phase active.

bDecelerating

BOOL

TRUE Braking phase active.

bConstantSpeedDuty

BOOL

TRUE Constant phase active.

bSShaping

BOOL

From version 12.00.00:

TRUE Profile rounding active.

bBusy

BOOL

TRUE Setpoint generation active.

bDone

BOOL

TRUE Target position (setpoint) has been approached.

bHomingPosAvailable

BOOL

TRUE Home position is known.

wOperationMode

WORD

Active setpoint-generating state of the Motion Control Kernel.

• Bit B0 ... B3 contain the information of the

MCK status word

.

• Bits B4 ... B15 are fixed at "0".

bHomingDone

BOOL

TRUE Homing has been executed.

bDwellTime

BOOL

TRUE Settling in target position is active

bInTarget

BOOL

TRUE Target position (actual value) is in the target window.

bPosDone

BOOL

TRUE Target position from the profile has been approached.

wActProfileNo

WORD

Current traversing profile number

• Bit B0 ... B7 contain the information of the

MCK status word

.

• Bits B8 ... B15 are fixed at "0".

Advertising