Siemens SIMATIC S5-100U System Manual page 237

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U
To help find parameter errors more easily and to help correct them, you can ask the programmable
controller to output error messages in a coded form
controller where it should store the error code. Make this input in parameter block "ERT:" of DB1.
The error code can be stored in either of the following locations:
In flagwords
In data words in a data block
How to Proceed:
1. Perform an overall reset on the programmable controller.
2. Display DB1 on the programmer.
3. Position the cursor on the E of the "END" ID at the end of the default DB1.
4. Enter the characters that are highlighted in Figure 9-2.
DB1
0:
KS
= 'DB1 SL1: SLN 1
12:
KS
= 'DB2
DW0
24:
KS
= ' KBE MB100 KBS MB101
36:
KS
= 'PGN 1
48:
KS
= 'CLK DB5
60:
KS
= 'MW102
72:
KS
= 'OHE N
84:
KS
= '12:10:00
96:
KS
= '01.04. 13:00:00
108:
KS
= '000000:00:00 # ; SDP: WD';
120:
KS
= ' 500 ;
132:
KS
= ' ; ERT: ERR MW1 ; END
Figure 9-2. Inputting the Address for the Parameter Error Code
5. 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 in Figure 9-2) 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 (MW1) entered correctly?
- Does at least 1 filler (a blank space) follow the argument?
- Does a semicolon (;) indicate the block end?
- Does DB1 end with the end ID "END" followed by a space?
6. Transfer the changed DB1 to the programmable controller.
7. Switch the programmable controller from STOP to RUN.
- The programmable controller accepts the changed DB1.
If you did not store the parameter block "ERT:" in DB1, you can localize the error in the ISTACK if
there was an incorrect parameter setting. However, you will not know what type of error is present.
The same applies if you made an error when you input the parameter block "ERT:"
EWA 4NEB 812 6120-02b
.
SF ';
EF DB3
DW0
';
';
; #CLP: CF 0
';
DW0
STW
';
STP Y SAV Y ';
SET 4 01.04.92 ';
TIS 4
';
OHS ';
TFB: OB13
100
';
';
Integrated Blocks and Their Functions
All you have to do is to tell the programmable
Explanation
The parameter error code is stored in flag
word MW1 after start-up.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .
9-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents