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

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

Integral Blocks
4. At least one argument is attached to each parameter name
or a STEP-5 operand that you must enter
then every argument must be followed by at least one filler (even the last one).
5. Use a semicolon (;) to identify a block end
.
filler
Leaving out the semicolon leads to misinterpretation in the programmable controller.
6. After the semicolon, additional parameter blocks can follow
additional parameter blocks.)
7. After the end of the last parameter block, you must enter the end ID "END". This identifies
the end of DB1. If you forget to enter an end ID, this leads to errors in the programmable con-
troller.
Points 1 through 7 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 mnemonics used as parameter names in plain 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#
At least one filler must follow the # sign.
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 to 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

11.3.5 How to Recognize and Correct Parameter Errors

Should an error occur 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, then you can retrieve the cause of the error, and the error location information at this
address.
11-50
.
An argument is either a number
.
If several arguments belong to a parameter name,
.
After the semicolon, you must enter at least one
.
(Use steps 2 through 5 to create
.
The comment symbol is the pound (#) sign.
S5-115U Manual
.
Beyond that,
.
The text
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents