FB_TempCtrl

FB_TempCtrl 1:

Class is 'obsolete'

This class is marked as obsolete and should not be used anymore!

Alternative: FB_Temperature

Original version:

FB_TempCtrl 2:

Main class of temperature control to manage all temperature zones and groups.

Syntax:

FUNCTION_BLOCK FB_TempCtrl EXTENDS FB_BaseMd

FB_TempCtrl 3: Properties

Name

Type

Access

Initial value

Description

DisableAlarms

BOOL

Get, Set

FALSE

Suppresses alarms triggered by errors in a temperature zone.

DisableMessages

BOOL

Get, Set

FALSE

Suppresses debug messages of the TF8540 library.

EnableCallback

BOOL

Get, Set

TRUE

Enables communication with the I/O components.

EnableConfig

BOOL

Get, Set

TRUE

Enables the configuration of all zones.

EnableLooptest

BOOL

Get, Set

FALSE

Enables current monitoring of all zones.

Groups

REFERENCE TO ARRAY[] OF FB_TempGroup

Get

-

Control of the individual groups.

LibScopeVars

REFERENCE TO FB_Scope_TempCtrlVariables

Get

-

Access to an overview of TF8540 live data.

RefMdTempSupply

REFERENCE TO ARRAY [] OF FB_MdTempSupply

Get

-

Access to the array of machine data containers of all supply units.

RefMdTempZone

REFERENCE TO ARRAY[] OF FB_MdTempZone

Get

-

Access to the array of machine data containers of all temperature zones.

Timer

I_TempSchedule

Get

NULL

Access to the connected scheduler.

FB_TempCtrl 4: Methods

Name

Description

CreateDefaultParams()

Creates a default parameterization for all temperature zones.

EnableAll()

Enables all temperature zones on the PLC side.

LinkGroup()

Assigns a linear arrangement of zones to a group.

LinkSupply()

Assigns a group to a supply unit.

LinkZone()

Assigns a zone to a group.

SetOpMode()

Configures the current operation mode.

SetScheduler()

Assigns a schedule to the temperature control.

StandbyAll()

Sets all zones to standby.

UnlinkGroup()

Removes all links to a group.

FB_TempCtrl 5: Interfaces

Type

Description

I_TempCtrl

Standard interface on FB_TempCtrl

I_TempCtrlMdRef

Interface for the transfer of zone machine data

I_TempTaskInterface

Runtime interface for a slow PLC task

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)