MC_SEW_ConfigTouchProbe

This function block configures the TouchProbe function of an axis.

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

TriggerInput

MC_TRIGGER_REF

Instance of an MC_TRIGGER_REF_TYPE that represents the trigger input.

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Start execution of the function block.

InputNumber

SINT

Number of the digital input
Default value: 2

TriggerEvent

E_TriggerEvent

TouchProbe event

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Function block successfully completed

Busy

BOOL

Function block is active

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number

ErrorCode

SEW_oIMC.SEW_IDH.SEW_ILDP.DsErrorCode

Additional error number