FB_ManualWheel

FB_ManualWheel 1:

Implements the handling of a central operating unit as incremental encoder of a Beckhoff BlowMolding Panel, implemented as FB_CP22xx-1025.

Syntax:

FUNCTION_BLOCK FB_ManualWheel EXTENDS FB_Base

FB_ManualWheel 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_ManualWheel

Enable

BOOL

Get, Set

FALSE

Enables the manual function.

ExternalStates

I_AdaptableSeqExt

Get, Set

NULL

Interface to an object with the implementation of the control.

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_ManualWheel 3: Methods

Name

Description

Reset()

Resets the error state of the class.

FB_ManualWheel

AppendManual(iManual)

Append a manual function for selection management.

Init(iWheel)

Initialization with the wheel of an FB_CP22xx-1025.

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_ManualWheel 4: Cycle methods

Name

Description

Cyclic()

Cycle method

FB_ManualWheel 5: Procedure controlling methods (FB_AdaptableSequence)

Name

Description

States()

Procedure for selecting and changing the operation via the incremental encoder

FB_ManualWheel 6: Event-driven methods (callback methods)

Name

Description

ExtAdaptSeq()

Dummy method() for the support of the interface I_AdaptableSeqExt.

FB_ManualWheel 7: Interfaces

Type

Description

I_Base

Standard interface on FB_Base.

I_AdaptableSeqExt

Interface for providing external implementation of the control.

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)