SETERROR Command

Purpose

Generates an alarm for the block executing this command. The message contains the block's name and description. This command is useful when you want the block to notify you of an undesirable condition that you have programmed into the block's logic.

Syntax

SETERROR