Slaveindex_lookup, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 155

Advertising
background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

142


SlaveIndex_Lookup

This function block returns the array index value corresponding to the given slave position. This function block
is used by

CamMasterLookup

to determine the equivalent master location for a given slave position.

Parameters

*

Parameter

Data Type

Description

VAR_IN_OUT

B

CamTable

Y_MS_CAM_STRUCT

Cam data structure

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

SlavePosition

LREAL

The position of the slave axis for which
the corresponding master position is
required.

LREAL#0.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.

B

Busy

BOOL

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

Advertising