Programming examples, Backlight option, Application - total yards of material – Red Lion CUB7 User Manual
Page 6: Troubleshooting, 26 vdc power supply (backlighting)

6
PROGRAMMING EXAMPLES
SCALING A COUNTER
Example: An encoder generates 600 pulses per foot. The Desired Display is
tenths of inches. The Prescaler is determined using the formula below.
Prescaler =
1 (inch) x 10 (Decimal Point Value)
600 pulses/foot x 1 foot/ 12 inches
Where:
Desired Display = The number of Desired
 Display units (revolutions, 
 feet, 10ths of feet, meters, 
 etc.).
Number of Pulses = The number of pulses
 required to achieve the 
 Desired Display
Decimal Point Value = The desired decimal point
placement on the display.
Example: Display tenths of inches when using
Prescaler =
Desired Display Units x Decimal Point Value
Number of Pulses
= 10/50 = 0.2
Decimal 
Point Value
Multiply By
0
1
0.0
10
0.00
100
0.000
1000
0.0000
10000
0.00000
100000
BACKLIGHT OPTION
Optional backlight versions of the CUB7P require an external 9 to 26 VDC
power supply. The external supply is connected between the V+ and common 
terminals as shown in the drawing.
HS-6
V+-2
5-RST
1-COM
3-RST EN
LS-4
9-26 VDC
POWER SUPPLY
(Backlighting)
+
-
APPLICATION - TOTAL YARDS OF MATERIAL
A fabric manufacturer wants to know, as
economically as possible, how many whole yards of 
material his lines are running. The CUB7P000 will 
meet his process requirements. The encoder 
measuring the material, generates a one pulse per 
foot output signal. To obtain the desired display of 
yards measured, a prescale value of 0.3333 is 
programmed. To program the prescale value, connect 
wires between RST EN (Reset Enable) and COM. 
(Common); and between HS (Program Enable) and 
COM. (Common) to enable the front panel push 
buttons (See PROGRAMMING for more details.). 
Remove these wires after programming to prevent 
accidental changes to the prescale value. At the end 
of each shift, the machine operator records the total 
shown on the display and resets the counter to zero 
via key switch.
KEY RESET
HS-6
V+-2
5-RST
1-COM
3-RST EN
LS-4
DC POWER
FOR
ENCODER
+
-
Remove these ( ) wires 
after programming to prevent 
accidental changes.
SIGNAL
OUTPUT
TROUBLESHOOTING
For further technical assistance, contact technical support at the appropriate company numbers listed.
