FC: Beacon 3 Lamps 1 Horn - v1.0
This function drives a 3-lamp + 1-horn beacon based on the current ESC operating mode and global alarm trace state.
Use Cases
Section titled “Use Cases”- Tower light / stack light control synchronized with system state.
- Visual and audible indication of operating mode and alarm conditions.
Dependencies
Section titled “Dependencies”| Type | Name | Version |
|---|---|---|
data type | escOutput | v2.2 |
data type | alarmTraceGlobalData | v2.0 |
Parameters
Section titled “Parameters”Function
Section titled “Function”| Parameter | Declaration | Type | Init. value | Description |
|---|---|---|---|---|
IT_ready | Input | Bool | — | IW: 1= IT system is ready |
clock | Input | Byte | — | IW: System clock byte |
horn | Output | Bool | — | OR: 1= Horn on |
red | Output | Bool | — | OR: 1= Red lamp on |
yellow | Output | Bool | — | OR: 1= Yellow lamp on |
green | Output | Bool | — | OR: 1= Green lamp on |
esc | In/Out | escOutput | — | IOX: Emergency Stop Circuit output data |
alarmTraceGlobal | In/Out | alarmTraceGlobalData | — | IOX: Global alarm trace data |