beautypg.com

Notes, Error description, Example 1 – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 310

background image

Gantry Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

297

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.

Notes

This function block is unnecessary in applications which use a single, static PathID.

Error Description

ErrorID

Meaning

0

No error

4887

CamTableID does not refer to a valid cam table.

Example 1

An example of using the CamTableManager is shown below; it operates very similarly to the PathIDManager
function block. On the fifth execute of the PathIDManager block, the memory for the oldest Path ID gets
released. In the example shown below, the memory for PathID 1 gets released. The next execution of the
PathIDManager will release the memory for PathID 2.