Create an alarm trigger

Create a switch that triggers the ConveyorChassisMalfunction alarm.

  1. Create a switch that triggers the alarm:
    1. In Project view pane, right-click MainWindow (type) and select New > Base controls > Switch.
    2. Hover-over the switch, select Edit, and enter TriggerConveyorChassisMalfunctionAlarm.
    3. In Properties, create a dynamic link between Active and ProjectName > Model > ConveyorChassisMalfunctionAlarmVariable.

      For more information about dynamic links, see Create dynamic links.

  2. Create a trigger label:
    1. In Project view, right-click MainWindow (type) and select New > Base controls > Label.
    2. Hover-over the label, select Edit, and enter TriggerAlarmLabel.
    3. In Properties, set Text to Trigger the conveyor chassis malfunction alarm:.