Rockwell Automation 1769-HSC Compact High Speed Counter Module User Manual

Page 97

Advertising
background image

Rockwell Automation Publication 1769-UM006E-EN-P - July 2013

97

Module Configuration, Output, and Input Data

Chapter 4

ToThisCtr - Range Counter Number (Range12To15[

n

].ToThisCounter)

This 2-bit value indicates which counter will be used in the range comparison or
Range12To15[

n].LoadDirectWrite. The counter is indicated in the table below.

If Range12To15[

n].ToThisCounter is set to a number larger than

NumberOfCounters in the configuration array, then the
InvalidCtrAssignToRange

n error bit in the input array will be set.

Type - RangeType (Range12To15[

n

].Type)

This bit value indicates which type of value to use for the range comparison in
Range. That is, the Range12To15[

n].ToThisCounter, from above, and this

Range12To15[

n].Type value determine the rate or count value, the current value

which is compared to, for the range comparison. The type of value is indicated as
follows:

0 = Count Value
1 = Rate Value

When Range12To15[

n].LoadDirectWrite is set Range12To15[n]. Type is

ignored.

LDW - Load Direct Write (Range12To15[

n

].LoadDirectWrite)

A 0 to 1 transition of this bit causes counter (

n)’s current count value to change to

the value of Range12To15[

n].HiLimOrDirWr.

Bit 01

Bit 00

Counter

0

0

0

0

1

1

1

0

2

1

1

3

IMPORTANT

For the L23E packaged controllers embedded HSC, the range type is fixed
at 0, which sets the range type to count value. The ranges in this section
apply to only the 1769-HSC module and the CMX 5370 L2 packaged
controllers embedded HSC.

IMPORTANT

The write occurs according to the internal timings of the module and the
system. For the most predictable results, the counter should be disabled
or stopped while performing this action.

IMPORTANT

If both CtrnSoftPreset and Range12To15[n].HiLimOrDirWr transition to 1
during the same Output Array update, only the CtrnSoftPreset occurs.
Range12To15[n].HiLimOrDirWr is ignored.

Advertising