FB_MdTempZone

FB_MdTempZone 1:

This machine data component contains parameters that are relevant for a TF8540 temperature zone. The global structure aaaPfwTempMparamFromHmi[x] is mapped.

Syntax:

FUNCTION_BLOCK FB_MdTempZone EXTENDS FB_MdBaseComponent

FB_MdTempZone 2: Machine data

Index (Identifier)

Parameter

PLC storage location

0x0000 4010

GroupID (ModuleID)

FB_Temperature.Channel(x)

0x0000 4030

SaveZoneName

<Local>

0x0000 4040

TuningLastExecution

0x0000 4041

TuningRequired

0x0000 4011

ZoneID

FB_Temperature.Channel(x)

0x0000 4012

SupplyID

0x0000 4013

ExtruderID

0x0000 4020

OutputSel_C

0x0000 4021

OutputSel_H

0x0000 4022

OutputDelay

0x0000 403x

ZoneName (15 indices)

0x0000 4040

TuningLastExecution

0x0000 4041

TuningRequired

0x0000 4050

ConfigID

0x0000 4051

ChannelIdx

0x0000 4100

TempSensTerm

0x0000 4101

SensorType

0x0000 4102

TermChannel

0x0000 4103

TuningMethod

0x0000 4110

ColdJunction.CompMode

0x0000 4111

ColdJunction.CompZone

0x0000 4112

CoolerSwapIdx

0x0000 4113

HeaterSwapIdx

0x0000 4114

SensTermSwapIdx

0x0000 4160

SensorOffset

0x0000 4161

SensorLowerRange

0x0000 4162

SensorUpperRange

0x0000 4163

ActTempGain

0x0000 4164

ActTempOffset

0x0000 4200

InUse

0x0000 4201

Enable

0x0000 4202

UseCooling

0x0000 4203

TuneCooling

0x0000 4204

ForcedCoolingEnabled

0x0000 4205

ExtruderCompEna

0x0000 4206

EnableErrorHeating

0x0000 4207

NoFanWhileTrackdown

0x0000 4208

OpenLoopHeating

0x0000 4209

TuneExtruderComp

0x0000 420A

TuneHeaterLoad

0x0000 420B

TuneIdleLoad

0x0000 4210

HibernateICtrlHeat

0x0000 4211

HibernateICtrlCool

0x0000 4212

HighPrecision

0x0000 4213

DisableAutoStep

0x0000 4214

DisableTerminalCom

0x0000 4300
0x0000 4301

Kp (Heat/Cool)

0x0000 4302
0x0000 4303

Td (Heat/Cool)

0x0000 4304
0x0000 4305

Tn (Heat/Cool)

0x0000 4306
0x0000 4307

Tv (Heat/Cool)

0x0000 4308
0x0000 4309

Kff (Heat/Cool)

0x0000 430A

ICtrlLimit

0x0000 4320

TuneEnd

0x0000 4321

TuneKp

0x0000 4322

TuneTd

0x0000 4323

TuneTn

0x0000 4324

TuneTv

0x0000 4325

TuneY

0x0000 4326

Overshoot

0x0000 4327

dTmax

0x0000 4328

TuneTrackingTd

0x0000 4329

TrackingRate

0x0000 432A

WeightingCooling

0x0000 432B

ErrorHeatingFactor

0x0000 4340

RampingRate

0x0000 4341

RampingTolerance

0x0000 4342

RampingRateCooling

0x0000 4350

TrackingTd

0x0000 4351

SettlingTime

0x0000 4352

LoadIdle

0x0000 4360

ForcedCoolingOffTime

0x0000 4361

ForcedCoolingOnTime

0x0000 4370

ExtruderComp

0x0000 4400

SupplyLoadHeater

0x0000 4401

SupplyLoad

0x0000 4402

SupplyLoadCooler

0x0000 4410

AbsoluteHigh

0x0000 4411

AbsoluteLow

0x0000 4500

PwmMinOnTime

0x0000 4501

PwmMaxOnTime

0x0000 4503

PwmFactorCooling

FB_MdTempZone 3: Properties

Name

Type

Access

Initial value

Description

Connected

BOOL

Get

FALSE

Component is connected to its dependencies (except for the MD container).

FB_MdTempZone

SaveZoneName

BOOl

Get, Set

FALSE

If TRUE, the zone name is saved in the machine data file.

TuningLastExecution

DATE_AND_TIME

Get, Set

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

Date of the last successful execution of a tuning.

TuningRequired

BOOL

Get, Set

FALSE

The current configuration requires autotuning.

FB_MdBaseComponent

LinkedContainer

I_MdBaseContainer

Get

NULL

Points to the container to which the component was appended.

Tc3_PlasticFunctions.FB_MdComponent

Further characteristics

<>

<>

<>

Implemented by FB_MdComponent

FB_MdTempZone 4: Methods

Name

Description

AddNextComponent()

Adds the subsequent component to the component (list).

FB_MdTempZone

Connect(ZoneIdx)

Connects the component with the necessary dependencies.

FB_MdBaseComponent

[PROTECTED] ConfigCompType(eCompType)

Used with inheriting classes to initialize the encoding offset after E_StandardCompType.

[PROTECTED] ConfigCompTypeEx()

Used with the inheriting class to initialize the encoding offset.

[PROTECTED] NextString(…)

Simplified method for reading a text-based machine data parameter. This method is used within the MdNextParameter(...) Callback method.

[PROTECTED] SetString(…)

Simplified method for writing a text-based machine data parameter. This method is used within the MdSetParameter(...) Callback method.

Tc3_PlasticFunctions.FB_MdComponent

Other methods

Implemented by FB_MdComponent.

FB_MdTempZone 5: Event-driven methods (callback methods)

Name

Description

MdNextParameter(…)

Container call for saving the parameters in a file, implemented by FB_MdComponent.

MdSetParameter(…)

Container call for loading the parameters into the runtime, implemented by FB_MdComponent.

FB_MdTempZone 6: Interfaces

Type

Description

I_MdComponent

Standard interface on FB_MdComponent

I_MdTempZone

Standard interface on FB_MdTempZone.

I_MdBaseComponent

Standard interface on FB_MdBaseComponent

Further interfaces

Implemented by FB_MdComponent

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)