FB_HomingSwitchHmi

FB_HomingSwitchHmi 1:

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

Syntax:

FUNCTION_BLOCK FB_HomingSwitchHmi EXTENDS FB_HomingSwitchBaseHmi

FB_HomingSwitchHmi 2: Properties

Name

Type

Access

Initial value

Description

Acceleration

LREAL

Get, Set

0.0

Acceleration of the process.

FB_HomingSwitchHmi

SetPosition

LREAL

Get, Set

0.0

Position to be set at the determined position on the 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_HomingSwitchHmi 3: Interfaces

Type

Description

I_HomingBaseHmi

Standard interface on FB_HomingBaseHmi.

I_HomingSwitchHmi

Standard interface on FB_HomingSwitchHmi.

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)