FB_ExtruderHmi

FB_ExtruderHmi 1:

HMI parallel class of FB_Extruder class.

Syntax:

FUNCTION_BLOCK FB_ExtruderHmi EXTENDS FB_AxisHmi

FB_ExtruderHmi 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_ExtruderHmi

BaseTurnrate

LREAL

Get, Set

20.0

Basic turnrate, commanded by FB_Extruder.DoBasicRpm().

DoBasicRpm

BOOL

Get, Set

FALSE

Placeholder: Control signal for ramping to basic turnrate.
The signal must be processed by the application.

DoNominalRpm

BOOL

Get, Set

FALSE

Placeholder: Control signal for ramping to production turnrate.
The signal must be processed by the application.

DoTurnrateDown

BOOL

Get, Set

FALSE

Placeholder: Control signal for jog-driven turnrate reduction.
The signal must be processed by the application.

DoTurnrateUp

BOOL

Get, Set

FALSE

Placeholder: Control signal for jog-driven turnrate increase.
The signal must be processed by the application.

GearFactor

LREAL

Get, Set

1.5

Gear factor for operation as a slave extruder.

ProductionTurnrate

LREAL

Get, Set

150.0

Production turnrate, commanded by FB_Extruder.DoBasicRpm().

RampTime

LREAL

Get, Set

60.0

Time required by the extruder to ramp from 0 to maximum velocity.

SetVelocity

LREAL

Get

0.0

Set velocity of the extruder, which is specified by the setpoint generation.

FB_AxisHmi

EncoderZeroShift

LREAL

Get, (Set)

0.0

Zero offset shift of the axis.

LimitingReference

LREAL

Get

100.0 [%]

Reference value (maximum) for commanded limiting values (pressure or torque limit).

MaxAcceleration

LREAL

Get

0.0

Maximum acceleration of the axis.

MaxDeceleration

LREAL

Get

0.0

Maximum deceleration of the axis.

MaxJerk

LREAL

Get

0.0

Maximum jerk of the axis.

MaxPosition

LREAL

Get

0.0

Maximum position of the axis.

MaxVelocity

LREAL

Get

0.0

Maximum velocity of the axis.

MinPostion

LREAL

Get

0.0

Minimum position of the axis.

MinVelocity

LREAL

Get

0.0

Minimum velocity of the axis.

Referencing

I_ReferencingHmi

Get

<Local>

Parameter sets and commands for referencing the axis.

SetPosition

LREAL

Get, Set

0.0

Position used when calling FB_Axis.SetPosition().

UnitGroup

STRING(64)

Get, Set

‘Length‘

Physical quantity with which the axis is parameterized and operated.

FB_MotionHmi

ActPosition

LREAL

Get

0.0

Current position of the connected motion object

ActVelocity

LREAL

Get

0.0

Current velocity of the connected motion object

JogLimitingNegative

LREAL

Get, Set

0.0

Limitation of the jog command via the FB_Motion.JogNegative() method
Ignored for operation with an actuator.

JogLimitingPositive

LREAL

Get, Set

0.0

Limitation of the jog command via the FB_Motion.JogPositive() method
Ignored for operation with an actuator.

JogVelocityNegative

LREAL

Get, Set

0.0

Velocity of the jog command via the FB_Motion.JogNegative() method
Ignored for operation with an actuator.

JogVelocityPositive

LREAL

Get, Set

0.0

Velocity of the jog command via the FB_Motion.JogNegative() method
Ignored for operation with an actuator.

ManualPower

I_ManualFunctionHmi

Get, Set

<Local>

Interface for a manual function to switch on the motion object.

Specific

REFERENCE TO FB_MotionSpecificHmi

Get

<Local>

Access to the technology-specific functions

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_ExtruderHmi 3: Local HMI variables

Name

Data type

Description

fbParamHandle

FB_MdHandleHmi

Handling interface for loading and saving machine data.

FB_ExtruderHmi

fbParamContinuousMotion

FB_MdContinuousMotion

Entries in the HMI parameter list under Continuous motion

FB_AxisHmi

fbParamAxis

FB_MdAxisHmi

Entries in the HMI parameter list under Axis.

fbParamHoming

FB_MdHomingHmi

Entries in the HMI parameter list under Homing.

fbReferencing

FB_ReferencingHmi

Parameter sets and commands for referencing.

FB_MotionHmi

fbManualPower

FB_ManualFunctionHmi

Interface for a manual function to switch on the motion object.

fbSpecific

FB_MotionSpecificHmi

Technology-specific functions of the motion object.

FB_ExtruderHmi 4: Methods

Name

Description

Reset()

Resets the error state of the class.

FB_BaseHmi

Init(ipBase)

Default initialization method to pass the base class.

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.

FB_ExtruderHmi 5: Interfaces

Type

Description

I_Base

Standard interface on FB_Base.

I_ExtruderHmi

Standard interface on FB_ExtruderHmi.

I_AxisHmi

Standard interface on FB_AxisHmi.

I_MotionHmi

Standard interface on FB_MotionHmi.

I_BaseMdHmi

Standard interface on FB_BaseMdHmi.

I_BaseHmi

Standard interface on FB_BaseHmi.

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

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.5.0)