Y_readalarm, Parameters – Yaskawa MotionWorks IEC User Manual
Page 256

PLCopenPlus Function Blocks for Motion Control 2013-04-13
248
Y_ReadAlarm
This Function Block reports controller-specific alarms that are not axis
related. The Function Block
clears alarms reported by this
block.
Parameters
Parameter
Data
Type
Description
VAR_INPUT
Default
B
Enable
BOOL
The function will continue to execute while enable is
held high.
FALSE
VAR_OUTPUT
B
Valid
BOOL
Indicates that the outputs of the function are valid.
B
Busy
BOOL
Set high upon the rising edge of the 'Execute' or '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.
E
ErrorID
UINT
If error is true, this output provides the Error ID. This output is reset when
'Execute' or 'Enable' goes low.
V
AlarmID
UDINT
This output provides the Controller Alarm ID. This output is reset when
execute goes low.