Notify the PLC when there is an error on the teach pendant

We have a customer that wants to be notified on their HMI whenever there is an error such as motion supervision on the teach pendant. I would like to be able to display the errnum value on the HMI but if that is not possible was wondering if there was a system bit that lets me know that there is an error on the teach pendant. We are using a IRC5 with only one task.

Read the system parameter manual regarding system outputs.

From the Technical Reference Manual - System Parameters

I am aware of the MotionSupTrigg output. But more generally we are looking for a way to know whenever the teach pendant has an error or message on it that has to be acknowledged before the robot can be started using the startMain bit.

Does the system output Execution error do what you want?

Thanks, I will investigate that more.