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

Page 47

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

39

Data Type: PrmStruct

This datatype is for use with the

Y_ReadMultipleParameters

function block

Data Type Declaration

Params :

STRUCT

Number :

UINT;

(* The parameter number to read *)

Reserved :

UDINT

;

Value :

LREAL

;

(* The value of the parameter *)

END_STRUCT;

ParamList : ARRAY[0..99]

OF

Params;

PrmStruct :

STRUCT

LastParam :

INT

;

(* Indicates the last parameter

in the list *)

Reserved :

UDINT

;

ParamData :

ParamList

;

(* The array of parameter numbers

and values *)

END_STRUCT;

Advertising