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

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC 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
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.
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
= ' 700 ;
132:
KS
= ' ; END
Figure 9.5. Inputting the System Data Parameter
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.
FB240
Block name
COD:B4 COD:16
Call length
5
(in words)
Processing time
(in ms)
< 0.6
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
';
';
FB241
FB242
FB243
MUL:16
DIV:16
6
7
10
< 1.0
< 0.9
< 2.1
Integrated Blocks and Their Functions
FB250
FB251
RLG:AI
RLG:AQ
10
9
2.4
4.8
9-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents