Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 160

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
No error
File reading already in progress
The function block is not applicable for the external axis specified
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)
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.
Buffer size results in misaligned data
Table type is not supported
Invalid start index.
Invalid end index
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.
CamTableID does not refer to a valid cam table.
ProductSize cannot be less than or equal to zero
Maximum allowed consecutive missed registration marks reached