Overview of the PLC library

Below is an overview of the TF5050 TwinCAT 3 MC Camming (cam plates) PLC library.

Cam Plates

Function Block

Description

MC_CamTableSelect

Specifies a table and loads it into the NC.

MC_CamOut

Deactivates a master-slave coupling.

MC_CamIn

Activates master-slave coupling with a certain cam plate.

MC_CamScaling

Scales a cam plate coupling.

Multi Cam Plates

Function Block

Description

MC_CamIn_V2

Several cam plates can be superimposed.

MC_CamAdd

Adds a cam plate to a multi cam.

MC_CamExchange

Exchanges a cam in a multi cam.

MC_CamRemove

Removes a cam from a multi cam environment.

MC_CamScaling_V2

Scales a cam plate coupling.

Motion Functions

Function Block

Description

MC_ReadMotionFunction

Read the data of a motion function.

MC_ReadMotionFunctionPoint

Read the data of a motion function interpolation point.

MC_WriteMotionFunction

Write the data of a motion function into the NC.

MC_WriteMotionFunctionPoint

Write the data of a motion function interpolation point.

MC_SetCamOnlineChangeMode

Specifies the mode for write access to cam plate data.

MC_ReadMotionFunctionValues

Reads the interpolated data of a motion function in form of a table.

Status

Function Block

Description

MC_ReadCamTableSlaveDynamics

Determines the slave dynamics at a certain point of a cam plate table.

MC_CamInfo

Obtains data relating to the current state and current parameterization of a cam plate coupling.

MC_CamInfo_V2

Obtains data relating to the current state and current parameterization of a cam plate coupling.

MC_ReadCamTableCharacteristics

Calculates and reads the characteristic parameters of a motion function.

MC_ReadCamTableMasterPosition

Calculates a master position for a given slave position.

Data Types

Data Type

Description

MC_CAM_ID

Type definition for the table ID.

MC_CAM_REF

Describes the data memory of a cam plate in a further PLC variable.

MC_CamActivationMode

Specifies timing and type of change for a cam plate.

MC_CamScalingMode

Contains type and scope of the scaling of a cam plate coupling, used by the function block MC_CamScaling.

MC_CamInfoData

Contains data on the current state of a cam plate coupling.

MC_InterpolationType

Interpolation mode for position tables.

MC_MotionFunctionPoint

Describes an interpolation point of a motion function.

MC_MotionFunctionPoint_ID

Type definition for the point ID of the points of a motion function.

MC_MotionFunctionType

Type definition for motion functions.

MC_MotionPointType

Type definition for a table point.

MC_TableCharacValues

Type definition for the characteristic parameters of a motion function.

MC_TableErrorCodes

Type definition of table error codes.

MC_TableType

Type definition of table types.

MC_ValueSelectType

Type definition for access to value tables with the function block MC_ReadMotionFunctionValues.

MC_StartMode

Defines whether a cam plate is interpreted absolute to the origin of the axis coordinate system or relative to the coupling position.

ST_CamInOptions

Data of type ST_CamInOptions can optionally be transferred to the function block MC_CamIn.

CamMasterData

Data of type CamMasterData are optionally transferred by function block MC_ReadCamTableMasterPosition.

MC_CamOperationMode

Used for managing couplings with superimposed cam plates with the function block MC_CamIn_V2.

ST_CamScalingData

Contains information for scaling a cam plate, used with the function block MC_CamIn_V2.