Rockwell Automation 1746-HSCE,D17466.5 High-Speed Counter Module User Manual

Page 145

Advertising
background image

Publication 1746-UM006B-EN-P - August 2005

Application Examples 6-33

Status Word

Accumulated Count, Rate Period Count, and Rate Measurement (decimal)

Output Status and Configuration Error Code

0

1

0

0

1

0

0

0

0

0

R

= Reserved, must be reset to 0

Status Word

I:e.0

Bit Number (decimal)

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

R

R

R

R

R

0 = No overflow
1 = Overflow

0 = Invalid rate
1 = Rate valid

00 = Stopped
01 = Running
10 = Undefined
11 = Hold

0 = False Reset Mode
1 = True Reset Mode

1 = End of Sequence

0 = No configuration error
1 = Invalid configuration data

0 = No overflow
1 = Overflow

0 = No error detected
1 = Overflow/Underflow

0 = No error detected
1 = Error detected

0 = Nonzero Rate Period count
1 = Rate Period Count is 0

Overflow/Underflow (page 4-41)

Configuration Error (page 4-41) Rate Counter Overflow (page 4-39) Zero Rate Period Count (page 4-38)

Pulse Counter State (page 4-42) Reset Input (page 4-41)

Critical Error (page 4-40)

Rate Measurement Overflow (page 4-39)

Rate Valid (page 4-38)

Sequence Done (page 4-40)

I:e.1

I:e.2

I:e.3

Accumulated Count

Rate Period Count

Rate Measurement (Hz)

0

5

8

0

5

0

0

5

I:e.4

7

6

5

4

3

2

1

0

Bit Number (decimal)

15

14

13

12

11

10

9

8

Output Number

7

6

5

4

3

2

1

0

Output Status and Configuration Error Code

0000 = no error
0001 = not defined
0010 = Max Count equals 0 (ring)
0011 = Invalid Operating Mode
0100 = Invalid Input Type
0101 = Static Parameter Changed
0110 = Ranges Active equals 0
0111 = Rate Period equals 0
1000 = Linear Counter Reset Value out of range
1001 = Sequencer Preset > Maximum Count

Configuration Error Code

R R

R R

0 = Output OFF
1 = Output ON

Output Status

Outputs 0 thru 3 relate to Physical Outputs
Outputs 4 thru 7 relate to Soft Outputs

0

0

0

0

0

0

0

0

0

1

1

1

Advertising