Siemens S7-1200 System Manual page 356

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Extended instructions
8.5 Diagnostics (PROFINET or PROFIBUS)
Table 8- 134 Example 2 (continued): A module has been pulled from PROFIBUS slave device
Byte with value
Module 3 (Bit 3) is shown as missing. Modules 1, 2, and 4 (Bits 1, 2, and 4) are shown as existing.
Table 8- 135 Example 3: PROFIBUS slave device "DPSlave_12" is disconnected (cable disconnected
Byte with value
The modules in slots 1 through 4 (Bits 1 through 4) are all marked as defective since the device is
PROFINET example
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.
1: Module configuration
active
2: Module defective
3: Module disabled
4: Module exists
5: Problem in module
356
"DPSlave_12". A value of 0x1700_0000 is returned for MODE 4 (Module exists).
Bit pattern with value
Byte 1 0x17
Bit 7 0001-0111 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
or power loss) from the PROFIBUS network. A value of 0x1F00_0000 is returned for
MODE 2 (Module defective).
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
missing.
MODE 5 (Problem in module) shows the same information as MODE 2 (Module defective).
MODE
Bit 0 is true; data is available.
Bit 0 is true; data is available.
Example 1:
Normal operation with
no errors
0xFFFF_1F00
0x0000_0000
0x0000_0000
0xFFFF_1F00
0x0000_0000
Notes
Notes
Example 2:
PROFINET et200s_1
PROFINET et200s_1
slave module pulled
0xFFFF_1F00
0x0180_0000
0x0000_0000
0xFF7F_1F00
0x0180_0000
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Example 3:
slave disconnected
0xFFFF_1F00
0xFFFF_1F00
0x0000_0000
0x0000_0000
0xFFFF_1F00

Advertisement

Table of Contents
loading

Table of Contents