Spectrum SLC 500 Owner's Manual

50 khz counter /flowmeter input module

Advertisement

Quick Links

Owner'sGuide 0300181-06 Rev.H
SLC 500
50 KH
C
/
Z
OUNTER
F
I
M
LOWMETER
NPUT
ODULE
Catalog Numbers
1746sc-CTR4
1746sc-CTR8

Advertisement

Table of Contents
loading

Summary of Contents for Spectrum SLC 500

  • Page 1 Owner’sGuide 0300181-06 Rev.H ™ SLC 500 50 KH OUNTER LOWMETER NPUT ODULE Catalog Numbers 1746sc-CTR4 1746sc-CTR8...
  • Page 3 No patent liability is assumed by Spectrum Controls with respect to the use of any of the information, products, circuits, programming, or services referenced herein.
  • Page 5: Table Of Contents

    Contents Overview And Specifications ............7 General Features And Benefits......................7 Detailed Specifications ........................9 Table 1.1. Electrical specifications—module ....................9 Table 1.2. Physical specifications ........................10 Table 1.3. Environmental specifications ......................10 Installing And Wiring Your Module ..........11 Avoiding Electrostatic Damage......................
  • Page 6 Check each output channel’s configuration and status ......................39 Programming / Application Examples ......... 43 Sample Counter Configuration Simple Linear Counter (10,000 Limit): ..........................43 Ring Counter Sample ........................44 Sample Configuration Simple Ring Counter w/ Flags (20k Limit): ........................45 Using Preset Values with Extended Mode........................
  • Page 7: Overview And Specifications

    Chapter 1 Overview And Specifications The 1746sc-CTR4 and the 1746sc-CTR8 are 4 and 8 channel Counter/ Flow Meter modules. The modules are suitable for general purpose counter and flow meter applications that require a large number of input channels and high accuracy. The module supports both AC and DC input signal types.
  • Page 8: Detailed Specifications

    ™ SLC 500 50 KHz Counter / Flowmeter Input Module Increased Accuracy and Reliability ± ± The counter module offers 1 count accuracy and 1% or better frequency measurement accuracy. Programmable functions allow the user to define counter ranges and flags to accommodate process-specific requirements.
  • Page 9 Chapter 1: Overview And Specifications Vmax Input impedance 25K ohms Input Filter Digital Filter 50kHz (Default) Digital Filter 30kHz Analog Filter 15kHz Min Pulse Time DC mode External Enable/Disable Enable and Disable setup time = 20us Channel Update Time Counter Output Scaling OFF 5.6 (msec per channel) Rate Output...
  • Page 10 ™ SLC 500 50 KHz Counter / Flowmeter Input Module Data Format Counter mode Max Binary Value: -8,388,608 to +8,388,607 Rate mode Max Binary Value: -32,768 to +32,767 Isolation Channel to Rack 1000 VDC Continuous Optical & magnetic Channel to Channel...
  • Page 11: Installing And Wiring Your Module

    Chapter 2 Installing And Wiring Your Module Read this chapter to install and wire your module. This chapter covers: • avoiding electrostatic damage • determining power requirements • selecting a rack slot • inserting your module into the rack • wiring your module Important - For UL and CUL compliance, power and input/output (I/O) wiring must be in accordance with Class I, Division 2, wiring methods [Article 501-4 (b) of the National Electrical Code , NFPA 70] and in...
  • Page 12: Avoiding Electrostatic Damage

    ™ ControlLogix Counter Module The following documents contain information that may help you as you install and wire your module: • National Electrical Code, published by the National Fire Protection Association of Boston, MA • IEEE Standard 518-1977, Guide for the Installation of Electrical Equipment to Minimize Electrical Noise Inputs to Controllers from External Sources •...
  • Page 13: Determining Power Requirements

    Chapter 2: Installing And Wiring Your Module Determining Power Requirements The backplane of the system can provide both 5 Vdc and 24 Vdc power. The following table shows the maximum current consumed by your module when using these power sources: Table 2.1.
  • Page 14: Inserting Your Module Into The Rack

    POSSIBLE EQUIPMENT OPERATION Before installing or removing your module, always disconnect power from the SLC 500 system and from any other source to the module (in other words, don’t “hot swap” your module), and disconnect any devices wired to the module.
  • Page 15: Wiring Your Module

    Before wiring the terminal block, take some time to plan your system: • Ensure that the SLC 500 system is installed in a NEMA-rated enclosure and that the SLC 500 system is properly grounded. • Route the field wiring away from any other wiring and as far as possible from sources of electrical noise, such as motors, transformers, contactors, and ac devices.
  • Page 16 ™ ControlLogix Counter Module foil shield to their ground points. Connect only one end of the shield to the module. 2. At each end of the cable, strip some casing to expose the individual wires. 3. Trim the exposed signal wires to 2 in. lengths. Strip about 3/16 in. (about 5 mm) of insulation away to expose the end of each wire.
  • Page 17: Terminal Block Wiring

    Chapter 2: Installing And Wiring Your Module To guard against electrostatic damage and improve chassis grounding, connect one of the shield pins on the terminal block of your module to the chassis itself. 7. Repeat steps 1 through 6 for each channel on your module. A system may malfunction due to a change in its operating environment.
  • Page 18: Labeling And Re-Installing The Terminal Block (If It Is Removed)

    ™ ControlLogix Counter Module Labeling And Re- Installing The Terminal Block (if it is removed) The supplied label is mounted on the module door. This label helps ensure that the terminal block is wired correctly for the module. Once you have wired your module and properly labeled install the terminal block on your module: 1.
  • Page 19: Things To Consider Before Using Your Module

    Chapter 3 Things To Consider Before Using Your Module This chapter explains how the module and the SLC processor communicate through the processor’s I/O image tables. It also describes the module’s input filter characteristics. Topics discussed include: • module ID code •...
  • Page 20: Module Addressing

    ™ SLC 500 50 KHz Counter / Flowmeter Input Module Module Addressing The CTR-8 module uses 32 input and 32 output registers, and the CTR-4 module uses 16 input and 16 output registers. Both modules use Class III mode operation and cannot be used with Class I operation. The following memory map shows you how the SLC processor’s output and...
  • Page 21 Chapter 3: Things To Consider Before Using Your Module Output Image - Configuration Words Thirty-two (CTR-8) or sixteen (CTR-4) words of the SLC processor’s output image table are reserved for the module. For the CTR8, output image words 0-31 are used to configure input channels 0-7. For the CTR4, output image words 0-15 are used to configure input channels 0-4.
  • Page 22: Operating Modes

    ™ SLC 500 50 KHz Counter / Flowmeter Input Module Operating Modes The module’s operating mode determines the number of available counters and which inputs are attached to them. There are two operating modes and their input assignments are summarized in the table below.
  • Page 23 Chapter 3: Things To Consider Before Using Your Module Note: The X1 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.
  • Page 24: Gate Modes

    ™ SLC 500 50 KHz Counter / Flowmeter Input Module Gate Modes There are two methods to gate (start/stop) your counter, hardware and software. The counter’s gate/preset mode determines what, if any, gating is applied to the counter and what, if any, conditions will preset the counter to the preset value.
  • Page 25 Chapter 3: Things To Consider Before Using Your Module Input Response When a counter slot is disabled, the counter module continues to update its input image table. However, the SLC processor does not read input from a module that is disabled. Therefore, when the processor disables the counter module slot, the module inputs appearing in the processor table is not read.
  • Page 26 ™ SLC 500 50 KHz Counter / Flowmeter Input Module...
  • Page 27: Channel Configuration, Data, And Status

    Chapter 4 Channel Configuration, Data, and Status Read this chapter to: • configure each input channel • set user-defined scale limits • monitor each input channel • check each output channel’s configuration and status Configuring Each Input Channel The Data Register format uses Class 3 operation. Class 3 mode allows the module to use 32 input words and 32 output words of data, as listed below.
  • Page 28 ™ SLC 500 50 KHz Counter / Flowmeter Module Figure 4.1 - Configuration Word Channel 0 Configuration Word Channel 0 Preset / M Factor Channel 0 Limit / K Factor Channel 0 Rate Limit / R Factor Channel 1 Configuration Word...
  • Page 29 Chapter 4: Channel Configuration, Data, and Status Figure 4.2 - Configuration Word Settings Channel 0 Configuration Word 0 = Start 00 = UniDirect 1 = Stop 01 = BiDirect 0=Standard 0 = Off 0 =Normal 10 = Quad x1 1=Extended 1 = Program 1 = On 11 = Quad x4...
  • Page 30 ™ SLC 500 50 KHz Counter / Flowmeter Module Reset Flags: (Configuration Bit 2) The reset flags command is performed when this bit is set. Reset flags affects the counter zero, counter limit and counter maximum flags (Status word bits 8, 6, and 5 respectively.) These particular flags remain high, regardless of the counter behavior, until a reset is performed.
  • Page 31 Chapter 4: Channel Configuration, Data, and Status Rate - Instant: When this bit is reset to “0” the rate detection circuit operates in “Instant” mode. Instant measurements are fast, in that they calculate a rate based on one cycle. However the accuracy of the measurement degrades as the input clock rate goes up to 50KHz, and any jitter within one cycle will be measured.
  • Page 32 ™ SLC 500 50 KHz Counter / Flowmeter Module Count Mode: (Configuration Bits 6-7) The Count Mode bit selects 1 of 4 types of counter operation. The Unidirectional counter mode is configured as an Up or Down counter. The module will support 8 unidirectional input channels. Every clock pulse increments the counter.
  • Page 33 Chapter 4: Channel Configuration, Data, and Status Stop on Limit: (Configuration Bit 9) This bit, when set, will hold the counter output at its limit value. When the counter counts to the limit value it will either rollover to zero, or hold its output at the limit value, until the Limit Flag is cleared.
  • Page 34: Output Register - Scale And Limit Data Values

    ™ SLC 500 50 KHz Counter / Flowmeter Module Counter Roll Under: (Configuration Bit 14) When the counter rolls under zero it can continue to count down into negative numbers, or it can start at the user defined preset value. When this bit is set to 0 the counter will continue to count down through zero into negative numbers.
  • Page 35 Chapter 4: Channel Configuration, Data, and Status Note: In extended count mode (counts up to +/- 8M) the preset will be multiplied by 256 internally such that a user preset of 1000 will result in a preset of 25600. This allows the preset value to cover the whole +/- 8 million count range.
  • Page 36 ™ SLC 500 50 KHz Counter / Flowmeter Module Rate Limit / R Factor: The rate limit function is used in the Normal operation mode. The Rate Limit represents a target maximum value for rate. When the rate value is greater then or equal to the rate limit value the Rate Limit flag bit will be set.
  • Page 37: Input Registers - Channel Data

    Chapter 4: Channel Configuration, Data, and Status Input Registers - Channel Data The channel data consists of 4 words, the lower counter data value, the upper counter data value, the rate data value and the channel status data. Table 4.4 - Data Word Addresses CTR8 CTR4 Scale/Limit Value...
  • Page 38 ™ SLC 500 50 KHz Counter / Flowmeter Module Counter Data, Low word: This input data register contains the lower word of the counter accumulator. This register is a signed16 bit word in binary 2’s complement format and will allow count values up to ±32K. This word is used in conjunction with the counter’s upper output word when in the extended...
  • Page 39: Check Each Output

    Chapter 4: Channel Configuration, Data, and Status Check each input channel’s configuration and status Channel Status Flags Figure 4.13 Channel Status Flags Address I:e.3 Channel 0 Status Word I:e.7 Channel 1 Status Word I:e.11 Channel 2 Status Word I:e.15 Channel 3 Status Word I:e.19 Channel 4 Status Word I:e.23...
  • Page 40 ™ SLC 500 50 KHz Counter / Flowmeter Module Counter Start/Stop Echo: (Status Bit 0) This bit echo’s the setting of the Counter Enable bit set in the channels control register. The counter enable bit allows the counter to continue to count up or down from its present value.
  • Page 41 Chapter 4: Channel Configuration, Data, and Status Counter Zero Flag: (Status Bit 8) The flag is set when the counter counts down through zero. Refer to the configuration word section of this chapter for a description of this flag’s operation. Max Rate Flag: (Configuration Bit 9) The max rate flag is set when the input rate exceeds its maximum range of 32,767kHz.
  • Page 42 ™ SLC 500 50 KHz Counter / Flowmeter Module...
  • Page 43: Programming / Application Examples

    Chapter 5 Programming / Application Examples Learning to configure your counter to meet your application requirements will require knowledge of counter configuration, ladder logic programming and data management. Read this chapter to familiarize yourself with how to use the advanced features of your module for: Sample Counter Configuration Simple Linear...
  • Page 44: Ring Counter Sample

    ™ SLC 500 50 KHz Counter / Flowmeter Module Note: If we change Configuration Bit 9 to 1 the counter will reach the limit and then hold its value until the Limit Flag is cleared. Then it will roll to 0, and continue counting to 10,000. Each time the limit is reached the flag must be reset before proceeding.
  • Page 45: Sample Configuration Simple Ring Counter W/ Flags (20K Limit)

    Chapter 5: Ladder Program Examples Sample Configuration Simple Ring Counter w/ Flags (20k Limit): This configuration for the counter module will allow the user to count from a minimum value of 0 to a limit value of 20,000 counts Each time a revolution has occurred the counter limit flag will be set.
  • Page 46: Using Preset Values With Extended Mode

    ™ SLC 500 50 KHz Counter / Flowmeter Module The above figure illustrates counting in a clockwise direction. Using Preset Values with Extended Mode The Counter Preset and Counter Limit functions are affected by the Count Size Configuration Bit 11. The default counter range is ±32K but may be extended to ±8M.
  • Page 47: Application: Meter Proving

    Chapter 5: Ladder Program Examples Rate Limit Flag = 10,000Hz * 2 = 20,000Hz Application: Meter Proving The 1746sc-CTR4/8 module provides a feature that allows the user to perform meter proving functions. A typical meter proving application would include two detector sensors that are located a fixed distance from each other within a section of pipe used specifically for meter proving.
  • Page 48: Application Note: Factor Data Errors

    ™ SLC 500 50 KHz Counter / Flowmeter Module The external enable line accommodates 5 Vdc, 12 Vdc and 24 Vdc signals and is pulled low internally. The counter input accommodates 5 Vdc, 12 Vdc, 24 Vdc and up to 75 Vac inputs.
  • Page 49 Chapter 5: Ladder Program Examples In order to clear the factored data 0 must be loaded into the Preset / K Factor, Limit / M Factor and Limit / R Factor registers. After entering 0 into these registers bit 15 of the module Configuration register must be toggled from 0 to 1 and then back to 0.
  • Page 50 ™ SLC 500 50 KHz Counter / Flowmeter Module...
  • Page 51: Testing Your Module

    • interpreting the LED indicators • interpreting I/O error codes • troubleshooting Before testing your module, test your SLC 500 system using the procedures described in your system’s Installation & Operation Manual. Inspecting Your Module You can prevent many potential problems by simply inspecting your analog module: 1.
  • Page 52: Disconnecting Prime Movers

    LED to illuminate. The most probable reasons for the LED not illuminating are: • The SLC 500 system is not receiving power from its power supply. • The rack slot where your module is located is defective.
  • Page 53: Interpreting The Led Indicators

    Chapter 6: Testing Your Module Interpreting The LED Indicators Your module has nine LEDs: eight channel status LEDs (numbered 0–7 for channels 0–7, respectively) and one module status LED. Figure 6.1. LED block CHANNEL CHANNEL STATUS STATUS MODULE MODULE CTR4 CTR8 Operation The module has 9 (5-CTR4) LED’s that indicate the following…...
  • Page 54: Codes

    ™ SLC 500 50 KHz Counter / Flowmeter Module Codes I/O error codes appear in word S:6 of the SLC processor status file. The first two digits of the error code identify the slot (in hexadecimal) with the error. The last two digits identify the I/O error code (in hexadecimal).
  • Page 55: Troubleshooting

    Is problem corrected? Non-fatal channel error, such Is problem as an invalid configuration corrected? word. Check the configuration Bit 14 word. Correct and Retry. set (1) Contact you local distributor or Contact you local Spectrum distributor or Controls. Spectrum Controls.
  • Page 56 ™ SLC 500 50 KHz Counter / Flowmeter Module ...continued from previous page. Module Status LED Both Count and Counter Mode is Frequency Mode Frequency not working. is not working. Modes Not Working Check K+M Reset K+M Fault Check F Scaling...
  • Page 57: Maintaining Your Module And Ensuring Safety

    The printed circuit boards of your module must be protected from dirt, oil, moisture, and other airborne contaminants. To protect these boards, install the SLC 500 system in an enclosure suitable for its operating environment. Keep the interior of the enclosure clean, and whenever possible, keep the enclosure door closed.
  • Page 58 50 KHz Counter / Flowmeter Input Module Standing Clear Of Machinery – When troubleshooting a problem with any SLC 500 system, have all personnel remain clear of machinery. The problem may be intermittent, and the machine may move unexpectedly. Have someone ready to operate an emergency stop switch.
  • Page 59: Declaration Of Conformity

    Appendix A Floating Point Rate Mode Read this appendix to: • configure rate for floating point mode • read input words to get data • use ladder logic to create floating point value Overview The floating point rate mode allows the user to monitor rate to a higher degree of accuracy.
  • Page 60 ™ SLC 500 50 KHz Counter / Flowmeter Module Input Registers - Channel Data The channel data consists of 4 words, the lower counter data value, the rate data high value, the rate data low value and the channel status data.
  • Page 61 Appendix A: Floating Point Rate Mode Setting the Rate Limit / R Factor: The R Factor function is used to activate the floating point mode. Setting the value to -1 activates this mode. Use Bit 15 in your channel configuration word to save the R factor in the modules non-volatile memory.
  • Page 62 ™ SLC 500 50 KHz Counter / Flowmeter Module Module status: Status remains the same as other modes. Information may be found in Chapter 4. Ladder Logic In order to create the floating point value it necessary to join the high and low rate data words.
  • Page 63 Appendix A: Floating Point Rate Mode...
  • Page 64 ™ SLC 500 50 KHz Counter / Flowmeter Module...
  • Page 65 ESD packaging (such as static-shielding / metallized bag or black conductive container). Spectrum Controls reserves the right to void the warranty on any unit that is improperly packaged for shipment. For further information or assistance, please contact your local distributor...
  • Page 66 The ENCOMPASS logo and SLC 500 are trademarks of Allen-Bradley Company, Inc. Copyright © 2000-2007, Spectrum Controls, Inc. All rights reserved. Printed in U.S.A. Specifications subject to change without notice. Publication 0300181-06 Rev. H February 2007 U.S.A. Headquarters Spectrum Controls Inc.

This manual is also suitable for:

1746sc-ctr41746sc-ctr8

Table of Contents