Defining System Characteristics In Db1 - Siemens S5-100U User Manual

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
9.1.8

Defining System Characteristics in DB1

Each cyclical program processing triggers the beginning of a monitoring period. If the cycle trigger
is not retriggered during the monitoring period, the programmable controller is forced into the STOP
mode and disables the output modules. The default for the monitoring time is set to 500 ms in
DB1. You can increase the cycle time monitoring in the parameter block SDP.
Example: You wish to increase the monitoring time to 700 ms since your user program is very
large.
How to Proceed:
1. Display DB1 on the programmer.
2. Change the parameter block "SDP" as shown in Figure 9.5.
-
Position the cursor on the arguments for the parameter
-
Overwrite the arguments
0:
KS
= 'DB1 SL1: SLN 1
12:
KS
= 'DB2
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
= ' 700 ;
132:
KS
= ' ; END
3. Transfer the changed DB1 to the programmable controller.
4. Switch the programmable controller from STOP to RUN. The programmable controller now
accepts the changed parameters.
You can also set the cycle monitoring time in OB31 (see section 9.3.1).
9.2
Integrated Function Blocks, for CPU 102 Version 8MA02 and Higher
Some standard function blocks are integrated in your S5-100U. You can call up these blocks in
your control program with the commands "JU FB" or "JC FB x". The character "x" stands for the
block number.
Overview:
Block No.
Block name
Call length
(in words)
Processing time
(in ms)
EWA 4NEB 812 6120-02
SF ';
DW0
EF DB3
DW0
; #CLP: CF 0
DW0
STW
STP Y SAV Y ';
SET 4 01.04.92 ';
TIS 4
OHS ';
TFB: OB13
100
Figure 9.5. Inputting the System Data Parameter
FB240
FB241
FB242
COD:B4 COD:16
MUL:16
5
6
7
< 0.6
< 1.0
< 0.9
Integrated Blocks and Their Functions
';
';
';
';
';
';
';
FB243
FB250
DIV:16
RLG:AI
10
10
< 2.1
2.4
FB251
RLG:AQ
9
4.8
9-11

Advertisement

Table of Contents
loading

Table of Contents