L_MC1P_AddOffsetCyclic

This FB serves to add any offset position to a position signal with modulo cycle.

 

 

 

L_MC1P_AddOffsetCyclic

 

 

 

LREAL

-

lrSetPos

lrSetPosOut

-

LREAL

LREAL

-

lrSetOffSet

xError

-

BOOL

L_MC1P_TraversingRange

-

eTraversingRange

eErrorID

-

L_IE1P_Error

LREAL

-

lrCycleLength

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

lrSetPos

LREAL

Input position

lrSetOffSet

LREAL

Offset

eTraversingRange

L_MC1P_TraversingRange

Travel range

0

Modulo travel range (rotary axis)

1

Limited travel range

lrCycleLength

LREAL

Cycle length

Outputs

Name

Data type

Value/meaning

lrSetPosOut

LREAL

Output signal of the position

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

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