Enable range, Determining actual output state – Rockwell Automation 1746-HSCE2 Multi-Channel High Speed Counter Module User Manual

Page 77

Advertising
background image

Publication 1746-UM002B-EN-P - August 2004

Configuration and Programming 4-27

output turns on based on the programmed ranges, the state of the
enabled ranges byte, and the Output ON Mask.

Enable Range

(Word 6)

When a bit in this word is reset (0), the corresponding range (1-16) is
disabled, and the output state for the range is ignored.

When a bit in this word is set (1), the corresponding output state for
the range is used to determine the state of the eight outputs.

Bits in this word should be zero, unless you want to specifically
enable the range.

Determining Actual Output State

The actual state of an output is determined in five steps, as follows:

1. The enable range bits determine if a range should be checked to

see if it is active.

2. The output state bytes of all active ranges that are enabled are

logically ORed.

3. The Output ON Mask is logically ORed with the results of step 2.

4. The Output Enable Mask is logically ANDed with the results of

step 3.

5. The result is applied to the outputs.

TIP

The outputs do not turn on if the corresponding bits
are not set here.

IMPORTANT

Outputs are always off when the SLC processor is in
Program mode. The outputs are only enabled when
the processor is in the Run mode.

Outputs not assigned to a counter can only be
turned on with the Output ON Mask.

Advertising