FB_HomingSwitchBaseHmi

FB_HomingSwitchBaseHmi 1:

This class extends the basic parameters of the homing type referencing methods specifically for applications with a homing switch/sensor.

FB_HomingSwitchBaseHmi 2:

Class is abstract

Since the class is defined as ABSTRACT, the class cannot be instantiated and must be implemented using inheritance.

Syntax:

FUNCTION_BLOCK ABSTRACT FB_HomingSwitchBaseHmi EXTENDS FB_HomingBaseHmi

FB_HomingSwitchBaseHmi 3: Properties

Name

Type

Access

Initial value

Description

Acceleration

LREAL

Get, Set

0.0

Acceleration of the process.

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_HomingSwitchBaseHmi 4: Interfaces

Type

Description

I_HomingBaseHmi

Standard interface on FB_HomingBaseHmi.

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)