Data type: output_ref, Data type declaration, Variable declaration example – Yaskawa MotionWorks IEC User Manual

Page 44

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

36

Data Type: OUTPUT_REF

This data type is for use with the MC_WriteDigitalOutput function block.

Data Type Declaration

TYPE

(* Inputs and outputs are referenced via a variable of the
type INPUT_REF or OUTPUT_REF *)

OUTPUT_REF: STRUCT

ID: UINT;

(* The user may output to memory or

hardware. *)

END_STRUCT;

END_TYPE

Variable Declaration Example

Advertising