EasyManuals Logo

Siemens SIMATIC ET 200SP System Manual

Siemens SIMATIC ET 200SP
320 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #231 background imageLoading...
Page #231 background image
Commissioning
11.11 Identification and maintenance data
Distributed I/O system
230 System Manual, 09/2019, A5E03576849-AJ
11.11.3 Example: Read out firmware version of the CPU with Get_IM_Data
Automation task
You want to check whether the modules in your automation system have the current
firmware. You can find the firmware version of the modules in the I&M0 data. The I&M0 data
is the basic information for a device. The I&M0 data contains information such as:
Manufacturer ID
Order number, serial number
Hardware and firmware version
To read out the I&M0 data, use the "Get_IM_Data" instruction. You read the I&M0 data of all
the modules in the user program of the CPU using "Get_IM_Data" instructions and store it in
a data block.
Conditions and parameters
To read out the I&M data of the CPU, use the following block parameters of the
"Get_IM_Data" instruction:
LADDR: Enter the HW ID of the module at the block parameter "LADDR".
IM_TYPE: Enter the I&M data number (e.g. "0" for I&M0 data) at the "IM_TYPE" block
parameter.
DATA: Area for storing the read I&M data (e.g. in a global data block). Store I&M0 data in
an area of data type "IM0_Data".
This example shows you how to read out the I&M0 data of an ET 200SP CPU. To read out
the I&M0 data of a different module, simply use the HW ID of the module at the LADDR
parameter.
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 to the structure ("imData") in this case.
Figure 11-13 Example: Data block for I&M data

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC ET 200SP and is the answer not in the manual?

Siemens SIMATIC ET 200SP Specifications

General IconGeneral
System TypeDistributed I/O System
MountingDIN Rail
Communication ProtocolPROFINET, PROFIBUS
IP RatingIP20
CategoryI/O Systems
Supply Voltage24 V DC
ModularityYes
Hot SwappingYes
Storage Temperature-40°C to +70°C
Digital InputsYes
Digital OutputsYes
Analog InputsYes
Analog OutputsYes
Communication InterfacePROFINET, PROFIBUS
Number of ModulesUp to 64
Relative Humidity5 to 95% (non-condensing)
Operating Temperature-25°C to +60°C

Related product manuals