Commissioning
9.8 Identification and maintenance data
S7-1500R/H redundant system
System Manual, 10/2018, A5E41814787-AA
245
9.8.3
Example: Read out firmware version of the CPU with Get_IM_Data
Automation task
You want to check whether the modules in your redundant system have the current
firmware. The firmware version of the modules can be found in the I&M 0 data. The IM 0
data is the basic information for a device. I&M 0 data contains information such as:
●
Manufacturer ID
●
Article number and serial number
●
Hardware and firmware version
To read out the I&M 0 data, use the "Get_IM_Data" instruction. You read the I&M 0 data of
all modules in the user program of the CPU with "Get_IM_Data" instructions and store the
I&M 0 data in a data block.
Conditions and parameters
The following block parameters of the "Get_IM_Data" instruction are important for reading
out the I&M data of the CPU:
●
LADDR: You enter the system constants or hardware identifier of the CPU at the LADDR
parameter. You have the following options:
–
"Local1" (65149): The instruction always returns the I&M data of the CPU with
redundancy ID 1.
–
"Local2" (65349): The instruction always returns the I&M data of the CPU with
redundancy ID 2.
●
IM_TYPE: Enter the I&M data number (for example "0" for I&M 0 data) at the IM_TYPE
block parameter.
●
DATA: Area for storing the I&M data read (for example in a global data block). Store the
I&M 0 data in an area of the data type "IM0_Data".
This example shows you how to read out the I&M 0 data of a CPU 1513R-1 PN (redundancy
ID 1, 6ES7513-1RL00-0AB0).
Summary of Contents for Simatic S7-1500H
Page 1: ......