EasyManua.ls Logo

Siemens S7-1200 - Page 356

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

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals