Access and embedding
The TC3 Plastic Technology Functions creates the corresponding INTERFACEs for each function block (FB). For a detailed description see INTERFACE concept. In this document the following naming rules are applied:
FB_Xyz
: Declaration of a function block
fbXyz
: an instance of FB_Xyz
I_Xyz
: the INTERFACE declaration corresponding to FB_Xyz
iXyz
: a variable of I_Xyz
that is instantiated with fbXyz
Notice | |
Do not access the We suggest that you don't access the |
sName := fbNcAxis1.Name // not preferred
sName := iNcClamp1.Name // preferred
It should be noted that TC3 Plastic Technology Functions creates two INTERFACEs with different information content for each function block of the axes. For example, FB_AxisBase
has the interfaces I_AxisBase
and I_AxisBaseDev
. I_AxisBase
contains the necessary functions of the axes for most common cases. In contrast, I_AxisBaseDev
provides more information access and allows users to implement more complex functions. For the sake of simplicity and security, it is recommended to use the general interface (e.g. I_AxisBase)
.
iNcAxis1: I_AxisNcBase := fbNcAxis1;
iNcAxis1Dev: I_AxisNcBaseDev := fbNcAxis1;
iHydAxis1: I_AxisHydraulicBase := fbHydAxis1;
iHydAxis1Dev: I_AxisHydraulicBaseDev := fbHydAxis1;
The following UML diagram shows the available interfaces of the individual axes and their inheritance structure.

Name | Description |
---|---|
General motion unit | |
General axis | |
NC-based axis | |
Hydraulic-based axis. . | |
Inverter-based axis | |
General transformation axis | |
NC-based transformation axis | |
Digital linear actuator | |