Hide thumbs Also See for S7-1200:
Table of Contents
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.
1: Device configuration
active
2 - Device defective
3 - Device disabled
4 - Device exists
5 - Problem in device
The following four tables show a binary breakdown of the four bytes of data that are being
analyzed:
Table 8- 125 Example 1: No errors: A value of 0xFFFF_0100 is returned for MODE 1 (Device
Byte with value
The devices are configured in addresses 1 (Bit 1) through 16 (Bit 16).
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
MODE
configuration active).
Bit pattern with value
Byte 1 0xFF
Bit 7 1111-1111 Bit 0
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
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.
8.5 Diagnostics (PROFINET or PROFIBUS)
Example 1:
Normal operation with
no errors
0xFFFF_0100
0x0000_0000
0x0000_0000
0xFFFF_0100
0x0000_0000
Bit 0 is true; data is available.
Extended instructions
Example 2:
PROFINET slave
PROFINET slave
et200s_1 module
pulled
0xFFFF_0100
0x0300_0000
0x0000_0000
0xFFFF_0100
0x0300_0000
Notes
Example 3:
et200s_1
disconnected
0xFFFF_0100
0x0300_0000
0x0000_0000
0xFDFF_0100
0x0300_0000
351
Table of Contents
loading

Table of Contents