Inputs

L_TF2P_VirtualMasterBase Basic functions

Designator

Data type

Description

xEnable

BOOL

TRUE

The function block is activated.

FALSE

The function block is deactivated.

xEnableOperation

BOOL

TRUE

The axis is switched to the "ready for operation" state.

Controller enable is issued.

xResetError

BOOL

FALSEäTRUE

Reset axis error or software error.

xQSPApplication

BOOL

TRUE

The axis is brought to a standstill with speed control and/or held there with position control using the parameters of the QSP application.

  • The technology module remains in the "STOP" state as long as the quick stop is executed.

  • The function cannot be replaced by another function.

xAbort

BOOL

FALSEäTRUE

The active movement is cancelled and the axis is brought to a standstill profile deceleration (scPar.IrDec).

  • The state changes to "Stop".

The deceleration ramp can be aborted by commissioning of a new movement (e.g. xMoveVelExecute)

xJogPos

BOOL

TRUE

Traverse axis in positive direction (manual jog).

If xJogNeg is also TRUE, the eErrorID output displays the "InvalidInputJogPosJogNeg" error message and the axis stops.

xJogNeg

BOOL

TRUE

Traverse axis in negative direction (manual jog).

If xJogPos is also TRUE, the eErrorID output displays the "InvalidInputJogPosJogNeg" error message and the axis stops.

xHomeExecute

BOOL

FALSEäTRUE

Start homing.

The function is aborted via the xHalt input.

lrOverride

LREAL

With the lrOverride factor, the defined setpoint speed is multiplied (e.g. an override value of 0.5 generates half the setpoint speed)

  • Value range: 0 ... 1.0

  • Initial value: 1.0

Note: Acceptance of the value is carried out irrespective of the status in xContinuousUpdate.

scCtrlBasicMotion

L_TB2P_scCtrlBasicMotion

Structure input for controlling basic motion functions

L_TF2P_VirtualMasterBase Technology functions

Designator

Data type

Description

scPar

L_TF2P_scPar_VirtualMasterBase

The parameter structure contains the parameters of the technology module.

Axis

AXIS_REF

Reference to the axis

MasterValues

L_MC1P_IAXIS_REF_MASTERVALUES

Connection for the master values (master axis)

scAccessPoints

L_TF2P_scAP_VirtualMasterBase

Structure of the access points

The access points can be used to influence the signal flow or technology module functions.

xContinuous

BOOL

Start and stop continuous driving operation Continuous driving operation

The setpoint speed for continuous driving operation is specified via the lrSetVel input. The function is aborted via synchronization to the master values of the master axis ( xSyncIn = TRUE).

  • Initial value: FALSE

TRUE

Execute continuous driving operation. The technology module is in the "CONTMOTION" state.

TRUE æ FALSE

Stop continuous driving operation and move to the scPar.lrTargetPos target position.

xCycleExecute

BOOL

Execute single cycle operation Single cycle operation

The setpoint speed for the single cycle is specified via the lrSetVel input. The input is edge-controlled and evaluates the rising edge.

  • Initial value: FALSE

FALSE ä TRUE

Execute single cycle operation and move to the scPar.lrTargetPos target position.

The technology module is in the "CYCLICMOTION" state and remains in this state until the motion has ended.

xLoadStartPos

BOOL

Loading of starting position Loading of starting position

  • This function can also be executed when the axis is inhibited or when xQSPApplication / scCtrlBasicMotion.xHalt = TRUE.
  • This function cannot be executed during position synchronism.
  • The input is edge-controlled and evaluates the rising edge.
  • Initial value: FALSE

FALSE ä TRUE

Load starting position from scPar.lrStartPos .

lrSetVel

LREAL

Setpoint speed for continuous driving operation and single cycle operation.

The direction of rotation is set via the scPar.eDirection parameter.

New speed values are accepted at any time without a renewed edge change at one of the xContinuous or xCycleExecute control inputs.

  • Unit: unit/s
  • Initial value: 10 unit/s
  • Valid values:
    • Single cycle operation: positive values
    • Continuous driving operation: positive und negative values

xSyncIn

BOOL

Synchronize master axes Ramp-based synchronisation process

The velocity and position of the virtual master axis are matched to the real master axis. If synchronization is present, the xSynchronized output is set to TRUE.

  • Initial value: FALSE

TRUE

Start synchronization