beautypg.com

Data type: pathstruct, Data type declaration, Pathstruct example 1 – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 256: Pathstruct example 2, Pathstruct

background image

Gantry Toolbox: DataTypes

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

243

Data Type: PathStruct

For use with the

PathGenerator

Function Block

Data Type Declaration

PathStruct: STRUCT

(* Data structure used with the PathGenerator function block *)

Data:PathPointArray;

Segments:INT;

(* Total datapoints specified in the path. If you need more than defined in the

PathPointArray, just increase *)

END_STRUCT;

PathStruct Example 1

PathStruct Example 2