Integral Blocks
S5-115U Manual
4.
At least one argument is attached to each parameter name
.
An argument is either a number
or a STEP-5 operand that you must enter
.
If several arguments belong to a parameter name,
then every argument must be followed by at least one filler (even the last one).
5.
Use a semicolon (;) to identify a block end
.
After the semicolon, you must enter at least one
filler
.
Leaving out the semicolon leads to misinterpretation in the programmable controller.
6.
After the semicolon, additional parameter blocks can follow
.
(Use steps 2 through 5 to create
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
.
Beyond that,
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 is the pound (#) sign.
The comment symbol must be placed at the beginning and at the end of your comment
.
The text
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
EWA 4NEB 811 6130-02b
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...