50 High Speed Counter Input Hardware Manual CONTROL MICROSYSTEMS SCADA products... for the distance Steacie Drive Telephone: 63-59-93 Kanata, Ontario Facsimile: 63-59-0 KK A9 Technical Support: -6-676 Canada -CONTROL
50 High Speed Counter Input Hardware Manual 000-005 Control Microsystems Inc. All rights reserved. Printed in Canada. Trademarks TeleSAFE, TelePACE, SmartWIRE, SCADAPack, TeleSAFE Micro6 and TeleBUS are registered trademarks of Control Microsystems Inc. All other product names are copyright and registered trademarks or trade names of their respective owners. Material used in the User and Reference manual section titled SCADAServer OLE Automation Reference is distributed under license from the OPC Foundation. 50 High Speed Counter Input Hardware Manual October 9, 007
Table of Contents OVERVIEW... 3 IMPORTANT SAFETY INFORMATION... 3 INSTALLATION... 5 3. Field Wiring... 5 3. Address Selection... 7 3.3 Operating Modes Selection... 3.3. Clear Counters on Power-Up... 3.3. Clear Counters on Read... 3.3.3 Quadrature Encoding... 3. De-Bounce Filter Selection... OPERATION AND MAINTENANCE... 9. Use with High Frequency Inputs... 9. Use with Mechanical Inputs... 9.3 Use with Optical Incremental Encoders... 9. LED Indicators... 0.5 Maintenance... 0.6 Troubleshooting... 0 5 SPECIFICATIONS... 6 APPROVALS AND CERTIFICATIONS... 3 Index of Figures Figure : Field Wiring Examples... 5 Figure : Optical Encoder Wiring Example... 6 Figure 3: Model 50 Address Switches... 7 Figure : Configuration Switches... 50 High Speed Counter Input Hardware Manual October 9, 007
Overview The Model 50 Digital Input module adds four high speed counter inputs to a 5000 Series I/O system. Up to sixteen 50 modules may be installed on an I/O bus to provide a total of 6 counter inputs. The counters are 3 bits wide, for a maximum count value of 996795. The 50 module operates with DC inputs ranging from 3 to volts. The counter inputs are optically isolated from the logic power and from each other. Input count rates up to 0 khz can be accommodated with no missing counts. De-bounce filters can be selected to prevent false counts when used with low speed mechanical contact inputs. The 50 module can be wired and configured for use with up to two quadrature output optical encoders. The 50 module saves the counter contents in an EEPROM during power failure. The 50 module can be configured to clear all counters upon power-up, or clear each counter when it is read. Four light emitting diodes on the Model 50 show the status of each of the inputs. The SmartWIRE, SCADAPack or TeleSAFE Micro6 controller module enables or disables the LEDs to control power consumption in solar powered or unattended applications. 50 High Speed Counter Input Hardware Manual October 9, 007 3
Important Safety Information Power, input and output (i/o) wiring must be in accordance with Class I, Division wiring methods Article 50- (b) of the National Electrical Code, NFPA 70 for installations in the U.S., or as specified in Section -J of the Canadian Electrical Code for installations within Canada and in accordance with the authority having jurisdiction. WARNING! EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR CLASS, DIVISION. WARNING! EXPLOSION HAZARD WHEN IN HAZARDOUS LOCATIONS, TURN OFF POWER BEFORE REPLACING OR WIRING MODULES. WARNING! EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NONHAZARDOUS. 50 High Speed Counter Input Hardware Manual October 9, 007
3 Installation The installation of the 50 module requires mounting the module on the 7.5mm by 35mm DIN rail and connecting the module to the system I/O Bus. Refer to the System Configuration Guide, at the beginning of this manual, for complete information on system layout, I/O Bus cable routing and module installation. 3. Field Wiring The 50 module provides four counter inputs. Individual counter inputs are wired to two poles of the eight pole terminal block. + 0 + + + 3 3 5 6 7 + 5 Volts + Volts + Volt Pulse O/P + 5 Volt Pulse O/P Figure : Field Wiring Examples 50 High Speed Counter Input Hardware Manual October 9, 007 5
LED Direction Indicators st Encoder nd Encoder CCW CW CCW CW 0 3 + 0 + + + 3 3 5 6 7 Note: Second Optical Encoder not shown. + 5 Volts B + A NC GND Bourns Rotary Optical Encoder Figure : Optical Encoder Wiring Example The 50 module accommodates DC inputs ranging from 3 to volts. Signal polarity must be observed. Connect the positive signal to the (+) input. Connect the negative signal to the (-) input. Figure : Field Wiring Examples and Figure : Optical Encoder Wiring Example show typical field wiring practices for several types of inputs. 5000 Series modules use screw termination style connectors for termination of field wiring. They accommodate solid or stranded wires from to AWG. The connector is removable. This allows module replacement without disturbing the field wiring. Leave enough slack in the wiring for the connector to be removed. CAUTION: Remove power before servicing unit. To remove the connector: 50 High Speed Counter Input Hardware Manual October 9, 007 6
Pull the connector upward from the board. Apply even pressure to both ends of the connector. To install the connector: Line up the pins on the module with the holes in the connector. Make sure all the pins line up properly. Push the connector onto the pins. Apply even pressure to both ends on the connector. 3. Address Selection The 5000 Series I/O bus will support a maximum of forty I/O (input/output) modules. 5000 Series I/O module types may be combined in any manner to the maximum supported by the controller used. The types of input and output modules available are: Digital Input modules Digital Output modules Analog Input modules Analog Output modules Counter Input modules Each type of I/O module, connected to the I/O bus, must have a unique I/O module address. Different types of I/O modules may have the same module address. The address range supported by the SmartWIRE, SCADAPack or TeleSAFE Micro6 controller module may restrict the I/O module address range. Refer to the controller manual for the maximum address supported. The four address switches labeled,,, and set the module address. To set the address: Open all four switches by pressing down the left side of Address SW. Close the switches that total the desired address. Figure 3: Model 50 Address Switches shows the switch settings for each of the 6 module addresses. 0 3 5 6 7 9 0 3 5 How to Set Address Switches Determine the module address. Press the side of the switches shown in gray above. Press this side to ignore switch value Press this side to add switch value Figure 3: Model 50 Address Switches 50 High Speed Counter Input Hardware Manual October 9, 007 7
3.3 Operating Modes Selection 3.3. Clear Counters on Power-Up The 50 module can retain or clear all counters upon power-up. The Clear On Power-up (COP) switch determines the operating mode (see Configuration Switches figure). To retain counters on power-up, open the COP switch by pressing down the left side. To clear counters on power-up, close the COP switch by pressing down the right side. 3.3. Clear Counters on Read The 50 module can retain or clear each counter when it is read. The Clear On Read (COR), switch determines the operating mode (see Figure : Configuration Switches). To retain counters when read, open the COR switch by pressing down the left side. To clear counters when read, close the COR switch by pressing down the right side. The clear counters on read should not be used with SmartWIRE controllers. 3.3.3 Quadrature Encoding The 50 module can be used with quadrature output optical encoders or as an pulse counter. The quadrature (QUAD) switch determines the operating mode (see Configuration Switches figure). To operate as four pulse count inputs, open the QUAD switch by pressing down the left side. To operate as two quadrature output optical encoder inputs, close the QUAD switch by pressing down the right side. 3. De-Bounce Filter Selection Mechanical contact inputs often exhibit switch bounce, which can cause multiple counts to be accumulated on each opening and closing of the switch contact. To prevent switch bounce from causing false counts, de-bounce filters (one for each input) should be engaged. To eliminate false counts, enable de-bounce filtering by pressing the right side of the switch. To count high frequency signals, disable de-bounce filtering by pressing the left side of the switch. Figure : Configuration Switches shows the locations of the switches. Address and Filter Switches Mode Switches Address Switches COR COP QUAD 0 3 Filter Switches How to Set Configuration Switches Determine the desired function. To enable the function, press the right side of the switch. To disable the function, press the left side of the switch. Figure : Configuration Switches 50 High Speed Counter Input Hardware Manual October 9, 007
Operation and Maintenance The model 50 counter module accumulates pulse inputs at frequencies up to 0 khz. Input pulse on and off times must be at least fifty microseconds in duration to be detected. The counters accumulate input pulses until the maximum count value of 996795 is reached. At the next input pulse, the counters will overflow and start counting again from zero. When power fails or the 5000 Series I/O System is reset, the 50 counter module saves the accumulated count values in an EEPROM. A minimum of 00,000 (typically,000,000) power failure and reset cycles can be accepted by the EEPROM. If the COP (Clear On Power-up) switch is open, the EEPROM is read and the count values are restored when power is restored or reset is removed. If the COP switch is closed, the counters will be cleared when power is restored or reset is removed. To automatically clear each counter when it is read by the controller, the COR (Clear On Read) switch should be closed. Unread accumulated counts will be saved in the EEPROM during power failure and will be restored upon power up if the COP switch is open.. Use with High Frequency Inputs When used with high frequency inputs, de-bounce filters must be disabled. The maximum count frequency is 0 khz. The minimum pulse low and pulse high width is 50 microseconds.. Use with Mechanical Inputs Mechanical contact inputs often exhibit switch bounce. The high frequency ringing caused by switch bounce can cause multiple counts to be accumulated on each opening and closing of the switch contact. To prevent switch bounce from causing false counts, de-bounce filters (one for each input) should be enabled. To enable de-bounce filters, close the appropriate filter switch. When de-bounce filtering is enabled, the maximum count frequency is 60 Hz. The minimum pulse low and pulse high width is.3 milliseconds..3 Use with Optical Incremental Encoders The 50 module can be used with quadrature output optical incremental encoders. Close the QUAD switch to select quadrature phase detection mode. When the QUAD switch is closed, all four inputs are dedicated for use with two optical encoders. If only one encoder is installed the remaining two inputs cannot be used as regular counters. Refer to Figure : Optical Encoder Wiring Example for an example of wiring to a Bourns Rotary Optical Encoder. This particular optical encoder has a -bit gray code. Channel A leads channel B by 90º (electrical) with clockwise rotation. The encoder is wired such that an electrical low output from the encoder will turn on the counter inputs. This results in channel B leading channel A. When wired as shown, counter 0 will increment for clockwise rotation and decrement for counterclockwise rotation. LED is on for clockwise rotation and LED 0 is on for counter-clockwise rotation. A second optical encoder uses inputs and 3. When wired in the same manner as shown, counter will increment for clockwise rotation and decrement for counter-clockwise rotation. LED is on for clockwise rotation and LED 3 is on for counter-clockwise rotation. 50 High Speed Counter Input Hardware Manual October 9, 007 9
. LED Indicators The 50 digital input module has one red status LED per counter input. This LED is on when the input voltage exceeds three volts DC. If the de-bounce filter is on, the input frequency must be 60 hertz or lower for the LED to illuminate. For ease of viewing, the LEDs use pulse stretching to allow pulses as brief as fifty microseconds to be observed. The SmartWIRE, SCADAPack or TeleSAFE Micro6 controller module, through the I/O bus, powers the LEDs. The LEDs can be disabled to conserve power. Refer to the controller manual for more information..5 Maintenance This module requires no routine maintenance or calibration. If the module is not functioning correctly, contact Control Microsystems Technical Support for more information and instructions for returning the module for repair..6 Troubleshooting Problem Input LED does not come on when input signal is applied. Counters are not retained when power is applied. Counters are not cleared when power is applied. Counts are missed from a high-frequency signal. Counts are missed from a low-frequency signal, with de-bounce switch closed. Multiple counts for each input pulse. Pulse counters are incorrect or decrement. Quadrature encoder counter is incorrect. Counts in controller database are usually zeroed. Action Check the LED POWER from the CPU module. Check the input signal at the termination block. Check the polarity of the signal. If high-frequency input signals are connected, open de-bounce switch. Open the COP switch. Close the COP switch. Open de-bounce switch. Check that the frequency of the signal is less than 0 khz. Check that the pulse length is longer than 50 microseconds. Check that the frequency of the signal is less than 60 Hz. Check that the pulse length is longer than.3 milliseconds. Close de-bounce switch. Open the QUAD switch. Open de-bounce switch. Open the COR switch. Open the COR switch. 50 High Speed Counter Input Hardware Manual October 9, 007 0
5 Specifications Disclaimer: Control Microsystems reserves the right to change product specifications without notice. For more information visit www.controlmicrosystems.com. Counters Count Length Over-Voltage Protection Input Voltage Range Input Current Input Logic Level Maximum Input Frequency Minimum Pulse High Width Minimum Pulse Low Width Isolation Addressing Configuration Switches Power Requirements Visual Indicators Field Terminations Dimensions Mounting Packaging 3 bits range is 0 to,9,967,95 Transient suppresser on each input Typical operating inputs 5 to volts. 3 volts minimum volts maximum ma typical 3mA maximum off to on threshold is typically volts 0 khz with filters off 5 khz with quadrature counters 60 Hz with de-bounce filters on 50 microseconds (µs) 00µs with quadrature counters.3 milliseconds with de-bounce filters 50 microseconds (µs) 00µs with quadrature counters.3 milliseconds with de-bounce filters 500 VAC input to input 500 VAC input to logic circuit DIP switch configurable de-bounce filter on/off, one per input COR (Clear counter On Read) COP (Clear On Power-up or reset) QUAD (Quadrature encoder operation) 5V @ 35mA all LEDs on 5V @ 5mA with LEDs disabled red LEDs LED on time stretched for easy viewing controlled by controller for power reduction pole, removable terminal block to AWG 5 amp contacts.5 inch (0 mm) wide.65 inch ( mm) high.75 inch ( mm) deep 7.5 x 35 DIN rail corrosion resistant zinc plated steel with black enamel paint 50 High Speed Counter Input Hardware Manual October 9, 007
Environment 5% RH to 95% RH, non-condensing 0 o C to 60 o C 0 o F to 0 o F 50 High Speed Counter Input Hardware Manual October 9, 007
6 Approvals and Certifications Safety Digital Emissions Immunity Declaration Non-Incendive Electrical Equipment for Use in Class I, Division Groups A, B, C and D Hazardous Locations. FCC Part 5, Subpart B, Class A Verification EN6000-6-: 00 Electromagnetic Compatibility Generic Emission Standard Part: Industrial Environment C-Tick compliance. Registration number N57. EN6000-6-: 999 Electromagnetic Compatibility Generic Standards Immunity for Industrial Environments This product conforms to the above Emissions and Immunity Standards and therefore conforms with the requirements of Council Directive 9/336/EEC (as amended) relating to electromagnetic compatibility and is eligible to bear the CE mark. The Low Voltage Directive is not applicable to this product. 50 High Speed Counter Input Hardware Manual October 9, 007 3