beautypg.com

Data type: camparameters, Data type declaration, Camparameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 71

background image

Cam Toolbox: DataTypes

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

58

Data Type: CamParameters

Supporting structure for

CamSegmentStruct

. For use with the

CamGenerator

function block.

Data Type Declaration

TYPE

CamParameters:STRUCT

MasterEnd:LREAL;

(* Location of the master at the end of the current segment *)

SlaveEnd:LREAL;

(* Location of the slave at the end of the current segment *)

CurveType:INT;

(* Formula code to indicate the motion profile for this segment *)

Resolution:REAL;

(* Determines how many data points are calculated along this segment. *)

(* If the master delta from the previous segment is 10.0, and the resolution *)

(* is set to 0.5, then 20 datapoints will be generated for this segment. *)

END_STRUCT;

END_TYPE