beautypg.com

L_camgetaxisdata, 5function blocks – Lenze E94A User Manual

Page 155

background image

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

155

5

Function blocks

5.4

L_CamGetAxisData - reading out machine parameters from cam data

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

5.4

L_CamGetAxisData - reading out machine parameters from cam data

This FB reads out the machine parameters of the axis selected via the input dnAxisNumber from the

cam data and via the output AxisData provides them to subsequent FBs requiring these data for in-

ternal calculations (e. g. master value integrators, FBs for stretching/compression and other FBs for

processing cam data).

• If it is used within curve applications, the FB at least has to be instanced twice:

• Instance 1 for the 1-measuring system (e. g. the measuring system of the x axis)
• Instance 2 for the 2-measuring system (e. g. the measuring system of the y axis)

• Further instances for other measuring systems available (e. g. characteristic) are then to be ad-

ded according to the application.

Inputs

Function library:

LenzeCam

FB only permissible for firmware from V3.0 onwards!

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Note!

In order to enable the FB to read out machine parameters from a measuring system, the

corresponding measuring system must be used in the »Cam Manager« at least once in a

curve, cam, or position marker track!
Access to the machine parameters of the drive/motor
The machine parameters of the drive/motor via the output DI_AxisData of

the LS_DriveInterface SB are provided to other function blocks requiring these data for

internal calculations.

Identifier/data type

Information/possible settings

dnAxisNumber

DINT

Number of the axis the machine data of which are to be output at AxisData.

/B&DP*HW$[LV'DWD

&
& *HDUER[IDFWRUGHQRPLQDWRU
& 5HVXOWLQJJHDUER[IDFWRU
& )HHGFRQVWDQW
& 7UDYHUVLQJUDQJH
& 5HVROXWLRQRIDSSOLFDWLRQXQLW
& 5HVROXWLRQRIHQFRGHUUHYROXWLRQ
& 5HIHUHQFHVSHHG
& 0D[LPXPPDFKLQHVSHHG

&DPGDWD

$[LV'DWD

E(UURU

& 6SHHGXQLW

& 6WDWH

*HDUER[IDFWRUQXPHUDWRU

GQ$[LV1XPEHU

&

GQ&\FOH/HQJWKBS

&

& 3RVLWLRQXQLW

& $FFHOHUDWLRQXQLW
& 7LPHXQLW
& $[LVQDPH