beautypg.com

Datasort, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 534

background image

Yaskawa Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

521

DataSort

This function block will sort data from the lowest to highest value of X data. It was designed to work with data
that may be used with a cam function where the X or master data must continually increase, but this generic
function can be customized for other sorting needs.

Parameters

*

Parameter

Data Type

Description

VAR_IN_OUT

V

Data

XYDataStruct

Structure where recorded data is stored

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.

B

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.