Setting The Addresses For The Parameter Error Code In Db1 (An Example Of How To Set The Parameters Correctly) - 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

S5-115U Manual
11.3.2 Setting the Addresses for the Parameter Error Code in DB1
(An example of how to set the parameters correctly)
We recommend that you use this example when you start setting your parameters. The following
two reasons explain why.
1. There are no default parameters in DB1 for parameter block "ERT:". You must therefore
enter this block complete. We will explain the entries step by step. In doing so, you will quickly
learn the rules for initializing.
2. Properly entered, parameter block "ERT:" makes it easy for you to correct parameter errors.
For this reason, you should complete this block in DB1 before changing or entering other
parameters.
To help find parameter errors easier and to help correct them, you can ask the programmable
controller to output error messages in a coded form
programmable controller where it should store the error code. Make this input in parameter
block "ERT:" of DB1.
The error code can be stored in:
flag words
or
data words in a data block.
The entire error code consists of 20 flag bytes or 10 data words. You only need to indicate the
start address for the error code in parameter block "ERT:".
Procedure:
Overall Reset has been performed on the CPU and the CPU is in the STOP state.
Display default DB1 on the programmer
Position the cursor on the E of the end identifier "END" at the end of default DB1
Now enter the shaded characters:
DB1
0:
KS
='DB1 TFB: OB13 100 ; SDP:';
12:
KS
=' WD 500 ; ERT: ERR FW1 ;';
24:
KS
=' END';
26:
Use the following check list to make sure your entries are correct.
-
Is the block ID "ERT:" terminated by a colon?
-
Is at least 1 filler (a blank space) added after the colon?
-
Is the parameter name ("ERR") entered correctly?
-
Does at least 1 filler (a blank space) follow the parameter name?
-
Is the argument (for example "FW1") entered correctly?
-
Does at least 1 filler (a blank space) follow the argument?
-
Does a semicolon (;) indicate the block end?
-
The end ID "END" concludes DB1
EWA 4NEB 811 6130-02b
.
All you have to do is to tell the
Explanation
The parameter error code is stored from flag
word FW 1 after cold restart (automatically after
power restore or manually).
Integral Blocks
11-47

Advertisement

Table of Contents
loading

Table of Contents