I_AxisNcTrafoBaseDev

Represents the extended interface for a transforming NC axis.

Syntax:

INTERFACE I_AxisNcTrafoBaseDev EXTENDS I_AxisTrafoBaseDev, I_AxisNcBaseDev, I_AxisNcTrafoBase

I_AxisNcTrafoBaseDev 1: Properties

Name

Type

Access

Description

Actuals

I_MotionActuals

Get

Provision of current actual values (positions, velocities, etc.)

I_AxisTrafoBaseDev

DoTransforming

BOOL

Get, Set

[INTERNAL] For internal use only.

DriveSideBase

I_AxisBaseDev

Get

Interface to the drive side of the transformation axis.

IsTransforming

BOOL

Get, Set

[INTERNAL] For internal use only.

LoadSideBase

I_AxisBaseDev

Get

Interface to the load side of the transformation axis.

I_AxisBaseDev

AxisIsInverter

BOOL

Get

TRUE if the axis is of type FB_AxisInvBase.

AxisIsNc

BOOL

Get

TRUE if the axis is based on a TwinCAT NC axis.

PtpPoints

INT

Get, Set

The number of supported segments in the table supported by Ptp.

I_MotionBaseDev

[INTERN] CmdCurrent

UDINT

Get, Set

A counter that assigns an identification to each activated command.

[INTERN] CmdCurrentId

E_CurrentCmd

Get, Set

A counter that assigns an identification to each activated command.

[INTERN] CmdNext

UDINT

Get

The next value to be used as CmdCurrent.

[INTERN] CoreDebug

I_CoreDebug

Get

Debugging support

[INTERN] CycleTime

LREAL

Get

In the startup phase, the axis will determine the cycle time of the PLC task that runs the axis function. The axis will not execute any function if it could not update this value.

[INTERN] CycleTimeValid

LREAL

Get

The internal query of the cycle time is valid

I_AxisNcTrafoBase

ActualsDriveNc

I_NcActuals

Get

Provision of current actual values of the drive side (positions, velocities, torque, etc.). It is an extended version of Actuals.

I_AxisTrafoBase

ActualsDrive

I_MotionActuals

Get

Provision of current actual values of the drive side (positions, velocities, etc.).

MotionSetpointsDrive

I_MotionSetpoints

Get

Provision of current setpoints on the drive side (position, velocity, etc.).

Suspend

BOOL

Get, Set

Temporarily suspends the full transformation.

Suspended

BOOL

Get

The full transformation is temporarily suspended.

Synchronise

BOOL

Get, Set

Activates the full transformation of the axis.

Synchronised

BOOL

Get

The full transformation is active.

Transformation

I_Transformation

Get

Transformation function of the axis.

I_AxisNcBase

ActualsNc

I_NcActuals

Get

Provision of current actual values (positions, velocities, torque, etc.). It is an extended version of Actuals.

I_AxisBase

AutoLimitSelect

BOOL

Get, Set

A TRUE allows the axis to select an internal function block for limiting if the servo drive type (CoE, SoE) has been detected.

BadSwitchOver

BOOL

Get

Reserved for future extension.

Camming

I_CammingMain

Get

Functions for processing cam plates.

CycleTime

LREAL

Get

The call cycle time of the most important axis functionalities.

CycleTimeValid

BOOL

Get

TRUE, if the call cycle time was determined to be valid.

DisableSoftEnd

I_DisableSoftEnd

Get

Possibility to temporarily disable the software limit switches of the axis and restore their original state.

Estop

I_Estop

Get

Function for canceling an active motion command to bring the axis to a standstill. If available, increased dynamic parameters are applied.

ExtGenerated

BOOL

Get

TRUE if the setpoint generation runs via the ExternalGenerating core function.

Homing

I_HomingMain

Get

Provision of a selection of homing procedures.

MotionSetpoints

I_MotionSetpoints

Get

Provision of current setpoints (position, velocity, etc.).

Ptp

I_Ptp

Get

Function for active movements. A table with a section-by-section definition is used.

SetPosition

I_SetPosition

Get

Set a new actual position of the axis.

Stop

I_Stop

Get

Canceling an active motion command to bring the axis to a standstill. The dynamics parameters of the motion command are used.

SwitchOver

BOOL

Get

Reserved for future extension.

TeachPosition

I_TeachPosition

Get

Commissioning of axes with analog position measuring systems.

TeachUpdate

I_TeachUpdate

Get

ToolAdaption

I_ToolAdaption

Get

Conversion of positions and velocities between an axis and a tool.

TorqueLimiting

I_TorqueLimiting

Get

Torque limitation of the axis.

VelocityFeed

I_VelocityFeed

Get

An interface to a local function block that triggers a motion without specifying a destination.

AutoTorqueLimitSelect1

BOOL

Get, Set

A TRUE allows the axis to select an internal function block for torque limitation if the type of a servo drive (CoE, SoE) has been detected.

AxisName1

STRING

Get, Set

See property .Name

The axis name must be unique. This is of particular importance for hydraulic axes. The library used here uses the axis name as file name for loading and saving the axis parameters.

I_MotionBase

Jog

I_Jog

Get

Command motion without a defined destination (travel on revocation).

MotionParams

I_MotionParams

Get

Compilation of motion parameters

Name

STRING

Get

The textual name of the motion unit.

Power

I_Power

Get

Function for releasing the axis and its direction-related feed releases.

State

E_AxiState

Get

The current state of the axis.

I_AxisNcTrafoBaseDev 2: Methods

Name

Description

Cyclic()

This method implements all motion mechanisms that must be called cyclically.

I_AxisNcTrafoBaseDev

GetNcDriveAxisRef()

The address on the mapping interface (AXIS_REF) of the drive side between NC and PLC.

I_AxisNcBaseDev

GetNcAxisRef()

The address to the mapping interface (AXIS_REF) between NC and PLC.

I_AxisBaseDev

[INTERN] ConvertCountToPos

Only for internal use.

[INTERN] ConvertPosToCount

Only for internal use.

GoErrorBase(nErrorCode)

This method can be used to set the axis to an error state.

SetLimiting(iLimiting)

This method connects a limiting block to the axis.

SetTorqueLimiting(iTorqueLimiting)1

This method connects a torque limiting block to the axis.

I_MotionBaseDev

[INTERN] AppendCorefunction(iCoreFunc)

Only for internal use.

[INTERN] EnterCriticalSection()

Only for internal use.

[INTERN] ForceState(eNewState)

This method changes the state of the axis with high priority.

[INTERN] LeaveCriticalSection()

Only for internal use.

[INTERN] ReadCycleTime()

Used to determine the cycle time.

I_AxisBase

GetProcessHandler()

Reserved for future extension.

SetProcessHandler()

Reserved for future extension.

I_MotionBase

DoReset(bExecute)

Triggers the reset of error states in the axis and in all local CoreFunctions.

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