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

Page 49

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

41

Data Type: TRIGGER_REF

This data type is for use with the

MC_TouchProbe

and

MC_AbortTrigger

function blocks.

Data Type Declaration

TYPE

(* MC_TouchProbe requires a trigger referenced via a variable
of the type TRIGGER_REF *)

Detection_Pattern:(Rising_Edge, Falling_Edge);

(* Not

used *)

TRIGGER_REF: STRUCT

Input: INPUT_REF;

Bit: UINT;

Pattern:

DETECTION_PATTERN

;

ID: UINT;

(* Unique identification of the trigger;

used for MC_AbortTrigger *)

END_STRUCT;

END_TYPE

Advertising