FB_WtcAccumulator

FB_WtcAccumulator 1:

Implements an accumulator as the master for a WTC.

Internal functions:

Syntax:

FUNCTION_BLOCK FB_WtcAccumulator EXTENDS FB_CamAxis

FB_WtcAccumulator 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_WtcAccumulator

AbortOnMissingVolume

BOOL

Get, Set

TRUE

The accumulator cancels the command to push-out if the filling volume is not reached.

FillinBusy

BOOL

Get

FALSE

The accumulator is filled.

FillingDone

BOOL

Get

FALSE

Filling of the accumulator has been completed.

FillVolumeReached

BOOL

Get

FALSE

The filling volume has been reached.

GuidingValue

LREAL

Get

0.0

Position as a scaled camming master value. Depends on FB_WtcAccumulatorHmi.PushoutMode and GuidingMax.

GuidingMax

LREAL

Get, Set

400

Maximum guiding value of the accumulator as camming master.

PushoutAborted

BOOL

Get

FALSE

The push-out process was aborted.

PushoutBusy

BOOL

Get

FALSE

The push-out process is running.

PushoutDone

BOOL

Get

FALSE

The push-out process is complete.

UsePassiveFilling

BOOL

Get, Set

TRUE

Use passive filling:

The controller enable is canceled for the filling process, as the accumulator is filled by the back pressure of the extruder.

FB_Axis

Axis

I_AxisBase

Get

NULL

Interface to the assigned TF8560 axis.

Referencing

I_Referencing

Get

<Local>

Functions for referencing the axis.

FB_Motion

Motion

I_MotionBase

Get

NULL

Interface to the assigned TF8560 motion object.

ErrorAlarmTL

TcEventSeverity

Get, Set

Error (3)

Severity of the alarm that the axis triggers in the error state.

Specific

I_MotionSpecific

Get

-

Technology-specific functions/values

FB_BaseMd

MachineData

I_MdBaseContainer

Get

-

Interface for machine data handling.

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'.

1 Is obsolete

FB_WtcAccumulator 3: Methods

Name

Description

Reset()

Resets the error state of the class.

FB_WtcAccumulator

Filling(bCommand)

Starts the filling process of the accumulator.

Pushout(bCommand)

Starts the push-out process of the filling volume.

FB_CamAxis

SetCurve(iCurve)

Assign the curve to be used

FB_Axis

SetPosition(bCommand)

Setting the axis position with the FB_AxisHmi.Setposition.

FB_Motion

CheckAxisState()

Checks the current state of the axis.

FeedEnable(bFeedEnableP, bFeedEnableN)

Enable of a direction of movement.

JogNegative(bCommand)

Starts/stops a jog movement in negative direction.

JogPositive(bCommand)

Starts/stops a jog movement in positive direction.

Power(bCommand)

Switching on the drive control.

SetMotionRef(iMotion)

Assignment method for the TF8560 motion object.

FB_BaseMd

[PROTECTED] AddMdComp()

Adds a component of type I_MdComponent to the machine data container.

FB_Base

GetHMI()

Returns the assigned HMI object.

Notice The method is not implemented in the FB_Base class. If the method is not overwritten by inheritance, a pseudo variable is always returned.

SetHMI(ipBase)

General assignment method for an FB_BaseHmi extending class as a local HMI.

Notice The method is not implemented in the FB_Base class. If the method is not overridden by inheritance, it always fails.

[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.

1 Is obsolete

FB_WtcAccumulator 4: Procedure controlling methods (FB_AdaptableSequence)

Name

Description

AccuStates()

Procedure for processing the states of the accumulator.

FB_WtcAccumulator 5: Possible events

ID

Description

Alarm/Message

11

Object error state

Alarm

21

Command rejected

Alarm

1002

Switching off failed

Message

7000

Insufficient filling volume

Alarm

10

Axis Errors

Alarm

20

Axis command rejected

Alarm

FB_WtcAccumulator 6: Interfaces

Type

Description

I_Base

Standard interface on FB_Base.

I_WtcAccumulator

Standard interface on FB_WtcAccumulator.

I_WtcMaster

General interface of a WTC master axis.

I_CamAxis

Standard interface on FB_MdAxis.

I_Axis

Standard interface on FB_Axis.

I_Motion

Standard interface on FB_Motion

I_TwoTaskInterface

Runtime interface for two PLC tasks.

I_BaseMd

Standard interface on FB_BaseMd.

I_BaseEmpty

For extension without standard interface.

I_BaseDev

Covers all methods and properties of the base class.

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)