FB_ShotScopeAnalysis

FB_ShotScopeAnalysis 1:

This class consolidates the settings and information related to shot analysis for the TF8550 ShotScope.

Syntax:

FUNCTION_BLOCK FB_ShotScopeAnalysis EXTENDS FB_BaseHmi

FB_ShotScopeAnalysis 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_ShotScopeAnalysis

CustomValues

I_Parameter

Get

<Dummy>

List of customer-specific values for shot analysis and quality monitoring.

Mode

E_ShotScopeAnalysisMode

Get, Set

eNone

Shot analysis mode.

Reversed

BOOL

Get, Set

FALSE

The injection direction is reversed. This means that the injection process is carried out at a negative velocity.

Stroke

LREAL

Get, Set

0.0

The stroke available at the start of a shot.

VelocityPhase1

LREAL

Get, Set

0.0

Speed at the start of the first injection phase.
In injection molding, this phase is not typically used.

VelocityPhase2

LREAL

Get, Set

0.0

Speed at the start of the second injection phase.
In injection molding, this phase corresponds to the injection process.

VelocityPhase3

LREAL

Get, Set

10.0

Speed at the end of the second injection phase.
In injection molding, this transition represents the holding pressure switchover.

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

Name

Description

Reset()

Resets the error state of the class.

FB_ShotScopeAnalysis

AppendCustom(iParam)

Allows you to attach an instance of FB_Parameter to record and monitor user-specific values.

FB_BaseHmi

Init(ipBase)

Default initialization method to pass the base class.

FB_Base

GetHMI()

Returns the assigned HMI object.

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.

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

[PROTECTED] _IsMyself(iCmp)

Identifies whether the transferred object corresponds to its own instance.

[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_ShotScopeAnalysis 4: Interfaces

Type

Description

I_Base

Standard interface on FB_Base.

I_ShotScopeAnalysis

Standard interface on FB_ShotScopeAnalysis.

I_BaseHmi

Standard interface on FB_BaseHmi.

I_BaseDev

Covers all methods and properties of the base class.

I_Comparable

Enables comparisons via _IsMyself() or F_IsSameInstance().

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT 4026 >= v3.1.4026.19
TwinCAT 4024 >= v3.1.4024.71

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.16.0.0)