Sp n : soft preset only (n) bit, Id n : internal direction (n) bit – Rockwell Automation 1746-HSCE2 Multi-Channel High Speed Counter Module User Manual

Page 75

Advertising
background image

Publication 1746-UM002B-EN-P - August 2004

Configuration and Programming 4-25

counter must also be disabled before sending new
minimum/maximum count values.

SPn: Soft Preset Only (n) Bit

(Words 1 to 4, Bit 01)

When the counter has its gate/preset mode set to any mode except No
Preset, the counter is set to its preset value when the corresponding
bit makes a 0 to 1 transition. Setting this bit in No Preset mode causes
a programming error.

IDn: Internal Direction (n) Bit

(Words 1 to 4, Bit 02)

When the counter has its input configuration set to Pulse/Internal
Direction, the state of this bit determines the direction in which the
counter counts. When this bit is reset, the counter increments. When
this bit is set, the counter decrements. Setting this bit in other than the
Pulse/Internal Direction mode causes a programming error.

TIP

Disabling a counter does not cause an output with
the counter to turn off. As long as the count value is
within the programming range the output remains
active.

TIP

Enabling a counter that is not present causes a
programming error.

TIP

Soft preset does not work when the counter’s P(n)
bit is changed from 1 to 0 to 1 at the same time
that the SP(n) bit is changed from 1 to 0 to 1. For
example, when word 1 goes from 8003H to 0000H
and back to 8003H, counter 1 is not preset.

Advertising