In addition to the other information, I thought I would give my opinion.
Don't let anyone talk you into just using relays or a standard PLC for the system.
Do a risk assessment and don't do it by yourself. You should involve a safety person, maintenance person, and production person to guide you through tasks that they do.
Use good documentation for the system.
Be wary of safety items that use special programming unless all the maintenance people understand how to use them.
Put in good "diagnostics". I use a banner EZLight at every e-stop (green OK - flashing red tripped). I bring a mimicked input into the local plc for display on an HMI. I also have a map displayed on the HMI of the system showing the location and status of each e-stop.
Check your system out after the installation to make sure it works as designed (yes pull every e-stop and document what happens). Also help them develop a way to check every e-stop on a periodic basis.
On systems with inertial energy, make sure that the system is at zero potential before allowing a gate to be opened.
Keep in mind that on some systems, an improperly designed e-stop can cause more problems. Think of a person trapped by a moving system. As part of your risk assesment, you need to take that into consideration also.
The best advice is the same as the previous posters. Read the literature out there and learn all you can before you attempt this design.