Alarms are object type 05, and you can activate them. However, you can also set and unset the alarm sound in the action blocks.
The 25 command sounds the alarm. The 26 command turns it off. The simple block below activates them, uses a counter to count for 0100 cycles, then deactivates the alarm and exits the routine.