Y_readmultipleparameters, Parameters – Yaskawa MotionWorks IEC User Manual
Page 266

PLCopenPlus Function Blocks for Motion Control 2013-04-13
258
Y_ReadMultipleParameters
This function will read a number of controller parameters at once. The
parameters must be an LREAL type. Populate the parameter numbers into
the ParamStruct, and the function block will supply the values to the
requested parameters.
Refer to parameters with LREAL Data Type in the
Parameters
Parameter
Data
type
Description
VAR_IN_OUT
B
Axis
Logical axis reference. This value can be located on the Configuration
tab in the Hardware Configuration (logical axis number).
V
ParamStruct
Structure containing a list of parameter numbers to be read and their
corresponding values
VAR_INPUT
Default
B
Enable
BOOL
The function will continue to execute while
enable is held high.
FALSE
VAR_OUTPUT
B
Valid
BOOL
Indicates that the outputs of the function are valid.
E
Busy
BOOL
Set high upon the rising edge of the 'Execute' or 'Enable' input, and
reset if Done, CommandAborted, or Error is true.
B
Error
BOOL
Set high if error has occurred during the execution of the function block.
This output is cleared when 'Execute' or 'Enable' goes low.
E
ErrorID
UINT
If error is true, this output provides the Error ID. This output is reset
when 'Execute' or 'Enable' goes low.
V
ErrorPrm
UINT
If there was an error while attempting to read one of the parameters
listed in the ParamStruct, this output will contain the offending
parameter number.