beautypg.com

Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 160

background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

147

SensorMaximum.

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 determines where in the cam profile the latch occurred and compares it to the
expected location to make a determination about the correction required.

This function block also monitors the travel distance of the slave, and if the slave traveled 10% more
than the ProductDistance and no valid latch was detected, a missed mark is counted. If the number of
consecutive missed marks equals the MissedLatchLimit input variable, ErrorID UINT#10021 is output.

Set MissedLatchLimit=0 to disable monitoring for missed latches.

Separate correction limits are provided for positive and negative to account for applications where it is
not possible to make such corrections. For example, negative corrections typically cannot be applied to
labeling applications because the material will become loose (slack).

Error Description

ErrorID

Meaning

0

No error

4377

File reading already in progress

4378

The function block is not applicable for the external axis specified

4381

Motion aborted due to axis alarm. It is also possible that a software limit has been
exceeded.

4387

Already copying cam data (If Execute transition to TRUE while Busy = TRUE)

4633

Table size results in misaligned data. Refer to the help section “Internally Created Cam
Data.” A cam table will have a multiple of 16 bytes if created correctly.

4634

Buffer size results in misaligned data

4635

Table type is not supported

4636

Invalid start index.

4637

Invalid end index

4885

Invalid header for the cam file. Cam tables must have a header indicating the number of
rows, number of columns and a feed forward velocity flag.

4887

CamTableID does not refer to a valid cam table.

10020

ProductSize cannot be less than or equal to zero

10021

Maximum allowed consecutive missed registration marks reached