Allen-Bradley MicroLogix 1200 Reference Manual page 86

Hide thumbs Also See for MicroLogix 1200:
Table of Contents

Advertisement

5-16
Using the High-Speed Counter
Publication 1762-RM001C-EN-P
Count Up (CU)
Description Address
Data Format HSC Modes
CU - Count Up HSC:0/CU bit
(1) For Mode descriptions, see HSC Mode (MOD) on page 5-16.
The CU (Count Up) bit is used with all of the HSCs (modes 0 to 7). If the
CE bit is set, the CU bit is set (1). If the CE bit is clear, the CU bit is cleared
(0).
HSC Mode (MOD)
Description
Address
MOD - HSC Mode HSC:0.MOD word (INT)
The MOD (Mode) variable sets the High-Speed Counter to one of 8 types
of operation. This integer value is configured through the programming
device and is accessible in the control program as a read-only variable.
Table 5.3 HSC Operating Modes
Mode
Type
Number
0
Up Counter - The accumulator is immediately cleared (0) when it reaches the high
preset. A low preset cannot be defined in this mode.
1
Up Counter with external reset and hold - The accumulator is immediately cleared
(0) when it reaches the high preset. A low preset cannot be defined in this mode.
2
Counter with external direction
3
Counter with external direction, reset, and hold
4
Two input counter (up and down)
5
Two input counter (up and down) with external reset and hold
6
Quadrature counter (phased inputs A and B)
7
Quadrature counter (phased inputs A and B) with external reset and hold
(1)
Type
0 to 7
status read only
Data Format
Type
control
User Program Access
User Program Access
read only

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micrologix 1500

Table of Contents