Siemens SIMATIC S5 IP 281 Equipment Manual page 101

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

Advertisement

R 11/92
Counting mode 4
The counter has a counting width of 32 bits and operates in the positive and
negative counting range listed below.
80000000
–2,1 47,483,648
Parameter register 1/2
down in the ranges set.
The counting width also sets the width of the load, interrupt and counter value registers.
Overflow/underflow An overflow occurs when the upper counting range limit is exceeded while
counting up. Underflow occurs when the lower counting range limit is ex-
ceeded while counting down.
Hysteresis
When an encoder is "stationary", oscillation of this encoder around the ac-
tual value can change the counter status.
When the counter stops on a range limit, this could cause overflow/under-
flow to be triggered continuously. To avoid this, overflow and underflow are
provided with a fixed hysteresis of 1 (i.e., to trigger a new overflow/under-
flow, the value of the "upper counting range limit+ 1"/''lower counting range
limit –1" must be reached respectively,
When oscillation around the counting range limits occurs, one overflow and
one underflow are triggered and the hysteresis then becomes active.
The hysteresis is reset when the counter or the interrupt register is loaded.
to 7FFF FFFF
to +2,147,483,647
10
15 14 13 12 11
9
Counting
Mode
1:
2:
3:
4:
Operating Modes and Functions
8
7
6
5
4
3
Upper Counting
Lower Counting
Range Limit
Range Limit
0000
00000000
8000
8000 OOW
(hexadecimal)
(decimal)
2
1
0
1
1
cool
00000001
80000001
6 – 3

Advertisement

Table of Contents
loading

Table of Contents