FB_TempChannel

FB_TempChannel 1:

Class for single control of a temperature channel.

Syntax:

FUNCTION_BLOCK FB_TempChannel EXTENDS FB_TempChannelBase

FB_TempChannel 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_TempChannel

AlarmNoResponse

BOOL

Get

FALSE

Temperature value of the channel does not respond to the control.

AttachableMdInterface

I_MdComponent

Get

-

Interface to the machine data component

ConfigID

UINT

Get, Set

0

ID of the active group configuration

EnableLimitAlarms

BOOL

Get, Set

FALSE

Exceeding a tolerance value/limit triggers a TC3 EventLogger alarm.

Error

BOOL

Get

FALSE

Alias to 'Fault'

ExtruderID

INT

Get, Set

0

ID of the extruder used

Fault

BOOL

Get

FALSE

An error has occurred in this temperature channel

GroupID

INT

Get, Set

0

ID of the assigned group

IsActive

BOOL

Get

FALSE

Channel is actively controlled

IsEnabled

BOOL

Get

FALSE

Channel is enabled

IsLinked

BOOL

Get

FALSE

Channel is assigned to a group

IsStandby

BOOL

Get

FALSE

Channel is in standby mode

SupplyID

INT

Get

0

ID of the supply channel used

TuningLastExecution

DATE_AND_TIME

Get, Set

DT#1900-01-01T00:00:00Z

Date of the last successful execution of a tuning

TuningRequired

BOOL

Get, Set

TRUE

The current configuration requires autotuning

FB_TempChannelBase

Index

INT

Get, Set

0

References a PlasticBaseApplication channel to a TF8540 zone.

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

Type

Description

EnablePLC()

Enables the temperature channel on the PLC side

Force()

Forces the temperature channel to heating/cooling 100%.

Standby()

Sets the temperature channel to standby

FB_TempChannel 4: Possible events

ID

Description

Alarm/Message

400x

Temperature operation monitoring

Alarm

4006
4007

Selective tuning (included or excluded)

Alarm

4008

HMI enable without PLC enable

Message

4042

Grouping without InUse = TRUE

Alarm

FB_TempChannel 5: Interfaces

Type

Description

I_Base

Standard interface on FB_Base.

I_TempChannel

Standard interface on FB_TempChannel

I_AttachableMdInterface

Interface for containerless machine data components

I_TempZone

Compatible interface with FB_TempZone

I_TempZoneHmi

Interface compatible with FB_TempZoneHMI.

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 4026 >= v3.1.4026.16
TwinCAT 4024 >= v3.1.4024.66

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.12.0.0)