EasyManuals Logo

Siemens Simatic S7-300 CPU 31xC Series User Manual

Siemens Simatic S7-300 CPU 31xC Series
272 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #183 background imageLoading...
Page #183 background image
Debugging functions, diagnostics and troubleshooting
10.4 Diagnostic options with STEP 7
S7-300, CPU 31xC and CPU 31x: Installation
Operating Instructions, Edition 08/2004, A5E00105492-05
10-7
Reading a data record with SFC 59 "RD_REC"
You can use SFC 59 "RD_REC" (read record) to read a specific data record from the
addressed module. Data records 0 and 1 are especially suitable for reading diagnostic
information from a diagnosable module.
Data record 0 contains 4 bytes of diagnostic data describing the current state of a signal
module. Data record 1 contains the 4 bytes of diagnostic data also stored in data record
0, plus module-specific diagnostic data.
Reading out the start information of the current OB, using SFC 6 "RD_SINFO"
Error information is also found in the start information of the relevant error OB.
You can use SFC 6 "RD_SINFO" (read start information) to read the start information of
the OB that was last called and not yet processed completely, and of the start-up OB that
was last called.
10.4 Diagnostic options with STEP 7
Diagnostics with the "Hardware Diagnostics" function
Locate the cause of a module error by viewing the online information on the module. You
can locate the cause of an error in the user program cycle with the help of the diagnostic
buffer and of the stack content. You can also check whether a user program will run on a
specific CPU.
Hardware diagnostics give you an overview of the PLC status. In an overview
representation, a symbol can display the error status of every module. A double-click on the
faulty module opens detailed error information. The scope of this information depends on the
specific module. You can view the following information:
Display of general information on the module (e.g. order No., version, designation) and
module status (e.g. error).
Indication of module errors (channel error, for example) at local I/O and PROFIBUS DP
slaves or PROFINET IO devices.
Display of messages from the diagnostic buffer.
In addition, diagnostics data about the PROFINET interface are presented.
For CPUs you can also view the following module status information:
Cause of an error in the user program cycle.
Indication of the cycle time (longest, shortest and last cycle).
Options and utilization of MPI communication.
Indication of performance data (number of possible I/O, memory bits, counters, timers
and blocks).
For details on diagnostic functions in STEP 7 and on procedures, refer to the
Programming
with STEP 7
Manual and to the
HW Config Online Help
.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7-300 CPU 31xC Series and is the answer not in the manual?

Siemens Simatic S7-300 CPU 31xC Series Specifications

General IconGeneral
SeriesS7-300 CPU 31xC
Power Supply24 V DC
Communication InterfacesMPI, PROFIBUS DP
Programming LanguagesLAD, STL, FBD, SCL
Operating Temperature0°C to +60°C
Memory48 KB - 512 KB
Dimensions40 x 125 x 130 mm (varies by model)

Related product manuals