Hide thumbs Also See for S7-1200:
Table of Contents
1: Module configuration
active
2: Module defective
3: Module disabled
4: Module exists
5: Problem in module
The following four tables show a binary breakdown of the four bytes of data that are being
analyzed:
Table 8- 132 Example 1: No errors: A value of 0x1F00_0000 is returned for MODE 1 (Module
Byte with value
Slots 1 (Bit 1) through 4 (Bit 4) contain modules. Slots 5 (Bit 5) and beyond do not contain modules..
Table 8- 133 Example 2: A module has been pulled from PROFIBUS slave device "DPSlave_12". A
Byte with value
Only module 3 (Bit 3) is marked as defective. All other modules are functional.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
MODE
configuration active).
Bit pattern with value
Byte 1 0x1F
Bit 7 0001-1111 Bit 0
Byte 2 0x00
Bit 15 0000-0000 Bit 8
Byte 3 0x00
Bit 23 0000-0000 Bit 16
Byte 4 0x00
Bit 31 0000-0000 Bit 24
MODE 4 (Module exists) data matches MODE 1 (Module configuration active), so the configured
modules match the existing modules.
value of 0x0900_0000 is returned for MODE 2 (Module defective).
Bit pattern with value
Byte 1 0x09
Bit 7 0000-1001 Bit 0
Byte 2 0x00
Bit 15 0000-0000 Bit 8
Byte 3 0x00
Bit 23 0000-0000 Bit 16
Byte 4 0x00
Bit 31 0000-0000 Bit 24
8.5 Diagnostics (PROFINET or PROFIBUS)
Example 1:
Normal operation with
no errors
0x1F00_0000
0x0000_0000
0x0000_0000
0x1F00_0000
0x0000_0000
Bit 0 is true; data is available.
Bit 0 is true; data is available.
Extended instructions
Example 2:
PROFIBUS slave
device DPSlave_12
device DPSlave_12
module pulled
0x1F00_0000
0x0900_0000
0x0000_0000
0x1700_0000
0x0900_0000
Notes
Notes
Example 3:
PROFIBUS slave
disconnected
0x1F00_0000
0x1F00_0000
0x0000_0000
0x0000_0000
0x1F00_0000
355
Table of Contents
loading

Table of Contents