Festo CPV..-DI01 series Electronic Manual page 91

Valve terminal with direct connection
Hide thumbs Also See for CPV..-DI01 series:
Table of Contents

Advertisement

3. Diagnosis PROFIBUS−DP
Control system
SIMATIC S5 with
IM 308C
SIMATIC S5 with
S5−95U/DP master
SIMATIC S5 with
SF 50/DP master
SIMATIC S7/M7
Tab. 3/14: Possibilities for reading out the diagnosis for S5/S7
STL
CALL SFC 13
REQ:=TRUE
LADDR:=W#16#03FE
RET_VAL:=MW100
RECORD:=P#M110.0 WORD 5
BUSY:=M10.0
Fig. 3/4: Example
Festo P.BE−CP−DI01−EN en 0503d
Possibilities for reading out the diagnosis for S5/S7
The diagnosis for PROFIBUS−DP is supported in the various
control systems by means of function modules. These read
out the slave diagnosis and write it into a data range of the
user program.
Function module
FB 192 IM 308C"
FB 230 S_DIAG"
FB 230 S_DIAG"
SFC 13 DP NRM_DG"
Example for a STEP 7 user program:
Explanation
Request to read
Pointer at diagnostic address, e.g. 1022
(see window Properties DP slave" in HW Config)
If fault occurs, output fault code
Pointer at start of data range for diagnosis and length of
diagnostic data
Reading concluded
See ...
Manual ET 200 decentral
periphery system"
Manual ET 200 decentral
periphery system"
Manual Programmable valve
terminal with SB/SF 50"
Reference manual System
functions and standard
functions"
Manufac
turer
Siemens
Siemens
Festo
Siemens
= 03FE
d
h
3−19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents