What is a safety PLC used for?

What is a safety PLC used for?