Siemens SIMATIC S5-100U System Manual page 175

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U
Example: KT 40.2 corresponds to 40 x 1 s.
Tolerance:
The time tolerance is equivalent to the time base.
Examples
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:
The time 638 s is stored in data word DW2 in BCD code.
Bits 14 and 15 are insignificant for the time value.
15
1 0
Time base
Key for Time Base:
Base
0 0
Factor
0.01 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
Operand
KT 400.1
400 x 0.1 s
KT 40.2
40
KT 4.3
4
L
DW
2
11
0
1
1
0
0
0
Three-digit time value
(in BCD code)
0 1
1 0
1 1
0.1 s
1 s
10 s
Time Interval
- 0.1 s
39.9 s to 40 s
x 1 s
- 1 s
39 s to 40 s
x 10 s
- 10 s
30 s to 40 s
0
1
1
1
0
0
0
STEP 5 Operations
Bit
DW2
8-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents