Rockwell Automation 1794-APBDPV1 FLEX I/O PROFIBUS Adapter User Manual User Manual

Page 76

Advertising
background image

Publication 1794-UM064B-EN-P - May 2014

64 Communicate With Your Module

Word

Write

1

Control Word 0 – selects the measure function.

2

Control Word 1 – sets the clock frequency and period multiple.

3

Control Word 2 – sets the start of a new measurement.

4…5

Reserved.

Where:

M = Positive edge measurement ready for the respective channel.
RD = Reset Done for respective channel.

1794-IP4 Pulse Counter Module Word/Bit Definitions

Word

Bit

Definition

Read Word 0

Bit 00…15
(00…17)

Store Counter 00 – 16-bit period measurement or low word of 32-bit period measurement for channel 0.

Read Word 1

Bit 00…15
(00…17)

Ch 0 Data 0 – pulse counter or high word of 32-bit period measurement for channel 0.

Read Word 2

Bit 00…15
(00…17)

Ch 0 Data 1 – 16-bit period measurement or low word of 32-bit period measurement for channel 1.

Read Word 3

Bit 00…15
(00…17)

Ch 1 Data 1 – pulse counter or high word of 32-bit period measurement for channel 1.

Read Word 4

Bit 00…15
(00…17)

Ch 2 Data 0 – 16-bit period measurement or low word of 32-bit period measurement for channel 2.

Read Word 5

Bit 00…15
(00…17)

Ch 2 Data 1 – pulse counter or high word of 32-bit period measurement for channel 2.

Read Word 6

Bit 00…15
(00…17)

Ch 3 Data 0 – 16-bit period measurement or low word of 32-bit period measurement for channel 3.

Read Word 7

Bit 00…15
(00…17)

Ch 3 Data 1 – pulse counter or high word of 32-bit period measurement for channel 3.

Read Word 8

Bit

Status

Bit 00

Ch 0 Ready – measurement ready.

Bit 01

Ch 1 Ready – measurement ready.

Bit 02

Ch 2 Ready – measurement ready.

Bit 03

Ch 3 Ready – measurement ready.

Bit 04

Reset Done, Ch 0 – positive edge on this bit indicates counter 01 reset done.

Bit 05

Reset Done, Ch 1 – positive edge on this bit indicates counter 11 reset done.

Bit 06

Reset Done, Ch 2 – positive edge on this bit indicates counter 21 reset done.

Bit 07

Reset Done, Ch 3 – positive edge on this bit indicates counter 31 reset done.

Bit 08…15

Reserved for factory use.

Read Word 9

Bits 00…15
(00…17)

Software revision – Version code of software installed.

1794-IP4 Pulse Counter Module Block Transfer Word Assignments

(Octal Bit

⇒ )

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Dec. Bit

15

14

13

12

11

10

03

08

07

06

05

04

03

02

01

00

Advertising