
Publication 1746-UM002B-EN-P - August 2004
4-10 Configuration and Programming
Mode 3 Example
In the Module Setup block below, four ranges are assigned to Counter
1. Eight ranges are assigned to Counter 2. Two ranges are assigned to
Counter 3. The last two ranges are assigned to Counter 4, but the
counter is not specified.
Counter Configuration
Block
Figure 4.5 shows the format of the Counter Configuration Block. This
block programs the following parameters of the selected counters:
• Counter Type
• Input Configuration
• Gate/Preset Mode
All four counters can be programmed with one block. When this
programming block is sent to the module, the selected counter(s)
cannot be running or a programming error results. Sending this
programming block to the module erases all programmed output
ranges of the selected counter(s).
IMPORTANT
The number of ranges for the last configured counter
used must equal zero, otherwise the module fills in
the value and errors, even if the value is correct.
Figure 4.4 Module Setup in Mode 3 (Showing Hex Format)
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Hex
0000000000000001 Word 0 0001
0000000100000011 Word 1 0103
0000000000000100 Word 2 0004
0000000000001000 Word 3 0008
0000000000000010 Word 4 0002
0000000000000000 Word 5 0000
0000000000000000 Word 6 0000
0000000000000000 Word 7 0000
Comentarios a estos manuales