L_MC2P_MotionControlCam for multi axes

This chapter describes all function blocks that are contained in the "L_MC2P_MotionControlCam" function library.

Function blocks for multi-axes movements

For synchronous motion control of several axes (cam functionality).

Function block

Info

MC_CamIn

Execute an existing cam

MC_CamOut

Cancel coupling of the slave axis to the master axis again

MC_CombineAxes

Transmit motion of two axes to a third axis

MC_GearIn

Establish velocity synchronism between master and slave axis

MC_GearInPos

Establish position synchronism between master and slave axis

MC_GearOut

Cancel synchronous motion between master and slave axis again

MC_PhasingAbsolute

Set virtual absolute offset between master and slave axis

MC_PhasingRelative

Set virtual relative offset between master and slave axis

Additional blocks for Lenze-specific functions

Function block

Info

L_MC2P_BoundsCam

Calculate maximum and minimum values of the position, velocity and acceleration of the slave axis for the specified curve profile

L_MC2P_CamDataPointXY

Definition of the data points with XY information (not equidistant).

L_MC2P_CamDataPointXYA

Definition of the data points with XYA information (not equidistant).

L_MC2P_CamDataPointY

Definition of the data points with Y information (equidistant).

L_MC2P_CamDataPointYA

Definition of the data points with YA information (equidistant).

L_MC2P_CamDataXYVA

Definition of the data points with XYVA information.

L_MC2P_CamGetSlavePosition

Read out the associated slave position from the transmitted cam data by specifying the master position

L_MC2P_CamRefFromFile

Generate an MC_CAM_REF structure for the FB MC_CamIn from an existing cam file (*.lcp)

L_MC2P_CamRefFromStruct

Generate an MC_CAM_REF structure for the FB MC_CamIn online from the transmitted cam data (basic conditions, characteristics, or data points)

L_MC2P_CamRefToFile

Write cam data (MC_CAM_REF structure) into an *.lcp file

L_MC2P_ClutchPos

Implement a "Path-controlled clutch" of the master position via a fifth-order polynomial for all travel ranges.

L_MC2P_ClutchVelocity

Implement a "Virtual clutch" with speed reference for the "Electronic gearbox" application.

L_MC2P_ConvAxisV

A velocity between two axes is transformed.

L_MC2P_Differentiate

A speed signal is generated from a position value.

L_MC2P_LinearCoupling

Implement a master value connection for the "Synchronism" application.

L_MC2P_TappetDataObject

Definition of a position or time-based tappet.

L_MC2P_TappetDataTime

Definition of the switch-on and switch-off positions of time-based tappets.

L_MC2P_TappetRefFromFile

Generate an L_MC2P_Tappet_Ref structure from an available tappet file for the FB L_MC2P_TappetRegister (tappet group)

L_MC2P_TappetRefFromStruct

Generate an L_MC2P_Tappet_Ref structure online from the transmitted tappet track data for the FB L_MC2P_TappetRegister (cam group)

L_MC2P_TappetRefToFile

Write cam track data (L_MC2P_Tappet_Ref structure) into a file.

L_MC2P_TappetRegister

Cam group with switch-on and switch-off dynamisation