S5-100U Integrated Blocks and Their Functions
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
. All you have to do is to tell the 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 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.
Figure 9-2. Inputting the Address for the Parameter Error Code
DB1 Explanation
The parameter error code is stored in flag
word MW1 after start-up.
0: KS = 'DB1 SL1: SLN 1 SF ';
12: KS = 'DB2 DW0 EF DB3 DW0 ';
24: KS = ' KBE MB100 KBS MB101 ';
36: KS = 'PGN 1 ; #CLP: CF 0 ';
48: KS = 'CLK DB5 DW0 STW ';
60: KS = 'MW102 STP Y SAV Y ';
72: KS = 'OHE N SET 4 01.04.92 ';
84: KS = '12:10:00 TIS 4 ';
96: KS = '01.04. 13:00:00 OHS ';
108: KS = '000000:00:00 # ; SDP: WD';
120: KS = ' 500 ; TFB: OB13 100 ';
132: KS = ' ; ERT: ERR MW1 ; END ';
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
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-02
9-3