EasyManua.ls Logo

Siemens S7-1200 - Devicestates Example Configurations

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
System Manual, 03/2014, A5E02486680-AG
349
8.5.4.1
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.
MODE
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
active
0x01FC_FF03 0x01FC_FF03 0x01FC_FF03
2: Device defective
0x0000_0000
0x0110_0000
0x0110_0000
3: Device disabled
0x0000_0000
0x0000_0000
0x0000_0000
4: Device exists
0x01FC_FF03
0x01FC_FF03
0x01EC_FF03
5: Problem in device
0x0000_0000
0x0110_0000
0x0110_0000
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).
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 0xFC
Bit 15 1111-1100 Bit 8
Byte 3 0xFF
Bit 23 1111-1111 Bit 16
Byte 4 0x03
Bit 31 0000-0011 Bit 24
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.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals