FB: Acoustic Signal - v1.1
This function block activates an acoustic signal with configurable ON/OFF periods while the on input is active.
Use Cases
Section titled “Use Cases”- Activating a horn or buzzer with a pulsed pattern (intermittent warning).
- Differentiating alert levels by configuring different ON/OFF time periods.
Dependencies
Section titled “Dependencies”| Type | Name | Version |
|---|---|---|
function | TON_TIME | Siemens FB |
Parameters
Section titled “Parameters”Function
Section titled “Function”| Parameter | Declaration | Type | Init. value | Description |
|---|---|---|---|---|
on | Input | Bool | — | IR: 1= Activate acoustic signal |
LONG_ON_PERIOD | Input | Time | — | IR: Period to keep signal ON |
LONG_OFF_PERIOD | Input | Time | — | IR: Period to keep signal OFF (while on is active) |
Q | Output | Bool | — | OR: 1= Horn on |
clock | In/Out | Byte | — | IOX: System clock byte |