Diagnostics With Cpu 31X-2 - Siemens CPU 313C Hardware And Installation Manual

S7-300 automation system
Hide thumbs Also See for CPU 313C:
Table of Contents

Advertisement

7HVWLQJ )XQFWLRQV 'LDJQRVWLFV DQG )DXOW (OLPLQDWLRQ

'LDJQRVWLFV RI '3 &38V

'LDJQRVWLFV RI '3 &38V 2SHUDWLQJ DV '3 0DVWHU
'LDJQRVWLFV HYDOXDWLRQ LQ WKH XVHU SURJUDP
The figure below illustrates the procedure for evaluating the diagnostics in the user
program.
Read out OB82_MDL_ADDR and
OB82_IO_FLAG
(=Identification I/O module)
Bit 0 of OB82_IO_FLAG entered
as bit 15 in OB82_MDL_ADDR.
Result: diagnostic address
"OB82_MDL_ADDR*"
Note:
SFC 13 is asynchronous, i. e. it can be
called several times until it enters the
BUSY mode = 0.
First call into OB82,
finish processing in the cycle.
Figure 11-2 Diagnostics with CPU 31x-2
11-12
Diagnostic event
OB82 is called
Evaluation with
SFC13 or SFC51
For the diagnostics of the
entire DP slave:
Call SFC13
Enter the diagnostic address
"OB82_MDL_ADDR*" into
the LADDR parameter.
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
Evaluation with SFB54
(simplest method)
For the diagnostics of the affected components:
Call SFB54
MODE=1 set.
Diagnostic data is entered into the TINFO
and AINFO parameters
For the diagnostics of the affected modules:
Call SFC 51
Enter the diagnostic address
"OB82_MDL_ADDR*" into the INDEX parameter.
Enter ID W#16#00B3 (= diagnostic data of a
module) into the SZL_ID parameter.
A5E00105492-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents