1756sc-CTR8 Counter Configuration
Use this tab to configure the Spectrum Controls 1756sc-CTR8 Counter Module.
On this tab, you can, for each counter channel:
- select a range type for the input signal
- select the mode of operation
- select the storage mode
- select a signal filter
- enable a gate filter
- enter the rate sample time
- enter a preset value
- enter a count limit value
- select count up and count down operations
- select rollover and rollunder operations
- enable and enter scaling factors
Tip
: The module’s configuration information is stored in the controller and the controller configures the module.Note
: The 1756sc-CTR8 Owner’s Guide, 0300199-01, which is available online by following the hyperlink on the Vendor tab, provides additional configuration information for parameters discussed in this help file.Note
: The symbol [C] indicates the parameter can be changed while operating.Range Type
This setting determines the threshold where the counter will begin to trigger. Select the range that is best suited to your sensor’s range. Note: Channels must be configured in pairs. (0,1) (2,3) (4,5) (6,7).
- AC 50mVpp threshold
- AC 200mVpp threshold
- 5V
- 12V/24V
Operational Mode
Choose the mode to be used to read incoming pulses to the module. Note: Channels must be configured in pairs. (0,1) (2,3) (4,5) (6,7). Choose from:
Unidirectional (Up)
With this configuration, the input increments in an upward direction. All 8 channels may be configured in the unidirectional mode. Every clock pulse will increment the counter on the rising edge.
Note
: The direction of the counter may be inverted by setting the Count Direction bit described in the Configuration chapter.Bidirectional (Up/Down)
The bidirectional counter requires 2 input channels. In this mode one channel is used as the counter input and the 2nd channel is used to determine the count direction. The counter will increment when the Direction Channel value is 0, and will decrement when the Counter Direction Channel value is 1.
X1 Quadrature Encoder
The quadrature mode requires 2 input channels. When a quadrature encoder is attached to an input channel pair, A and B, the count direction is determined by the phase angle between inputs A and B. If A leads B, the counter increments. If B leads A, the counter decrements. (The counter changes value only on one edge of input 1.) The counter increments once per quadrature cycle.
Note
: The Quadrature mode provides additional Anti-Jitter circuitry. This distinguishes between a valid quadrature sequence and an invalid sequence due to electrical noise or jitter. Jitter can occur if a quadrature encoder stops rotating right at an input sensor trip point. This can cause additional unwanted clock pulses. Quadrature mode can detect invalid transitions and filter these out.X4 Quadrature Encoder
Like the X1 quadrature encoder, the count direction is determined by the phase angle between inputs A and B. If A leads B, the counter increments. If B leads A, the counter decrements. However, the counter changes value on the rising and falling edges of inputs
Storage Mode [C]
Choose the mode to be used to store counts, as well as counter behavior, and the effect of gate behavior. Choose from:
- No StoreMode (default; no gate activity)
- Store and ContinueMode (on rising edge: store and continue count)
- Store, Wait, ResumeMode (on rising edge: store; on falling edge: resume count)
- Store, Reset, Wait, StartMode (on rising edge: store and reset to 0; on falling edge: start count)
- Store, Reset, StartMode (on rising edge: store, reset to 0, then start count)
Note
: The timing waveform shown on this tab changes as the selected mode changes.Signal Filters
Designates whether channel uses the analog filter
- 0 = do not use analog or digital filter
- 1 = use digital filter (25kHz)
- 2 = use both digital (25kHz) and analog (12kHz) filters
- 3 = use digital (25kHz), analog (12kHz), and debounce filter (30Hz)
Note
: The digital and analog filters are separate entities which are combined into the same tag on this module. The debounce filter debounces the input for 35 to 40msec after the input transitionsGate Filter
- 0 = No filter
- 1 = Debounce filter
The debounce filter debounces the input for 35 to 40msec after the input transitions.
Rate Sample
Set this value as a multiple of 10ms between 0 and 2000.
This becomes the integration time over which rate data is averaged.
Preset [C]
Designates the channel preset value. Module begins counting at this value.
IMPORTANT
: This value cannot be greater than the rollover value. The maximum value is 1677215 when scaling is off. When scaling is applied the maximum value is (1677215/K)*M or 1677215/K when M is not set ( M= 0).Count Limit [C]
Designates the channel rollover value.
The maximum value is 1677215 when scaling is off. When scaling is applied the maximum value is (1677215/K)*M or 1677215/K when M is not set ( M= 0).
Counting Up [C]
Also called "StopOnLimit”, this designates what the counter will do when it counts up to the count limit.
- 0 = roll-over
- 1 = stop at the limit
Counting Down [C]
Also called "StopOnZero”, this designates what the counter will do when it counts down to 0.
- 0 = roll-under
- 1 = stop at zero
Roll Over To [C]
Designates which value the counter will roll-over to:
- 0 = zero
- 1 = preset
Roll Under To [C]
Designates which value the counter will roll-under to:
- 0 = normal (max value)
- 1 = preset
Scaling
Enter the desired scaling factors:
K Factor [C]
The K scale factor is used for counter scaling. This allows users to
scale the counter output into more useful units
, like gallons per minute. When a non-zero Scale Factor value is set the scale calculation is always performed. A value of zero must be written to the Scale Factor to disable this feature. This counter value is divided by the K factor. K factors are positive numbers. Range is 0 to 1x10**32.R Factor [C]
The R scale factor can be used for
scaling of the output frequency
. The output frequency is divided by the R scale value. The frequency value is divided by the R factor. R factors must be positive numbers. A negative value will cause a configuration error. Range is 0 to 1x10**32.M Factor [C]
In Program Mode the data value in this register is used for scaling. The M scale factor is used for
meter calibration.
When a non-zero Scale Factor value is set the scale calculation is always performed. A value of zero must be written to the Scale Factor to disable this feature. The M factor value expressed as a floating point number. Range is 0 to 1x10**32. Most M factors will be within +- 5% of 1.0000.OK
Click this button to accept your edits on any tab and close the dialog.
Cancel
Click this button to cancel your edits on any tab and close the dialog.
Apply
Click this button to apply your edits on any tab and continue editing.
If:
- you are online in Program, Remote Program or Remote Run mode and,
- this controller is the owner controller and,
- you have changed the module ’s configuration in the software, when you click the Apply or the OK button, the information is automatically sent to the controller. The controller tries to send the information to the module (if the module’s connection is not inhibited). If you don’t click Apply, your changes are not sent to the controller.
Help
Click this button for help on this tab.
Provide Feedback