Parameters, Notes – Yaskawa MotionWorks IEC User Manual

Page 185

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

177

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).

E

TriggerInput

TRIGGER_REF

Reference to the trigger signal source.

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

E

WindowOnly

BOOL

This feature is not currently supported.

FALSE

E

FirstPosition

LREAL

This feature is not currently supported.

LREAL#0.0

E

LastPosition

LREAL

This feature is not currently supported.

LREAL#0.0

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.

B

Busy

BOOL

Set high upon the rising edge of the 'Execute' or 'Enable'
input, and reset if Done, CommandAborted, or Error is true.

E

CommandAborted

BOOL

Set high if motion is aborted by another motion command or
MC_Stop. This output is cleared with the same behavior as the
Done output.

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.

B

RecordedPosition

LREAL

Position where trigger event occurred (in user units [u])

Notes

1. RecordedPosition will reflect the configuration of the axis, meaning that
if the axis is configured as rotary type (cyclic) then the RecordedPosition
will be modularized to fit within the Machine Cycle. To use the
unmodularized latch on an axis configured for rotary mode, use

Advertising