beautypg.com

Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 108

background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

95

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.

B

ErrorID

UINT

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

B

MasterPosition

LREAL

The master position which corresponds to the
SlavePosition.

Notes

This function provide the exact master position that corresponds to the SlavePostion input by interpolating the
CamTable. Consider the following CamTable:

M S

0 0

10 0

20 5

30 10

40 20

If the SlavePosition is 15, the corresponding MasterPosition is 35.

Error Description

ErrorID

Meaning

0

No error

10045

SlavePosition not found in Y_MS_CAM_STRUCT