Multi-Channel High Speed Counter(Catalog Number 1746-HSCE2)User Manual
Publication 1746-UM002B-EN-P - August 20042 Summary of Changes
Publication 1746-UM002B-EN-P - August 20046-8 Application ExamplesLadder File 8 - HSCE20000S:115UB3:00UB3:01MOVMoveSource 0 0<Dest N11:0170&
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-9Ladder File 9 - HSCE2 Initialization RoutineProgramming ladder file 9 shows t
Publication 1746-UM002B-EN-P - August 20046-10 Application ExamplesData Table for N10 File (hexidecimal)Data Table for N11 File (decimal)Exampl
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-11addresses (e.g., I:1.0) have been replaced with block transfer data file add
Publication 1746-UM002B-EN-P - August 20046-12 Application ExamplesLadder File 8 Continued0001BT20:1ENENDNERBTWBlock Transfer WriteModule Type
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-13Ladder File 9 - HSCE2 Initialization RoutineProgramming ladder file 9 shows
Publication 1746-UM002B-EN-P - August 20046-14 Application ExamplesData Table for N10 File (hexidecimal)Data Table for N11 File (decimal)Exampl
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-155. The example assumes that the controller control block is in the HSCE2 out
Publication 1746-UM002B-EN-P - August 20046-16 Application ExamplesLadder File 8 - HSCE20000S:115MOVMoveSource 0 0<Dest B3:0 000000001100000
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-17Ladder File 8 ContinuedLadder File 9 - HSCE2 Initialization RoutineSee the l
1 Publication 1746-UM002B-EN-P - August 2004PrefaceRead this preface to familiarize yourself with the rest of the manual. This preface covers the foll
Publication 1746-UM002B-EN-P - August 20046-18 Application ExamplesData Table for N10 File (hexidecimal)Data Table for N11 File (decimal)Exampl
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-194. Data word N10:11 was changed from 000C (hex) to 001C (hex) to change the
Publication 1746-UM002B-EN-P - August 20046-20 Application ExamplesLadder File 8 ContinuedLadder File 9 - HSCE2 Initialization RoutineSee the l
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-21Ladder File 14 - Preset Change Subroutine0000O:115OTHERHSCE2_XMITI:115OTHERH
Publication 1746-UM002B-EN-P - August 20046-22 Application ExamplesData Table for N10 File (hexidecimal)Data Table for N11 File (decimal)Progra
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-23Example 6 - Retentive CountersThe 1746-HSCE2 configuration and count values
Publication 1746-UM002B-EN-P - August 20046-24 Application ExamplesLadder File 8 - HSCE20000S:115MOVMoveSource 0 0<Dest B3:0 000000001100000
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-25Ladder File 9 - HSCE2 Initialization RoutineSee the ladder logic from Exampl
Publication 1746-UM002B-EN-P - August 20046-26 Application Examples
1 Publication 1746-UM002B-EN-P - August 2004Appendix ASpecificationsGeneralOperating Temperature 0°C to +60°C (+32°F to +140°F)Storage Temperature -40
Publication 1746-UM002B-EN-P - August 20042 PrefaceRelated DocumentationThe table below provides a listing of publications that contain importa
Publication 1746-UM002B-EN-P - August 2004A-2 SpecificationsInputs A, B, and ZOutputs (sourcing)Input Voltage 5V dc 24V dcInput Voltage Range 4
Publication 1746-UM002B-EN-P - August 2004Specifications A-3On-State Current DeratingThroughput and Timing2.0 A1.5 A1.0 A0.5 A20˚C0˚C 40˚C 60˚C
Publication 1746-UM002B-EN-P - August 2004A-4 Specifications
1 Publication 1746-UM002B-EN-P - August 2004Appendix BConnecting a Differential EncoderThis appendix describes the wiring procedures for connecting a
Publication 1746-UM002B-EN-P - August 2004B-2 Connecting a Differential Encoder4. Look at the A input signal and its complement A signal. Which
1 Publication 1746-UM002B-EN-P - August 2004Appendix CModule Programming Quick ReferenceThe module programming blocks are duplicated below for your re
Publication 1746-UM002B-EN-P - August 2004C-2 Module Programming Quick ReferenceFigure C.3 Minimum/Maximum Count Value Block (see pages 4-13 to
Publication 1746-UM002B-EN-P - August 2004Module Programming Quick Reference C-3Figure C.6 Counter Control Block (see pages 4-23 to 4-28)15 14
Publication 1746-UM002B-EN-P - August 2004C-4 Module Programming Quick Reference
1 Publication 1746-UM002B-EN-P - August 2004Appendix DFrequently Asked QuestionsThis appendix presents some of the more commonly asked questions about
Publication 1746-UM002B-EN-P - August 2004Preface 3Conventions Used In This ManualThe following conventions are used throughout this manual:• B
Publication 1746-UM002B-EN-P - August 2004D-2 Frequently Asked QuestionsQ: Can I connect all of my outputs to the same output device?A: Any or
1 Publication 1746-UM002B-EN-P - August 2004Appendix EComparing 1746-HSCE2 to 1746-HSCE1746-HSCEHigh Speed Counter1746-HSCE2Multi-Channel High Speed C
Publication 1746-UM002B-EN-P - August 2004E-2 Comparing 1746-HSCE2 to 1746-HSCE
1 Publication 1746-UM002B-EN-P - August 2004GlossaryThe following terms and abbreviations are used throughout this manual. For definitions of terms no
Publication 1746-UM002B-EN-P - August 2004Glossary 2rate valueThe counts per second (Hz) value that the module reports to the processor.real ou
Publication 1746-UM002B-EN-P - August 2004IndexAabbreviations G-1acknowledge bits 4-2application errors 5-4counter overflow 5-4counter underflow 5-4in
Publication 1746-UM002B-EN-P - August 20042 IndexEEMC Directive 3-1encoder wiring 3-8–3-10errorsdiagnostic 5-2programming 5-2European Union 3-1
Publication 1746-UM002B-EN-P - August 2004Index 3module setup block 4-6, C-1debug mode selection bit 4-6error conditions 5-3interrupt enable bi
Publication 1746-UM002B-EN-P - August 20044 Indexstore/preset/hold/resume 2-7store/preset/start 2-7Ttemperature A-1terminal wiring 3-7throughpu
Publication 1746-UM002B-EN-P - August 20044 Preface
Publication 1746-UM002B-EN-P - August 2004 2Supersedes Publication 1746-UM002A-US-P - April 2000 Copyright © 2004 Rockwell Automation, Inc. All rights
1 Publication 1746-UM002B-EN-P - August 2004Chapter 1Module OverviewThis chapter contains the following:• multi-channel high-speed counter module over
Publication 1746-UM002B-EN-P - August 20041-2 Module OverviewInputsThe module features six high-speed differential inputs labeled ±A1, ±B1, ±Z1
Publication 1746-UM002B-EN-P - August 2004Module Overview 1-3Most programming parameters, except those in the Module Setup and Counter Configur
Publication 1746-UM002B-EN-P - August 20041-4 Module OverviewOperating ClassModule operation differs slightly based on the operating class. The
Publication 1746-UM002B-EN-P - August 2004Module Overview 1-5Hardware FeaturesThe module’s hardware features are illustrated below. Refer to Ch
Important User InformationBecause of the variety of uses for the products described in this publication, those responsible for the application and use
Publication 1746-UM002B-EN-P - August 20041-6 Module OverviewJumpersSix jumpers select the input voltages for the six inputs A1, B1, Z1, A2, B2
1 Publication 1746-UM002B-EN-P - August 2004Chapter 2Module OperationThe chapter contains information about:• operating modes• input configurations• g
Publication 1746-UM002B-EN-P - August 20042-2 Module OperationInput ConfigurationsInput configurations determine how the A and B inputs cause t
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-3Pulse/Internal DirectionWhen the Pulse/Internal Direction configuration is select
Publication 1746-UM002B-EN-P - August 20042-4 Module OperationX1 Quadrature EncoderWhen a quadrature encoder is attached to inputs A and B, the
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-5Figure 2.4 Quadrature Encoder ConfigurationsInput FrequencyInput frequency is det
Publication 1746-UM002B-EN-P - August 20042-6 Module OperationGate/Preset ModesA counter’s gate/preset mode determines what, if any, gating is
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-7Store/Hold/ResumeThe count value, captured when the module detects a positive tra
Publication 1746-UM002B-EN-P - August 20042-8 Module OperationGate and Preset LimitationsBecause only the Z inputs are used for external gating
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-9Counter TypesEach counter can be programmed to operate as a linear or ring counte
i Publication 1746-UM002B-EN-P - August 2004Table of ContentsPrefaceWho Should Use This Manual . . . . . . . . . . . . . . . . . . . . . . P-1Purpos
Publication 1746-UM002B-EN-P - August 20042-10 Module OperationRing CounterFigure 2.6 demonstrates ring counter operation. In ring counter oper
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-11Additional checks ensure that rates below 1 Hz, which are not supported by the m
Publication 1746-UM002B-EN-P - August 20042-12 Module OperationRange ControlThe module can be programmed to use either counter or rate ranges t
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-13Figure 2.8 Count Range with Ring CounterRangeStart ValueStop ValueOutputs(1)(1)
Publication 1746-UM002B-EN-P - August 20042-14 Module OperationRate RangeIn a rate range, the outputs are active if the rate measurement is wit
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-15Class 1 OperationIn this operating class, the input data consists of eight words
Publication 1746-UM002B-EN-P - August 20042-16 Module OperationClass 4 OperationIn Class 4 operation, the counter data consist of a maximum of
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-17Input Word Bit ValuesACK: Acknowledge BitThis bit makes a 0 to 1 transition to s
Publication 1746-UM002B-EN-P - August 20042-18 Module OperationOP MODE: Operating Mode BitsThe module uses these two bits to tell the processor
Publication 1746-UM002B-EN-P - August 2004Module Operation 2-19C/R: Count/Rate BitThe count/rate bit is used only in Class 1 operating mode. Be
Publication 1746-UM002B-EN-P - August 2004Table of Contents iiCounter Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Publication 1746-UM002B-EN-P - August 20042-20 Module Operation
1 Publication 1746-UM002B-EN-P - August 2004Chapter 3Installation and WiringThis chapter provides the following information:• compliance to European U
Publication 1746-UM002B-EN-P - August 20043-2 Installation and WiringFor specific information required by EN61131-2, see the appropriate sectio
Publication 1746-UM002B-EN-P - August 2004Installation and Wiring 3-3Figure 3.1 Jumper SettingsThe 5V dc settings respond to inputs with an act
Publication 1746-UM002B-EN-P - August 20043-4 Installation and Wiring1. Make sure your SLC power supply has adequate reserve current capacity.
Publication 1746-UM002B-EN-P - August 2004Installation and Wiring 3-5• Shields should be grounded only at one end. Ground the shield wire outsi
Publication 1746-UM002B-EN-P - August 20043-6 Installation and WiringElectronic ProtectionThe electronic protection of the 1746-HSCE2 has been
Publication 1746-UM002B-EN-P - August 2004Installation and Wiring 3-7Input and Output ConnectionsInput and output wiring terminals are shown in
Publication 1746-UM002B-EN-P - August 20043-8 Installation and WiringEncoder WiringDifferential encoders provide the best immunity to electrica
Publication 1746-UM002B-EN-P - August 2004Installation and Wiring 3-9Single-Ended Encoder Wiring (Open Collector)Figure 3.7 Single-Ended Encode
Publication 1746-UM002B-EN-P - August 2004Table of Contents iiiModule Setup Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Publication 1746-UM002B-EN-P - August 20043-10 Installation and WiringSingle-Ended Wiring (Discrete Devices)Figure 3.9 Discrete Device Wiring(1
1 Publication 1746-UM002B-EN-P - August 2004Chapter 4Configuration and ProgrammingThis chapter provides information about:• selecting operating class•
Publication 1746-UM002B-EN-P - August 20044-2 Configuration and ProgrammingEach block is made up of eight words. The first word is the control
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-3Data FormatIn Class 4, the counter accepts rate data in either integ
Publication 1746-UM002B-EN-P - August 20044-4 Configuration and ProgrammingReading the DataIn the following example, the 1746-HSCE2 module is l
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-5Converting from Floating-Point to Two-word Integer FormatRSLogix500
Publication 1746-UM002B-EN-P - August 20044-6 Configuration and ProgrammingModule Setup BlockFigure 4.1 shows the format of the Module Setup bl
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-7INT: Interrupt Enable(Word 1, Bit 10) In Class 4, when this bit is s
Publication 1746-UM002B-EN-P - August 20044-8 Configuration and ProgrammingOp Mode: Operating Mode(Word 1, Bits 01 and 00)These two bits progra
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-9Range Allocation ExamplesMode 1 ExampleIn the Module Setup block bel
Publication 1746-UM002B-EN-P - August 2004Table of Contents ivCounter Control Block. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
Publication 1746-UM002B-EN-P - August 20044-10 Configuration and ProgrammingMode 3 ExampleIn the Module Setup block below, four ranges are assi
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-11Figure 4.5 Counter Configuration Block FormatProgramming Block Iden
Publication 1746-UM002B-EN-P - August 20044-12 Configuration and ProgrammingPGMn: Program Counter Number Bits(Word 0, Bits 08 to 11)These four
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-13G/P Mode: Gate/Preset Mode Bits(Words 1 and 3, Bits 04 to 06; Word
Publication 1746-UM002B-EN-P - August 20044-14 Configuration and ProgrammingFigure 4.6 Minimum/Maximum Count Value BlockProgramming Block Ident
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-15CNTR No.: Counter Number Bits(Word 0, Bit 08 and 09)These two bits
Publication 1746-UM002B-EN-P - August 20044-16 Configuration and Programmingalways included with this block, and its value must fall between th
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-17Figure 4.7 Min./Max. Rate Value BlockProgramming Block Identificati
Publication 1746-UM002B-EN-P - August 20044-18 Configuration and ProgrammingCNTR No.: Counter Number Bits(Word 1, Bits 08 and 09)These two bits
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-19Class 4When the module is operating as Class 4, the data format of
Publication 1746-UM002B-EN-P - August 2004Table of Contents vExample 6 - Retentive Counters . . . . . . . . . . . . . . . . . . . . . 6-23Data
Publication 1746-UM002B-EN-P - August 20044-20 Configuration and ProgrammingFigure 4.8 Program Ranges BlockProgramming Block Identification Bit
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-21CNTR No.: Counter Number Bits(Word 0, Bits 08 and 09)These two bits
Publication 1746-UM002B-EN-P - August 20044-22 Configuration and ProgrammingThe range number word is subject to the following special condition
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-23Output State on page 4-27 for a description of how the bytes are co
Publication 1746-UM002B-EN-P - August 20044-24 Configuration and ProgrammingTransmit BitThe transmit bit is not used. A programming cycle is no
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-25counter must also be disabled before sending new minimum/maximum co
Publication 1746-UM002B-EN-P - August 20044-26 Configuration and ProgrammingC/R(n): Count or Rate Value Bit(Words 1 to 4, Bit 08)These bits are
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-27output turns on based on the programmed ranges, the state of the en
Publication 1746-UM002B-EN-P - August 20044-28 Configuration and ProgrammingProgramming Block Default ValuesThe following tables list the defau
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-29Table 4.12 Class 1, Mode 2 Default ValuesParameter Counter 1 Counte
Publication 1746-UM002B-EN-P - August 2004Table of Contents vi
Publication 1746-UM002B-EN-P - August 20044-30 Configuration and ProgrammingClass 4Table 4.14 Class 4, Mode 1 Default ValuesParameter Counter 1
Publication 1746-UM002B-EN-P - August 2004Configuration and Programming 4-31Table 4.16 Class 4, Mode 3 Default ValuesParameter Counter 1 Counte
Publication 1746-UM002B-EN-P - August 20044-32 Configuration and Programming
1 Publication 1746-UM002B-EN-P - August 2004Chapter 5Start Up, Operation, Troubleshooting, and Debug ModeThis chapter provides start up, operation, an
Publication 1746-UM002B-EN-P - August 20045-2 Start Up, Operation, Troubleshooting, and Debug ModeFigure 5.1 LED LocationsTroubleshootingThree
Publication 1746-UM002B-EN-P - August 2004Start Up, Operation, Troubleshooting, and Debug Mode 5-3Module Programming ErrorsA programming error
Publication 1746-UM002B-EN-P - August 20045-4 Start Up, Operation, Troubleshooting, and Debug ModeApplication ErrorsThe module can encounter th
Publication 1746-UM002B-EN-P - August 2004Start Up, Operation, Troubleshooting, and Debug Mode 5-5The rate underflow bit is set when the rate v
Publication 1746-UM002B-EN-P - August 20045-6 Start Up, Operation, Troubleshooting, and Debug ModeOutput Does Not Turn OffCheck the associated
Publication 1746-UM002B-EN-P - August 2004Start Up, Operation, Troubleshooting, and Debug Mode 5-7due to their unpredictable nature. Even if th
1 Publication 1746-UM002B-EN-P - August 2004Summary of ChangesThe information below summarizes the changes to this manual since the last printing.To h
Publication 1746-UM002B-EN-P - August 20045-8 Start Up, Operation, Troubleshooting, and Debug ModeFigure 5.3 Required Bits for Module Setup and
Publication 1746-UM002B-EN-P - August 2004Start Up, Operation, Troubleshooting, and Debug Mode 5-9In the Minimum/Maximum Rate Value BlockFor th
Publication 1746-UM002B-EN-P - August 20045-10 Start Up, Operation, Troubleshooting, and Debug ModeEXAMPLEActivating Debug Mode1. Clear the out
1 Publication 1746-UM002B-EN-P - August 2004Chapter 6Application ExamplesThis chapter contains the following application examples:• Example 1 uses the
Publication 1746-UM002B-EN-P - August 20046-2 Application ExamplesExample 1 - Direct Addressing This example sets up the module to count the nu
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-3Ladder File 9 - HSCE2 Initialization RoutineProgramming ladder file 9 shows t
Publication 1746-UM002B-EN-P - August 20046-4 Application ExamplesLadder File 9 Continued0004EQUEqualSource A N11:0 140<Source B 40 40<EQ
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-5Ladder File 9 Continued0008EQUEqualSource A N11:0 140<Source B 80 80<EQ
Publication 1746-UM002B-EN-P - August 20046-6 Application ExamplesLadder File 9 Continued0012EQUEqualSource A N11:0 140<Source B 120 120<
Publication 1746-UM002B-EN-P - August 2004Application Examples 6-7Data Table for N10 File (hexidecimal)Data Table for N11 File (decimal)Example
Comentarios a estos manuales