FB_SupportAir

FB_SupportAir 1:

Implements a support air function using a cam plate and a WTC master.

Internal functions:

Syntax:

FUNCTION_BLOCK FB_SupportAir EXTENDS FB_Setpoints

FB_SupportAir 2: Properties

Name

Type

Access

Initial value

Description

Name

STRING

Get, Set

<SourceName>

Specifies the name of the class instance.

FB_Setpoints

AttachableMdInterface

I_MdComponent

Get

<Local>

Interface to the machine data component

Output

I_OutputBase

Get, Set

NULL

Interface of the analog output to be assigned

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

Name

Description

Reset()

Resets the error state of the class.

FB_SupportAir

SetCurve(iCurve)

Assign a curve compatible with I_CurveHmi that describes the curve of the pressure setpoint.

SetMaster(iMaster)

Sets the WTC camming master to be used by the support air.

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_SupportAir 4: Interfaces

Type

Description

I_Base

Standard interface on FB_Base.

I_SupportAir

Standard interface on FB_SupportAir

I_Setpoints

Standard interface on FB_Setpoints

I_AttachableMdInterface

Interface for containerless machine data components

I_OneTaskInterface

Runtime interface for a PLC task

I_BaseEmpty

For extension without standard interface.

I_BaseDev

Covers all methods and properties of the base class.

Prerequisites

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 (>= v12.10.2.0)