Reading the I&M with SFB52
With the standard function block SFB 52 you can read data records of the distributed I/O.
• PROFINET connection via IM 152-1PN:
You read the I&M data IM0 to IM3 via data records. The following data record numbers are
assigned to the data records according to the standard for PROFINET IO:
I&M data Data record number TYPE Description
IM0 0xAFF0 45040 PNIO_IM0_TYPE PNIO_IM0_TYPE (I&M0 data record)
IM1 0xAFF1 45041 PNIO_IM1_TYPE PNIO_IM1_TYPE (I&M1 data record)
IM2 0xAFF2 45042 PNIO_IM2_TYPE PNIO_IM2_TYPE (I&M2 data record)
IM3 0xAFF3 45043 PNIO_IM3_TYPE PNIO_IM3_TYPE (I&M3 data record)
• PROFIBUS connection via IM 152-1DP:
To read the I&M data, you must load the data records 231 to 234 (see following table).
Note
At present, the I&M data record objects cannot be read or written to by means of data record
DS 255.
For more information on I&M records, see the documents provided by the PROFIBUS user
organization:
• Prole Guidelines Part 1: Identication & Maintenance functions. Version 2.1, 08/2016
• Test specications for I&M Functions, Version 1.0.0, 04/2009
• GSDML specication for PROFINET IO, Version 2.42, 04/2021
or:
• IEC 61158-6-3 (PROFIBUS)
• IEC 61158-6-10 (PROFINET)
Identication and maintenance data I&M
Table 4-7 Identication and maintenance data I&M
I&M Access Default Explanation
I data 0: Index 1 (data record 45040 for PROFINET, data record 231 for PROFIBUS)
MANUFACTOR_ID read (2 bytes) 2A
H
(=42
D
) The name of the manufacturer is stored here. (42
D
= Siemens AG)
ORDER_ID read (20 bytes) Dependent
on the mod‐
ule
Article number of the module
SERIAL_NUMBER read (16 bytes) Depends on
the product
version
The serial number of the module is stored here. This makes unique
identication of the module possible.
HW_REVISION read (2 bytes) Depends on
the product
version
This provides information on the product version of the module.
This is incremented when the product version and/or the rmware
of the module changes.
Congurations (principle)
4.10 Identication and maintenance data I&M
ET 200iSP
78 Operating Instructions, 11/2022, A5E00247483-AK