Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
478 System Manual, V4.2, 09/2016, A5E02486680-AK
The PROFINET example consists of the following:
● 16 PROFINET slave devices named "et200s_1" through "et200s_16"
● The 16 PROFINET devices use PROFINET device numbers 1 through 16, respectively.
● Each slave device is configured with multiple I/O modules.
● The example uses PROFINET slave "et200s_1" which contains a head module, a power
module, and 18 I/O modules.
● The first four bytes of the returned STATE parameter information is displayed.
Example 1:
Normal operation with
no errors
Example 2:
PROFINET et200s_1
slave module pulled
Example 3:
PROFINET et200s_1
slave disconnected
1: Module configuration
0xFFFF_1F00 0xFFFF_1F00 0xFFFF_1F00
4: Module exists 0xFFFF_1F00 0xFF7F_1F00 0x0000_0000
The following four tables show a binary breakdown of the four bytes of data that are being
analyzed:
Table 9- 174 Example 1: No errors: A value of 0xFFFF_1F00 is returned for MODE 1 (Module configu-
ration active).
Bit 0 is true; data is available.
Slots 1 (Bit 1) through 20 (Bit 20) contain modules. Slot 21 (Bit 21) and beyond do not
contain mod-
ules.
MODE 4 (Module exists) data matches MODE 1 (Module configuration active), so the configured
modules match the existing modules.
Table 9- 175 Example 2: A module has been pulled from PROFINET slave device "et200s_1". A value
of 0x0180_0000 is returned for MODE 2 (Module defective).
Bit 0 is true; data is available.
Only module 15 (Bit 15) is marked as defective. All other modules are functional.