The values in the DataToSafety data block are written by the standard user program and read
by the safety program. The values in the DataFromSafety data block are written by the safety
program and read by the standard user program. Since this example does not contain a
standard user program, these two global data blocks were not included. They should be
added by the user of this example.
Note
Further information on the data exchange between standard user program and safety
program can be found in the "SIMATIC Safety - Configuring and Programming" Manual.
(https://support.industry.siemens.com/cs/ww/en/view/54110126)
Safety engineering with AS‑Interface in the SIMATIC ET 200SP, including typical circuit diagram
Function Manual, 08/2020, A5E44991382002A/RS-AB/002
Circuit diagram example
4.5 TIA Portal programming
49