MC_TouchProbe

The MC_TouchProbe FB records an axis position when a trigger event occurs. The measurement channel and method (rising or falling edge of the trigger signal) are defined via the reference for the trigger signal source.

Blockdiagramm

Parameters of the FB

VAR_IN_OUT

Variable name

Data type

Description

axis

AXIS_REF

Axis reference

TriggerInput

TRIGGER_REF

Reference for the trigger signal source
(see chapter entitled Data structure TRIGGER_REF).

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Starts the command on the rising edge.

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Trigger event was detected.

Busy

BOOL

Is TRUE as long as the input/output waits for the trigger event.

Error

BOOL

Indicates TRUE if an error occurs in the FB.

ErrorID

WORD

Error code.

CommandAborted

BOOL

Command is aborted by another command of an FB MC_AbortTrigger.

RecordedPosition

LREAL

Axis position when the trigger event occurred.

Default unit [0.1µm or 10-4 °]

Behaviour of the FB