Minimum/maximum count value block, G/p mode: gate/preset mode bits -13, Minimum/maximum count value block -13 – Rockwell Automation 1746-HSCE2 Multi-Channel High Speed Counter Module User Manual

Page 63: G/p mode: gate/preset mode bits

Advertising
background image

Publication 1746-UM002B-EN-P - August 2004

Configuration and Programming 4-13

G/P Mode: Gate/Preset Mode Bits

(Words 1 and 3, Bits 04 to 06; Word 5, Bits 09 and 01)

Counters 3 and 4 have only two gate/preset modes available.
Therefore, they have only one G/P mode bit. When this single bit is
equal to zero, the No Preset mode is selected. When the bit is set, the
Soft Preset mode is selected. Three bits determine the Gate/Preset
Mode for Counters 1 and 2. The table below shows the G/P Mode
settings for counters 1 and 2.

Minimum/Maximum Count
Value Block

Figure 4.6 shows the format of the Minimum/Maximum Count Value
block. This programming block programs the minimum and maximum
counter value and preset value parameters of the selected counter. As
long as the min/max counter values are not changed from their
currently programmed values, the counter can be running when this
block is sent to the module. If the minimum/maximum values are
changed, the counter must be stopped when this block is sent or a
programming error is generated. The preset values can be changed
with the counter running.

Table 4.5 Gate/Preset Mode Programming Bit Settings for Counters 1 and 2

Bit 06

Bit 05

Bit 04

Gate/Preset Mode

0

0

0

No Preset

0

0

1

Soft Preset Only

0

1

0

RESERVED

0

1

1

RESERVED

1

0

0

Store/Continue/Soft Preset

1

0

1

Store/Hold/Resume/Soft Preset

1

1

0

Store/Preset/Hold/Resume/Soft Preset

1

1

1

Store/Preset/Start/Soft Preset

TIP

All configurations and modes are not available to all
counters. See the Summary of Available Counter
Configurations on page 2-8.

Advertising