Commissioning
12.8 Identification and maintenance data
Solution
Proceed as follows to read out the I&M 0 data of the CPU with the redundancy ID 1:
1. Create a global data block to store the I&M 0 data.
2. Create a structure of the data type "IM0_Data" in the global data block. You can assign any
name to the structure ("imData" in this case).
Figure 12-15 Example: Data block for I&M data
3. Create the "Get_IM_Data" instruction in the user program, for example in OB 1.
4. Connect the "GET_IM_DATA" instruction as follows:
Figure 12-16 Example: Read out I&M0 data from the S7-1500R redundant system
5. Call the "Get_IM_Data" instruction in the user program.
432
S7-1500R/H redundant system
System Manual, 01/2024, A5E41814787-AF