S5-100U Integrated Blocks and Their Functions
9 Integrated Blocks and Their Functions
9.1 Assigning Internal Functions to DB1, for CPU 103 Version 8MA03 and
Higher
You can program the following CPU functions:
• Using the integral real-time clock (see chapter 12)
• Exchanging data via SINEC L1 (see chapter 13)
• Changing polling interval for time-controlled program processing (OB 13) (see chapter 7)
• Assigning system parameters (see section 9.1.3)
• Setting the address for the parameter error code (see section 9.1.2)
To assign parameters to these functions, you must configure data block 1 (DB1).
9.1.1 Configuration and Default Settings for DB1
To make it easier for you to assign parameters, data block 1 is already integrated in the CPU with
default parameters
. After performing an overall reset, you can load the default DB1 from the
programmable controller into your programmer and display it on the screen (see Figure 9-1). The
character string “DB1” must remain before the parameter blocks and be followed by at least one
filler (such as a blank space or a comma).
Figure 9-1. DB1 with Default Parameters
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 = ' ; 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
This preset DB1 has one parameter block for each function. Each parameter block begins with a
block ID (shown in Figure 9-1 in the shaded background). The block ID is followed by a colon. The
individual parameters for each function are contained in these parameter blocks.
Each parameter block begins with a block ID followed by a colon. This colon must be followed by
at least one filler (such as a blank space or a comma). A semicolon must be at the end of each
parameter block with at least one filler between the semicolon and the next block ID.
EWA 4NEB 812 6120-02
9-1