FR-Pour connaîtreles tarifsetla disponibilitédans votrepays,cliquezsur l'undes liens suivants:
CUB5SNK0
Bulletin No. CUB5-L
Drawing No. LP0584
Released 04/16
Tel +1 (717) 767-6511
Fax +1 (717) 764-0839
www.redlion.net
MODEL CUB®5 - MINIATURE ELECTRONIC 8-DIGIT DUAL COUNTER AND RATE INDICATOR
LCD, REFLECTIVE OR GREEN/RED LED BACKLIGHTING
0.46" (11.7 mm) HIGH DIGITS
OPTIONAL SETPOINT OUTPUT CARD
OPTIONAL SERIAL COMMUNICATIONS CARD (RS232 or RS485)
OPTIONAL USB PROGRAMMING CARD
OPERATES FROM 9 TO 28 VDC POWER SOURCE
PROGRAMMABLE SCALING FOR COUNTAND RATE
BI-DIRECTIONAL COUNTING, UP/DOWN CONTROL
QUADRATURE SENSING (UPTO 4 TIMES RESOLUTION)
U
R
C
US LISTED
L
IND. CONT. EQ.
51EB
BUILT-IN BATCH COUNTING CAPABILITY
DISPLAY COLOR CHANGE CAPABILITYAT SETPOINT OUTPUT
NEMA 4X/IP65 SEALED FRONT BEZEL
GENERAL DESCRIPTION
The CUB®5 provides the user the ultimate in flexibility, from its complete user programming to the optional setpoint control and communication capability. The meter can be programmed as a single or dual counter with rate indication capability. The display can be toggled either manually or automatically between the selected displays.
The CUB5 display has 0.46" (11.7 mm) high digits. The LCD is available in two versions, reflective (CUB5R000) and backlight (CUB5B000). The backlight version is user selectable for green or red backlighting with variable display intensity.
The counter is programmable for one of eight different count modes, including bi-directional and quadrature.When programmed as a dual counter, each counter has a separate scale factor and decimal points. In the counter/rate indicator mode, each have their own scaling and decimal point read-outs in different engineering units. The internal batch counter can be used to count setpoint output activations.
The meter has two separate inputs which provide different functionsdepending on which operating mode is selected. Input A accepts the signal for the Count and/or Rate displays, while Input B accepts the signal for the Count display or direction control. In the anti-coincidence mode, both inputs are monitored simultaneously so that no counts are lost. The resulting display can be chosen as the sum or difference of the two inputs. The Rate Indicator has programmable low (minimum) and high (maximum) update times to provide optimal display response at any input frequency. There is a programmable user input that can be programmed to perform a variety of functions.
The capability of the CUB5 can be easily expanded with the addition of option cards. Setpoint capability is field installable with the addition of the single setpoint relay output card or the dual setpoint solid state output card. Serial communications capability for RS232 or RS485 is added with a serial option card.
The CUB5 can be powered from an optional Red Lion Micro-Line/Sensor Power Supply (MLPS), which attaches directly to the back of a CUB5. The MLPS is powered from 85 to 250 VAC and provides up to 400 mA to drive the unit and sensors.
COUNTER
The CUB5 receives incoming pulses and multiplies them by the Count ScaleFactor to obtain the desired reading for the count display. Input A accepts thesignal for the count and Input B is used for quadrature, dual counter, anti-coincidence counting, or up/down control counting.
RATE
The rate indicator utilizes the signal at Input A to calculate the rate value using a time interval method (1/tau). The unit counts on the negative edge of the input pulses. After the programmed minimum update time elapses and the next negative edge occurs, the unit calculates the input rate based on the number of edges that occurred during the elapsed time. The input rate is then multiplied by the rate scaling value to calculate the rate display.
At slower rates, averaging can be accomplished by programming the rate minimum update time for the desired response. Extensive scaling capabilities allow practically any desired reading at very slow count rates.
SAFETY SUMMARY
All safety related regulations, local codes and instructions that appear in this literature or on equipment must be observed to ensure personal safety and to prevent damage to either the instrument or equipment connected to it. If equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be impaired.
Do not use this meter to directly command motors, valves, or other actuators not equipped with safeguards. To do so can be potentially harmful to persons or equipment in the event of a fault to the meter.
CAUTION: Risk of Danger.
Read complete instructions prior to
installationand operation of the unit.
CAUTION: Risk of electric shock.
DIMENSIONS In inches (mm)
9876543.2
SEL
2.95 (74.9)
1.54 (39.1)
RST
Note: Recommended minimum clearance (behind the panel) for mounting clip installation is 2.15" (54.6) H x 3.00" (76.2) W.
.13 (3.3)
.15 (3.8)
1.71
(43.4)
1.29 (32.8)
2.68
(68 )
+.025
-.000 +8
-0
ONECE
1234
1.30
(33 )
+.024
-.000 +6
-0
1
orderinGinforMation
TYPEMODEL NO.DESCRIPTIONPART NUMBER
CUB5
Optional Plug-in Cards
Accessories
1
Crimson software is a free download from http://www.redlion.net. System requirements for the software are listed on the download page.
CUB5RDual Counter & Rate Indicator with Reflective DisplayCUB5R000
CUB5BDual Counter & Rate Indicator with Backlight DisplayCUB5B000
CUB5RLYSingle Relay Option CardCUB5RLY0
CUB5SNKDual Sinking Open Collector Output cardCUB5SNK0
CUB5COM
CUB5USBUSB Programming Card CUB5USB0
MLPS
CBLPROProgramming Cable RS232 (RJ11-DB9)CBLPROG0
CBPROCommunication Cable RS485 (RJ11-DB9)CBPRO007
SFCRDCrimson PC Configuration Software, Free Download Available
CBLUSBUSB Programming CableCBLUSB00
RS485 Serial Communications CardCUB5COM1
RS232 Serial Communications CardCUB5COM2
+12 VDC Micro-Line Power Supply, 85 to 250 VAC source, 400 mA max outMLPS1000
+24 VDC Micro-Line Power Supply, 85 to 250 VAC source, 200 mA max outMLPS2000
1
GeneralMeterSpecificationS
SFCRD200
1. DISPLAY: 8 digit LCD 0.46" (11.7 mm) high digitsCUB5R000: Reflective LCD with full viewing angleCUB5B000: Transmissive LCD with selectable red or green LED backlight,
viewing angle optimized. Display color change capability with output state when using an output module.
2. POWER: Input voltage range is +9 to +28 VDC with short circuit and input polarity protection. Must use an RLC model MLPS or an NEC Class 2 or Limited Power Source (LPS) rated power supply.
3. COUNTER DISPLAYS:Counter A: 8-digits, enabled in all count modes
Display Range: -9999999 to 99999999Overflow Indication: Display flashes “Cnt OVEr”
Counter B: 7-digits, enabled in Dual Counter Mode or batch counting
Display Designator: “b” to the left side of the displayDisplay Range: 0 to 9999999 (positive count only)Overflow Indication: Display flashes “bCntOVEr”
Maximum Count Rates: 50% duty cycle
Without setpoint option card: 20 KHz (all count modes)With setpoint option card: 20 KHz for any count mode except Dual Counter
4. RATE DISPLAY: 6-digits, may be enabled or disabled in any count mode
Display Designator: “R” to the left side of the displayDisplay Range: 0 to 999999Over Range Display: “R OLOLOL”Maximum Frequency: 20 KHzMinimum Frequency: 0.01 HzAccuracy: ±0.01%
5. COUNT/RATE SIGNAL INPUTS (INPA and INP B):Input A: DIPswitch selectable to accept pulses from a variety of sources.
See Section 2.0 Setting the DIP Switches for Input A specifications.
Input B: Logic signals only
Trigger levels: VIL = 0.7 V max; VIH = 2.4 V min; VCurrent sinking: Internal 10KΩ pull-up resistor to +9 to 28 VDC
MAX
= 28 VDC
Filter (LO Freq.): Damping capacitor provided for switch contact bounce.
Limits input frequency to 50 Hz and input pulse widths to 10 msec min.
6. USER INPUT (USR): Programmable input. Connect to input common (INPCOMM) to activate function. Internal 10KΩ pull-up resistor to +9 to 28 VDC.
Threshold Levels: VIL = 0.7 V max; VIH = 2.4 V min; VResponse Time: 5 msec typ.; 50 msec debounce (activation and release)
= 28 VDC
MAX
7. MEMORY: Nonvolatile E2PROM memory retains all programming parameters and count values when power is removed.
Refer to EMC Installation Guidelines for additional information.
12. WEIGHT: 3.2 oz (100 g)
2
optionalpluG-incardS
PANEL GASKET
BEZEL
PANEL
MOUNTING SCREW
NUT FASTENER
MOUNTING CLIP
ADDING OPTION CARDS
The CUB5 meters can be fitted with optional output cards and/or serialcommunications cards. The details for the plug-in cards can be reviewed in thespecification section below. The plug-in cards, that are sold separately,can beinstalled initially or at a later date.
WARNING: Disconnect all power to the unit before installing
Plug-in card.
SINGLE RELAY OUTPUT CARD (One setpoint only)
Type: Single FORM-C relay
Isolation To Sensor & User Input Commons: 1400 Vrms for 1 min.
Turn On Time: 4 msec. max.Turn Off Time: 4 msec. max.
DUAL SINKING OUTPUT CARD (One or two setpoints)
Type: Non-isolated switched DC, N Channel open drain MOSFET
Current Rating: 100 mA max.
1.0 inStallinGtheMeter
INSTALLATION
The meter meets NEMAType 4X/IP65 requirements when properly installed. The unit is intended to be mounted into an enclosed panel. Prepare the panel cutout to the dimensions shown. Remove the panel latch from the unit. Slide the panel gasket over the rear of the unit to the back of the bezel. The unit should be installed fully assembled. Insert the unit into the panel cutout.
While holding the unit in place, push the panel latch over the rear of the unit so that the tabs of the
V
: 0.7 V @ 100 mA
DS ON
V
: 30 VDC
DS MAX
Offstate Leakage Current: 0.5 mA max.
RS485 SERIAL COMMUNICATIONS CARD
Type: RS485 multi-point balanced interface (non-isolated)Baud Rate: 300 to 38.4kData Format: 7/8 bits; odd, even, or no parityBus Address: 0 to 99; max 32 meters per lineTransmit Delay: Selectable, 2 msec min. or 50 msec min.
RS232 SERIAL COMMUNICATIONS CARD
Type: RS232 half duplex (non-isolated)Baud Rate: 300 to 38.4kData Format: 7/8 bits; odd, even, or no parity
USB PROGRAMMING CARD
Type: USB virtual comms portConnection: Type BBaud Rate: 300 to 38.4kUnit Address: 0 to 99
panel latch engage in the slots on the case. The panel latch should be engaged in the farthest forward slot possible. To achieve a proper seal, tighten the latch screws evenly until the unit is snug in the panel (Torque to approx. 28 to 36 in-oz [0.202 to 0.26 N-m]). Do not over-tighten the screws.
INSTALLATION ENVIRONMENT
The unit should be installed in a location that does not exceed the operating temperature and provides good air circulation. Placing the unit near devices that generate excessive heat should be avoided.
The bezel should only be cleaned with a soft cloth and neutral soap product. Do NOTuse solvents. Continuous exposure to direct sunlight may accelerate the aging process of the bezel.
Do not use tools of any kind (screwdrivers, pens, pencils, etc.) to operate the keypad of the unit.
2.0 SettinGthedip SwitcheS
To access the switches, remove the rear cover of the meter as described below. A bank of 4 switches is located in the upper right hand corner. After setting the switches, install any optional plug-in cards before replacing the rear cover (see next section).
Warning: Exposed line voltage exists on the circuit boards. Remove
all power to the meter and load circuits before accessing inside of the meter.
REMOVE/REPLACE THE REAR COVER
To remove the rear cover, locate the cover locking tab below the 2nd and 3rd input terminals. To release the tab, insert a small, flat blade screwdriver between the tab and the plastic wall below the terminals. Inserting the screwdriver will provide enough pressure to release the tab locks. To replace the cover, align the cover with the input terminals and press down until the cover snaps into place.
SETTING THE INPUT DIP SWITCHES
before applying power.
SWITCH 1
SWITCH 2
SWITCHES 3 and 4
+.025
2.68
-.000
+.8
(68 )
-.0
The meter has four DIP switches for Input A and Input B that must be set
LOGIC: Input A trigger levels VIL = 1.25 V max.;
VIH = 2.75 V min.; V
MAG:200 mV peak input sensitivity; 100 mV
hysteresis; maximum input voltage: ±40 Vpeak (28 Vrms); Must also have SRC switch ON. (Not recommended with counting applications.)
SNK.: Adds internal 7.8 KΩ pull-up resistor to +9 to
28 VDC, I
SRC.: Adds internal 3.9 KΩ pull-down resistor,
7.2 mA max. @ 28 VDC max.
HI Frequency: Removes damping capacitor and allows max. frequency. LO Frequency: Adds a damping capacitor for switch contact bounce. Limits
input frequency to 50 Hz and input pulse widths to 10 msec.
MAX
= 3.8 mA.
MAX
= 28 VDC
1.30
(33 )
+.024
-.000
+.6
-.0
InputASRC.
InputAMAG.
InputALO Freq.
ON
1
2
3
SNK.
Logic
HI Freq.
Factory Setting
Input B LO Freq.
4
HI Freq.
3
+9-28 VDC
PWR COMMON
3.0 inStallinGpluG-incardS
The Plug-in cards are separately purchased option cards that perform specific functions. The cards plug into the main circuit board of the meter. After installing the cards, replace the rear cover before wiring the meter.
ECEON
Comms or
Programming
Card
Locking Tab
4132
Setpoint Card
4.0 wirinGtheMeter
WIRING OVERVIEW
Electrical connections are made via screw-clamp terminals located on the back of the meter. All conductors should conform to the meter’s voltage and current ratings. All cabling should conform to appropriate standards of good installation, local codes and regulations. It is recommended that the power supplied to the meter (DC or AC) be protected by a fuse or circuit breaker.
Strip the wire, leaving approximately 0.3" (7.5 mm) bare lead exposed (stranded wires should be tinned with solder.) Insert the lead under the correct screw-clamp terminal and tighten until the wire is secure. (Pull wire to verify tightness.) Each terminal can accept up to one #14 AWG (2.55 mm) wire, two #18 AWG (1.02 mm), or four #20 AWG (0.61 mm).
EMC INSTALLATION GUIDELINES
Although Red Lion Controls Products are designed with a high degree of immunity to Electromagnetic Interference (EMI), proper installation and wiring methods must be followed to ensure compatibility in each application. The type of the electrical noise, source or coupling method into a unit may be different for various installations. Cable length, routing, and shield termination are very important and can mean the difference between a successful or troublesome installation. Listed are some EMI guidelines for a successful installation in an industrial environment.
1. A unit should be mounted in a metal enclosure, which is properly connected
to protective earth.
2. Use shielded cables for all Signal and Control inputs. The shield connection
should be made as short as possible. The connection point for the shield
depends somewhat upon the application. Listed below are the recommended
methods of connecting the shield, in order of their effectiveness.
a. Connect the shield to earth ground (protective earth) at one end where the
unit is mounted.
b. Connect the shield to earth ground at both ends of the cable, usually when
the noise source frequency is over 1 MHz.
3. Never run Signal or Control cables in the same conduit or raceway with AC
power lines, conductors, feeding motors, solenoids, SCR controls, and
heaters, etc. The cables should be run through metal conduit that is properly
grounded. This is especially useful in applications where cable runs are long
CAUTION:The Plug-in cards and main circuit board contain static
sensitive components. Before handling the cards, discharge static charges from your body by touching a grounded bare metal object. Ideally, handle the cards at a static controlled clean workstation. Also, only handle the cards by the edges. Dirt, oil or other contaminants that may contact the cards can adversely affect circuit operation.
REMOVE/REPLACE THE REAR COVER
To remove the rear cover, locate the cover locking tab below the 2nd and 3rd input terminals. To release the tab, insert a small, flat blade screwdriver between the tab and the plastic wall below the terminals. Inserting the screwdriver will provide enough pressure to release the tab locks. To replace the cover, align the cover with the input terminals and press down until the cover snaps into place.
and portable two-way radios are used in close proximity or if the installation
is near a commercial radio transmitter. Also, Signal or Control cables within
an enclosure should be routed as far away as possible from contactors,
control relays, transformers, and other noisy components.
4. Long cable runs are more susceptible to EMI pickup than short cable runs.
5. In extremely high EMI environments, the use of external EMI suppression
devices such as Ferrite Suppression Cores for signal and control cables is
effective. The following EMI suppression devices (or equivalent) are
recommended:
Fair-Rite part number 0443167251 (RLC part number FCOR0000)Line Filters for input power cables:
6. To protect relay contacts that control inductive loads and to minimize radiated
and conducted noise (EMI), some type of contact protection network is
normally installed across the load, the contacts or both. The most effective
location is across the load.
a. Using a snubber, which is a resistor-capacitor (RC) network or metal oxide
varistor (MOV) across an AC inductive load is very effective at reducing EMI and increasing relay contact life.
b. If a DC inductive load (such as a DC relay coil) is controlled by a transistor
switch, care must be taken not to exceed the breakdown voltage of the transistor when the load is switched. One of the most effective ways is to place a diode across the inductive load. Most RLC products with solid state outputs have internal zener diode protection. However external diode protection at the load is always a good design practice to limit EMI. Although the use of a snubber or varistor could be used.RLC part numbers: Snubber: SNUB0000Varistor: ILS11500 or ILS23000
7. Care should be taken when connecting input and output devices to the
instrument. When a separate input and output common is provided, they
should not be mixed. Therefore a sensor common should NOT be connected
to an output common. This would cause EMI on the sensitive input common,
which could affect the instrument’s operation.
Visit RLC’s web site at http://www.redlion.net/emi for more information on EMI guidelines, Safety and CE issues as they relate to Red Lion Controls products.
4.1 POWER WIRING
DC Power
+9 to +28 VDC: +VDCPower Common: -VDC
INP COMM
USR
-
+
4.2 USER INPUT WIRING
Sinking Logic
INP COMMUSR
INP A
INP B
The user input of the meter is internally pulled up to +9 to +28 Vwith 10 K resistance. The input is active when it is pulled low (<1.0V).
4
Connect external switching device between the
}
User Input terminal and Input Common.
USR
INP COMM
PWR COMMON
INP B
INP A
+9-28 VDC
4.3 INPUT WIRING
CO
61
CAUTION: Power common (PWR COMMON) is NOT isolated from input common (INP COMM). In order to preserve the safety of the meter
application, the power common must be suitably isolated from hazardous live earth referenced voltage; or input common must be at protective earth ground potential. If not, hazardous voltage may be present at the Signal or User Inputs and input common terminals. Appropriate considerations must then be given to the potential of the input common with respect to earth ground; and the common of the plug-in cards with respect to input common.
Magnetic Pickup
Input A
INP B
INP COMM
USR
INP A
ON
1
2
*
4
3
PWR COMMON
MAGNETIC PICKUP
+9-28 VDC
Current Sinking Output
Input A
INP B
INP COMM
USR
INP A
ON
1
*4*
3
2
PWR COMMON
+9-28 VDC
NPNO.C.
Switch or Isolated Transistor; Current Sink
Input A
INP B
USR
INP COMM
ON
**
1
423
PWR COMMON
Switch position is application dependent.
INP A
+9-28 VDC
AC Inputs From Tach Generators, Etc.
Input A
INP B
INP COMM
USR
INP A
ON
1
2
**
43
PWR COMMON
Resistor to Limit Currentto 2.5 mA MAX.
AC
+9-28 VDC
Current Sourcing Output
Input A
INP B
INP A
USR
PNPO.C.
+9-28 VDC
ON
1
*4*
3
2
PWR COMMON
INP COMM
Switch or Isolated Transistor; Current Source
Input A
INP COMM
USR
INP B
INP A
ON
**
1
43
2
PWR COMMON
+9-28 VDC
Two Wire Proximity, Current Source
Input A
INP COMM
INP B
USR
INP A
ON
*
*
1
4
3
2
PWR COMMON
2.2 k Ω
+9-28 VDC
Interfacing With TTL
Input A
INP COMM
INP B
INP A
USR
ON
1
*
4
3
2
PWR COMMON
+9-28 VDC
+5 V
COMMON
Current Sink Output; Quad/Direction
USR
INP COMM
INP B
INP A
ON
1
3
4
2
PWR COMMON
Shaded areas not recommended for counting applications.
+9-28 VDC
4.4 SETPOINT (OUTPUT) WIRING
SINGLE SETPOINT RELAY PLUG-IN CARD
COM
N.O.
N.C.
DUAL SETPOINT N-FET OPEN DRAIN PLUG-IN CARD
COM
OSNK1
OSNK2
4.5 SERIAL COMMUNICATION WIRING
SERIAL COMMUNICATIONS PLUG-IN CARD
ELECTRICAL CONNECTIONS
COM
N.O.
N.C.
ELECTRICAL CONNECTIONS
OSNK 1(2)
(30 V MAX.)
M
Note: Output Common is not isolated from DC Power Common. Load must
be wired between OSNK terminal and V+ of the load supply.
4.6 USB PROGRAMMING
USB PROGRAMING PLUG-IN CARD
N/C
COMM
N/C
A+
B-
2
534
61
RS485
RJ11 CONNECTOR PIN OUTS
N/C
N/C
TX
5
RS232
COMM
43
COMM
2
N/C
RX
5
5.0 reviewinGthefrontButtonSanddiSplay
SELRST
KEYDISPLAYMODE OPERATIONENTERING PROGRAM MODEPROGRAMMING MODE OPERATION
SELIndex display through enabled valuesPress and hold for 2 seconds to activateStore selected parameter and index to next parameter
RSTResets count display(s) and/or outputs
Advances through the program menu/Increments selected parameter value or selection
OPERATING MODE DISPLAY DESIGNATORS
“R” - To the left of the display is the rate value.
- Counter A has no designator.
Pressing the SEL button toggles the meter through the selected displays. If display scroll is enabled, the display will toggle automatically every four seconds between
the rate and count values.
“b” - To the left of the display is the Counter B value (dual count or batch).
“1” and “2” - Indicates setpoint 1 and 2 output status.
6.0 proGraMMinGtheMeter
DISPLAY
MODE
SEL
NO
Input Setup
Pro
Parameters
RST
SELSELSELSEL
1-INPUt
PROGRAMMING MODE ENTRY (SEL KEY)
It is recommended all programming changes be made off line, or before installation. The meter normally operates in the Display Mode. No parameters can be programmed in this mode. The Programming Mode is entered by pressing and holding the SEL key. If it is not accessible then it is locked by either a security code, or a hardware lock.
MODULE ENTRY (SEL & RST KEYS)
The Programming Menu is organized into separate modules. These modulesgroup together parameters that are related in function. The display will alternatebetween Pro and the present module. The RST keyis used to select the desiredmodule. The displayed module is entered by pressing the SEL key.
MODULE MENU (SEL KEY)
Each module has a separate module menu (which is shown at the start of each module discussion). The SELkey is pressed to advance to a particular parameter to be changed, without changing the programming of preceding parameters. After completing a module, the display will return to Pro NO. Programming may continue by accessing additional modules.
SELECTION / VALUE ENTRY
For each parameter, the display alternates between the present parameter andthe selections/value for that parameter. The RST key is used to move through theselections/values for that parameter. Pressing the SELkey, stores and activates thedisplayed selection/value. This also advances the meter to the next parameter.
For numeric values, press the RST key to access the value. The right hand most digit will begin to flash. Pressing the RSTkey again increments the digit by one or the user can hold the RSTkey and the digit will automatically scroll. The SEL key will advance to the next digit. Pressing and holding the SEL key will enter the value and move to the next parameter.
Rate SetupParameters
2-rAtE
OVERVIEW
PROGRAMMING MENU
Display and Front
Panel Key
Parameters
3-dSPLAY
PROGRAMMING MODE EXIT (SEL KEY)
The Programming Mode is exited by pressing the SEL key with Pro NO
displayed. This will commit any stored parameter changes to memory and return the meter to the Display Mode. (If power loss occurs before returning to the Display Mode, verify recent parameter changes.)
PROGRAMMING TIPS
It is recommended to start with Module 1 for counting or Module 2 for rate.When programming is complete, it is recommended to record the parameterprogramming and lock out parameter programming with the user input orprogramming security code.
FACTORY SETTINGS
Factory settings may be completely restored in Module 3. This is useful when encountering programming problems.
ALTERNATING SELECTION DISPLAY
In the explanation of the modules, the following dual display with arrows will appear. This is used to illustrate the display alternating between the parameter on top and the parameter’s factory setting on the bottom. In most cases, selections and values for the parameter will be listed on the right.
Setpoint
Output
Parameters
4-SEtPt
Indicates Program Mode Alternating Display
Parameter
INP A-b
Cnt ud
Factory Settings are shown.
Parameters
SerialSetup
SEL
5-SEriAL
Selection/Value
6
6.1 Module 1 - inputSetupparaMeterS(1-INPUt)
1-INPUt
SEL
INP A-b
Count
Mode
Shaded area selections only apply when Counter B is enabled (Dual Counter
mode or batch counter).
INP A-b
Select the count mode that corresponds with your application. The input actions are shown in the boxes below. For simple counting applications, it is recommended to use Count with Direction for the count mode. Simply leave the direction input unconnected.
DISPLAYMODE
Cnt ud
RAtE Cnt
dUAL Cnt qUAd 1 qUAd 2 qUAd 4 Add Add Add Sub
Note: The Rate indicator signal is derived from Input A in all count modes.
CntA dP
Counter A
Decimal Point
Cnt ud
Count with Direction
Rate/Counter
Dual Counter
Quadrature x1
Quadrature x2
Quadrature x4
2 Input Add/Add
2 Input Add/Subtract
CntAScF
Counter A
Scale Factor
COUNT MODE
Cnt ud qUAd 1 Add Add
RAtE CntdUAL Cnt
CntArStCntA Ld
Counter A
Reset Action
qUAd 2 Add Sub qUAd 4
CntAdir
Counter A
PARAMETER MENU
Count
Direction
Counter A
Count Load
Value
INPUT B ACTIONINPUT AACTION
Counter ADirectionCounter A
Counter AAddRate only
Counter B AddCounter AAdd
Quad ACount A
Quad ACount A
Quad ACount A
Counter AAddCounter AAdd
Counter ASubtractCounter AAdd
Dual Count
Dual Count or Batch
CntbbAt
Counter B
Batch Count
Enable
CntbdP
Decimal Point
CmtA Ld
Counter A resets to this value if Reset to Count Load action is selected.
Cmtb bAt
The Counter B batch count function internally counts the number of output activations of the selected setpoint(s). The count source for the batch counter can be SP1, SP2 or both. Batch counting is available in all count modes except Dual Counter, which uses an external input signal for Counter B. This parameter only appears if a Setpoint Output option card is installed.
Cntb dP
This selects the decimal point position for Counter B. The selection will also
affect Counter B scale factor calculations.
Counter B
Only
CntbScFRStP-UP
Counter B
Scale Factor
COUNTER A COUNT LOAD VALUE
Counter Reset
at Power-up
USErINP
User Input
Function
00000500
-9999999 to 99999999
COUNTER B BATCH COUNT ENABLE
NO
COUNTER B DECIMAL POSITION
NOSP2
SP1SP1-2
0
or Batch
Only
USErASN
User Input Assignment
0.00000.000
0.000000.0000.0
Pro
COUNTER A DECIMAL POSITION
CntA dP
This selects the decimal point position for Counter A. The selection will also
affect Counter A scale factor calculations.
CmtA ScF
The number of input counts is multiplied by the scale factor to obtain the desired process value. A scale factor of 1.0000 will result in the display of the actual number of input counts. (Details on scaling calculations are explained at the end of this section.)*
CmtA rSt
to 2Ero
When Counter A is reset, it returns to Zero or Counter A Count Load value. This reset action applies to all Counter A resets, except a setpoint generated Counter Auto Reset programmed in Module 4.
CmtA dir
Reverse (rEV) switches the normal Counter A count direction shown in the Count Mode parameter chart.
0
COUNTER A SCALE FACTOR
00.0001 to 99.9999
01.0000
COUNTER ARESET ACTION
COUNTER A COUNT DIRECTION
to 2Eroto CtLd
NOrrEV
NOr
0.00000.000
0.000000.0000.0
COUNTER B SCALE FACTOR
Cntb ScF
The number of input or batch counts is multiplied by the scale factor to obtain the desired process value. A scale factor of 1.0000 will result in the display of the actual number of input or batch counts. (Details on scaling calculations are explained at the end of this section.)*
RSt P-UP
The selected counter(s) will reset at each meter power-up.
* For value entry instructions, refer to selection/value entry in the Programming
The Meter section.
7
01.0000
COUNTER RESET AT POWER-UP
NO
00.0001 to 99.9999
NO
yES
Count bNO
both A-bCount A
Point
Enable
Display Value
Update Time
Input Value
Update Time
SCALING FOR COUNT INDICATION
The CUB5’s scale factor is factory set to 1, to provide one count on the display for each pulse that is input to the unit. In many applications, there will not be a one-to-one correspondence between input pulses and display units. Therefore, it is necessary for the CUB5 to scale or multiply the input pulses by a scale factor to achieve the desired display units (feet, meters, gallons, etc.)
The Count Scale Factor Value can range from 00.0001 to 99.9999. It is important to note that the precision of a counter application cannot be improved by using a scale factor greater than one. To accomplish greater precision, more pulse information must be generated per measuring unit. The following formula is used to calculate the scale factor.
Scale Factor =
Number of Pulses
WHERE:
Desired Display Units: Count display units acquired after pulses that occurred.
Number of Pulses: Number of pulses required to achieve the desired
Decimal Point Position:
0 = 1
0.0 = 10
0.00 = 100
0.000 = 1000
0.0000 = 10000
0.00000 = 100000
EXAMPLE: The counter display is used to indicate the total number of feet
used in a process. It is necessary to know the number of pulses for the desired
units to be displayed. The decimal point is selected to show the resolution in
hundredths.
Scale Factor =
Number of Pulses
Given that 128 pulses are equal to 1 foot, display total feet with a one-hundredth resolution.
Scale Factor =
128
Scale Factor = 0.007812 x 100
Scale Factor = 0.7812
Desired Display Units
display units.
Desired Display Units
1.00x 100
x Decimal Point Position
x Decimal Point Position
USER INPUT FUNCTION
USEr INP
NO
Pro Loc
Inhibit
rESEtStorE
Stor-rStd-SELECt
d-LEVEL
d-COLOr
Print
Prnt-r5t
rESEt-1rESEt-2
rESEt-12
Note: *indicates Edge Triggered function. Other functions are Level Active
(maintained)
USEr ASN
Count A
The User Input Assignment is only active when Counter B is enabled and the
User Input performs a Reset, Inhibit or Store function on one or both counters.
NO
MODEDISPLAY
No Function
Program Mode Lock-out
Inhibit
Maintained Reset
Store
Store and Reset
Display Select *
Display Intensity Level *
Backlight Color *
Print Request
Print and Reset *
Setpoint 1 Reset *
Setpoint 2 Reset *
Setpoint 1 and 2 Reset *
USER INPUT ASSIGNMENT
DESCRIPTION
User Input disabled.
See Programming Mode Access chart. (Module 3)
Inhibit counting for the selected counter(s).
Level active reset of the selected counter(s).
Freeze display of selected counter(s) while allowing counts to accumulate internally.
Edge triggered reset of the selected counter(s) after storing the count.
Advance once for each activation
Increase intensity one level for each activation. (backlight version only)
Change backlight color with each activation (backlight version only)
Serial transmit of the active parameters selected in the Print Options (Module 5)
Same as Print Request followed by amomentary reset of the selected counter(s).
Reset Setpoint 1 output
Reset Setpoint 2 output
Reset Setpoint 1 and 2 outputs
both A-bCount bCount A
6.2 Module 2 - rateSetupparaMeterS(2-rAtE)
2-rAtE
SEL
RAtEEnbRAtEdP
Rate
Module 2 is the programming for the rate parameters. For maximum input
frequency, Rate Enable should be set to NO when not in use. When set to NO, the remaining rate parameters are not accessible. The rate value is shown with an annunciator of “R” in the Display Mode.
RATE ENABLE
RAtE Enb
RAtE dP
This selects the decimal point position for the rate display and any setpoint
value assigned to rate. This parameter does not affect rate scaling calculations.
YES
RATE DECIMAL POINT
O
Rate Decimal
YESNO
PARAMETER MENU
RAtEdSP
Rate Scaling
RAtEINPLO-Udt
Rate Scaling
0.00000.000
0.000000.0000.0
HI-Udt
Rate Low
RATE SCALING DISPLAY VALUE
RAtE dSP
Enter the desired Rate Display Value for the Scaling Point.*
RAtE INP
Enter the corresponding Rate Input Value for the Scaling Point.*
*For value entry instructions, refer to selection/value entry in the Programming
The Meter section.
001000
RATE SCALING INPUT VALUE
01000.0
Rate High
0 to 999999
0.1 to 99999.9
Pro
8
SCALING FOR RATE INDICATION
To scale the rate, enter a Scaling Display value with a corresponding Scaling Input value. These values are internally plotted to a display value of 0 and input value of 0.0 Hz. A linear relationship is formed between these points to yield a rate display value that corresponds to the incoming input signal rate. The meter is capable of showing a rate display value for any linear process.
SCALING CALCULATION
If a display value versus input signal (in pulses per second) is known, then those values can be entered into Scaling Display (RAtE dSP) and Scaling Input (RAtE INP). No further calculations are needed.
If only the number of pulses per ‘single’ unit (i.e. # of pulses per foot) is known, then it can be entered as the Scaling Input value and the Scaling Display value will be entered as the following:
RATE PER
Second1# of pulses per unit
Minute60# of pulses per unit
Hour3600# of pulses per unit
NOTES:
1. If # of pulse per unit is less than 10, then multiply both Input and Display values by 10.
2. If # of pulse per unit is less than 1, then multiply both Input and Display values by 100.
3. If the Display value is raised or lowered, then Input value must be raised or lowered by the same proportion (i.e. Display value for per hour is entered by a third less (1200) then Input value is a third less of # of pulses per unit). The same is true if the Input value is raised or lowered, then Display value must be raised or lowered by the same proportion.
4. Both values must be greater than 0.0.
EXAMPLE:
1. With 15.1 pulses per foot, show feet per minute in tenths. Scaling Display = 60.0 Scaling Input = 15.1.
2. With 0.25 pulses per gallon, show whole gallons per hour. (To have greater accuracy, multiply both Input and Display values by 10.) Scaling Display = 36000 Scaling Input = 2.5.
DISPLAY (RAtE dSP)INPUT (RAtE INP)
INPUT FREQUENCY CALCULATION
The meter determines the input frequency by summing the number of falling edges received during a sample period of time. The sample period begins on the first falling edge. At this falling edge, the meter starts accumulating time towards Low Update and High Update values. Also, the meter starts accumulating the number of falling edges. When the time reaches the Low Update Time value, the meter looks for one more falling edge to end the sample period. If a falling edge occurs (before the High Update Time value is reached), the Rate display will update to the new value and the next sample period will start on the same edge. If the High Update Time value is reached (without receiving a falling edge after reaching Low Update Time), then the sample period will end but the Rate display will be forced to zero. The High Update Time value must be greater than the Low Update Time value. Both values must be greater than 0.0. The input frequency calculated during the sample period, is then shown as a Rate value determined by the scaling calculation.
RATE LOW UPDATE TIME
LO-Udt
The Low Update Time is the minimum amount of time between display updates for the rate display. Values of 0.1 and 0.2 seconds will update the display correctly but may cause the display to appear unsteady.
HI-Udt
The High Update Time is the maximum amount of time before the rate display is forced to zero. (For more explanation, refer to RateValueCalculation.) The High Update Time mustbe higher than the Low Update Time and higher than the desired slowest readable speed (one divided by pulses per second). The factory setting of 2.0, will force the display to zero for speeds below 0.5 Hz or a pulse every 2 seconds.
The yES selection allows the SELbutton to toggle through the enabled
displays.
FRONT PANEL COUNTER RESET ENABLE (RST)
RSt Enb
The yES selection allows the RSTbutton to reset the selected counter(s). The
shaded selections are only active when Counter B is enabled (Dual Count modeor batch counter).
d-ScroLL
The yES selection allows the display to automatically scroll through the
enabled displays. Each display is shown for 4 seconds.
d-COLOr
Enter the desired display color, red or green. This parameter is active for
backlight units only.
DISPLAY INTENSITY LEVEL (BACKLIGHT UNIT ONLY)
d-LEVEL
Enter the desired Display Intensity Level (1-5). The display will actively dim
or brighten as levels are changed. This parameter is active for backlight units only.
yES
YES
DISPLAY SCROLL ENABLE
NO
DISPLAY COLOR (BACKLIGHT UNIT ONLY)
rEd
5
Front Panel
Counter
Reset Enable
NOyES
yES NO NO
NOyES
6rnrEd
1 to 5
Display Scroll
Enable
Count ACount b
PARAMETER MENU
Backlight Unit Only
d-COLOrd-LEVEL
Display
Color
both A-b
dSPLAy
Pro
Pro CodEFACt SEt
Display
Intensity
Level
Pro CodE
The Security Code determines the programming mode and the accessibility
of programming parameters. This code can be used indepentently or along with the Program Mode Lock-out (Pro Loc) selection in the User Input Function parameter (Module 1).
Two programming modes are available. Full Programming mode allows all unit parameters to be viewed and modified. Quick Programming mode permits only user selected values to be modified, but allows direct access to these values without having to enter Full Programming mode.
Entering a Security Code from 1-99 enables Quick Programming mode, and displays a sublist to select what values appear in the Quick Programming menu. All applicable values set to YES in the sublist will be accessible in Quick Programming. The sublist includes Setpoint values (SP1 VAL, SP2 VAL), Output Time-out values (SP1 tOUt, SP2 tOUt), Counter A Count Load value (CntA Ld) and the Display Intensity Level (d-LEVEL) for backlight units.
Programming any Security Code other than 0, requires this code to be entered at the Pro CodEprompt in order to access Full Programming mode. Quick Programming mode, if enabled, is accessed before the Pro CodE prompt.
USER INPUT
FUNCTION
not Pro Loc
Pro Loc
* Entering Code 222 allows access regardless of security code.
CodE UEr
Select YESto momentarily display the meter software version before advancingto the next parameter. The software version is also displayed at power-up.
Programming
Security
Code
PROGRAMMING SECURITY CODE
000
USER INPUT
STATE
______
Active
SOFTWARE VERSION DISPLAY
NO
CodE UEr
Software
Version
Display
0 to 999
SECURITY
CODE
0
1-99
100-999
0
1-99
100-999
0-999Not Active
NOyES
Load Factory
Default
Settings
MODE WHEN “SEL”
KEY IS PRESSED
Quick
Programming
Pro CodE prompt
Programming
Lock
Quick
Programming
Pro CodE prompt
FULL PROGRAMMING
MODE ACCESS
Immediate AccessFull Programming
After Quick Programming
with correct code entry
at Pro CodE prompt *
With correct code entry at
Pro CodE prompt *
No Access
No Access
With correct code entry at
Pro CodE prompt *
Immediate AccessFull Programming
LOAD FACTORY DEFAULT SETTINGS
FACt SEt
The yESselection will return the meterto the factory default settings. The meter will display rESEtand then return to Pro, at which time all settings have been changed.
10
yESNO
MO
6.4 Module 4 - SetpointoutputparaMeterS(4-SEtPt)
4-SEtPt
SEL
SPt SEL
Setpoint
Select
SPn P-UP
Setpoint Output
Power-up
State
The Setpoint Output Parameters are only active when an optional Setpoint Output Module is installed in the meter. Some parameters in the menu will not appear depending on the Setpoint Assignment and Setpoint Output Action. The Setpoint Parameter Availability chart below illustrates this.
SP2 Only
SP2 EnbSPn ASNSPn ACtSPntOUtSPn VALSPn OUtSPn LIt
Setpoint 2
Enable
SPn tYPE
Setpoint
Boundary
Type
Setpoint
Assignment
SPn StbY
Setpoint Standby
Operation
PARAMETER MENU
Setpoint
Output
Action
SPn AUtOSPn ChC
Counter
Auto Reset
Setpoint
Output
Time-out
SETPOINT SELECT
SPt SEL
Select the Setpoint Output to be programmed, starting with Setpoint 1. The "n" in the following parameters reflects the chosen Setpoint number. After Setpoint 1 is completely programmed, the display returns to SPt SEL. Repeat steps for Setpoint 2 if both Setpoints are used in the application.
Select NO to exit the Setpoint programming module. The number of Setpoints available is dependent on the Setpoint option module installed.
NO
SP2SP1NO
SETPOINT 2 ENABLE (SP2 Only)
SP2 Enb
Select YES to enable Setpoint 2 and access the setup parameters. If NO is selected, the unit returns to SPt SEL and Setpoint 2 is disabled.
NO
YESNO
PPrroo
Setpoint
Value
SP1 OnlySP2 Only
SP1 OFF2SP2 OFF1
SP1 Output
Off at SP2
Output
SP2 Output
Off at SP1
Output
Setpoint
Output Logic
SPn rSt
Setpoint
Output Reset
with Manual
Reset
SETPOINT OUTPUT ACTION
SPn ACt
The parameter selects the action of the Setpoint Output as described in the
chart. Boundary output action is not applicable for Counter B assignment.
Change Display Color w/ Output StateYesYesYesYesYesYes
SETPOINT PARAMETER AVAILABILITY
COUNTER ASSIGNMENT (A or B) *
TIMED OUT
BOUNDARY
t-OUt
YesNoNoYesNoNo
bOUNd
LATCH
LAtCH
TIMED OUT
t-OUt
RATE ASSIGNMENT
BOUNDARY
bOUNd
LATCH
LAtCH
11
SETPOINT OUTPUT TIME-OUT
COUNTER AUTO RESET
SPn tOUt
This parameter is only active if the Setpoint Action is set to time out (t-OUt).
Enter the value in seconds that the Setpoint output will be active, once the Setpoint Value is reached.
SPn VAL
00000100
Enter the desired Setpoint value. To enter a negative setpoint value,
increment digit 8 to display a “-” sign (Counter A only).
SPn OUt
Normal (NOr) turns the output “on” when activated and “off” when
deactivated. Reverse (rEV) turns the output “off” when activated and “on” when deactivated.
0.01 to 599.99 seconds
001.00
SETPOINT VALUE
SETPOINT OUTPUT LOGIC
Count A:Count B:
Rate:
NOr
SETPOINT ANNUNCIATOR
-9999999 to 99999999
0 to 99999990 to 999999
NOrrEV
SPn AUtO
This parameter automatically resets the counter to which the setpoint is
assigned (SPn ASN) each time the setpoint value is reached. The automatic reset can occur at output start, or at output end if the Setpoint Output Action is programmed for timed output mode. The Reset-to-Count Load selections (“CtLd-”) only apply to Counter A assignment. This reset may be different from the Counter A Reset Action selected in Module 1.
SELECTIONACTION
2Ero-StrCtLd-Str2Ero-End
CtLd-End
SETPOINT 1 OUTPUT OFF AT SETPOINT 2 (SP1 Only)
SP1 OFF2
This parameter will deactivate Setpoint 1 output at the Start or End of
Setpoint 2 output (O1 off at O2). The “-End” setting only applies if Setpoint 2 Output Action is programmed for timed output.
NO
No Auto Reset.
NO
Reset to Zero at the start of output activation.
Reset to Count Load value at the start of output activation.
Reset to Zero at the end of output activation (timed out only).
Reset to Count Load value at the end of output activation (timed out only).
NOOut2-StrOut2-End
CtLd-Str@2Ero-StrNOCtLd-End 2Ero-End
NO
SPn LIt
Normal (NOr) displays the setpoint annunciator when the corresponding
output is “on”. Reverse (rEV) displays the setpoint annunciator when the output is “off”.
SPn P-UP
SAVE will restore the output to the same state it was at before the meter was
powered down. ON will activate the output at power up. OFFwill deactivate the output at power up.
SPn tYPE
High Acting Boundary Type activates the output when the assigned display
value (SPn ASN) equals or exceeds the Setpoint value. Low Acting activates the output when the assigned display value is less than or equal to the Setpoint.
SPn StbY
NOrrEV
NOr
SETPOINT OUTPUT POWER-UP STATE
OFF
SETPOINT BOUNDARY TYPE
HI-ACtLO-ACt
HI-ACt
SETPOINT STANDBY OPERATION
NOYES
NO
SAVEONOFF
SETPOINT 2 OUTPUT OFF AT SETPOINT 1 (SP2 Only)
SP2 OFF1
This parameter will deactivate Setpoint 2 output at the Start or End of
Setpoint 1 output (O2 off at O1). The “-End” setting only applies if Setpoint 1 Output Action is programmed for timed output.
SETPOINT OUTPUT RESET WITH MANUAL RESET
SPn rSt
Selecting YES causes the Setpoint output to deactivate (reset) when the
Setpoint Assigned Counter is reset. The counter reset can occur by the RSTbutton, User Input, Counter Reset at Power-up or a serial Reset Counter command.
This output reset will not occur when the Assigned Counter is reset by a
Setpoint generated Counter Auto Reset.
CHANGE DISPLAY COLOR WITH OUTPUT STATE
SPn ChC
This parameter enables the backlight CUB5 to switch the backlight color when
the output state changes. This parameter is only active for the backlight version.
NO
YES
NO
Out1-EndOut1-StrNO
NOYES
YESNO
This parameter only applies to Low Acting Boundary Type setpoints. Select
YESto disable a Low Acting Setpoint at power-up, until the assigned display
value crosses into the output “off” area. Once in the output “off” area, the Setpoint will then function per the description for Low Acting Boundary Type.
The Serial Setup Parameters are only active when one of the optional serial communication/programming cards is installed in the meter.
Refer to the CUB5USB bulletin for details on the CUB5 USB programming and programming requirements. This section replaces the bulletin shipped with the RS232 and RS485 serial communications plug-in cards. Discard the separate bulletin when using those serial plug-in cards with the CUB5B and CUB5R.
BAUD RATE
bAUd
Set the baud rate to match that of other serial communications equipment. Normally, the baud rate is set to the highest value that all of the serial communications equipment is capable of transmitting and receiving.
dAtA
Select either 7- or 8-bit data word length. Set the word length to match the other serial communications equipment on the serial link.
9600
7-bit
PARITY BIT
12003002400600
DATA BIT
8-bit7-bit
48009600
PARAMETER MENU
PAritYAddrAbbr
Meter
Address
1920038400
Pro
Prnt OPt
Abbreviated
Printing
Prnt OPt
This parameter selects the meter values transmitted in response to a Print Request. Aprint request is also referred to as a block print because more than one parameter can be sent to a printer or computer as a block.
Selecting YESdisplays a sublist for choosing the meter parameters to appear in the print block. All active parameters entered as YES in the sublist will be transmitted during a block print. Parameters entered as NO will not be sent.
The “Print All” (Prnt ALL) option selects all meter values for transmitting (YES), without having to individually select each parameter in the sublist.
Note: Inactive parameters will not be sent regardless of the print option setting. For example, Counter B or Scale Factor B will only be sent if Counter B is enabled (Dual Counter mode or batch count). Likewise, the Setpoint value(s) will not be sent unless an optional setpoint card is installed in the meter.
DISPLAYDESCRIPTION
Count ACount b
RAtECntA ScFCntb ScF
sSP1
SP2
CntA Ld
Options
PRINT OPTIONS
NO
Counter A
Counter B
Rate Value
Scale Factor A
Scale Factor B
Setpoint 1
Setpoint 2
Counter A Count Load
COPY
Copy Program
Settings
YESNO
FACTORYSETTING
YES
NONONONONONONO
MNEMONIC
CTA
CTB
RTE
SFA
SFB
SP1
SP2
CLD
PAritY
This parameter only appears when the Data Bit parameter is set to a 7-bit data word length. Set the parity bit to match that of the other serial equipment on the serial link. The meter ignores parity when receiving data and sets the parity bit for outgoing data. If parity is set to NO, an additional stop bit is used to force the frame size to 10 bits.
Addr
Enter the serial node address. With a single unit, an address is not needed and a value of zero can be used (RS232 applications). Otherwise, with multiple bussed units, a unique address number must be assigned to each meter. The node address applies specifically to RS485 applications.
Abbr
This parameter determines the formatting of data transmitted from the meter in response to a Transmit Value command or a Block Print Request. Select NOfor a full print transmission, consisting of the meter address, mnemonics, and parameter data. Select YES for abbreviated print transmissions, consisting of the parameter data only. This setting is applied to all the parameters selected in the PRINT OPTIONS. (Note: If the meter address is 0, the address will not be sent during a full transmission.)
NO
Odd
METER ADDRESS
0 to 99
00
ABBREVIATED PRINTING
YESNO
NO
EVENOdd
COPY PROGRAM SETTINGS
COPY
This parameter is used to copy all the program settings from one CUB5 meter directly to another CUB5 meter, through the serial communications cards (RS232 or RS485). The USB programming card cannot be used for the copy procedure. No PC connection or additional software is required. Copying program settings eliminates the need for repetitive programming when multiple meters use identical settings.
NO
NOYES
Copy Requirements:
To copy program settings from one meter to another requires the following:
1. Both meters must have the same software version (Version 3.1 or later). The
version is displayed during the meter power-up sequence, or in Module 3 at
the Software Version Display parameter. (See Module 3 for details)
2. The meter receiving the program settings (receiver) must have the Baud Rate
set to 9600 baud. Since this is the factory default setting, a new meter will
arrive ready for copying. The meter sending the program settings (master)
should be set to the desired Baud Rate for the application (if different than
9600). This Baud Rate setting will then be copied to the receiver.
Copy Connections:
To connect the meters for copying, install a serial communications card of the same type into each meter (RS232 or RS485). Connect the meters using the proper cable listed in the chart.
TYPEDESCRIPTIONPART NUMBER
RS232CBLRLC02
RS485CBLRLCS2
Copy Cable RS232 10’ (RJ12-RJ12)
Copy Cable RS485 10’ (RJ12-RJ12)
13
Copy Procedure:
1. Connect the master and receiver using the appropriate copy cable.
2. Apply power to the meters. The receiving meter must be operating in the normal display mode (not programming mode).
3. On the master meter, enter programming mode and proceed to the Copy Program Settings parameter in Module 5. Select YES to begin copying.
4. During the copy process (~ 2 sec.), the master meter displays an upload message (UP-LOAd) while the receiver displays a download message (dn-LOAd). This indicates successful communication between the master and receiver. If the receiver message is not displayed, be sure the proper cable is connected.
5. When copying is complete, the receiver displays the power-up sequence and returns to normal operating mode, programmed with all the same settings as the master meter. The master remains at the COPY prompt, ready to connect another receiver for copying.
MASTER
UP-LOAd
SELRST
RECEIVER
dn-LOAd
SELRST
Sending Serial Commands and Data
When sending commands to the meter, a string containing at least one command character must be constructed. A command string consists of a command character, a value identifier, and numerical data (if writing data to the meter) followed by a command terminator character, * or $.
Command Chart
NotesDescriptionCommand
Node (meter)
N
Address Specifier
Transmit Value
T
(read)
Value Change (write)V
ResetR
Block Print Request
P
(read)
Register Identification Chart
IDValue DescriptionMNEMONIC
ACounter ACTAT, V, R8 digit positive/7 digit
BCounter BCTBT, V, R7 digit, positive only
CRateRTET6 digit, positive only
DScale Factor ASFAT, V6 digit, positive only
EScale Factor BSFBT, V,6 digit, positive only
FSetpoint 1
(Reset Output 1)
GSetpoint 2
(Reset Output 2)
HCounter ACount
Load Value
Command String Construction
The command string must be constructed in a specific sequence. The meter does not respond with an error message to illegal commands. The following procedure details construction of a command string:
1. The first 2 or 3 characters consist of the Node Address Specifier (N) followed
by a 1 or 2 character node address number. The node address number of the
meter is programmable. If the node address is 0, this command and the node
address itself may be omitted. This is the only command that may be used in
conjunction with other commands.
2. After the optional address specifier, the next character is the command character.
3. The next character is the register ID. This identifies the register that the
command affects. The P command does not require a register ID character. It
prints all the active selections chosen in the Print Options menu parameter.
4. If constructing a value change command (writing data), the numeric data is
sent next.
5. All command strings must be terminated with the string termination characters
* or $. The meter does not begin processing the command string until this
character is received. See Command Response Time section for differences in
meter response time when using the * and $ terminating characters.
Address a specific meter. Must be followed by one or two digit node address. Not required when node address = 0.
Read a register from the meter. Must be followed by a register ID character.
Write to register of the meter. Must be followed by a register ID character and numeric data.
Reset a count value or setpoint output. Must be followed by a register ID character
Initiates a block print output. Registers in the print block are selected in Print Options.
Applicable Commands
SP1T, V, Rper setpoint Assignment,
SP2T, V, Rper setpoint Assignment,
CLDT, V8 digit positive/7 digit
Transmit Details (T and V)
negative (with minus sign)
same as Counter or Rate
same as Counter or Rate
negative (with minus sign)
Command String Examples:
1. Node address = 17, Write 350 to the Setpoint 1 valueString: N17VF350*
2. Node address = 5, Read Counter A, response time of 50 msec minString: N5TA*
4. Node address = 31, Request a Block Print Output, response time of 2 msec minString: N31P$
Transmitting Data to the Meter
Numeric data sent to the meter must be limited to transmit details listed in the Register Identification Chart. Leading zeros are ignored. Negative numbers must have a minus sign. The meter ignores any decimal point and conforms the number to the scaled resolution. (For example: The meter’s scaled decimal point position is set for 0.0 and 25 is written to a register. The value of the register is now 2.5. In this case, write a value of 250 to equal 25.0).
Note: Since the meter does not issue a reply to value change commands, follow
with a transmit value command for readback verification.
Receiving Data From The Meter
Data is transmitted from the meter in response to either a transmit command (T), a block print request command (P) or a User Input print request. The response from the meter is either a full field transmission or an abbreviated transmission, depending on the selection chosen in Module 5.
Full Field Transmission
ByteDescription
1, 22 byte Node Address field [00-99]
3<SP> (Space)
4-63 byte Register Mnemonic field
7-1812 byte data field; 10 bytes for number, one byte for sign,
one byte for decimal point
19<CR> (carriage return)
20<LF> (line feed)
21<SP>* (Space)
22<CR>* (carriage return)
23<LF>* (line feed)
* These characters only appear in the last line of a block print.
The first two characters transmitted are the meter address. If the address assigned is 0, two spaces are substituted. A space follows the meter address field. The next three characters are the register mnemonic, as shown in the Register Identification Chart.
The numeric data is transmitted next. The numeric field (bytes 7 to 18) is 12 characters long. When a requested counter or rate value exceeds the meter’s display limits, an * (used as an overflow character) replaces a space in byte 7. Byte 8 is always a space.
The remaining ten positions of this field consist of a minus sign (for negative values), a floating decimal point (if applicable), and eight positions for the requested value. The data within bytes 9 to 18 is right-aligned with leading spaces for any unfilled positions.
The end of the response string is terminated with a <CR> and <LF>. After the last line of a block print, an extra <SP>, <CR> and <LF> are added to provide separation between the print blocks.
14
Abbreviated Transmission
ByteDescription
1-1212 byte data field, 10 bytes for number, one byte for
sign, one byte for decimal point
13<CR> (carriage return)
14<LF> (line feed)
15<SP>* (Space)
16<CR>* (carriage return)
17<LF>* (line feed)
* These characters only appear in the last line of a block print.
The abbreviated response suppresses the node address and register ID,
leaving only the numeric part of the response.
Meter Response Examples:
1. Node address = 17, full field response, Counter A = 87517 CTA 875 <CR><LF>
2. Node address = 0, full field response, Setpoint 1 = -250.5SP1 -250.5<CR><LF>
3. Node address = 0, abbreviated response, Setpoint 1 = 250, last line of block
print
250<CR><LF><SP><CR><LF>
Command Response Time
The meter can only receive data or transmit data at any one time (half-duplex operation). During RS232 transmissions, the meter ignores commands while transmitting data, but instead uses RXD as a busy signal. When sending commands and data to the meter, a delay must be imposed before sending another command. This allows enough time for the meter to process the command and prepare for the next command.
At the start of the time interval t1, the computer program prints or writes the string to the com port, thus initiating a transmission. During t1, the command characters are under transmission and at the end of this period, the command terminating character (* or $) is received by the meter. The time duration of t1is dependent on the number of characters and baud rate of the channel.
t1 = (10 times the # of characters) / baud rate
At the start of timeinterval t2, the meter starts the interpretation of the command and when complete, performs the command function. This time interval t2 varies. If no response from the meter is expected, the meter is ready to accept another command.
If the meter is to reply with data, the time interval t2 is controlled by the use of the command terminating character. The ‘*’ terminating character results in a response time of 50 msec. minimum. This allows sufficient time for the release of the sending driver on the RS485 bus. Terminating the command line with ‘$’results in a response time (t2) of 2 msec. minimum. The faster response time of this terminating character requires that sending drivers release within 2 msec. after the terminating character is received.
At the beginning of time interval t3, the meter responds with the first character of the reply. As with t1, the time duration of t3is dependent on the number of characters and baud rate of the channel. At the end of t3, the meter is ready to receive the next command.
t3 = (10 times the # of characters) / baud rate
The maximum serial throughput of the meter is limited to the sum of the times t1, t2 and t3.
Communication Format
Data is transferred from the meter through a serial communication channel. In serial communications, the voltage is switched between a high and low level at a predetermined rate (baud rate) using ASCII encoding. The receiving device reads the voltage levels at the same intervals and then translates the switched levels back to a character. The voltage level conventions depend on the interface standard. The table lists the voltage levels for each standard.
LOGICINTERFACE STATERS232*RS485*
1mark (idle)TXD,RXD; -3 to -15 Va-b < -200 mV
0space (active)TXD,RXD; +3 to +15 Va-b > +200 mV
* Voltage levels at the Receiver
Data is transmitted one byte at a time with a variable idle period between characters (0 to ∞). Each ASCII character is “framed” with a beginning start bit, an optional parity bit and one or more ending stop bits. The data format and baud rate must match that of other equipment in order for communication to take place. The figures list the data formats employed by the meter.
Character Frame Figure
Start Bit and Data Bits
Data transmission always begins with the start bit. The start bit signals the receiving device to prepare for reception of data. One bit period later, the least significant bit of the ASCII encoded character is transmitted, followed by the remaining data bits. The receiving device then reads each bit position as they are transmitted.
Parity Bit
After the data bits, the parity bit is sent. The transmitter sets the parity bit to a zero or a one, so that the total number of ones contained in the transmission (including the parity bit) is either even or odd. This bit is used by the receiver to detect errors that may occur to an odd number of bits in the transmission. However, a single parity bit cannot detect errors that may occur to an even number of bits. Given this limitation, the parity bit is often ignored by the receiving device. The CUB5 meter ignores the parity bit of incoming data and sets the parity bit to odd, even or none (mark parity) for outgoing data.
Stop Bit
The last character transmitted is the stop bit. The stop bit provides a single bit period pause to allow the receiver to prepare to re-synchronize to the start of a new transmission (start bit of next byte). The receiver then continuously looks for the occurrence of the start bit. If 7 data bits and no parity is selected, then 2 stop bits are sent from the meter.
NO REPLY FROM METER
Command
String
Transmission
ReadyReady
RESPONSE FROM METER
Ready
tt
1
t
1
Command
Terminator
Received
Meter
Response
Time
2
t
2
First
Character
of Reply
Transmission
Timing Diagram Figure
t
Reply
Time
Ready
3
15
cuB5 proGraMMinG QuicK overview
Counter B
Cntb ScF
Scale Factor
Only
Dual Count or Batch
Counter B
Cntb dP
Decimal Point
Enable
Counter B
Cntb bAt
Batch Count
Default
FACt SEt
Load Factory
Version
Software
CodE UEr
Settings
Display
Setpoint
Setpoint
SPn OUtSPn LIt
Backlight
Annunciator
Output Logic
Unit Only
SPn ChC
Color with
Change Display
Setpoint
Output Reset
Output State
Reset
with Manual
COPY
Settings
Copy Program
Press and hold SEL key to
enter Programming Mode.
SEL
Exit
End
CntA LdCntA rStCntA dir
CntA ScF
CntA dP
INP A-b
Programming
SEL
Value
Counter A
Count Load
Count
Direction
Counter A
Counter A
Reset Action
Counter A
Scale Factor
Counter A
Decimal Point
Mode
Count
or Batch
Dual Count
Only
User Input
Assignment
USEr ASN
Function
User Input
USEr INP
RSt P-UP
at Power-up
Counter Reset
SEL
Rate High
Update Time
HI-Udt
Rate Low
Update Time
LO-Udt
RAtE INP
Input Value
Rate Scaling
RAtE dSP
Rate Scaling
Display Value
Point
Rate Decimal
Rate
Enable
RAtE EnbRAtE dP
Security
Pro CodE
Programming
Display
Intensity
d-LEVEL
Backlight Unit Only
Color
Display
d-COLOr
Enable
d-ScroLL
Display Scroll
Counter
RSt Enb
Front Panel
SEL Enb
Front Panel
Display Select
SEL
Code
Level
SP2 Only
Reset Enable
Enable
SEL
Value
Setpoint
SPn VAL
Output
Setpoint
SPn tOUt
Output
Setpoint
Setpoint
SPn ASNSPn ACt
Assignment
Enable
Setpoint 2
SP2 Enb
Select
Setpoint
SPt SEL
Time-out
Action
SP2 OnlySP1 Only
SP2 OFF1SP1 OFF2SPn rSt
SPn AUtO
SPn tYPESPn StbY
SPn P-UP
Output
Off at SP1
SP2 Output
Prnt OPt
Output
Off at SP2
SP1 Output
Counter
Auto Reset
Standby
Setpoint
Abbr
Addr
Operation
PAritY
Type
Setpoint
Boundary
Power-up
Setpoint Output
dAtA
State
bAUd
SEL
Print
Options
Printing
Abbreviated
Meter
Address
Parity Bit
Data Bit
Rate
Baud
Pro
NO
RST
1-INPUt
RST
2-rAtE
RST
16
3-dSPLAY
RST
4-SEtPt
RST
5-SEriAL
RST
EN
This Datasheetis presentedbythemanufacturer
DE
Dieses Datenblattwirdvom Hersteller bereitgestellt