Controlleralarm, Parameters, Notes – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 436

PLCopen Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
423
ControllerAlarm
This function block provides a BOOL output to indicate if there is a controller alarm not related to an axis. It
uses the Y_ReadAlarm function block and determines if the AlarmID output is non-zero. This function is useful
because the PLCopenPlus function Y_ReadAlarm does not have a Boolean output, just the AlarmID.
Parameters
*
Parameter
Data
Type
Description
VAR_INPUT
Default
B
Execute
BOOL
Upon the rising edge, all other function block inputs are
read and the function is initiated. To modify an input,
change the value and re-trigger the execute input.
FALSE
VAR_OUTPUT
B
Valid
BOOL
Indicates that the outputs of the function are valid.
V
Alarm
BOOL
Indicates if the controller has a non-axis related alarm.
V
AlarmID
UDINT
This output provides the Controller Alarm ID. This output is reset
when execute goes low.
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.
Notes
It is best to view the AlarmID Hex, because the Controller AlarmID list in the PLCopen manual displays all alarm
codes in hex. This simplifies alarm identification.