I_AxisHydraulicBaseDev

Represents the extended interface for a hydraulic axis.

Syntax:

INTERFACE I_AxisHydraulicBaseDev EXTENDS I_AxisBaseDev, I_AxisHydraulicBase, I_ExternalHydAxisLibRef

I_AxisHydraulicBaseDev 1: Properties

Name

Type

Access

Description

Actuals

I_MotionActuals

Get

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

I_AxisHydraulicBaseDev

Drive

I_OutputBase

Get, Set

I/O interface for communication with the axis output hardware.

Encoder

I_InputBase

Get, Set

I/O interface for communication with the actual value acquisition of the axis.

PosFilter

I_Filter

Get, Set

Filter interface for filtering the actual position of the axis.

PressureInputM

I_InputBase

Get, Set

I/O interface for determining the actual pressure of the axis acting in the negative direction of movement.

PressureInputP

I_InputBase

Get, Set

I/O interface for determining the actual pressure of the axis acting in the positive direction of movement.

VeloFilter

I_Filter

Get, Set

Filter interface for filtering the actual velocity of the 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_AxisHydraulicBase

ActualsHydraulics

I_ActualsHydraulic

Get

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

AutoIdent

I_AutoIdent

Get

Automatic characteristic measurement of the hydraulic axis.

DirectOutput

I_DirectOutput

Get

Direct output via the drive interface of the axis.

UseDatFile

BOOL

Get, Set

A TRUE here signals that the axis loads its parameters with function blocks of the hydraulics library from a file during startup.

Notice A TRUE must be set before the first Cyclic call.

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_AxisHydraulicBaseDev 2: Methods

Name

Description

Cyclic()

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

I_ExternalHydAxisLibRef

GetHydAxisRef()

The address to the mapping interface (AXIS_REF_BkPlcMc) between hydraulics library 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_PlasticHydraulic v3.12.4.26 or higher