FB_AxisNcBase

This FB creates an axis operated with the Tc2_MC2 library.
This axis type requires the TF50x0 NC PTP license.
Syntax:
- Runtime-based:
fbNcAxis: FB_AxisNcBase('', 0, 0, 0, 0, 0);
// Initialization code
fbNcAxis.Name := 'NcAxis1'
fbNcAxis.PtpPoints := 10;- Declarative (outdated):
fbNcAxis: FB_AxisNcBase
(
AxisName := 'NcClampAxis1',
nPtpPoints := 10,
iProcessHandler := 0,
iPosCamLookup := 0,
iVeloCamLookup := 0
);
Connection options (I/Os)
Name | Type | Description |
|---|---|---|
AxisRef | Mapping interface to the TwinCAT NC axis. | |
PressureControl.Supervisor.Sensor | Interface to a pressure sensor for pressure control. | |
Limiting.Output | Interface for the connection of limit outputs (e.g., torque or pressure). |
![]() | AxisRef is not available as a property AxisRef is listed here for the sake of completeness, but it cannot be accessed directly via a property. |
Initialization parameters of the FB_init constructor
Name | Type | Description |
|---|---|---|
AxisName | STRING | The text-based name of the axis. Used for messages and file names, among other things. The name can also be set via |
nPtpPoints | INT | Number of usable points in the PTP function. The number of points can also be set via . |
iProcessHandler | I_ProcessHandler | A function block for handling pressures and other process variables. Outdated implementation! This input must be set to zero, since the availability of pressure control is already high in PressureControl.Supervisor without requiring an external assignment. |
iPosCamLookup | An interface to an external instance with a position cam plate. Outdated implementation! This input must be set to zero, since a cam plate is already available at Camming.Pos.LookUp without an external assignment. | |
iVeloCamLookup | An interface to an external instance with a speed cam plate. Outdated implementation! This entry must be set to “zero” because a cam plate is already available at Camming.Velo.LookUp without an external assignment. |
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 Tc3_PlasticNc v3.12.4.26 or higher |
