5function blocks – Lenze E94A User Manual

Page 402

Advertising
background image

5

Function blocks

5.111

L_PosPositionerTable - profile data record management

402

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

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

Outputs

Parameter

dwJerk

DWORD

S-ramp time to be "taught" in [ms]

AxisData

Machine parameters

• For accepting the machine parameters of the drive/motor, connect this input

with the output DI_AxisData of the SB LS_DriveInterface.

• The machine parameters of a master drive can be displayed with the

FB

L_SdSetAxisData

. In this case, the FB output AxisData must be connected to

this input.

( 510)

Identifier/data type

Value/meaning

dnState

DINT

Status (bit coded)

bits15 Error is active.
bits16 Calculation is active.
bits17 Position taught.
bits18 Speed taught.
bits19 Acceleration taught.
bits20 S-ramp time taught.
bits28 Error: Invalid machine parameters (AxisData).
bits29 Error: Invalid profile number (dwProfileNumber).
bits30 Error: Invalid teach profile number.

bBusy

BOOL

Status signal "Conversion of the profile parameter is active"

FALSE Profile parameters are ready.

TRUE Conversion is active, no access possible to the profile parameters at

the moment.

ProfileData

Interface to basic function "Positioning"

• Data structure with the profile parameters of the profile selected via the input

dwProfileNumber.

• Connect this output with the input of the same name of the SB LS_Positioner.

FBData

FB interface for internal profiles/table data (

L_PosGetProfile

,

L_PosGetTableAcc

,

L_PosGetTableJerk

,

L_PosGetTablePos

,

L_PosGetTableSpeed

)

• Data structure with the internal instance data.

Parameter

Possible settings

Information

C04700/1

"Teach" position

• For execution via parameter chan-

nel.

01 The position assigned to the input

dnPos_p is stored at the VTPOS table

position selected via the input

dwPosTableNumber.

C04700/2

"Teach" speed

• For execution via parameter chan-

nel.

01 The speed assigned to the input

dnSpeed_s is stored at the VTSPEED

table position selected via the input

dwSpeedTableNumber.

Identifier/data type

Information/possible settings

Advertising