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

Page 42

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

34

Data Type: INPUT_REF

This datatype is for use with the MC_ReadDigitalInput function block

Data Type Declaration

TYPE

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

INPUT_REF: STRUCT

ID: UINT;

(* Mapping may be required for drive

inputs and C-pulse. These inputs must not been neglected *)

END_STRUCT;

END_TYPE

Variable Declaration Example

Advertising