EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 478

Siemens SIMATIC S7-1200
1614 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
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
478 System Manual, V4.2, 09/2016, A5E02486680-AK
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
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).
Byte with value
Bit pattern with value
Notes
Byte 1 0xFF
Bit 7 1111-1111 Bit 0
Bit 0 is true; data is available.
Byte 2 0xFF
Bit 15 1111-1111 Bit 8
Byte 3 0x1F
Bit 23 0001-1111 Bit 16
Byte 4 0x00
Bit 31 0000-0000 Bit 24
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).
Byte with value
Bit pattern with value
Notes
Byte 1 0x01
Bit 7 0000-0001 Bit 0
Bit 0 is true; data is available.
Byte 2 0x80
Bit 15 1000-0000 Bit 8
Byte 3 0x00
Bit 23 0000-0000 Bit 16
Byte 4 0x00
Bit 31 0000-0000 Bit 24
Only module 15 (Bit 15) is marked as defective. All other modules are functional.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals