Countervalueregister(Cvr) - Siemens SIMATIC S5 IP 281 Equipment Manual

Hide thumbs Also See for SIMATIC S5 IP 281:
Table of Contents

Advertisement

R 11192
3.5
Counter Value Register (CVR)
The counter value register (CVR) is used to read out the counter status. It contains either 16 bits
(modes 1 and 3) or 32 bits (modes 2 and 4) depending on the counting mode set.
The CVRcan be read by the S5 at all times. Thecountervalues can be read asynchronously (each
counter individually) or synchronously (counter 1 and counter2 simultaneously (+ section 6.5.3)).
With high–byte addressing (byte 1 for 16 bits; byte 3 for 32 bits), the counting value is interme–
Each counter is equipped with a CVR register.
– CVR 1 for counter 1
– CVR 2 for counter 2
Counter value
register
31
15
For counting modes 1 and 3 (16–bit):
For counting modes 2 and 4 (32–bit):
Byte 3
224
30
29
28
27
26
25
24
14
13
12
11
10
9
8
Byte 1
Counter 1
Counter 1
Software Settings
Byte 2
223.
23
22
21
20
19
18
17
7
6
5
4
3
2
1
Byte O
Counter 2
Counter 2
216
16
0
3 – 9

Advertisement

Table of Contents
loading

Table of Contents