MC_Cam_Ref

 

MC_Cam_Ref - General Information

Overview

Type:

data structure

Available as of:

1.0.5.0

Versions:

current version

Description

Data structure containing information on the course of the cam Here, the user specifies the cam. It largely corresponds to the PDL.ST_MultCam structure from the PacDriveLib.

This structure first must be converted to the MC_Cam_Id structure using the MC_CamTableSelect function before it can be started via the MC_CamIn POU.

Structure Elements

Variable

Data type

Description

diNumberOfCamPoints

DINT

Number of cam points

diUserTableId

DINT

ID for identifying the table during runtime

lrYPeriod

LREAL

If this value is <> 0, then this value is assumed to be the Y period of the motion profile. If this is not the case, the Y period of the motion profile is determined as follows:

astCamPoint[diNumberOfCamPoints - 1].lrY - astCamPoint[0].lrY

astCamPoint

ARRAY[0..SystemInterface.MAX_NO_OF_SEG] OF PDL.ST_CamPoint

List of cam points