Program ranges block, Program ranges block -19 – Rockwell Automation 1746-HSCE2 Multi-Channel High Speed Counter Module User Manual

Page 69

Advertising
background image

Publication 1746-UM002B-EN-P - August 2004

Configuration and Programming 4-19

Class 4

When the module is operating as Class 4, the data format of the
minimum/maximum rate values is determined by the rate value
format bit in the Module Setup programming block. When this bit
specifies that the rate value be in floating-point format, the
minimum/maximum rate values are also programmed in floating-point
format. When the rate value format bit specifies integer format, the
minimum/maximum rate value is also in two-word integer format.

When programmed in integer format, the data has the same format as
described in Integer Format on page 4-3.

Program Ranges Block

Figure 4.8 shows the format of the Program Ranges programming
block. This block programs the following parameters:

• Associated Counter
• Range Type
• Range Number
• Range Start Point
• Range End Point
• Output State

All counters can be running when this block is sent to the module.

TIP

The minimum/maximum rate values can be changed
after output ranges have been programmed. The
new values are checked against the ranges. If the
new values are outside the range boundaries, the
new values are not accepted, and the programming
error bit is set.

Advertising