Data type: pattern_ref, Data type declaration – Yaskawa MotionWorks IEC User Manual

Page 46

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

38

Data Type: PATTERN_REF

This datatype is for use with the

Y_ProbeContinuous

function block

Data Type Declaration

PATTERN_ARRAY_TYP : ARRAY(0..7)

OF

UINT;


PATTERN_REF :

STRUCT

PatternSize :

UINT;

(* Number of sensors that will

operate in a repeating

pattern. Sent to Sigma-5 Pn850
*)

PatternCount :

UINT;

(* Number of times the pattern

repeats until the FB

will be done. UINT#0 =
infinite. Sent to Sigma-5

Pn 851 *)

PatternArray :

PATTERN_ARRAY_TYPE;

(* Array of signal ID pattern,

indicating C Channel,

EXT1, EXT2, EXT3. Sent to Sigma-
5 Pn853 and Pn854 *)

END_STRUCT;

Advertising