beautypg.com

Error description, Example – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 572

background image

Yaskawa Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

559

be scaled.

V

CalY2

LREAL

Datapoint specifying a line along which data is to
be scaled.

LREAL#0.0

VAR_OUTPUT

B

Valid

BOOL

Indicates that the outputs of the function are valid.

V

Output

LREAL

The result of the calculation y:=mx + b.

V

m

LREAL

The calculated slope of the line.

V

b

LREAL

The calculated intercept of the line.

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.

Error Description

ErrorID

Meaning

0

No error

10075

Calibration Error: Cal_X2 must be greater than Cal_X1

Example