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 #178 background imageLoading...
Page #178 background image
Debugging functions, diagnostics and troubleshooting
10.2 Overview: Debugging functions
S7-300, CPU 31xC and CPU 31x: Installation
10-2 Operating Instructions, Edition 08/2004, A5E00105492-05
Debugging functions of the software: Monitoring and modifying variable, stepping mode
STEP 7 offers you the following testing functions you can also use for diagnostics:
Monitoring and modifying variables
Can be used for PG/PC monitoring of specific CPU or user program variables. You can
also assign constant values to the variables.
Testing with program status
You can test your program by viewing the program status of each function (result of
logical links, status bit) or the data of specific registers in real-time mode.
For example, if you have selected the programming language LAD in STEP 7 for your
presentation, the color of the symbol will indicate a closed switch or an active circuit.
Note
The STEP 7 testing function with program status extends the CPU cycle time! In STEP 7
you can customize the maximum permitted increase in cycle time (not for CPU 3182
DP). In this case, set process mode for the CPU parameters in STEP 7.
stepping mode
When testing in single-step mode, you can process your program instructions in
sequence (= single-step) and set break points. This is only possible in testing mode and
not in process mode.
Debugging functions of the software: Forcing variables
The Force function can be used to assign the variables of a user program or CPU (also:
inputs and outputs) constant values which can not be overwritten by the user program.
For example, you can use it to jumper sensors or switch outputs permanently, irrespective of
the user program.
Danger
This could result in severe injury or even death, and damage to property.
Incorrect use of the Force function could result in death or severe injury, and damage to
machinery or even the entire plant. Always follow the safety instructions in the
STEP 7
manuals
.

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