Notes – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 482

Advertising
background image

PLCopen Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

469

parameter sets, such as
camming.

VAR_OUTPUT

B

Valid

BOOL

Indicates that the outputs of the function are valid.

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.

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.

B

ErrorID

UINT

If Error is true, this output provides the Error ID. This
output is reset when 'Execute' or 'Enable' goes low.

Notes

Only AxisType#Servo, AxisType#External, AxisType#Virtual are supported.

By default, the function will update all parameter types in the AxisParamStruct. For efficiency, parameters are
grouped into types. Basic, Status, and Cam. For axes that are not cam slaves, there is no need to read the
cam parameters. To cause the function to skip the update of a parameter group, set the corresponding bit high.
For example, the following function block will not read the cam parameters:

Advertising