I_ActuatorBaseDev

Represents the extended interface for an actuator.

Syntax:

INTERFACE I_ActuatorBaseDev EXTENDS I_MotionBaseDev, I_ActuatorBase

I_ActuatorBaseDev 1: Properties

Name

Type

Access

Description

Actuals

I_MotionActuals

Get

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

I_ActuatorBaseDev

FeedbackBase

I_InputBase

Get, Set

I/O interface to an end position sensor of the base position.

FeedbackPower

I_InputBase

Get, Set

I/O interface to the status feedback of a power release.

FeedbackWork

I_InputBase

Get, Set

I/O interface to an end position sensor of the working position.

OutputBase

I_OutputBase

Get, Set

I/O interface for controlling the base position.

OutputPower

I_OutputBase

Get, Set

I/O interface for controlling a power release.

OutputWork

I_OutputBase

Get, Set

I/O interface for controlling the working position.

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_ActuatorBase

ActualsActuator

I_ActualsActuator

Get

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

Tuning

I_ActuatorTuning

Get

Tuning function for calibrating the movement time.

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_ActuatorBaseDev 2:

I/O interfaces optional

All I/O interfaces of an actuator are optional. The feedback signals can be simulated over time via MotionParams.ActuatorXyz.FeedbackDelay.

I_ActuatorBaseDev 3: Methods

Name

Description

Cyclic()

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

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_ActuatorBase

DoBase(bEnable)

Command for the movement to the base position (Jog.DoJogM()).

DoWork(bEnable)

Command to move to the working position (Jog.DoJogP()).

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.55

PC or CX (x64, x86)

Tc3_PlasticFunctions (>= v3.12.5.0)