FB_HomingBlockHmi

FB_HomingBlockHmi 1:

This class provides the parameters for homing an end stop.

Syntax:

FUNCTION_BLOCK FB_HomingBlockDetectHmi EXTENDS FB_ HomingBlockBaseHmi

FB_HomingBlockHmi 2: Properties

Name

Type

Access

Initial value

Description

Acceleration

LREAL

Get, Set

0.0

Acceleration of the process.

FB_HomingBlockHmi

SetPosition

LREAL

Get, Set

0.0

Position to be set at the determined position at the end stop.

FB_HomingBlockBaseHmi

DetectionVelocityLimit

LREAL

Get, Set

5.0

Velocity that must be permanently undershot at the end stop.

DetectionVelocityTime

LREAL

Get, Set

0.5

Time that must be spent at the end stop.

OptionsInstantLagReduction

BOOL

Get, Set

TRUE

Any lag error building up at the end stop is instantly reduced.

OptionsTorquePolarityInverted

BOOL

Get, Set

FALSE

The sign of the torque should be interpreted inverted.

TorqueTolerance

LREAL

Get, Set

5.0

Tolerance window around TorqueLimit.

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_HomingBlockHmi 3: Interfaces

Type

Description

I_HomingBaseHmi

Standard interface on FB_HomingBaseHmi.

I_HomingBlockHmi

Standard interface on FB_HomingBlockHmi.

I_HomingBlockBaseHmi

Standard interfaces on FB_HomingBlockBaseHmi.

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)