Data type: y_ms_cam_struct, Data type declaration, Y_ms_cam_struct – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 81

Cam Toolbox: DataTypes
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
68
Data Type: Y_MS_CAM_STRUCT
This data type is for use with the
, and
function blocks.
Data Type Declaration
TYPE
Y_CAM_HEADER:STRUCT
TableType:INT;
(* INT#1 = Master/Slave pair *)
Reserved1:UINT;
DataSize:UDINT;
(* Size of cam table in bytes, 16 bytes per Y_MS_PAIR *)
END_STRUCT;
Y_MS_PAIR: STRUCT
Master:LREAL;
(* Master position *)
Slave:LREAL;
(* Slave position *)
END_STRUCT;
Y_MS_HEADER:STRUCT
SlaveIncremental:BOOL;
(* If TRUE, then the slave data from pair to pair is relative. *)
MasterIncremental:BOOL;
(* If TRUE, then the master data from pair to pair is relative. *)
Reserved1:UINT;
Reserved2:UINT;
Reserved3:UINT;
END_STRUCT;
MS_Array_Type:ARRAY[0..2880] OF Y_MS_PAIR;