A Programmable Terminal's operating status is given in bit 15 of the Programmable Terminal Status Notify Bits. That flag can be monitored in the PLC in order to recognize when a Programmable Terminal error occurred, i.e., when the Programmable Terminal is not operating.