FB_HomingSwitchDetectHmi

FB_HomingSwitchDetectHmi 1:

This class provides the parameters for measuring an end position sensor/switch.

Syntax:

FUNCTION_BLOCK FB_HomingSwitchDetectHmi EXTENDS FB_HomingSwitchBaseHmi

FB_HomingSwitchDetectHmi 2: Properties

Name

Type

Access

Initial value

Description

Acceleration

LREAL

Get, Set

0.0

Acceleration of the process.

FB_HomingSwitchDetectHmi

RecordedPosition

LREAL

Get

0.0

Measured value of the detected end position sensor/switch.

FB_HomingSwitchBaseHmi

OptionsLagErrorDetection

BOOL

Get, Set

5.0

If TRUE, the lag error monitoring for the process is not switched off.

SwitchMode

E_AdaptableSwitchMode

Get, Set

eOn

Interpretation mode of the switch.

FB_HomingBaseHmi

Deceleration

LREAL

Get, Set

0.0

Delay of the process.

Direction

E_AdaptableHomingDirection

Get

ePositive

Direction of the velocity.

DistanceLimit

LREAL

Get, Set

500.0

Maximum distance that can be traveled without the process being interrupted.

Jerk

LREAL

Get, Set

0.0

Jerk of the process.

OptionsDisableDriveAccess

BOOL

Get, Set

FALSE

If TRUE, communication with the drive hardware is suppressed.

TimeLimit

LREAL

Get, Set

20.0 [s]

Maximum time until the process is aborted.

TorqueLimit

LREAL

Get, Set

25.0

Active torque limitation during the process.

Velocity

LREAL

Get, Set

20.0

Velocity of the process.

FB_HomingSwitchDetectHmi 3: Interfaces

Type

Description

I_HomingBaseHmi

Standard interface on FB_HomingBaseHmi.

I_HomingSwitchDetectHmi

Standard interface on FB_HomingSwitchDetectHmi.

I_HomingSwitchBaseHmi

Standard interface on FB_HomingSwitchBaseHmi.

Prerequisites

Development environment

Target platform

PLC libraries to include

TwinCAT >= v3.1.4024.54 (recommended)
TwinCAT >= v3.1.4024.42 (required)

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.10.2.0)