L_MC1P_ReadMachineData

This FB provides the application with machine parameters active in the connected axis data.

 

 

 

L_MC1P_ReadMachineData

 

 

 

AXIS_REF

-

Axis

xValid

-

BOOL

BOOL

-

xEnable

xBusy

-

BOOL

xError

-

BOOL

eErrorID

-

L_IE1P_Error

lrFeedconstant

-

LREAL

dwGearDenominator

-

DWORD

dwGearNumerator

-

DWORD

dwAddGearDenominator

-

DWORD

dwAddGearNumerator

-

DWORD

dwPosResolution

-

DWORD

xOrientation

-

BOOL

eTraversingRange

-

L_MC1P_TraversingRange

lrCycleLength

-

LREAL

xVirtual

-

BOOL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xEnable

BOOL

TRUE

Activate execution of the function block.

Outputs

Name

Data type

Value/meaning

xValid

BOOL

TRUE

Valid values are applied to the FB outputs.

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

L_IE1P_Error

If xError = TRUE: Error number for the error that has occurred.

lrFeedconstant

LREAL

Feed constant

dwGearDenominator

DWORD

Gearbox factor denominator

dwGearNumerator

DWORD

Gearbox numerator

dwAddGearDenominator

DWORD

Additional gearbox factor denominator

dwAddGearNumerator

DWORD

Additional gearbox factor numerator

dwPosResolution

DWORD

Position resolution of an encoder revolution

xOrientation

BOOL

TRUE

Mounting position

eTraversingRange

L_MC1P_TraversingRange

Traversing range

lrCycleLength

LREAL

Cycle length

xVirtual

BOOL

TRUE

Virtual axis