LimitSwitchDetect

LimitSwitchDetect 1:

This core function performs homing by searching for a fixed edge of a signal. At this location the actual position is latched and reported.

LimitSwitchDetect 2: Properties

Name

Type

Access

Description

NegativeLimitSwitch

BOOL

Get, Set

The hardware limit switch at the lower end of the available travel path.

PositiveLimitSwitch

BOOL

Get, Set

The hardware limit switch at the upper end of the available travel path.

RecordedPosition

LREAL

Get

The position latched at the location of the signal.

LimitSwitchDetect 3:

The action of the limit switches is defined by PLCopen standards.

LimitSwitchDetect 4: Methods

Name

Description

DoHoming()

This method triggers the homing.

SetParameter()

A set of parameters specific to this homing procedure is set.

SetParameterGeneral()

A set of travel parameters for the homing procedure is set.

LimitSwitchDetect 5: Interfaces

Type

Description

I_HomingLimitSwitchDetect

Standard interface on FB_HomingLimitSwitchDetect.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher