L_MC2P_ConvAxisV

This FB transforms a speed between two axes.

 

 

 

L_MC2P_ConvAxisV

 

 

 

BOOL

-

xEnable

lrSetVelOut

-

LREAL

LREAL

-

lrCycVel

xError

-

BOOL

DWORD

-

dwMode

eErrorID

-

L_IE1P_Error

LREAL

-

lrCouplingX

LREAL

-

lrCouplingY

L_MC1P_TraversingRange

-

eTraversingRangeX

L_MC1P_TraversingRange

-

eTraversingRangeY

LREAL

-

lrCycleLengthY

LREAL

-

lrCycleLengthX

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

xEnable

BOOL

FALSE รค TRUE

Activating the function

FALSE

Initial speed = 0

TRUE

Initial speed = Transferred input speed

lrCycVel

LREAL

Selection of the master speed

dwMode

DWORD

Mode for coupling measuring systems X and Y

  • 0 = Unit coupling
  • 1 = Coupling via cycle lengths

lrCouplingX

LREAL

Coupling factor x axis

lrCouplingY

LREAL

Coupling factor y axis

eTraversingRangeX

L_MC1P_TraversingRange

Travel range x axis

eTraversingRangeY

L_MC1P_TraversingRange

Travel range y axis

lrCycleLengthY

LREAL

Cycle length of the X measuring system

lrCycleLengthX

LREAL

Cycle length of the Y measuring system

Outputs

Name

Data type

Value/meaning

lrSetVelOut

LREAL

Initial speed

xError

BOOL

TRUE

Status signal "error is present".

eErrorID

L_IE1P_Error

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

Functional description

This FB serves to transform a speed between two axes. It calculates the function of an electronic gearbox.

  • Operating mode 0 (unit coupling)
    In this operating mode, the FB couples both axes via the set feed constants.
    Via lrCouplingX and lrCouplingY the ratio of the respective units is set, i.e. the number of units of the x axis which corresponds to the number of units of the y axis.
  • Operating mode 1 (clock equality)
    In this operating mode the FB makes use of the set cycles. The transformation displays one cycle of the x axis exactly in one cycle of the y axis.