Siemens SIMATIC S7-1500 System Manual page 227

Drive controller
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Commissioning
11.10 Identification and maintenance data
Solution
Proceed as follows to read out the I&M0 data of the CPU:
1. Create a global data block to store the I&M0 data.
2. Create a structure of the data type "IM0_Data" in the global data block. You can assign
any name for the structure (in this case "imData").
Figure 11-4
3. Create the "Get_IM_Data" instruction in the user program, for example, in OB 1.
4. Interconnect the "Get_IM_Data" instruction as follows:
Figure 11-5
5. Call the "Get_IM_Data" instruction in the user program.
226
Example: Data block for I&M data
Example: Reading out I&M0 data
SIMATIC Drive Controller
System Manual, 11/2019, A5E46600094-AA

Advertisement

Table of Contents
loading

Table of Contents