MachineData - Machine data

Base

The \MachineData\Base\ subfolder contains the base classes of the machine data handling.

MachineData - Machine data 1: Classes

Name

Description

FB_MdBaseContainer

Represents the base container for machine data.

FB_MdBaseComponent

Represents the base class for machine components.

Components

The \MachineData\Components\ subfolder contains all the machine data components that have already been implemented. All included components inherit from the FB_MdBaseComponent class and have an enumeration that defines the index (without offset) of the individual parameters.

MachineData - Machine data 2: Classes

Name

Use

Description

FB_MdFileInfo

FB_MdBaseContainer

Contains the information of a saved file.

FB_MdActuator

FB_ActuatorFunctions

Contains actuator-specific parameters.

FB_MdAnalogValue

FB_Monitoring
FB_Setpoints
FB_Blowing

Contains scaling parameters for analog values.

FB_MdBlowpin

FB_Blowpin

Contains blowpin-specific parameters.

FB_MdClamp

FB_Clamp

Contains clamp-specific parameters.

FB_MdWtc

FB_Wtc

Contains Wtc-specific parameters.

FB_MdWtcTimer

FB_WtcTimer

Contains WtcTimer-specific parameters.

FB_MdAxis

FB_Axis

Contains general axis parameters.

FB_MdContinuousMotion

FB_Extruder

Contains parameters for axes with continuous rotary motion.

FB_MdHoming

FB_Homing

Contains setting parameters for homing procedures.

FB_MdNc

FB_NcFunctions

Contains NC-specific parameters.

FB_MdPtpMotion

FB_PtpMotion

Contains parameters for PTP-based motion.

FB_MdTrafo

FB_TrafoFunctions

Contains parameters for transforming axes.

FB_MdTempChannel

FB_TempChannel

Contains parameters for a temperature channel.

FB_MdTempGroup

FB_TemperatureGroup

Contains data of the temperature group.

FB_MdTempGrouping

FB_TemperatureGroup

Extends FB_MdTempChannel with a read mode for reading the configuration files.

FB_MdTempSupply

FB_TempSupply

Contains parameters for a temperature supply unit.

FB_MdTempTimer

FB_TempTimer

Contains additional information for the TimeSchedule of a temperature zone.

FB_MdTempZone

FB_TempZone

Contains parameters of a TF8540 temperature zone.

Is the basis for FB_MdTempChannel.

FB_MdWeekdayTiming

FB_TimerWeekdayHmi

Contains data about the TimeSchedule of the Weekday Timer.

MachineData - Machine data 3:

Create your own machine data components

The standard of TF8560 machine data applies for creating your own machine data components. A new component must implement the abstract methods MdNextParameter() and MdSetParameter() and set some internal variables. For this it is recommended to use the existing classes as a template and to follow the instructions of the TF8560 documentation.

Hmi

In the \MachineData\Hmi\ subfolder, classes are defined that summarize the data stored per component for the HMI.

MachineData - Machine data 4:

FB_MdHandleHmi

This class is used to provide the information in the machine data file and an interface for the HMI. Accordingly, load and save commands for the machine data can be triggered directly from the HMI. Provided classes of Plastic Base Application, which offer both machine data and a HMI class, offer the class as an instance fbParamHandle.

MachineData - Machine data 5:

Access to the Md-HMI function blocks is not recommended

The Md-HMI function blocks are only to be used for the automated creation of parameter pages in the HMI. As these function blocks only provide reference access to other objects, it is recommended to use the parameters directly at the source locations.

  • The source location can be determined using the MdXyzParameter() methods of the associated MD function block.
  • Alternatively, the source locations can be viewed via the FB_MdXyz descriptions.
  • Example of correct source access: Instead of FB_MdAxisHmi.DriveReversed, use the axis interface I_AxisBase.MotionParams.DriveReversed directly.

Subitems

The \MachineData\Subitems\ subfolder contains several classes, interfaces and enumerations that contribute to the functionality of the machine data classes.

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)