PLC System Start-Up and Program Test
S5-115U Manual
The retentive feature in the RE switch position is determined by an entry in system data word 120
(EAF0
H
):
Figure 4-1. Relevant Bits for Setting the Retentive Feature in System Data Word 120
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
x
x
x
x
x
x
x
x
x
x
x
x
x
Bit
SD 120
0: FY 0 to FY 127 retentive and
FY 128 to FY 255 nonretentive
1: All flags retentive
0: T 0 to T 63 retentive and
T 64 to T 127 nonretentive
1: All times retentive
0: C 0 to C 63 retentive and
C 64 to C 127 nonretentive
1: All counters retentive
x = bits that determine system characteristics
(must not be changed when setting the retentive
feature!)
Bits 3, 4 and 5 of system data word 120 are set to "0" after Overall Reset of the CPU.
You can influence the retentive feature separately for flags, timers and counters by setting these
bits
•
in the restart program (OB20, OB21)
or
•
using the DISP ADDR programmer function (only permissible when the PLC is in the STOP
state!).
You can also determine the retentive feature by setting parameters in DB1 (see Section 11.3).
In the case of Overall Reset, all timers, counters and flags are reset regardless of the switch po-
sition or the contents of system data word 120.
4-6
EWA 4NEB 811 6130-02b
Содержание SIMATIC S5-115U
Страница 6: ...EWA 4NEB 811 6130 02b ...
Страница 16: ...EWA 4NEB 811 6130 02b ...
Страница 18: ...EWA 4NEB 811 6130 02b ...
Страница 26: ......
Страница 62: ...EWA 4NEB 811 6130 02b ...
Страница 64: ...EWA 4NEB 811 6130 02b ...
Страница 67: ......
Страница 74: ......
Страница 79: ......
Страница 80: ......
Страница 81: ......
Страница 82: ......
Страница 83: ......
Страница 84: ......
Страница 97: ......
Страница 98: ......
Страница 99: ......
Страница 114: ...EWA 4NEB 811 6130 02b ...
Страница 280: ...EWA 4NEB 811 6130 02b ...
Страница 372: ...EWA 4NEB 811 6130 02b ...
Страница 432: ...EWA 4NEB 811 6130 02b ...
Страница 442: ......
Страница 528: ...EWA 4NEB 811 6130 02b ...
Страница 590: ......
Страница 591: ......
Страница 592: ......
Страница 593: ......
Страница 594: ......
Страница 600: ...EWA 4NEB 811 6130 02b ...
Страница 602: ...EWA 4NEB 811 6130 02b ...
Страница 604: ...EWA 4NEB 811 6130 02b ...
Страница 624: ...EWA 4NEB 811 6130 02b ...
Страница 632: ...EWA 4NEB 811 6130 02b ...
Страница 644: ...EWA 4NEB 811 6130 02b ...
Страница 646: ...EWA 4NEB 811 6130 02b ...
Страница 652: ...EWA 4NEB 811 6130 02b ...
Страница 654: ...EWA 4NEB 811 6130 02b ...
Страница 660: ...EWA 4NEB 811 6130 02b ...
Страница 662: ...EWA 4NEB 811 6130 02b ...
Страница 666: ...EWA 4NEB 811 6130 02b ...
Страница 668: ...EWA 4NEB 811 6130 02b ...
Страница 674: ...EWA 4NEB 811 6130 02b ...