Axis data ( 138), The l_lcb_logiccontrolbasic library – Lenze PLC Designer R3-x User Manual
Page 138
The L_LCB_LogicControlBasic library
L_LCB_GetAxisData - read out machine parameters from axis data
138
Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
13.20
L_LCB_GetAxisData - read out machine parameters from axis data
This FB reads out selected machine parameters from the axis data transmitted and provides them
to the following FBs, requiring these data for internal calculations.
Input
Outputs
Function library:
L_LCB_LogicControlBasic
Runtime software licence:
LPC 1x00
MPC 1x00
MPC 2xx0
MPC 3x00
L_LCB_GetAxisData
⎯ scAxisData
diCycleLength_p ⎯ DINT
rFeedConstant ⎯ REAL
diReferenceSpeed_s ⎯ DWORD
dwGearNumerator ⎯ DWORD
⎯
⎯
⎯
⎯
Identifier/data type
Information/possible settings
scAxisData
Machine parameters
Identifier/data type
Information/possible settings
diCycleLength_p
DINT
Cycle in [increments]
rFeedConstant
REAL
Cycle
diReferenceSpeed_s
DWORD
Reference speed as speed signal
dwGearNumerator
DWORD
Gearbox factor (numerator)
dwGearDenominator
DWORD
Gearbox factor (denominator)
dwBitsPerRevolution
DWORD
Resolution of an encoder revolution 10- 24 bit
dwIncrPerRevolution
DWORD
Resolution of one revolution in [increments]
eFeedType
DWORD
Traversing range
• 0 unlimited
• 1 limited
• 2 modulo