beautypg.com

Camtableupdate, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 151

background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

138

CamTableUpdate

This function block aids with cam file management when on the fly changes to the table data are required. It
supports two tables: one which may be actively running in the motion engine, and one that may be recalculated
and transferred to the motion engine. It contains the Y_CamStructSelect and Y_WriteCamTable function blocks.

Parameters

*

Parameter

Data Type

Description

VAR_IN_OUT

B

Slave

AXIS_REF

A logical reference to the slave axis

B

CamTable

Y_MS_CAM_STRUCT

Cam data structure

V

TableIDs

TableIDStruct

Contains an Active and Inactive TableID

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

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.

B

Busy

BOOL

Set high upon the rising edge of the 'Execute' or 'Enable'