beautypg.com

Rockwell Automation 1794-IP4 Series B FLEX I/O PULSE COUNTER User Manual User Manual

Page 49

background image

5–4

How Communication Takes Place and I/O Image Table Mapping with the DeviceNet Adapter

Publication 1794ĆUM016B-EN-P - August 2002

Block Transfer Read Word Assignments for the Pulse Counter
Module (1794-IP4)

(OctalBit

)

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Dec. Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Word

Read

1

Counter 00 - 16-bit periodmeasurement or low wordof 32Ćbit periodmeasurement for channel 0

2

Counter 01 - pulse counter or high wordof 32Ćbit periodmeasurement for channel 0

3

Counter 10 - 16-bit periodmeasurement or low wordof 32Ćbit periodmeasurement for channel 1

4

Counter 11 - pulse counter or high wordof 32Ćbit periodmeasurement for channel 1

5

Counter 20 - 16-bit periodmeasurement or low wordof 32Ćbit periodmeasurement for channel 2

6

Counter 21 - pulse counter or high wordof 32Ćbit periodmeasurement for channel 2

7

Counter 30 - 16-bit periodmeasurement or low wordof 32Ćbit periodmeasurement for channel 3

8

Counter 31 - pulse counter or high wordof 32Ćbit periodmeasurement for channel 3

9

Readback of Control Word 2

9

Reserved

RD3 RD2 RD1

RD0

M3

M2

M1

M0

10

Revision read- software version code

Where: M = positive edge measurement ready for the respective channel.

RD = Reset Done for respective channel.

Block Transfer Write Word Assignments for the Pulse Counter
Module

(OctalBit)

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Dec. Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Word

Write

1

Control Word0 - selects the measure function

2

Control Word1 - sets the clock frequency andperiodmultiple

3

Control Word2 - sets the start of a new measurement

4-5

Reserved

Bit/Word Definitions

for the Pulse Counter Module

Word

Bit

Definition

Read

Word1

Bits 00-15

(00-17)

Store Counter 00 - 16-bit periodmeasurement or low wordof 32Ćbit periodmeasurement for channel 0.

Read

Word2

Bits 00-15

(00-17)

Counter 01 - pulse counter or high wordof 32Ćbit periodmeasurement for channel 0

Read

Word3

Bits 00-15

(00-17)

Counter 10 - 16-bit periodmeasurement or low wordof 32Ćbit periodmeasurement for channel 1.

Read

Word4

Bits 00-15

(00-17)

Counter 11 - pulse counter or high wordof 32Ćbit periodmeasurement for channel 1

Read

Word5

Bits 00-15

(00-17)

Counter 20 - 16-bit periodmeasurement or low wordof 32Ćbit periodmeasurement for channel 2.