FB_MdComponent
The class represents the basis of a machine data component.
Class is Abstract Since the class is defined as |
Syntax:
FUNCTION_BLOCK ABSTRACT FB_MdComponent
Properties
Name | Type | Access | Description |
---|---|---|---|
ComponentIndex | USINT | Get, Set | Index of the instance of the component. Identifies a component if there are several components of the same type in a container. |
ComponentType | USINT | Get, Set | Index of the component type. |
Connected | BOOL | Get | Component is connected to the container. |
CrcChecked | BOOL | Get, Set | CRC checksum has been checked. |
EndMark | BOOL | Get, Set | Is set when the component has accepted the last parameter. |
MdNextComponent | I_MdComponent | Get | Interface to the next component. |
Methods
Name | Description |
---|---|
AddNextComponent() | Adds the subsequent component to the component (list). |
ClearChain() | Resets the interface to the next component and calls its |
Event-driven methods (callback methods)
Name | Description |
---|---|
Gets parameters from the application. | |
Passes parameters to the application. |
Interfaces
Type | Description |
---|---|
I_MdContainer | Standard interface on FB_MdContainer. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |