beautypg.com

Programming scaling module 14, Count scale factor (count sf) 14, Rate scale factor (rate sf) 14 – Red Lion LEGEND User Manual

Page 16: Count scale multiplier (cnt.scm) 14

background image

PROGRAMMING SCALING MODULE

In the scaling module, the Count and Rate Scale Factors, scale multipliers, rate

conversion factor, and decimal points are accessed. The following flowchart
shows only the Scaling portion:

COUNT SCALE FACTOR (COUNT SF)

The number of pulses counted (internal count value) is multiplied by the

Count Scale Factor value and the Count Scale Multiplier to obtain the desired
Process and Total Count display values. A Count Scale Factor value of 1.0000
will result in the display of the actual number of input pulses that were counted.
The Count Scale Factor value is used for converting the number of pulses per unit
of measure to the required units of measure for the display. This includes
conversion from different units of measure (i.e feet to meters, etc.).

The Count Scale Factor value can range from 0.0001 to 5.9999. It is important

to note that the precision of a counter application cannot be improved by using a
Scale Factor greater than “1”. To accomplish greater precision, more pulse
information must be generated per measuring unit. For details, refer to Scaling
for Count Indication in the Appendix.

RATE SCALE FACTOR (RATE SF)

The internal rate value (pulses per second) is multiplied by the Rate Scale

Factor, Rate Scale Multiplier, and Rate Conversion Factor values, to obtain the
desired rate display value. The Rate Scale Factor value is used for converting the
internal rate (in pulses per second) to the required units of measure for the
display. This includes conversion from different units of measure (i.e feet to
meters, etc.).

The Rate Scale Factor value can range from 0.0001 to 5.9999. Due to the way

the rate is calculated, high resolution and accuracy are achieved at all input rates,
slow or fast. For details, refer to Scaling for Rate Indication in the Appendix.
Note: Since the Process Count and Rate Scale Factors may need to be changed

periodically, they can also be accessed from the Scale Factors module in the
main display loop.

COUNT SCALE MULTIPLIER (CNT.SCM)

There are four Count Scale Multipliers available; X 1, X 0.1, X 0.01, or X

0.001 that change the Process and Total count display values accordingly. The
number of pulses counted (internal count value) is multiplied by the scale
multiplier and the scale factor values to obtain the desired Process and Total
Count displays.
Note: Use of a small scale multiplier with a small scale factor could cause the

internal count value to be exceeded, before the 6-digit display value is exceeded.

-14-