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

Cam Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
134
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
If SensorMinimum and SensorMaximum are both zero, this function does not check for a window and reports
InWindow as TRUE.
For the most accurate WindowCheck, this function block must be in a fast application task. Since this function is
used by CamSlave_WindowCheck, that block also should be used in a fast (high priority)
Error Description
ErrorID
Meaning
No error
Might be crossed or the same non-zero value