Commissioning and Diagnostics
6-26
ET 200S Distributed I/O System
EWA-4NEB 780602402-12
Ways of reading the diagnosis
Table 6-7
Reading the diagnosis out using
STEP 7
and
STEP 5
on PROFIBUS DP
Programmable logic
controller with DP
master
Block or
register in
STEP 7
Application
See .
SIMATIC S7/M7
”DP Slave
Diagnostics” tab
Slave diagnosis in plain-text form
on the STEP 7 user interface
The section on hardware
diagnostics in the
STEP 7
online help system
SFC 13
”DP NRM_DG”
Read out slave diagnosis
(store in data area of the user
program)
For the structure, see
Section 6.1.6.2; for SFC,
see the
STEP 7 online
help system
SFC 59
”RD_REC”
Read data records of the S7
diagnosis (store in the data area of
the user program)
See the system and
standard functions
reference manual
SFB 52
”RDREC”
Read data records from the DP
slave
For SFB, see the
STEP 7
online help system
(system functions/system
function blocks)
SFB 54
”RALRM”
1)
Receive interrupts from the
interrupt OBs
For SFB, see the
STEP 7
online help system
(system functions/system
function blocks)
SIMATIC S5 with
IM308-C as DP master
FB 192
”IM308C”
Read out slave diagnosis
(store in data area of the user
)
For the structure, see
Section 6.1.6.2; for FBs,
th
ET 200
SIMATIC S5 with
S5-95U PLC as DP
master
FB 230
”S_DIAG”
program)
see the
ET 200
Distributed I/O System
manual
1)
Only with S7-400 as of V3.0 and with CPU 318 as of V3.0
Example of reading the slave diagnosis using FB 192 ”IM308C”
Here you will find an example of how to use FB 192 to read out the slave diagnosis
for a DP slave in the
STEP 5
user program.
Assumptions
The following assumptions apply to this
STEP 5
user program:
•
The IM 308-C operating in DP master mode uses the page frames 0 to 15
(number 0 of IM 308-C).
•
The DP slave has the PROFIBUS address 3.
•
The slave diagnosis is to be stored in DB20. However, you can also use any
other data block for this.
•
The slave diagnosis consists of a maximum 64 bytes (IM151-1 STANDARD).
Содержание SIMATIC ET 200S
Страница 42: ...Product Overview 1 16 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 64: ...Brief Instructions on Commissioning ET 200S 2 22 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 112: ...Configuration Options 3 48 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 232: ...Commissioning and Diagnostics 6 72 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 244: ...General Technical Specifications 7 12 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 274: ...Interface Modules 8 30 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 538: ...4 IQ SENSE 13 18 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 564: ...Address Space of the Input and Outputs of the ET 200S C 4 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 574: ...Response Times D 10 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 580: ...Special Measures for Interference Free Operation F 4 ET 200S Distributed I O System EWA 4NEB 780602402 12 ...
Страница 600: ...Product Information on the Use of subassemblies modules in a Zone 2 Hazardous Area 2 A5E00352937 02 ...