Class 4 operation -16, Class 4 operation – Rockwell Automation 1746-HSCE2 Multi-Channel High Speed Counter Module User Manual

Page 36

Advertising
background image

Publication 1746-UM002B-EN-P - August 2004

2-16 Module Operation

Class 4 Operation

In Class 4 operation, the counter data consist of a maximum of 23
words.

Figure 2.13 Class 4 Data Format

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00

Word 0

ACK

MFL

T

PERR

DEBUG

FB1

0

OP

MODE

Output State

Tr

ansferred

in all Modes

(2)

Virtual

Real

Word 1

Counter 2 Status

Counter 1 Status

Word 2

Upper 4 digits: Counter 1 Count Value

Word 3

Lower 3 digits: Counter 1 Count Value

Word 4

Counter 1 Rate Value

(1)

(1) The format of the Rate Values is programmed with the Rate Value Format bit in the Module Setup programming

block. This bit specifies the rate value to be in integer or floating-point format. The default is integer format.
Count values are always transferred in integer format. See Data Format on page 4-3.

Word 5

Word 6

Upper 4 digits: Counter 1 Capture Value

Word 7

Lower 3 digits: Counter 1 Capture Value

Word 8

Upper 4 digits: Counter 2 Count Value

Word 9

Lower 3 digits: Counter 2 Count Value

Word 10

Counter 2 Rate Value

(1)

Word 11

Word 12

Upper 4 digits: Counter 2 Capture Value

Word 13

Lower 3 digits: Counter 2 Capture Value

Word 14

Counter 4 Status

Counter 3 Status

Tr

an

sferred in Mode

s 2 and 3

(2)

Word 15

Upper 4 digits: Counter 3 Count Value

Word 16

Lower 3 digits: Counter 3 Count Value

Word 17

Counter 3 Rate Value

(1)

Word 18

Word 19

Upper 4 digits: Counter 4 Count Value

Tr

ansfe

rred in Mo

de 3

(2)

(2) Data values transferred. Regardless of operating mode, the module will transfer up to 23 words. Words that do

not contain relevant data are set to 0000H.

Word 20

Lower 3 digits: Counter 4 Count Value

Word 21

Counter 4 Rate Value

(1)

Word 22

Advertising