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

Page 465

Advertising
background image

Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05

465

8

Basic drive functions (MCK)

8.3

MCKInterface

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

Inputs

Outputs

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".

wActPosMode

WORD

Current positioning mode

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

MCK status word

.

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

wPosUnitsLW

wPosUnitsHW

WORD

Output of the position selected in

C01295

in [units]

wPosUnitsLW = LOW word, wPosUnitsHW = HIGH word

• The mode for calculating the position is selected in

C01296/2

.

dnPosOut_p

DINT

Output of the position selected in

C01295

in [increments]

• The mode for calculating the position is selected in

C01296/2

.

Advertising