Festo CP-FB13-E Programming And Diagnostics Manual page 96

Compact performance
Hide thumbs Also See for CP-FB13-E:
Table of Contents

Advertisement

3. Diagnosis
Control system
Function module
SIMATIC S5 with
FB 192 "IM 308C"
IM 308C
SIMATIC S5 with
FB 230 "S_DIAG"
S5-95U/DP master
SIMATIC S5 with
FB 230 "S_DIAG"
SF 50/DP master
SIMATIC S7/M7
SFC 13 "DP NRM_DG"
STL
CALL SFC 13
REQ:=TRUE
LADDR:=W#16#03FE
RET_VAL:=MW100
RECORD:=P#M110.0 WORD 7 Pointer to start of data range for diagnosis
BUSY:=M10.0
3-20
Possibility of reading diagnosis for S5/S7
The diagnosis for the PROFIBUS-DP is supported by function
modules in the various control systems. These function mod-
ules read out the slave diagnoses and write them in a data
range in the user program.
See...
Manual "ET 200 decentral
periphery system"
Manual "ET 200 decentral
periphery system"
Manual "Programmable valve
terminal with SB/SF 50"
Reference manual "System
and standard functions"
Example of a STEP7 user program:
Explanation
Request read
Pointer to diagnostic address, e.g. 1022d = 03FEh
(see mask "Properties of DP slave" in HW Config)
When faults occur, output error code
and length of diagnostic data
Reading finished
Manufac-
turer
Siemens
Siemens
Festo
Siemens
Festo P.BE-CP-FB13-E-EN en 0112e

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

165213

Table of Contents