Extended instructions
8.5 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
349
DeviceStates example configurations
PROFIBUS example
The PROFIBUS example consists of the following:
● 16 PROFIBUS devices named "DPSlave_10" through "DPSlave_25"
● The 16 PROFIBUS devices use PROFIBUS addresses 10 through 25, respectively.
● Each slave device is configured with multiple I/O modules.
● The first four bytes of the returned STATE parameter information is displayed.
Example 1:
Normal operation with
no errors
Example 2:
PROFIBUS slave
device DPSlave_12
with single module
pulled
Example 3:
PROFIBUS slave
device DPSlave_12
disconnected
1: Device configuration
0x01FC_FF03 0x01FC_FF03 0x01FC_FF03
The following four tables show a binary breakdown of the four bytes of data that are being
analyzed:
Table 8- 121 Example 1: No errors: A value of 0x01FC_FF03 is returned for MODE 1 (Device
configuration active).
Bit 0 is true; data is available.
The devices are configured in addresses 10 (Bit 10) through 25 (Bit 25).
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.