FB_MdAxis

FB_MdAxis 1:

This machine data component contains the writeable parameters of a TF8560 axis.

Syntax:

FUNCTION_BLOCK FB_MdAxis EXTENDS FB_MdBaseComponent

FB_MdAxis 2: Machine data

Index (Identifier)

Parameter

PLC storage location

0x0000 03E8

SoftEndMinEna

Axis.MotionParams

0x0000 03E9

SoftEndMin

0x0000 03EA

SotEndMaxEna

0x0000 03EB

SoftEndMax

0x0000 044C

VeloMaxApplication

0x0000 044D

VeloMaxSystem

0x0000 044F

VeloMinApplication

0x0000 04B0

MaxAcceleration

0x0000 04B1

MaxDeceleration

0x0000 04B2

EncoderReversed

0x0000 07D1

EncoderWeighting

0x0000 07D2

EncoderInterpolation

0x0000 07D3

EncoderZeroShift

0x0000 07D4

DriveReversed

0x0000 0FA1

LagKp

0x0000 0FA2

CreepDistanceP

0x0000 0FA3

CreepDistanceM

0x0000 0FA4

CreepSpeedP

0x0000 0FA5

CreepSpeedM

0x0000 0FA6

BrakeDistanceP

0x0000 0FA7

BrakeDistanceM

0x0000 0FA8

AutoBrakeCalculation

0x0000 0FA9

AsymTargeting

0x0000 1388

LagMonitored

0x0000 1389

LagLimit

0x0000 138A

LagFilter

0x0000 1770

ScalingOilPressure

0x0000 181x

UnitGroup (16 indices)

FB_AxisHmi

FB_MdAxis 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_MdAxis 4: Methods

Name

Description

AddNextComponent()

Adds the subsequent component to the component (list).

FB_MdAxis

Connect(ipAxis, ipAxisHmi)

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_MdAxis 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_MdAxis 6: Interfaces

Type

Description

I_MdComponent

Standard interface on FB_MdComponent

I_MdAxis

Standard interface on FB_MdAxis.

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

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.8.1.0)