Allen-Bradley 1734-IJ User Manual

Encoder/counter modules
Table of Contents

Advertisement

Encoder/Counter
Modules
1734-IJ and 1734-IK
User Manual
AB Drives

Advertisement

Chapters

Table of Contents
loading

Summary of Contents for Allen-Bradley 1734-IJ

  • Page 1 Encoder/Counter Modules 1734-IJ and 1734-IK User Manual AB Drives...
  • Page 2 Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1 available from your local Rockwell Automation sales office or online at http://literature.rockwellautomation.com/) describes some important differences between solid state equipment and hard-wired electromechanical devices.
  • Page 3 Summary of Changes This publication contains new and revised information not in the last release. New and Revised Information See the table for a summary of the major changes in this manual. Chapter Change Addition of Before You Begin section Addition of attention and warning statements Update of the Communicate with Your Module section Appendix A...
  • Page 4 Summary of Changes Notes: Publication 1734-UM006B-EN-P - August 2005...
  • Page 5: Table Of Contents

    Communicate with the Modules..... 2-6 Default Data Map for the 1734-IJ/IK Counter Module . . 2-6 Configure Your Encoder/Counter Module ... . . 2-7 Counter Configuration .
  • Page 6 Chapter 3 Input and Output Data What This Chapter Contains ..... . . 3-1 Data Table ........3-1 Detailed Description of Data Table Information .
  • Page 7: Preface

    Preface Purpose of This Manual Read this manual for information about how to install, configure and troubleshoot your Encoder/Counter module. For This Information: See: About the Modules Chapter 1 Install the Modules Chapter 2 Encoder/Counter Module Input and Output Data Chapter 3 Configure Your Encoder/Counter Module Chapter 4...
  • Page 8: Related Products And Documentation

    Preface Related Products and For specification, safety approval, and other information refer to the following. Documentation • Publication Number 1734-IN005 Encoder/Counter Installation Instructions For related 1734 products and documentation see the table. Description Cat. No. Publication Very High Speed Counter Modules 1734-VHSC5 1734-IN003 Installation Instructions...
  • Page 9: Definitions

    Preface Definitions The following define the intended operation of the Encoder/Counter module. Term Definition Lead Breakage Typically requires a shunt resistor (across the load) to detect 3 levels of current/input states - • Open (Wire Off, Device = ?) • Off (Wire OK, Device Off) •...
  • Page 10 Preface Operational Mode Zero Frequency Detection Input Monitored Counter None Encoder None Period/Rate Z Only Rate Measurement A Only Publication 1734-UM006B-EN-P - August 2005...
  • Page 11: About The Modules

    • 50 kHz Turn the filter off to achieve the fastest counting rate. The input voltage range is 5V dc (1734-IJ) or 15-24V dc (1734-IK). The module returns the count or frequency in the form of a 24 bit binary number (0 - 16,777,215) expressed in a 32 bit long word.
  • Page 12: Operating Modes

    About the Modules Operating Modes The encoder/counter modules operate in the modes shown in the table. Mode Description Counter Mode Read incoming single phase pulses, return a binary count Encoder Mode Read incoming 2 phase quadrature pulses, return a binary count Period/Rate Mode Count internal clocks during the On period, return a frequency...
  • Page 13: Encoder Modes

    About the Modules Example of Counter Mode A Input Input A B Direction Input B Z (Store Count) Input Z (Gate / Reset ) Single Phase Pulse Generator 1734-VHSC Count Up Count Down A Input B Input Outputs Updated Count Continuously Encoder Mode The encoder mode reads incoming pulses and returns a binary...
  • Page 14 About the Modules EXAMPLE Example of Multiplying Encoder Mode X1 Input A Input B Z (Store Count) Input Z (Gate / Reset ) Quadrature Encoder 1734-VHSC Forward Rotation Reverse Rotation A Input B Input X1 Count X2 Count Outputs Updated X4 Count Continuously X1 Multiplying Encoder Mode...
  • Page 15: Period/Rate Mode

    B ( Not Used ) Input B Input Z (Gate / Reset ) Encoder / Pulse Generator Scalar 5 MHz Clk 1734-IJ/IK Z Input ( Pulse ) 5 MHz Internal Sampling Clock Frequency Updated Here Accumulated Count Assumes symmetrical pulse, 50% duty cycle, so Period = Sample Time On X 2 {On & Off}...
  • Page 16: Operation Of Scalar

    About the Modules Relationship Between Sampled Pulses and Input Frequency Input Frequency at Z Sample Pulses for 1/2 Cycle Gate/Reset Terminal of Z Gate/Reset Pulse 2.5Hz 500k 10Hz 250k 20Hz 125k 50Hz 100Hz 200Hz 12.5k 500Hz 1kHz 2.5k 2 Hz 1.25k 5kHz 10kHz...
  • Page 17: Rate Measurement Mode

    B ( Not Used ) Input B Z ( Not Used ) Input Z (Gate / Reset ) Encoder/Pulse Generator Time Base 1734-IJ/IK A Input ( Pulse ) Internal Sampling Gate Accumulated Count Frequency Calculated, Updated Here User Selectable Sample Period, 10ms to 2s in 10ms increments.
  • Page 18: New Data Indicator

    About the Modules New Data Indicator A two-bit counter, C1 & C0, updates every time an "event" occurs, indicating that new data is available in the Stored/Accumulated Count words. Definitions for events are as follows. • Any active gate transition in any of the Store Count (Counter or Encoder) modes •...
  • Page 19: Operating Mode Features

    About the Modules Operating Mode Features The following table summarizes which features are active in each mode: Operating Feature Counter Encoder Period Rate Up / Down X1, X2 & X4 /Rate Measurement Preset Rollover Software Reset Store Count - Z Gate / Reset 4 modes Scale Input Count at Z Gate / Reset Z Gate / Reset Invert Bit Sample Period...
  • Page 20 1-10 About the Modules Gate/Reset terminal is high. Counting resumes on the falling edge of the pulse at the Z Gate/Reset terminal. The stored count information remains until it is overwritten with new data. Store/Wait/Resume Stop Counting Store Count Resume Counting Store Count Mode 3: Store-Reset/Wait/Start In mode 3, the rising edge of a pulse input on the Z Gate/Reset terminal stops counting, reads, and stores the current counter value in...
  • Page 21: Install The Modules

    Chapter Install the Module What This Chapter Contains Read this chapter for information about how to install Encoder/ Counter modules. For information about how to See page Before You Begin Install the Mounting Base and Wiring Base Assembly Install the Module Install the Removable Terminal Block Remove a Mounting Base Wire the Modules...
  • Page 22 60529, as applicable, for explanations of the degrees of protection provided by different types of enclosure. Also, see the appropriate sections in this publication, as well as the Allen-Bradley publication 1770-4.1 (Industrial Automation Wiring and Grounding Guidelines), for additional installation requirements pertaining to this equipment.
  • Page 23: Install The Mounting Base/Wiring Base Assembly

    Install the Module Install the Mounting Base The wiring base assembly (1734-TB or 1734-TBS) consists of a mounting base (cat. no. 1734-MB) and a removable terminal block and Wiring Base Assembly (catalog number 1734-RTB or 1734-RTBS). You can install the assembly, or just the mounting base. To install the mounting base and wiring base assembly on the DIN rail, proceed as follows.
  • Page 24 Install the Module 3. Press firmly to seat the mounting base on the DIN rail. The mounting base snaps into place. 4. To remove the mounting base from the DIN rail: a. Remove any installed module and any module immediately to the right.
  • Page 25: Install An I/O Module

    1. Using a bladed screwdriver, rotate the keyswitch on the mounting base clockwise until the number required for the type of module you are installing aligns with the notch in the base. 1734-IJ - Position 2 1734-IK - Position 2 Turn the keyswitch to align the number with the notch.
  • Page 26: Install The Removable Terminal Block

    Install the Module The module locks into place. 44012 Install the Removable A removable terminal block comes with your mounting base assembly. Pull up on the RTB handle to remove, and replace as Terminal Block necessary without removing any of the wiring. To reinsert the removable terminal block, proceed as follows.
  • Page 27: Remove A Mounting Base

    Install the Module 3. If an I/O module is installed, snap the RTB handle into place on the module. When you connect or disconnect the removable WARNING terminal block (RTB) with field-side power applied, an electrical arc can occur. This could cause an explosion in hazardous location installations.
  • Page 28 Install the Module Module Status Network Status of Input A Status of Input B Status of Input Z Input A Input A Input B Input B Input Z Input Z Chassis Chassis Ground Ground 42016 A, B, and Z , and Aret, Bret, Chas Chas and Zret are inputs...
  • Page 29 Install the Module Communicate with Your POINT I/O modules send (consume) and receive (produce) I/O messages. You map these messages into the processor’s memory. Module This module produces 6 or 10 bytes of input data (scanner Rx) (status). It consumes 1 byte of I/O data (scanner Tx). Use parameters 11 and 12 to select assembly 101, 102, or 103 for data produced by the module.
  • Page 30: Counter Configuration

    2-10 Install the Module Module Configuration Parameter Set/Get Description Bytes Set/Get Counter Configuration Set/Get Filter Selection Set/Get Decimal Position Set/Get Reserved Set/Get Time Base Value Set/Get Gate Interval Set/Get Channel Scalar Set/Get Channel Rollover Value Set/Get Channel Preset Value Set/Get Counter Control Safe State Set/Get Requested Poll Produce Assembly...
  • Page 31: Filter Selection

    Install the Module 2-11 Filter Selection No Filter 50kHz (10µs + 0µs/-1.6µs) 5kHz (100µs + 0µs/-13.2µs) 500Hz (1.0ms + 0µs/-125µs) 50Hz (10ms + 0ms/-1.25ms) A input not filtered A input filtered B input not filtered B input filtered Z input not filtered Z input filtered Assumes a 50% duty cycle signal.
  • Page 32 2-12 Install the Module Assemblies The Encoder and Counter Module uses several words to communicate real-time input and output data as well as non-real-time module information (for example, description, revision, etc.) and configuration. This shows the words that you can exchange.
  • Page 33: What This Chapter Contains

    Chapter Input and Output Data That This Chapter Contains Read this chapter to learn about the input/output data table of your 1734-IJ and 1734-IK. For more information about: See page: Data Table Detailed Description of Data Table Information Configuration Data...
  • Page 34: Detailed Description Of Data Table Information

    Input and Output Data Detailed Description of Present Channel Data (Input Word 1) Data Table Information This is a 32 bit unsigned long word value representing the current count of the 24 bit counter (configurations: count [0], x1 encoder [1], x2 encoder [2], x4 encoder [4]) or the frequency (configurations: period/rate [5], rate measurement [7]).
  • Page 35 Input and Output Data Bit definitions for the error code are: E10: Reserved The decimal point position is outside of acceptable range. Reserved Reserved A configuration was selected that requires the scalar and none was programmed OR Multiple scalars were selected. The preset is out of range ( >...
  • Page 36: Configuration Data

    Input and Output Data Zero frequency Detected (ZD) - This bit is operational when frequency configurations are programmed (configurations: period/rate [5], rate measurement [7]). In period/rate [5] configuration, counts are acquired during the ON state of the Z input. At very low frequencies the counter saturates, indicating a zero frequency detect.
  • Page 37: Counter Configuration (Configuration Word 1)

    Input and Output Data Counter Configuration (Configuration Word 1) Use this byte to select the type of counter desired. Counter 0 Counter Encoder X1 Encoder X2 Reserved Encoder X4 Period/Rate Reserved Rate Measurement Store Count Disabled Mode 1 - store/continue Mode 2 - store/wait/resume Mode 3 - store, reset/wait/start Mode 4 - store, reset/start...
  • Page 38: Decimal Position (Configuration Word 3)

    Input and Output Data Decimal Position (Configuration Word 3) This byte changes the significant digits of the frequency or counter display. In the frequency modes (period/rate [5], rate measurement [7]) for example, a -2 will move the decimal point left 2 places, dividing the frequency value by 100, a +1 moves it right, multiplying by 10.
  • Page 39: Scalar (Configuration Word 7)

    Input and Output Data Scalar (Configuration Word 7) This bytel scales the Z signal in the period/rate [5] configuration. If the filter is applied, then the filtered Z is scaled. Only one bit of the scalar should be set. Selecting a scalar will cause accumulated counts to be adjusted accordingly (selecting a scalar of 128 will increase the accumulated count by 128 after 128 Z pulses have been received).
  • Page 40: Safe State Values (Configuration Word 10)

    Input and Output Data Safe State Values (Configuration Word 10) When either the host transitions to PROGRAM mode or a communication fault (broken network cable) occurs, the module copies the safe state word (counter control value) into its real-time working buffer. The definitions are identical to those described under Real-time Output Data.
  • Page 41: What This Chapter Contains

    Chapter Configure Your Module What This Chapter Contains This chapter describes how to configure your Encoder/Counter modules with RSNetworx. For more information about: See page: Configuration Overview Add the Adapter to Your Network Add I/O Modules to Your Network Set Counter Parameters Check I/O Status and View the EDS File Configuration Overview You must use the RSNetworx for DeviceNet software to configure...
  • Page 42: Add I/O Modules To Your Network

    Configure Your Module 2. Add the communication device as shown below. (In this case, the chosen device was a 1734-ADN DeviceNet Scanner.) 1. Click here to expand the list The scanner appears of communication adapters. on the network. 2. Double-click here to choose the scanner.
  • Page 43 Configure Your Module The out-of-the-box node setting for 1734 modules is 63. You can change the setting by using the node commissioning tool. The node commissioning tool is available either online or offline. If you commission a node on line, you must power IMPORTANT down your system before the change takes place.
  • Page 44: Set Counter Parameters

    Configure Your Module Set Counter Parameters After adding the module to the network, you must configure the modules for use. This chapter shows configuration in the online IMPORTANT mode. Changes set in this mode take effect when you download to the individual module. 1.
  • Page 45 Configure Your Module Click on the Device parameters tab The module’s name appears to get to the dialog for setting the here. parameters. Type a description here. The module’s address appears here. (This field is read only.) This dialog also shows the At any point, you can click here to finish module’s device identity.
  • Page 46: Check I/O Status And View/Edit The Eds File

    Configure Your Module To configure your module, select Configuration and modify the parameters as desired for your application. When complete, download to your module by clicking on the Download to Device button. You can download each change as you make it using “Single,”...
  • Page 47 Configure Your Module Click on the EDS File tab to display the statistics of the EDS file used to configure this module. Click on View File to view the actual EDS file. You can view the actual EDS file or edit the file. AB Drives Publication 1734-UM006B-EN-P - August 2005...
  • Page 48 Configure Your Module Notes: Publication 1734-UM006B-EN-P - August 2005...
  • Page 49: What This Chapter Contains

    Chapter Access Instantiated Instances What This Chapter Contains In this chapter, you learn how to access imbedded Instantiated Instances (assemblies) in the software. The Encoder/Counter Module uses several words to communicate real time input and output data as well as non-real time module information (such as description and revision) and configuration.
  • Page 50 Access Instantiated Instances The Class Instance Attribute editor dialog appears. 1. Select the service code 3. Enter the class, instance and attribute here. 4. Click on Execute to initiate the action. 3. Select the Receive Data size and radix. For example: If you select Instance 101 (polled connection), the dialog looks like this.
  • Page 51: Assemblies

    Access Instantiated Instances Assemblies Available assemblies are: • Assembly 101 is produced for a polled connection. • Assembly 102 is produced for a Change Of State (COS) connection. • Assemblies 103, 104 and 106 are by Explicit message only. • Assembly 105 is consumed in a polled connection . Data may be read (get) or written (set) using an Explicit Message.
  • Page 52 Access Instantiated Instances #106 (0x6a) Set/Get Counter Configuration Filter Selection Decimal Position Reserved Time Base Gate Interval Scalar Rollover Value Preset Value Counter Control SSV Publication 1734-UM006B-EN-P - August 2005...
  • Page 53: What This Chapter Contains

    Troubleshoot with the See the figures that show the 5 indicators on the frontplate of each module. Use these indicators for troubleshooting. Indicators 1734-IK 1734-IJ Module Status Network Status Status of Input A Status of Input B Status of Input Z...
  • Page 54 Troubleshoot the Module Indication Probable Cause Network Status Device is not online. - Device has not completed dup_MAC_id test. - Device not powered - check module status indicator. Flashing Green Device is online, but has no connections in the established state.
  • Page 55: What This Appendix Contains

    Appendix Configure Modules in RSLogix 5000 Software What This Appendix Read this appendix for information about how to configure your modules in RSLogix 5000 software, including how to complete entries Contains on the following dialogs. • Fault/Program Action • Counter Configuration Understand Data, Before you configure your modules, note the following about Data formats and Connection types.
  • Page 56 Configure Modules in RSLogix 5000 Software When you change Connection and Data Format, note the following. • You do not delete the existing module. • You do not create a new module. • You bring forward all possible configuration data for the new setting.
  • Page 57: Configure Your Module

    I/O configuration to include selecting a controller and communication module. 2. Add a 1734-IJ or 1734-IK specialty module, according to the instructions in your adapter user manual. 3. From the Connection dialog, perform the following.
  • Page 58: Work With The Fault/Program Action Dialog

    Configure Modules in RSLogix 5000 Software Work with the In Hard Run mode, you disable all controls on the Fault/Program Action, in addition to the enable and disable state for each control. Fault/Program Action Complete these entries from the dialog. Dialog 1.
  • Page 59: Work With The Counter Configuration Dialog

    Configure Modules in RSLogix 5000 Software Work with the Counter Complete entries as follows from the Counter Configuration dialog. Configuration Dialog 1. For Type, select one of the following, to set the Counter Configuration mode. • Counter (default) • Encoder X1, Encoder X2, or Encoder X4 •...
  • Page 60 Configure Modules in RSLogix 5000 Software 3. Refer to the table to make selections for the following entries. • Store Count Mode • Rollover • Preset • Counter Attenuator • Frequency Precision • Gate Multiplier • Time Base • Actual Gate Interval If You Selected This for Type For This Value Select Comments...
  • Page 61 Configure Modules in RSLogix 5000 Software 4. For Filter, select the Frequency from the following, which is the value you use to filter A/B/Z inputs when you check a corresponding checkbox. • No Filter • 50 kHz • 5 kHz •...
  • Page 62 Configure Modules in RSLogix 5000 Software When the value for Scalar is one of the following, frequency precision < 1. • 16 • 32 • 64 • 128 8. Perform one of the following. • Click another tab at the top of the dialog. •...
  • Page 63 Index gate interval setting adding modules to the network input word - present channel data adding the communication device installation, module assembly selection installation, removable terminal block base assembly, mounting keyswitch position CE directives module installation checking I/O status module/channel error bits class instance attribute editor mounting base, removal class instance editor...
  • Page 64 Index stored/accumulated channel data safe state configuration scalar scalar operation viewing EDS files setting counter parameters setting rollover counts setting safe state values Z gate/reset terminal modes of operation setting the counter gate interval Z gate/reset terminal operation setting the preset value Publication 1734-UM006A-EN-P - August 2000...
  • Page 65 ___No, there is no need to contact me ___Yes, please call me ___Yes, please email me at _______________________ ___Yes, please contact me via _____________________ Return this form to: Rockwell Automation Technical Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705 AB Drives Fax: 440-646-3525 Email: RADocumentComments@ra.rockwell.com...
  • Page 66 PLEASE FASTEN HERE (DO NOT STAPLE) Other Comments PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE...
  • Page 67 AB Drives...
  • Page 68 Back Cover Publication 1734-UM006B-EN-P - August 2005 PN 957974-39 Supersedes Publication 1734-UM006A - August 2000 © 2005 Rockwell International Corporation. Printed in the U.S.A.

This manual is also suitable for:

1734-ik

Table of Contents