It is recommended that the Safety Program follows a set of guidelines in order to ensure it properly works. Here below some of the points to remind when programming a Safety PLC:
Tips:
> Isolate the Access to the Safety Program via DBs (optimized block access), such as DataFromSafety and DataToSafety.
Source [1]