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

Page 156

Advertising
background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

143

'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.

V

SlaveIndex

UDINT

The array index of the Y_MS_CAM_STRUCT of the
SlavePosition.

Notes

• The SlavePosition input should be a value between the maximum and minimum values of the slave’s position
profile for the index value to be valid.

• If the SlavePosition input is a value between two slave positions in the cam table, the SlaveIndex will return
the lower index.

Error Description

ErrorID

Meaning

0

No error

10045

SlavePosition not found in Y_MS_CAM_STRUCT

Example

Advertising