FB_TemperatureGroupHmi

FB_TemperatureGroupHmi 1:

HMI parallel class to the FB_TemperatureGroup class.

Syntax:

FUNCTION_BLOCK FB_TemperatureGroupHmi EXTENDS FB_BaseMdHmi

FB_TemperatureGroupHmi 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_TemperatureGroupHmi

AlarmAbsoluteHigh

BOOL

Get

FALSE

Group (at least one channel) has exceeded the absolute maximum temperature.

AlarmAbsoluteLow

BOOL

Get

FALSE

Group (at least one channel) has fallen below the absolute temperature minimum.

AlarmHighHigh

BOOL

Get

FALSE

Group (at least one channel) has exceeded the HighHigh tolerance.

Alarms to the tolerance values are only active if the zones are actively controlled.

AlarmHigh

BOOL

Get

FALSE

Group (at least one channel) has exceeded the High tolerance.

Alarms to the tolerance values are only active if the zones are actively controlled.

AlarmLow

BOOL

Get

FALSE

Group (at least one channel) has fallen below the Low tolerance.

Alarms to the tolerance values are only active if the zones are actively controlled.

AlarmLowLow

BOOL

Get

FALSE

Group (at least one channel) has fallen below the LowLow tolerance.

Alarms to the tolerance values are only active if the zones are actively controlled.

AlarmState

T_PlasticStatus

Get

0

Alarm Status for display with a TcHMI StateIndicator.

BootAsScheduled

BOOL

Get, Set

FALSE

The temperature group is to start in the scheduled operation mode.

ConfigConfirm

BOOL

Get, Set

FALSE

Confirm the configuration found.

ConfigConfirmRequired

BOOL

Get, Set

FALSE

A configuration found requires confirmation.

ConfigHash

T_SHA256

Get

0x0

Hash value of the loaded group configuration.

ConfigNote

STRING(127)

Get, Set

‘‘

Note on the loaded group configuration.

ConfigReject

BOOL

Get, Set

FALSE

Reject the configuration found.

DoTune

BOOL

Get, Set

FALSE

Starts tuning of all active zones of the group.

GroupName

STRING

Get, Set

<SourcePath>

Alias of the .Name property.

Index

INT

Get

0

Index (ID) of the group.

IsOff

BOOL

Get

FALSE

Group is switched off.

IsOn

BOOL

Get

FALSE

Group is switched on.

IsScheduled

BOOL

Get

FALSE

Group is in scheduled operation mode.

IsStandby

BOOL

Get

FALSE

Group is in standby mode.

Name

STRING

Get, Set

<SourcePath>

Temperature group name.

SetOff

BOOL

Get, Set

FALSE

Switch off group.

SetOn

BOOL

Get, Set

FALSE

Switch on group.

SetScheduled

BOOL

Get, Set

FALSE

Set group to scheduled mode.

SetStandby

BOOL

Get, Set

FALSE

Set group to standby mode.

TuningActive

BOOL

Get

FALSE

The tuning of the group is active.

TuningDone

BOOL

Get

FALSE

The tuning of the group is completed.

TuningFailed

BOOL

Get

FALSE

The tuning of the group has failed.

ZonesCount

INT

Get

0

Number of zones in the group.

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

Name

Description

Reset()

Resets the error state of the class.

FB_TemperatureGroupHmi

[INTERN] _CollectRemainingSave()

Queries whether a property to be saved persistently has been set (.Set).

[INTERN] UpdateState()

Sets the active operation mode

FB_BaseHmi

Init(ipBase)

Default initialization method to pass the base class.

FB_Base

SetHMI(ipBase)

General assignment method for an FB_BaseHmi extending class.

Notice This method always fails in the FB_Base implementation. Overwriting is therefore absolutely necessary.

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

Type

Description

I_Base

Standard interface on FB_Base.

I_TemperatureGroupHmi

Standard interface on FB_TemperatureGroupHmi.

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.54 (recommended)
TwinCAT >= v3.1.4024.42 (required)

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.7.0)