Integral Function Blocks - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual
Timed-interrupt OBs interrupt the cyclic program after every STEP 5 operation. Timed-interrupt
OBs cannot interrupt the following:

Integral function blocks

OB6
Process interrupts (OB2 to 5).
Timed-interrupt OBs themselves can be interrupted by OB6 or by process interrupts (OB2 to 5)!
Please note that the call intervals may vary as a result.
The order of priority of the timed-interrupt OBs is as follows:
Highest priority:
Lowest priority:
Please note the following also:
The "IA" operation can be used to disable the calling of all timed-interrupt OBs and this can
be enabled again with the "RA" operation. A call request can be stored while the call itself is
disabled.
If timed-interrupt OBs are to be processed in the RESTART OB (OB21, OB22), you must enable
interrupts with "RA" in the RESTART OB
The block nesting depth of 32 levels must not be exceeded even when processing a time-
controlled OB.
If a time-controlled OB used "scratchflags" which are also used in the cyclic control program,
the "scratchflags" must be saved in a data block while the timed-interrupt OB executes.
System
Absolute
Data Word
Address
SD 97
EAC2
SD 98
EAC4
SD 99
EAC6
SD 100
EAC8
Setting an Interval Time of 1 sec. for OB13:
OB 21
:
JU
FB 21
NAME
:
TIME ON
.
.
EWA 4NEB 811 6130-02b
OB13
OB12
OB11
OB10.
Table 7-5. Parameter Block for Time OBs
High Byte
Time interval for OB13
Time interval for OB12
Time interval for OB11
Time interval for OB10
OB 22
:JU
FB 21
NAME
:TIME ON
.
.
Introduction to STEP 5
Low Byte
(0 to FFFF
·10 ms)
10 (=100 ms)
H
(0 to FFFF
·10 ms)
H
(0 to FFFF
·10 ms)
H
(0 to FFFF
·10 ms)
H
FB 21
NAME
:TIME ON
:L KF +100
:T BS 97
:BE
Default
0 (=no call)
0 (=no call)
0 (=no call)
7-21

Advertisement

Table of Contents
loading

Table of Contents