TB_VirtualDriveEncoder

General information

Generates a motion control axis and the actual mechanical position of the axis in user units from a speed in 1/100 user units / Ts.

Darstellung in FBD

General description

Generates a motion control axis and the actual mechanical position of the axis in user units from a speed in 1/100 user units / Ts.


Resource dependency: IAX_40/BMI_S_PCC03
Recommended Task: CYCLIC/EVENT
Libraries used: ARITHMETIC_40bd00 oder höher
MOTION_CONTROL_40bd10 oder höher
TECH_TYPES_40bd10 oder höherbr>

In-/Outputs

Marking: Datatype: Description:
_Master AXIS_REF Motion Control Axis

Inputs

Marking: Datatype: Description:
x_Enable BOOL Enable of function block
di_Vel DINT Speed ​​in 1/100 units / Ts
ud_Units UDINT Number of user units per ...
u_MC_Periode UINT … Number of MC_revolution
di_Pos DINT Position of the axis in user units

Outputs

Marking: Datatype: Description:
x_Active BOOL TRUE: Function block active
di_Pos DINT Position of the axis in user units