Continuous sound of the base input and delayed output

If I insert the delayed entry or exit … the base will beep for 15 seconds before and for 15 seconds after entering. If someone arrives in time to unplug the base because he hears it … can you make it only emit a sound when you insert a delayed alarm and silence it when you enter even if there is a delay? this current operation is unusable . sorry for my english i’m italian