S5-100U
STEP 5 Operations
Example: KT 40.2 corresponds to 40 x 1 s.
Tolerance:
The time tolerance is equivalent to the time base.
Operand
Examples
Time Interval
400 x 0.1 s
- 0.1 s
39.9 s to 40 s
40
x 1 s
- 1 s
39 s to 40 s
4
x 10 s
- 10 s
30 s to 40 s
KT 400.1
KT 40.2
KT 4.3
Possible
settings for
the time
40 s
Note
Always use the smallest time base possible.
Loading a Time as an Input, Output, Flag, or Data Word
Load Statement:
L
DW
2
The time 638 s is stored in data word DW2 in BCD code.
Bits 14 and 15 are insignificant for the time value.
11
0
15
1
0
1
0
Bit
Time base
Three-digit time value
(in BCD code)
DW2
0
1
1
1
0
0
0
1
0
0
Key for Time Base:
Base
0 0
0 1
1 0
1 1
Factor
0.01 s
0.1 s
1 s
10 s
You can also use the control program to write to data word DW2.
Example:
Store the value 270 x 100 ms in data word DW2 of data block DB3.
C
DB 3
L
KT 270.1
T
DW2
EWA 4NEB 812 6120-02b
8-17
Содержание SIMATIC S5-100U
Страница 6: ...EWA 4NEB 812 6120 02b ...
Страница 16: ...EWA 4NEB 812 6120 02b ...
Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Страница 23: ......
Страница 27: ......
Страница 36: ...EWA 4NEB 812 6120 02b ...
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 102: ...EWA 4NEB 812 6120 02b ...
Страница 156: ...EWA 4NEB 812 6120 02b ...
Страница 232: ...EWA 4NEB 812 6120 02b ...
Страница 268: ...EWA 4NEB 812 6120 02b ...
Страница 272: ...EWA 4NEB 812 6120 02b ...
Страница 336: ...EWA 4NEB 812 6120 02b ...
Страница 352: ...EWA 4NEB 812 6120 02b ...
Страница 412: ...EWA 4NEB 812 6120 02b ...
Страница 482: ...EWA 4NEB 812 6120 02b ...
Страница 484: ...EWA 4NEB 812 6120 02b ...
Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Страница 516: ...EWA 4NEB 812 6120 02b ...
Страница 522: ...EWA 4NEB 812 6120 02b ...
Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Страница 524: ...EWA 4NEB 812 6120 02b ...
Страница 530: ...EWA 4NEB 812 6120 02b ...
Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Страница 532: ...EWA 4NEB 812 6120 02b ...
Страница 534: ...EWA 4NEB 812 6120 02b ...
Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Страница 536: ...EWA 4NEB 812 6120 02b ...
Страница 542: ...EWA 4NEB 812 6120 02b ...
Страница 543: ...Index EWA 4NEB 812 6120 02b ...
Страница 544: ...EWA 4NEB 812 6120 02b ...
Страница 550: ...EWA 4NEB 812 6120 02b ...