L_MC1P_SetAxisRefMasterValues

The FB maps the applied input values to the interface L_MC1P_IAXIS_REF_MASTERVALUES at the MasterValues output.

This can then be used, for example, for the MasterValues input of the technology modules

    - L_TS2P_CrossCutterState,

    - L_TS2P_ElectronicGearboxBase,

    - L_TS2P_FlexCamState,

    - L_TS2P_FlyingSawState,

    - L_TS2P_SyncAndCorrectionState,

    - L_TS2P_SyncPosBase und

    - L_TF2P_VirtualMasterBase

Can be used to generate a leading axis by application.

 

 

 

L_MC1P_SetAxisRefMasterValues

 

 

 

LREAL

-

lrSetPosIn

MasterValues

-

L_MC1P_IAXIS_REF_MASTERVALUES

LREAL

-

lrSetVelIn

lrSetPosOut

-

LREAL

LREAL

-

lrSetAccIn

lrSetVelOut

-

LREAL

LREAL

-

lrTorqueIn

lrSetAccOut

-

LREAL

LREAL

-

lrCycleLength

lrTorqueOut

-

LREAL

L_MC1P_TraversingRange

-

eTraversingRange

-

WORD

-

wdirection

-

 

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

lrSetPosIn

LREAL

Cyclic input position [unit]

lrSetVelIn

LREAL

Cyclic input speed [unit/s]

lrSetAccIn

LREAL

Cyclic input acceleration [unit/s 2 ]

lrSetTorqueIn

LREAL

Cyclic input torque [Nm]

lrCycleLength

LREAL

Modulo cycle length of the position [unit]

eTraversingRange

L_MC1P_TraversingRange

Travel range of the master axis

0: Modulo

1: Limited

wDirection

WORD

Rotation direction specification

0: Direction of rotation is automatically detected in the L_MC1P_SetAxisRefMastervalues FB

1: Standstill

2: Positive direction

3: Negative direction

Note:

If the values at the lrSetPosIn-lrSetTorqueIn inputs are values from an AXIS_REF, the wDirection input can be specified using the Axis_Ref.GetDirection(MC_Source) method.

MC_Source.mcSetValue: If the inputs are set values.

MC_Source.mcActualValue: If the inputs are actual values.

Outputs

Name

Data type

Value/meaning

MasterValues

L_MC1P_IAXIS_REF_MASTERVALUES

Output for the conductance values

lrSetPosOut

LREAL

Cyclic output value of the position [unit]

lrSetVelOut

LREAL

Cyclic output value of the speed [unit/s]

lrSetAccOut

LREAL

Cyclic output value of the acceleration [unit/s 2 ]

lrSetTorqueOut

LREAL

Cyclic output value of the torque [Nm]