EasyManua.ls Logo

Siemens SIMATIC S7-1200

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
476 System Manual, V4.2, 09/2016, A5E02486680-AK
9.7.8.1
ModuleStates 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 example uses the LADDR parameter of PROFIBUS slave "DPSlave_12" which
contains a head module, a power module, and two 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 de-
vice DPSlave_12 mod-
ule pulled
Example 3:
PROFIBUS slave
device DPSlave_12
disconnected
1: Module configuration
active
0x1F00_0000 0x1F00_0000 0x1F00_0000
2: Module defective 0x0000_0000 0x0900_0000 0x1F00_0000
3: Module disabled
0x0000_0000
0x0000_0000
0x0000_0000
4: Module exists 0x1F00_0000 0x1700_0000 0x0000_0000
5: Problem in module
0x0000_0000
0x0900_0000
0x1F00_0000
The following four tables show a binary breakdown of the four bytes of data that are being
analyzed:
Table 9- 170 Example 1: No errors: A value of 0x1F00_0000 is returned for MODE 1 (Module configu-
ration active).
Byte with value
Bit pattern with value
Notes
Byte 1 0x1F
Bit 7 0001-1111 Bit 0
Bit 0 is true; data is available.
Byte 2 0x00
Bit 15 0000-0000 Bit 8
Byte 3 0x00
Bit 23 0000-0000 Bit 16
Byte 4 0x00
Bit 31 0000-0000 Bit 24
Slots 1 (Bit 1) through 4 (Bit 4) contain modules. Slots 5 (Bit 5) an
d beyond do not contain modules.
MODE 4 (Module exists) data matches MODE 1 (Module configuration active), so the configured
modules match the existing modules.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals