beautypg.com

108 l_posgettablepos - position table, L_posgettablepos, 5function blocks – Lenze E94A User Manual

Page 395

background image

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

395

5

Function blocks

5.108

L_PosGetTablePos - position table

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

5.108

L_PosGetTablePos - position table

Together with an FB instance of type

L_PosPositionerTable

this FB provides five position values from

the VTPOS variable table.
In connection with an FB instance of type

L_PosProfileTable

it is possible to output the positions

that are directly defined in the profiles.

Inputs

Outputs

Function library:

LenzePositioning

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dwPosTableNumber1...5

DWORD

Number of the table position or profile, the position value of which is to be output

at dnPosition1_p ... dnPosition5_p.
In connection with an FB instance of type L_PosPositionerTable:

1 ... 50 Table position 1 ... 75 of the VTPOS table

In connection with an FB instance of type L_PosProfileTable:

1 ... 4 Profile 1 ... 4

FBData

Interface for the transmission of the FB instance data.

• Connect this input with the output of the same name of the FB instance of type

L_PosPositionerTable or L_PosProfileTable.

Identifier/data type

Value/meaning

dnState

DINT

Status (bit coded)

Bit15 Error is active (collective message).
bit16 dwPosTableNumber1 is not within the valid range.

bits17 dwPosTableNumber2 is not within the valid range.
bits18 dwPosTableNumber3 is not within the valid range.

Bit 19 dwPosTableNumber4 is not within the valid range.

bits20 dwPosTableNumber5 is not within the valid range.
bits27 Error: Invalid FB instance data.

dnPosition1...5_p

DINT

Position in [inc] parameterised at table position or in profile number

dwPosTableNumber1...5.

/B3RV*HW7DEOH3RV

GZ3RV7DEOH1XPEHU

GZ3RV7DEOH1XPEHU

GZ3RV7DEOH1XPEHU

GZ3RV7DEOH1XPEHU

GQ3RVLWLRQBS

GQ3RVLWLRQBS

GQ6WDWH

GZ3RV7DEOH1XPEHU

GQ3RVLWLRQBS

GQ3RVLWLRQBS

GQ3RVLWLRQBS

)%'DWD

326