EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 472

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
472 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 first four bytes of the returned STATE parameter information is displayed.
MODE
Example 1:
Normal operation with
no errors
Example 2:
PROFINET slave
et200s_1 module
pulled
Example 3:
PROFINET slave
et200s_1 disconnect-
ed
1: Device configuration
active
0xFFFF_0100 0xFFFF_0100 0xFFFF_0100
2 - Device defective
0x0000_0000
0x0300_0000
0x0300_0000
3 - Device disabled
0x0000_0000
0x0000_0000
0x0000_0000
4 - Device exists 0xFFFF_0100 0xFFFF_0100 0xFDFF_0100
5 - Problem in device
0x0000_0000
0x0300_0000
0x0300_0000
The following four tables show a binary breakdown of the four bytes of data that are being
analyzed:
Table 9- 163 Example 1: No errors: A value of 0xFFFF_0100 is returned for MODE 1 (Device 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 0x01
Bit 23 0000-0001 Bit 16
Byte 4 0x00
Bit 31 0000-0000 Bit 24
The devices are configured in addresses 1 (Bit 1) through 16 (Bit 16).
No devices are configured in addresses 1 through 9.
MODE 4 (Device exists) data matches MODE 1 (Device configuration active), so the configured
devices match the existing devices.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals