Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 317

Advertising
background image

1.3 EN - 07/2012

L

317

PLC Designer V2.x| Lenze Application Samples

The L_SSC_Scaling.lib library

L_SSC_GetAxisData - read out machine parameters from axis data

20.2

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

Inputs

Outputs

Identifier/data type

Information/possible settings

scAxisData

SSC_Axis_logic

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]

dwFeedType

DWORD

Traversing range

• 0 unlimited

• 1 limited

• 2 modulo

Advertising