Circuit diagram example
4.5 TIA Portal programming
Safety engineering with AS‑Interface in the SIMATIC ET 200SP, including typical circuit diagram
48 Function Manual, 08/2020, A5E44991382002A/RS-AB/002
Reintegration of passivated channels
The ACK_GL instruction in STEP 7 Safety is used for this purpose. It generates an
acknowledgment for the simultaneous reintegration of all F-I/O or channels of the F I/O of an
F runtime group after communication faults or F I/O / channel faults.
Figure 4-21 Call ACK_GL
Examples of events that lead to passivation:
• Wire break in an F-DQ module
• Fault on a AS-i safety slave, e.g. slave failure or discrepancy fault at the safety inputs
Note
If a fault occurs in
the hardware (e.g. wire break detected), depending on the fault it may
take several seconds before the module detects the rectification of the fault. The
acknowledgment does not have an effect until after this.
Data exchange between standard user program and safety program
In the event of inadequate programming, data corruption resulting in a CPU/ system stop may
occur in the communication between standard user program and safety program (see
(https://support.industry.siemens.com/cs/document/19183712/what-should-you-do-if-the-f-
cpu-goes-into-stop-mode-and-the-message-data-corruption-in-the-safety-program-appears-
in-the-diagnostics-buffer-?dti=0&lc=en-WW)).
Therefore two global data blocks should be used to exchange data between the standard user
program and the safety program.
• DataToSafety
• DataFromSafety