Red indicator light when protective/emergency stop occurs

Hello there,

I am curently developping an application with an UR10.
I need to light up a Schneider indicator light when a program is running, when it is stopped and when a protective/emergency stop occurs.

For the first two signals I know that I can use the configurable outputs.

But how do I raise a signal when a protective / emergency stop occurs ?

Thanks in advance for the help,