beautypg.com

Datarecord, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 532

background image

Yaskawa Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

519


DataRecord

This function block will record Data into the array. Data can be stored continuously or intermittently. The
default datatype for Data to be recorded can be customized by the user to satisfy other recording needs.

Parameters

Parameter

Data Type

Description

VAR_IN_OUT

V

Data

XYDataStruct

Structure where recorded data is stored

VAR_INPUT

Default

B

Enable

BOOL

The function will continue to execute while
enable is held high.

FALSE

V

DataSize

INT

The maximum amount of data to be
stored, which must be less than or equal
to the datatype definition for Data.

INT#0

V

NewData

XYData

Structure containing a single pair of X and
Y data to be added to the XYDataStruct.

n/a

V

Stream

BOOL

If TRUE, the function will store NewData
every application scan.

FALSE

V

Trigger

BOOL

If Stream is FALSE, then the function will
store new Data only upon the rising edge
of Trigger.

FALSE

VAR_OUTPUT

B

Valid

BOOL

Indicates that the outputs of the function are valid.