Festo CPV-D102 Elektronics Manual page 100

With field bus direct connection
Table of Contents

Advertisement

3. Diagnosis CPV−DI02 (PROFIBUS−DP)
Control system
SIMATIC S5 with
S5−95U/DP master
SIMATIC S7/M7
Tab. 3/19: Possibilities for downloading the diagnosis for S7
STL
CALL SFC 13
REQ:=TRUE
LADDR:=W#16#03FE
RET_VAL:=MW100
RECORD:=P#M110.0 WORD 5 Pointer at start of data range for diagnosis and length of
BUSY:=M10.0
Fig. 3/4: Example
3−22
Possibilities for downloading the diagnosis for S7
The diagnosis for PROFIBUS−DP is supported in the different
control systems by means of function modules. These down
load the slave diagnosis and write it into a data range of the
user program.
Function module
FB 230 S_DIAG"
SFC 13 DP NRM_DG"
Example for a STEP 7 user program:
Explanation
Read request
Pointer at diagnostic address, e.g. 1022
(Properties DP slave" see mask in HW Config)
When faults occur, output fault code
diagnostic data
Read procedure finished
See ...
ET 200 Decentral Periphery
System" manual
System and Standard Functions"
reference manual
Manufacturer
Siemens
Siemens
= 03FE
d
h
Festo P.BE−CPV−DI02−E N en 0704NH

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpv-di02Profibud-dpCpv-cs02Abb cs31Profibus-dpCpv-di02 profibus-dp series ... Show all

Table of Contents