Rockwell-automation 1746-HSCE2 Multi-Channel High Speed Counter Module Uživatelský manuál Strana 73

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 140
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 72
Publication 1746-UM002B-EN-P - August 2004
Configuration and Programming 4-23
Output State on page 4-27 for a description of how the bytes are
combined.
If the start value is less than the stop value, the output state is applied
when the count or rate is within the range specified by the two values.
(For example, see ranges 1 through 3 on page 2-13.) If the start value
is greater than the stop value, the output state is applied when the
count or rate is outside the range. (For example, see range 4 on
page 2-13.) At least one of these bits must be set when programming a
range or a programming error is generated.
Counter Control Block
Figure 4.9 shows the format of the Counter Control programming
block. This block allows you to change the state of the following
counter controls for all four counters in one cycle:
Enable/Disable Counter
Soft Preset (if enabled)
Internal Direction (if enabled)
Output ON Mask
Output Enable Mask
Count or Rate Value (Class 1 only)
Enable/Disable Range
All counters can be running when this block is sent to the module.
Figure 4.9 Counter Control Block Format
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Word 0
0 0 0 0 0 0 0 010 0 0 0 0 0 0
Word 1
P1
0 0 0 0 0 0
C/R1
0 0 0 0 0
ID1
SP1
EN1
Word 2
P2
0 0 0 0 0 0
C/R2
0 0 0 0 0
ID2
SP2
EN2
Word 3
P3
0 0 0 0 0 0
C/R3
0 0 0 0 0
ID3
SP3
EN3
Word 4
P4
0 0 0 0 0 0
C/R4
0 0 0 0 0
ID4
SP4
EN4
Word 5 Output Enable Mask Output ON (OR) Mask
Word 6 Enable Ranges
Word 7
RESERVED: Must Equal Zero
Zobrazit stránku 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 139 140

Komentáře k této Příručce

Žádné komentáře