Pro
10 min

CCST 34 — Acknowledge and Clear Alarms

ccstHMIalarmacknowledgeclear
CCST 34 — Acknowledge and Clear Alarms scenario preview

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in

Briefing

HMI operators can acknowledge (silence) and then clear alarms. Implement two-step: first ACK silences the ALARM_HORN; then CLEAR removes the ALARM_LAMP (only after the fault clears).

Objectives

  • ALARM_HORN := ALARM and NOT ACK_BIT
  • ALARM_LAMP := ALARM
  • ACK_BIT sets on HMI_ACK; resets when ALARM clears AND HMI_CLEAR pressed

Hints

  • ACK_BIT latches on HMI_ACK, resets when ALARM=FALSE and HMI_CLEAR=TRUE
  • ALARM_HORN := ALARM AND NOT ACK_BIT

I/O Table

Inputs

ALARM

Alarm condition

BOOL · %I0.0

HMI_ACK

HMI Acknowledge

BOOL · %I0.1

HMI_CLEAR

HMI Clear (after fault gone)

BOOL · %I0.2

Outputs

ALARM_HORN

Alarm horn

BOOL · %Q0.0

ALARM_LAMP

Alarm lamp

BOOL · %Q0.1

Your program will be tested against:

All test cases run automatically when you submit. Assertions are hidden until you pass.

  1. #1Horn sounds on alarm

    Horn sounds on alarm

  2. #2ACK silences horn

    ACK silences horn

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in