FB_ManualTurnrate

FB_ManualTurnrate 1:

Implements a standard limit and display for tactile manual functions to adjust the turn rate of an axis.

Internal functions:

Syntax:

FUNCTION_BLOCK FB_ManualTurnrate EXTENDS FB_ManualMotion

FB_ManualTurnrate 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_ManualTurnrate

CmdFaster

BOOL

Get

FALSE

Passes the command of the pressed button in the working position.

CmdSlower

BOOL

Get

FALSE

Passes the command of the pressed button in the base position.

FB_Manual

Enable

BOOL

Get, Set

FALSE

Releases the manual function.

TrigCmdBasePos

I_Trigger

Get

-

Trigger on the base position command.

TrigCmdWorkPos

I_Trigger

Get

-

Trigger on the working position command.

FB_Base

BaseState

E_BaseState

Get

eNotHandled

Initialization state of the class instance.

Error

BOOL

Get

FALSE

Class is in an error state.

ResultMessage

I_AppMessage

Get

-

Access to the class-internal EventLogger.

[PROTECTED] _Name

STRING

Get

<SourceName>

.Name without leading 'fb'.

FB_ManualTurnrate 3: Methods

Name

Description

Reset()

Resets the error state of the class.

FB_ManualTurnrate

Init(ipAxis, ipManualFunctionHmi)

Initializes the manual function with the interface to an axis and the HMI.

SetTurnrateLimits()

Configures the minimum and maximum number of revolutions and the use of the limit options.

FB_Base

SetHMI(ipBase)

General assignment method for an FB_BaseHmi extending class.

Notice This method always fails in the FB_Base implementation. Overwriting is therefore absolutely necessary.

[PROTECTED] _QueryNamespace()

Extracts the first part of the instance path as an object namespace.

[PROTECTED] _QueryObjectName()

Extracts the last part of the instance path as the object name.

FB_ManualTurnrate 4: Cycle methods

Name

Description

Cyclic()

Cycle method

FB_ManualTurnrate 5: Interfaces

Type

Description

I_Base

Standard interface on FB_Base.

I_ManualFunction

Universal interface to a manual function.

I_ManualDev

Extended interface to a manual function.

I_BaseEmpty

For extension without standard interface.

I_BaseDev

Covers all methods and properties of the base class.

Requirements

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 (>= v3.12.7.0)