L_MC1P_TpCalcDiff

This FB calculates a position error if a touch probe occurs (TP difference).

  • The block only works in the Modulo measuring system.

 

 

 

L_MC1P_TpCalcDiff

 

 

 

BOOL

-

xEnable

xTpReceived

-

BOOL

BOOL

-

xTpReceive

lrTpDiff

-

LREAL

LREAL

-

lrActTpPosIn

lrTpDiffTotal

-

LREAL

LREAL

-

lrSetTpPosIn

LREAL

-

lrCycleLength

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

xEnable

BOOL

TRUE

Activation of the FB

xTpReceive

BOOL

TRUE

Touch probe signal detected

lrActTpPosIn

LREAL

Detected touch probe position.

lrSetTpPosIn

LREAL

Setpoint position of the TP sensor

lrCycleLength

LREAL

Cycle length

Outputs

Name

Data type

Value/meaning

xTpReceived

BOOL

TRUE

Output of the touch probe signal detected.

lrTpDiff

LREAL

TRUE

Calculated TP difference

lrTpDiffTotal

BOOL

TRUE

Total TP difference since activation of the FB