beautypg.com

Pathidmanager, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 309

background image

Gantry Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

296


PathIDManager

This function block serves as a FIFO buffer for PathID's. Each time a new PathID is created, it will delete the
memory allocated to the oldest set of CamTableIDs used for a PathID by using the Y_RemoveCamTable function
block from the PLCopenPlus firmware library. This function block cleans up memory in IEC applications which
build new paths on the fly. A circular buffer of four PathID tables is maintained in the PathIDManager. When the
function block is executed a fifth time, it releases the memory area of the oldest PathID. The controller can
allocate this memory area for new Paths or application code.

Parameters

*

Parameter

Data
Type

Description

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

V

PathID

UINT

The most recent PathID created by Y_CamFileSelect or
Y_CamStructSelect

UINT#0

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.