Data type: y_ms_cam_struct, Data type declaration – Yaskawa MotionWorks IEC User Manual
Page 53
Advertising

PLCopenPlus Function Blocks for Motion Control 2013-04-13
45
Data Type: Y_MS_CAM_STRUCT
This data type is for use with the
and
function blocks. Y_MS_CAM_STRUCT consists of
the sub-structures found below. Refer to the
in the Cam Data Management section.
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.
There are 16 bytes
(8 Master/8 Slave)per
Y_MS_PAIR. For example, if
your CAM profile has 360
data pairs, then the data
size is 360 pairs x 16 bytes =
5760 bytes *)
END_STRUCT;
Y_MS_PAIR: STRUCT
Master:LREAL;
(* Master position *)
Slave:LREAL;
(* Slave position *)
END_STRUCT;
Advertising