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

Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 65
Write Word 0
Bit
Control Word 0 – Control word for setting the function of counter 0.
Bit 00
Pulse counting and period time measurement selection for Channel 0 –
0 = pulse counting and period measurement selected.
1 = period time measurement selected.
Bit 01
Pulse counting and period time measurement selection for Channel 1 –
0 = pulse counting and period measurement selected.
1 = period time measurement selected.
Bit 02
Pulse counting and period time measurement selection for Channel 2 –
0 = pulse counting and period measurement selected.
1 = period time measurement selected.
Bit 03
Pulse counting and period time measurement selection for Channel 3 –
0 = pulse counting and period measurement selected.
1 = period time measurement selected.
Bits 04…15
(04…17)
Reserved.
Write Word 1
Bit 00
Clock frequency for period time measurement - Channel 0 –
0 = period time measurement with 10 MHz internal clock selected.
1 = period time measurement with 1 MHz internal clock selected.
Bits 01…03
03
02
01
Number of periods for measurement - Channel 0.
0
0
0
1 period.
0
0
1
2 periods.
0
1
0
4 periods.
0
1
1
8 periods.
1
0
0
16 periods.
1
0
1
32 periods.
1
1
0
64 periods.
1
1
1
128 periods.
Bit 04
Clock frequency for period time measurement - Channel 1 – see Bit 00 above.
Bits 05…07
Selection of Number of period for measurement - Channel 1 – see Bits 01…03 above.
Bits 08(10)
Clock frequency for period time measurement - Channel 2 – see Bit 00 above.
Bits 09…11
(11…13)
Selection of Number of period for measurement - Channel 2 – see Bits 01…03 above.
Bit 12(14)
Clock frequency for period time measurement - Channel 1 – see Bit 00 above.
Bits 13…15
(15…17)
Selection of Number of periods for measurement - Channel 1 – see Bits 01…03 above.
1794-IP4 Pulse Counter Module Word/Bit Definitions
Word
Bit
Definition