FB_AxisNcBase
This FB creates an axis operated with the Tc2_MC2 library.
Syntax:
fbNcAxis: FB_AxisNcBase
(
AxisName := 'NcClampAxis1',
nPtpPoints := 10,
iProcessHandler := 0,
iPosCamLookup := 0,
iVeloCamLookup := 0
);
Initialization parameters of the FB_init constructor
Designation | Type | Obligatory | Description |
---|---|---|---|
AxisName | STRING | Yes | The text-based name of the axis. Used for messages and file names, among other things. |
nPtpPoints | INT | Yes | Number of available segments in PTP tables. The number of points can also be set via Ptp.SetPoints() |
iProcessHandler | I_ProcessHandler | No | A function block for handling pressures and other process variables. Reserved, currently to be assigned zero |
iPosCamLookup | No | An interface to a FB with a position cam plate. This input is usually assigned zero, as the cam plate is defined at a later point in time. | |
iVeloCamLookup | No | An interface to a FB with a velocity cam plate. This input is usually assigned zero, as the cam plate is defined at a later point in time. |
Required libraries NC-based axes require the Tc2_MC2 library and a TwinCAT NC license. |
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 |