FB_AxisNcBase

FB_AxisNcBase 1:

This FB creates an axis operated with the Tc2_MC2 library.

This axis type requires the TF50x0 NC PTP license.

Syntax:

fbNcAxis:        FB_AxisNcBase('', 0, 0, 0, 0, 0);

// Initialization code
fbNcAxis.Name := 'NcAxis1'
fbNcAxis.PtpPoints := 10;
fbNcAxis:   FB_AxisNcBase
            (
                AxisName        := 'NcClampAxis1', 
                nPtpPoints      := 10,
                iProcessHandler := 0,
                iPosCamLookup   := 0,
                iVeloCamLookup  := 0
            );

FB_AxisNcBase 2: Connection options (I/Os)

Name

Type

Description

AxisRef

AXIS_REF

Mapping interface to the TwinCAT NC axis.

PressureControl.Supervisor.Sensor

I_InputBase

Interface to a pressure sensor for pressure control.

Limiting.Output

I_LimitingOutput

Interface for the connection of limit outputs (e.g., torque or pressure).

FB_AxisNcBase 3:

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.

FB_AxisNcBase 4: 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 .Name.

nPtpPoints

INT

Number of usable points in the PTP function.

The number of points can also be set via .PtpPoints

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

I_CammingLookup

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

I_CammingLookup

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