FB_MdPCtrlParams

FB_MdPCtrlParams 1:

This machine data component saves the parameter set of a TF8560 pressure controller.

Syntax:

FUNCTION_BLOCK FB_MdPCtrlParams EXTENDS FB_MdBaseComponent

FB_MdPCtrlParams 2: Machine data

Index (Identifier)

Parameter

PLC storage location

0x0000 9010

Enable

FB_PressureControlParams_PID /
Axis.PressureControl.PID.Parameters

0x0000 9011

Kp

0x0000 9012

EnableI

0x0000 9013

Tn

0x0000 9014

WuLimit

0x0000 9015

EnableD

0x0000 9016

Td

0x0000 9017

Tdd

0x0000 9020

Reversed

0x0000 9021

EnablePos

0x0000 9022

EnableNeg

0x0000 9030

EnableChangeRate

0x0000 9031

ChangeRate

0x0000 9040

EnableOutputLimit

0x0000 9041

OutputLimit

0x0000 9050

EnableFeedForward

0x0000 9051

FeedForward

0x0000 9052

FeedForwardFactor

FB_MdPCtrlParams 3: Properties

Name

Type

Access

Initial value

Description

Connected

BOOL

Get

FALSE

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

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_MdPCtrlParams 4: Methods

Name

Description

AddNextComponent()

Adds the subsequent component to the component (list).

FB_MdPCtrlParams

Connect(iParams))

Connects the component with the necessary dependencies.

FB_MdBaseComponent

[PROTECTED] ConfigCompType(eCompType)

Used with inheriting classes to initialize the encoding offset to 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_MdPCtrlParams 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_MdPCtrlParams 6: Interfaces

Type

Description

I_MdComponent

Standard interface on FB_MdComponent

I_MdPCtrlParams

Standard interface on FB_MdPCtrlParams.

I_MdBaseComponent

Standard interface on FB_MdBaseComponent

Further interfaces

Implemented by FB_MdComponent

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT 4026 >= v3.1.4026.19
TwinCAT 4024 >= v3.1.4024.71

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.14.0.0)