ST_Touchprobe

 

ST_Touchprobe - General Information

Overview

Type:

Data structure

Available as of:

V1.0.0.0

Inherits from:

-

Description

Structure for recording measured values. Should not be used for high-precision measurements. The dead time of the axis is not taken into account. The measurement refers to the reference values.

NOTE: Only Controller OnBoard I/O touch probes and drive touch probes are supported by the functionalities of this structure. TM5 module touch probes are not supported.

Structure Elements

Variable

Data type

Description

ifTouchProbe

SystemConfigurationItf.IF_TouchProbe

Measure input

etEdge

ET_TpEdge

Option for identifying rising or falling edges

etPositionSource

ET_PositionSource

The logical master position of individual channels or the resulting reference value of all channels can be used as position source.

xArm

BOOL

Input which has to be set to TRUE by the user in order to enable the measured input. Is automatically reset by the SMG.

xArmed

BOOL

Status bit, is = TRUE if the measure input is enabled, i.e. waiting for an edge.

xCaptureOk

BOOL

TRUE := There is a Touchprobe event.

lrPosition

LREAL

Position of the position source selected in etPositionSource

lrCapturedPosition

LREAL

Value of IrPosition at the time of the Touchprobe event

xDoSetpos

BOOL

TRUE := Execute SetPos on IrPosition.

etSetposMode

ET_SetPosMode

Type of SetPos to be executed

lrSetposValue

LREAL

Value of SetPos to be executed