Write event and alarms in the PLC buffer

Hello,

Can I write alarm and events in the notifications buffer of the PLC? If yes, how can I do this. I need to write some important alarms directly in the buffer.

Thanks,