How To Recognize And Correct Parameter Errors - Siemens S5-100U User Manual

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

Integrated Blocks and Their Functions
The preceding steps present the minimal requirements for setting the parameters
there are additional rules that make it easier for you to assign parameters.
For example:
You have the ability to add comments.
You can expand the German mnemonics used as parameter names by using plain English text.
Comments can be added anywhere a filler is allowed
The comment symbol must be placed at the beginning and at the end of your comment
between two comment symbols may not contain an additional #.
Example: #Comment#
In order to make it easier to read parameter names, you can add as many characters as you wish if
you add an underscore (_) after the abbreviated parameter name.
Example:
SF becomes SF_SENDMAILBOX .
At the end of the input, you must add at least one filler.
There is a rule of thumb that will help you check DB1. You should include at least one filler in the
following instances:
After the start ID
Before and after the block ID, parameter name, argument, and semicolon
9.1.5

How to Recognize and Correct Parameter Errors

If an error occurs while assigning parameters and the programmable controller does not go to the
"RUN" mode, you have two possibilities for recognizing errors:
By using a parameter error code
By using the analysis function "ISTACK"
Both possibilities are described below.
Scanning the Parameter Error Code
If you have entered a start address for the parameter error code in parameter block "ERT:" of DB1
(see section 9.1.2), then you can retrieve the cause of the error, and the error location information
at this address.
The entire error code occupies 10 data words or 20 flag bytes. In the following examples and
tables, we assume that the error code is stored in a data block starting with data word 0. The error
code occupies DW0 through DW9. In the "Flag" operand area, this corresponds to FW0 through
FW19.
9-6
.
At least one filler must follow the comment.
.
The comment symbol is the pound (#) sign.
S5-100U
.
Beyond that,
.
The text
EWA 4NEB 812 6120-02

Advertisement

Table of Contents
loading

Table of Contents