beautypg.com

Parameters, Notes – Yaskawa MotionWorks IEC User Manual

Page 277

background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

269

Parameters

Parameter

Data

type

Description

VAR_IN_OUT

B

Axis

AXIS_REF

Logical axis reference. This value can be located on the Configuration tab in
the Hardware Configuration (logical axis number).

VAR_INPUT

Default

B

Execute

BOOL

Upon the rising edge, all other function block inputs are
read and the function is initiated. To modify an input,
change the value and re-trigger the execute input.

FALSE

VAR_OUTPUT

B

Done

BOOL

Set high when the commanded action has been completed successfully. If
another block takes control before the action is completed, the Done output
will not be set. This output is reset when execute goes low.

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.

B

ErrorID

UINT

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

Notes

After successfully resetting the absolute encoder, servo power must be
cycled. A soft reboot be accomplished by using the

Y_ResetMechatrolink

function block.

Perform the setup operation for the absolute encoder in the following
circumstances:

• When starting the machine for the first time.

• When an encoder backup error (A.810) occurs.

• When an encoder checksum error (A.820) occurs.

• When the multi-turn data of absolute encoder is to be set to zero.