Home

10 - Converting Systems Inc.

image

Contents

1. Bit Word 15 T1314 i3 12 11 10 09 08 97 06 05 04 03 02 O1 og Function 72 3s RangeOTo11 4 LowLimit Range 4 Low Limit n us m a m a a ae Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 4 Output Control m Not Used Inv Not Used Type Not Used ToThisCtr dk 4 Configuration 76 n TE e 31 RangeOTo11 5 HighLimit Range 5 High Limit 78 n E 38 RangeOTo11 5 LowLimit Range 5 Low Limit 80 n T a a a a id Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 5 Output Control 81 Not Used Inv Not Used Type Not Used ToThisCtr ek 5 Configuration 82 ae ORA 3 RangeOTo11 6 HighLimit Range 6 High Limit 84 m e 5 RangeOTo11 6 LowLimit Range 6 Low Limit 86 p T ad n P a ae Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 6 Output Control 87 Not Used Inv Not Used Type Not Used ToThisCtr ik 6 Configuration 88 E leg 8 Range0To11 7 HighLimit Range 7 High Limit 90 oe A ame RangeOTo11 7 LowLimit Range 7 Low Limit 92 p T a a a a id Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 7 Output Control 33 Not Used Inv Not Used Type Not Used ToThisCtr ik 7 Configuration 94 UE REA 3
2. ajia aai a ao EC ERE ED REC a REST a E REC UC Description NumberOfCtrs PFE CtrRst OCLO GeneralConfigBits OvercurrentLatchOff Filter Z1 Filter B1 Filter A1 Filter Z0 Filter B0 Filter AU FilterA0_0 FilterA0 1 21 1 ProbToFautEn Out3 Out2 Out1 Out Out3 Out2 Outi Out Out ProgramStateRun Out3 and NumberOfCounters_0 PSR PSR PSR PSR PM PM PM PM _ Out0ProgramMode Out NumberOfCounters 1 Outs au th aun OutOProgramValue Out3 Out3 Out2 Outi Out Out3 Out2 Outi OutO OutOFaultStateRun Out3FaultStateRun and FSR FSR FSR FSR FM FM FM FM Out0FaultMode Out3FaultMode aut oui Qun oun Out FaultValue Out3FaultValue CtrOMaxCount Ctr MaxCount Ctr MinCount Ctr MinCount Ctr Preset Ctr Preset Ctr Hysteresis Ctr Hysteresis Ctr Scalar Ctr Scalar Ctr CyclicRateUpdateTime Ctr CyclicRateUpdateTime linear Storage Mode Operational Mode Ctr ConfigFlags Ctr Config OperationalMode 0 Ctr Config OperationalMode 1 2 Ctr1MaxCount Ctr0Config OperationalMode_2 pulmaxtount Ctr Config StorageMode 0 x Ctr Config StorageMode 1 CtriMinCount CtriMinCount Ctr Config StorageMode 2 Ctr Config Linear Ctr1Preset Ctr1Preset CtrlHysteresis CtriHysteresis CtriScalar Ctr1Scalar CtriCyclicRateUpdateTime CtriCyclicRat
3. 1 845F SJ ee 845F Encoder Wiring to the 1769 HSC Table C 1 Encoder Wiring 845F Encoder Wire Color 1769 HSC Terminal Blue Black Wire Pair Blue A0 Blac A0 White Black Wire Pair White BO Blac BO Green Black Wire Pair Green Z0 Blac Z0 Red Black Wire Pair Red 24V dc Power Supply Blac 24V dc Common Publication 1769 UMO006A EN P March 2002 C 2 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder Purpose Scope Adding a 1769 HSC High Speed Counter Module into a MicroLogix 1500 System Publication 1769 UMO006A EN P March 2002 The purpose of this application example is to demonstrate how to wire an Allen Bradley 845F optical incremental encoder to a 1769 HSC module and ultimately monitor the Current Count value in the MicroLogix 1500 controller We will also control 2 onboard outputs with 2 Ranges This example will cover the following steps 1 Add the 1769 HSC High Speed Counter module into a MicroLogix 1500 system using the RSLogix 500 programming software Configure the 1769 HSC by entering configuration information into I O Configuration created in RSLogix 500 for the 1769 HSC module 3 Monitor the Current Count value from the 1769 HSC module Verify that module outputs 0 and 1 turn on when the Current Count value is within the specified Ranges This example uses a MicroLogix 1500 controll
4. Ctr3MaxCount or less than the Ctr3MinCount Publication 1769 UMO006A EN P March 2002 5 10 Diagnostics and Troubleshooting Table 5 6 Configuration Error Codes Extended Module Error Error Information Hex Code Code Equivalent Binary Binary Error Description X450 010 0 0101 0000 BadHysteresis 0 The CtrOHysteresis value is invalid i e less than zero X451 010 00101 0001 BadHysteresis 1 The CtrtHysteresis value is invalid i e less than zero X452 010 0 0101 0010 BadHysteresis 2 The Ctr2Hysteresis value is invalid i e less than zero X453 010 00101 0011 BadHysteresis 3 The Ctr3Hysteresis value is invalid i e less than zero X460 010 00110 0000 BadScalar 0 The CtrOScalar value is invalid i e less than one X461 010 00110 0001 BadScalar 1 The Ctr1Scalar value is invalid i e less than one when NumberofCounters 01 10 or 11 X462 010 00110 0010 BadScalar 2 The Ctr2Scalar value is invalid i e less than one when NumberofCounters 10 or 11 X463 010 00110 0011 BadScalar 3 The Ctr3Scalar value is invalid i e less than one when NumberofCounters 11 X470 010 00111 0000 BadScale 0 The Ctr CyclicRateUpdateTime is invalid i e less than one X471 010 00111 0001 BadScale 1 The Ctr1 CyclicRateUpdateTime is invalid i e less than one whe
5. OFFLINE No Forces s H Q H TEmo o a mm aes p No Edits J Forces Enabled I Driver AB DFT 1 Node 1d User Bit Timer Counter Input Output Compare 7 Hsc_app Project Cg Hep nnnn END m E Controller 1 0 Configuration L I Controller Pr rties i Controller Propertie p Curent Cards Available S Processor Status ps fac Function Files er fano AU 10 Configuration i BIE Channel Configuratic Read IO Config Program Files 8 Input Isolated 120 VAC 16 Input 79 132 VAC 1769 18 syso z694F4 Analog 4 Channel Input Module B svsi ITESIFAXDF2 Analog 4 Chan Inp 2 Chan Out 4 LAD2 1769 1M12 12 Input 159 265 VAC Micrologix 1500 LAP Series C 7694018 16 Input 10 30 VDC dd 769HQ5XDW4 E Input 24 VDC 4 Output RLY Cross Reference 1769HR6 6 Channel RTD Module E o0 output 1769416 6 Channel Thermocouple Module E n neut 1769 048 8 Output 120 240 VAC D s2 status 1769 0816 18Dutput 24 VDC Source 17690816P 16 Output 24 VDC Source w Protectiot Dl 85 BAR Y 1769 0F2 Analog 2 Channel Output Module Di T4 TMER 1769 0V16 16 Dutput 24 VDC Sink 17630w8 Output Relay E cs counrer H769 0W8l 8 Output Isolated Relay E RE CONTROL TE9SDN DeviceNetScanner E nz INTEGER 2 1769PA2 Power Supply H769 P82 Power Supply DI re rLoar E G3 Data Logging Aay Contig Help Hide AllCards 1763P44 Power Supply zi E configuration E
6. Publication 1769 UMO006A EN P March 2002 Module Configuration Output and Input Data 4 23 Output Off Mask OutputOffMask 0 through OutputOffMask 15 Output Array Word 1 Output Off Mask LOBORTI ELS CURED ee ea x Out Out Out Out Out Out Out 9 Out8 Out 7 Out 6 Out5 Out 4 Out 3 Out 2 Out 1 Out 0 This word turns OFF any output real or virtual when the corresponding bit is reset This mask has veto power over all the Range masks and the Output On Mask described above It is logically AND ed with the results of those masks See Output Control on page 2 23 and Output Control Example on page 2 30 for more information about output determination This mask can be overridden when a safe state is indicated p Range Enable RangeEn 0 through RangeEn 15 Output Array Word 2 Ra AR SLE SELBE ERR x Range Enable R15 R14 R13 R12 R11 R10 RO When the bit corresponding to the range number is set Rangelz OutputControl is applied whenever the range is active RBF Reset Blown Fuse ResetBlownFuse Output Array Word 4 RA a aa es x Reset Blown Fuse Not Used Not Used When the OvercurrentLatchOff bit is set and an overcurrent condition has occurred the real output remains off until this bit is cycled from 0 to 1 rising edge Publication 1769 UMO006A EN P March 2002 4 24 Module Configuration Output and Input Data Control Bits Output Arr
7. Configuration Array Word 2 Output Program Mode and Output Program State Run Out PM Out3 Out2 Out1 OutO Out3 Out2 Outl Not Used Program Mode Out ProgramMode through Out3ProgramMode The program mode bits configure the output for Hold Last State CHLS or User Defined Safe State UDSS during Program State e 1 Hold Last State e 0 User Defined Safe State IMPORTANT Program Mode and Program State Run only apply to certain controllers Refer to your controller s documentation for more information Program State Run Out0ProgramStateRun through Out3ProgramStateRun Program State Run allows you to specify on a bit basis that the output should continue to be controlled by the module as if it were in the Run state That is events on the module or changes in the Output image will affect the physical outputs without regard to the Program HLS or UDSS state indicated When this bit is set the corresponding Program Mode and Program Value bits are ignored ATTENTION Selecting this option will allow outputs to change state while ladder logic is not running You must take care to assure that this does not pose a risk of injury or equipment damage when selecting this option IMPORTANT The prescan initiated by some controllers could have an effect on the outputs To overcome any changes in physical output states that may be caused by this retentive output instructions eg latch unlatch
8. These values which represent a count value or rate value depending upon the programed Type are used for range comparison When the rate value is equal to RangeOTo11 7 HighLimit or RangeOTol1 n LowLimit Rangen changes state becoming either active or inactive depending upon the setting of the RangeOTol1 Invert bit Object Value Current Count or Current Rate Invert Bit 0 lt C Inactive ACTIVE INACTIVE gt gt l l l NT l T l l Invert Bit 1 ACTIVE INACTIVE ACTIVE l l Low Limit High Limit or Direct Write Value Publication 1769 UM006A EN P March 2002 4 18 Module Configuration Output and Input Data RangeOTol1 n HighLimit must be greater than RangeOToll n LowLimit or a configuration error b results Range Output Control Range0To11 n OutputControl Configuration Array Words 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 50 Range 0 Output Contro Out Qut Out Out Qut Out Out 9 Out 8 Out 7 Out6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 Out Out Out Out Out Out 56 Range 1 Output Contro 15 14 13 12 11 10 Out 9 Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 62 Range 2 Output Contro Out Out Out Out Out Out Out 9 Out 8 Out 7 Out6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 68 Range 3 Output Contro Out Out Out Out Out O
9. fi 0 Update Time 1ms 7 Pere cer TO r Filter Retained v Count Behavior on Configuration None A o Hysteresis None B fi RPM Scale Factor None A OK Cancel Apply Help Publication 1769 UM006A EN P March 2002 C 6 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder 3 For this example configure the module to operate in the following way Number of Counters 1 default 2 Maximum Count Value 1 200 000 default 2147483647 Minimum Count Value 0 default 2147483648 Preset 1 default 0 Update Time Value 1 default 10 Operational Mode Quadrature Encoder X 4 default Pulse Internal Dir Count Behavior On Configuration Retained default Retained Hysteresis 0 default 0 RPM Scale Factor 1 default 0 Number Of Counters 1 default 2 Storage modes All Unchecked default all unchecked Acc behavior on Over Under flow Ring Counter default Ring counter A B Z Filters None default none l Expansion General Configuration Gen Counters Ranges Generic Extra Data Config Counter 0 of Counters Pulse Intemal Dir X Operational Mode Storage Mode Store on RisingZ 1200 Max Count T Hold while Z 1 p ns Court Preset on RizingZ o Preset Fina Counter gt Ace behavior on 9 Ov
10. The figure below describes linear counter operation In linear operation the current count Ctr z CurrentCount value remains between or equal to the user programmed minimum count CtrnMinCount and maximum count Ctrz MaxCounO values If the Ctr 7 CurrentCount value would go above gt or below lt these values the counter stops counting and an overflow underflow bit is set The overflow underflow bits can be reset using the CtrnResetCounterOverflow and CtrzResetCounterUnderflow bits Figure 2 6 Linear Counter Diagram Minimum Count Value 0 Maximum Count Value Count Up Counter Value lt Count Down Underflow and Hold Overflow and Hold Pulses are not accumulated in an overflow underflow state The counter begins counting again when pulses are applied in the proper direction For example if you exceed the maximum by 1 000 counts you do not need to apply 1 000 counts in the opposite direction before the counter begins counting down The first pulse in the opposite direction decrements the counter Module Operation 2 15 Modifying Count Value Ring Counter Figure 2 7 demonstrates ring counter operation In ring counter operation the current count Ctr z CurrentCount value changes between user programmable minimum count Ctrz MinCount and maximum count Ctrz MaxCount values If when counting up the counter reaches the Ctrz MaxCount value it rolls over to the
11. 15 334 e IUS ER RS S e ae LPS ee 4 3 2 1 o p PELO Mask 1 Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out 5 eta oq pae ee UOS Be Bee ESAE ge ge eq Ni gy Output off Mask 2 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 RA R3 R2 R1 RO Range Enable 3 Not Used Not Used 4 Not Used RBF Not Used Reset Blown Fuse 5 Not Used RPW RREZ ZInh ZInv Dinh IDin RU RO SP En Counter 0 Control Bits 6 Not Used RPW RREZ ZInh ZInv Dinh IDin RU RO SP En Counter 1 Control Bits 7 Not Used RPW Not Used DInv RU RO SP En Counter 2 Control Bits 8 Not Used RPW Not Used DInv RU RO SP En Counter 3 Control Bits 9 Not Used Not Used 10 NEN Range High Limit or i1 Range12To15 0 HiLimOrDirWr Direct Write Value 12 2802 Tod 3 Range12T015 0 LowLimit Range Low Limit 14 Range12To15 0 OutputContro Range Output Control 15 Not Used nv NotUsed LDW Type NotUsed ToThisCtr ade Configuration 16 T RS Range High Limit or 4 1 Range12To15 1 HiLimOrDirWr Direct Write Value 18 R X d Range12To15 1 LowLimit Range Low Limit 20 Range12To15 1 OutputContro Range Output Control 21 Not Used nv NotUsed LDW Type NotUsed ToThisCtr roe Configuration Publication 1769 UMO006A EN P March 2002 4 22 Module Configuration Output and Input Data Table 4 7 Output Array Bit Word 15 114 i3 i2 1 10 09 08 07 06 05 04 08 2 01 00 Func
12. Out03 Out02 Out01 OutOO RangeOto11 10 OutputControl Inv Type ToThisCtr Range to11 10 ConfigFlags RangeOTo11 10 ToThisCounter 0 Range0To11 10 ToThisCounter_1 Range0to11 11 HighLimit Range0to11 11 HighLimit Range0To11 10 Type Range0To11 10 Invert Range0to11 11 LowLimit Range0to11 11 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 OutOG Out05 Out04 Out03 Out02 OutO1 Out00 RangeOto11 11 OutputControl Inv Type ToThisCtr RangeOto11 11 ConfigFlags Range0To11 11 ToThisCounter_0 Range0To11 11 ToThisCounter 1 Range0To11 11 Type Range0To11 11 Invert 1 The default val e for NumberOfCounters is 01 two counters declared 2 The default value for CtrnMaxCount is 2 147 483 647 decimal for counters 0 and 1 The default value is 0 for counters 2 and 3 3 The default value for CtrnMinCount is 2 147 483 648 decimal for counters 0 and 1 The default value is 0 for counters 2 and 3 4 The default value for CtrnScalar is 1 for counters 0 and 1 The default value is 0 for counters 2 and 3 5 The default value for CtrnCyclicRateUpdateTime is 10 for counters 0 and 1 The default value is 0 for counters 2 and 3 Publication 1769 UMO006A EN P March 2002 D 4 Programming Quick Reference Output Array 15 16 7 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 The default value for t
13. When the module powers up all Output Array and Configuration Array values are set to their default values see Chapter 4 or Appendix D for default values All Input Array values are cleared None of the module data is retentive through a power cycle In effect this means that power cycling clears the module stored counts are lost faults and flags are cleared outputs are off The bus master will attempt to write program data to the Output Array and Configuration Array Publication 1769 UMO006A EN P March 2002 5 4 Diagnostics and Troubleshooting Module Diagnostics US c O ca Z0 cca Z1 A1 Bi High Speed Counter Publication 1769 UMO006A EN P March 2002 Power up Diagnostics At module power up a series of internal diagnostic tests are performed These diagnostic tests must be successfully completed or the OK LED remains off and a module error results and is reported to the controller Table 5 1 Diagnostic Indicators LED Color Indicates 0 OUT Amber ON OFF logic status of output 0 1 OUT Amber ON OFF logic status of output 1 2 OUT Amber ON OFF logic status of output 2 3 OUT Amber ON OFF logic status of output 3 FUSE Red Overcurrent OK Off No power is applied Red briefly Performing self test Solid Green OK normal operating condition Flashing Green OK module in Program or Fault mode Solid Red or Amber Hardware error Cycle power to the module If problem pe
14. error codes Safety considerations are an important element of proper troubleshooting procedures Actively thinking about the safety of yourself and others as well as the condition of your equipment is of primary importance The following sections describe several safety concerns you should be aware of when troubleshooting your control system Never reach in machin witch ATTENTION to a mac ne to actuate a switc because unexpected motion can occur and cause injury Remove all electrical power at the main power disconnect switches before checking electrical connections or inputs outputs causing machine motion Indicator Lights When any LED on the module is illuminated it indicates that power is applied to the module Publication 1769 UMO006A EN P March 2002 5 2 Diagnostics and Troubleshooting Publication 1769 UMO006A EN P March 2002 Stand Clear of the Machine When troubleshooting any system problem have all personnel remain clear of the machine The problem could be intermittent and sudden unexpected machine motion could occur Have someone ready to operate an emergency stop switch in case it becomes necessary to shut off power to the machine Program Alteration There are several possible causes of alteration to the user program including extreme environmental conditions Electromagnetic Interference EMD improper grounding improper wiring connections and unauthorized tampering If you suspect a progr
15. transformers contactors and ac devices Routing field wiring in a grounded conduit can reduce electrical noise If field wiring must cross ac or power cables ensure that they cross at right angles Terminal Block To ensures optimum accuracy limit overall cable impedance by keeping cable as short as possible Locate the module as close to input devices as the application permits Tighten terminal screws with care Excessive tightening can strip a screw Grounding e This product is intended to be mounted to a well grounded mounting surface such as a metal panel Additional grounding connections from the module s mounting tabs or DIN rail Gf used are only required when the mounting surface is non conductive and cannot be grounded Keep shield connection to ground as short as possible Ground the shield drain wire at the 1769 HSC input end only Refer to Industrial Automation Wiring and Grounding Guidelines Allen Bradley publication 1770 4 1 for additional information Publication 1769 UMO006A EN P March 2002 3 12 Installation and Wiring Publication 1769 UMO006A EN P March 2002 Considerations for Reducing Noise In high noise environments the 1769 HSC inputs may accept false pulses particularly when using low frequency input signals with slowly sloping pulse edges To minimize the effects of high frequency noise on low frequency signals perform the following Identify and remove noise sourc
16. 10 09 08 07 06 05 04 03 02 01 00 15 Range 12 Configuration Flags Not Used Inv Not Used LDW Type NotUsed ToThisCtr 21 Range 13 Configuration Flags Not Used Inv Not Used LDW Type NotUsed ToThisCtr 27 Range 14 Configuration Flags Not Used Inv Not Used LDW Type NotUsed ToThisCtr 33 Range 15 Configuration Flags Not Used Inv Not Used LDW Type NotUsed ToThisCtr ToThisCtr Range Counter Number Range12To15 n ToThisCounter This 2 bit value indicates which counter will be used in the range comparison or Range12To15 z LoadDirectWrite The counter is indicated as follows Table 4 8 Range Counter Number Determination Bit Bto Jj Comter TQ 0 1 1 1 0 2 1 1 3 If Range12To15 n ToThisCounter is set to a number larger than NumberOfCounters in the Configuration Array then the InvalidCtrAssignToRangen error bit in the Input Array will be set Type Range Type Range12To15 n Type This bit value indicates which type of value to use for the range comparison in Range That is the Range12To15 7 ToThisCounter from above and this Range12To15 n Type value determine the rate or count value the current value which is compared to for the range comparison The type of value is indicated as follows 0 Count Value e 1 Rate Value When Range12To15 n LoadDirectWrite is set Range12Tol15 7 Type is ignored Publication 1769 UMO006A
17. 2 4 Module Operation The module has six input points AO BO ZO Al B1 and Z1 Through these inputs the module can function with 1 2 3 or 4 counters depending upon the number of counters and the operational mode configuration of the input points Number of Counters The table below summarizes the input configurations available for all counters based on the number of counters Summary of Available Counter Configurations Publication 1769 UMO006A EN P March 2002 Number of Counter Operational Mode Gate or Preset Counters Functionality 0 Any All 1 Counter 1 through3 Not available 0 Any All 2 Counters 1 Any All 2 and 3 Not Available 0 Any All Pulse Internal Direction All 3 Counters 2 Pulse Internal Direction None 3 Not available 4 Counters 0 Pulse Internal Direction All 1 Pulse Internal Direction All Pulse Internal Direction None 3 Pulse Internal Direction None Module Operation 2 5 The counter options and operating modes are summarized in Figure 2 1 Figure 2 1 Summary of Available Counters Counter 2 not available Counter 0 gt any mode Y Counter 1 not available Counter 3 not available 000 G9 1 Counter Counter 0 Counter 2 any mode pulse internal Counter 1 pulse internal Counter 3 not available a 3 Counters 000 000 6 00 Counter 2 not available Counter 0 any mode Counter 3 not ava
18. Decoded Discrete Input State H NumberOfCounters Operational Mode Pulse Direction bier Dirlnhibit Pulse Interval Rate Min Max and Linear Ring See page 2 18 to Update Time Overflow ResetOvf determine how and Underflow ResetUdf when to use to calculate rates Scalar I Store CtrnConfig StorageMode2 RisingEdgeZ reset REZ Rate Valid Zinn LS Overflow Z nvert Underflow Enable Preset L CtrnEn Direct Write Hysteresis errno trago 1 InputStateZn gating I Direct Write HiLimOrDirwr LoadDirectWrite ToThisCounter Preset CtrnSoftPreset CtrnConfig StorageMode 0 and Rising Edge Z Automatic PresetWarning Preset Warning 1 resets Publication 1769 UMO006A EN P March 2002 Outputs Module Operation 2 3 The following diagram illustrates how the outputs function Object Value por Count Current Rate Discrete Ranges S Mask High Limit Off Mask Low Limit Type Invert Counter Active Output Control Range Enable feedback Output real only Mode Run Program Fault Overcurrent Mode Program Fault Run Overcurrent Flags Hold Last State L Program Mode Fault Mode User Defined Safe State OverCurrentLatchOff ResetBlownFuse I Program State Fault State Safe State Run Program State Run Fault State Run Program to Fault Enable Readback real and virtual Publication 1769 UMO006A EN P March 2002
19. General Considerations Publication 1769 UMO006A EN P March 2002 Low Voltage Directive This product is tested to meet Council Directive 73 23 EEC Low Voltage by applying the safety requirements of EN 61131 2 Programmable Controllers Part 2 Equipment Requirements and Tests For specific information required by EN61131 2 see the appropriate sections in this publication as well as the following Allen Bradley publications e Industrial Automation Wiring and Grounding Guidelines for Noise Immunity publication 1770 4 1 e Automation Systems Catalog publication B113 The modules receive power through the Compact bus interface from the 45V dc 24V dc system power supply The maximum current drawn by the modules is shown in the table below Module Current Draw at 5V dc at 24V dc 425 mA 0 mA Compact I O is suitable for use in an industrial environment when installed in accordance with these instructions Specifically this equipment is intended for use in clean dry environments Pollution degree 2 and to circuits not exceeding Over Voltage Category rt IEC 60664 1 1 Pollution Degree 2 is an environment where normally only non conductive pollution occurs except that occasionally a temporary conductivity caused by condensation shall be expected 2 Over Voltage Category Il is the load level section of the electrical distribution system At this level transient voltages are controlled and do not exceed the im
20. Overflow e Ctrin Underflow e Ctrin InvalidDirectWrite e Ctr n InvalidCounter e Ctr 7 PresetWarning where n indicates the counter number To determine which error has set the GenError bit identify which bit is set This could be done by using a subroutine to examine these bits in the Input Array Ctr 7 RateValid does not set the GenError bit Module Configuration Output and Input Data 4 35 Invalid Counter Assigned to Range InvalidCtrAssignToRange12 through InvalidCtrAssignToRange 15 InvalidCtrAssignToRangel2 is set when the indicated range in the Output Array refers to a non existent counter It is set 1 when Range12Tol15 7 ToThisCounter gt NumberOfCounters It is cleared 0 when Range12To15 7 ToThisCounter NumberOfCounters When this error occurs the entire Output Array is rejected until a valid configuration is detected Invalid Range Limit InvalidRangeLimit12 through InvalidRangeLimit15 This bit is set when the range limits are invalid according to the limitations indicated in Range12To15 7 HiLimOrDirWr and Range12To15 n LowLimit in the Output Array e 1 Range limits are invalid e no error When this error occurs the entire Output Array is rejected until a valid configuration is detected Range Active RangeActive 0 through RangeActive 15 Cc 1 39 E98 RE e s oso O9 poa OT En i O 05 1509 En 9E EO Range Active RangeActive 0 through RangeActive 15 This word re
21. Range0to11 2 HighLimit Range0to11 2 HighLimit Range0to11 2 LowLimit Range0to11 2 LowLimit Range0To11 1 ToThisCounter_1 Range0To11 1 Type Range0To11 1 Invert Publication 1769 UMO006A EN P March 2002 Programming Quick Reference D 3 62 63 64 65 66 67 68 69 70 n 72 73 n 75 76 71 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 5 Ee en pose esses sen senos s Description Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 Out06 OutO5 Out04 Out03 Out02 Out01 Out00 RangeOto11 2 OutputControl Inv Type ToThisCtr Range tot1 2 ConfigFlags Range0To11 2 ToThisCounter_0 Range0To11 2 ToThisCounter_1 Range0to1 1 3 HighLimit Range0to11 3 HighLimit Range0To11 2 Type Range0To11 2 Invert
22. are 1000 counts between pulses then the error is 1 in 1000 or 0 196 Error for a variety of pulse values is shown below Table 2 8 Per Pulse Errors Actual 1 ps Reported Real Reported Error Internal Pulses Frequency Frequency Pulses 2 500 kHz 1 MHz 100 9 10 111 kHz 100 kHz 11 1 101 100 9 901 kHz 10 000 kHz 1 00 1001 1000 999 Hz 1000 Hz 0 10 9 999 10 000 100 01 Hz 100 00 Hz 0 010 99 999 100 000 10 00010 Hz 10 00000 Hz 0 001 1 1 9999 can be rounded to 2 and so on Output Control Module Operation 2 23 Cyclic Method Since the update time is programmable there is more flexibility in choosing the correct fit when using the Cyclic Method Error estimates are shown below for a variety of update times Table 2 9 Maximum Cyclic Rate Errors CyclicRate Frequency Update 100 Hz 1 kHz 10kHz 100kHz 1MHz Scalar n a n a 20 02 2 011 0 210 10 n a 20 11 2 020 0 210 0 030 00 20 01 2 110 0 220 0 031 0 012 1000 3 010 0 310 0 040 0 013 0 010 10 000 1 210 0 130 0 022 0 011 0 010 See also Rate Accuracy graph on page A 3 All 16 outputs can be controlled by any of the 4 counters or by the user s control program via the output mask function Output states are determined by count rate ranges mask configuration data overcurrent status and safe state settings and conditions The 16 outputs are mad
23. 1 35 kHz 1 25 ms 400 Hz 5 ms 100 Hz 3 7 ms 135 Hz 12 5 ms 40 Hz 1 Equivalent frequency assumes a perfect 5096 duty cycle and are for reference purposes only Hence the no filter setting is guaranteed to pass 4 MHz even though the module s maximum is 1 MHz This allows the sensor and wiring to attenuate the pulse to 2596 duty cycle while the module maintains pulse recognition Publication 1769 UMO006A EN P March 2002 The built in filters are simple averaging low pass filters They are designed to block noise pulses of width equal to the values presented in Table 2 2 Applying full amplitude 5096 duty cycle signals that are of frequency above the selected filter s threshold frequency may result in an average value signal of sufficient amplitude to turn the input on A transition from no input to the full amplitude 5096 duty cycle signal Cor back to no signal may result in inadvertent input transitions IMPORTANT 1 Low pass filters block frequencies above the threshold frequency Operational Mode Selection Module Operation 2 7 A count channel s operational mode configuration selection determines how the A and B inputs cause a counter channel to increment or decrement The six available mode selections are e Pulse External Direction Input e Pulse Internal Direction Input Up and Down Pulse Input e X1 Quadrature Encoder Input e X2 Quadrature Encoder Input e X Quadrature Encoder Input IMPORTANT The operational mod
24. 1500 Appendix C Programming Quick Reference Appendix D Publication 1769 UMO006A EN P March 2002 Preface 2 Related Documentation The table below provides a listing of publications that contain important information about Compact I O CompactLogix and MicroLogix 1500 systems For A user manual containing information on how to install use and program your MicroLogix 1500 controller Read this document MicroLogix 1500 User Manual Document number 1764 UM001A US P A user manual containing information on how to install use and program your CompactLogix processor CompactLogix User Manual 1769 UM007C EN P A user manual containing information on how to install and use your 1769 ADN DeviceNet Adapter DeviceNet Adapter User Manual 1769 UM001A US P An overview of 1769 Compact Discrete I O modules 1769 Compact Discrete Input Output Modules Product Data 1769 2 1 An overview of the MicroLogix 1500 System including 1769 Compact 1 0 MicroLogix 1500 System Overview 1764 S0001B EN P In depth information on grounding and wiring Allen Bradley programmable controllers Allen Bradley Programmable Controller Grounding and Wiring Guidelines 1770 4 1 If you would like a manual you can e download a free electronic version from the internet at www theautomationbookstore com purchase a printed manual by Conventions Used in This Manual
25. 55 C 131 F 26 4V de 60 C 140 F 5V de 1 Input voltage derating between 55 C and 60 C is achieved by using a dropping resistor For 24V dc input voltage use a 2 4 kQ Watt resistor For input voltages greater than 24V dc use a Y Watt resistor with value 125 x Vi 5V Maximum Output Voltage 24V dc Operation Voltage Derating Based on Temperature 31 30 29 28 2 26 4V dc at 55 C 26 T T T T T T 0 10 20 30 40 50 60 70 Ambient Temperature C Temperature Derated Voltage 0 C to 40 C 32 F to 104 F 30V de 55 C to 60 C 131 F to 140 F 26 4V dc Current per Point A Current per Module A Specifications A 5 Maximum Output Current per Point 5V dc Operation Current Derating Based on Temperature 1 5 1 0 5 0 5A at 60 C 0 0 10 20 30 40 50 60 70 Ambient Temperature C Temperature Derated Current 0 C to 40 C 32 F to 104 F 1A 60 C 140 F 0 5A Maximum Output Current per Module 5V dc Operation Current Derating Based on Temperature 5 4 3 2 1 2A at 60 C 0 0 10 20 30 40 50 60 70 Ambient Temperature C Temperature Derated Current 0 C to 40 C 32 F to 104 F 4A 60 C 140 F 2 0A Publication 1769 UMO006A EN P March 2002 A 6 Specifications Current per Point A Current per Module A Publication 1769 UMO006A EN P March 2002 Maximum Output Current per Point 24V dc Operat
26. FVO not used Local 4 C Data 6 16 4F80 Low word for CtrOMaxCount Local 4 C Data 7 16 0012 High word for CtrOMaxCount Local 4 C Data 8 620000 Low word for CtrOMinCount Local 4 C Data 9 16 0000 High word for CtrOMinCount Local 4 C Data 10 1620000 Low word for CtrOPreset Local 4 C Data 11 1620000 High word for CtrOPreset Local 4 C Data 12 16 0000 Hysteresis not used Local 4 C Data 13 1620001 Not used must set to 1 Local 4 C Data 14 1620001 Not used valid range 1 32767 Local 4 C Data 15 16 0006 Operational Mode Quadrature Encoder X4 Local 4 C Data 18 through Local 4 C Data 45 are for configuring counters 1 through 3 Since we are only using counter 0 in this example these words should not be modified Local 4 C Data 46 16 27C0 Low word for RangeOHighLimit Local 4 C Data 47 16 0009 High word for RangeOHighLimit Local 4 C Data 48 16 A120 Low word for RangeOLowLimit Local 4 C Data 49 1620007 High word for RangeOLowLimit Local 4 C Data 50 16 0001 Enable Output 0 for Range0 Local 4 C Data 51 6 0000 For Counter0 Counter Value Local 4 C Data 52 16 4F80 Low word for Range1HighLimit Local 4 C Data 53 16 0012 High word for Range1HighLimit Local 4 C Data 54 16 4240 Low word for Range1LowLimit Local 4 C Data 55 16 000F High word for Range1LowLimit Local 4 C Data 56 16 0002 Enable Output 1 for Range Local 4 C Data 57 16 0000 For Counter0 Counter Value Local 4 C Data 58 through Local
27. Sensor with Open Collector Sinking Output Module Inputs 1 External resistors are required if they are not internal to the sensor The pull up resistor R value depends on the power supply value The table below shows the maximum resistor values for typical supply voltages To calculate the maximum resistor value use the following formula Re Vdc Vmin Imin where R maximum pull up resistor value Vdc power supply voltage Vmin 2 6V dc Imin 6 8 mA Power Supply Voltage Vdc Maximum Pull up Resistor Value R dvd qQUEO 12N dc 1382 Q 24V dc 3147 Q 1 Resistance values may change depending upon your application The minimum resistor R value depends on the current sinking capability of the sensor Refer to your sensor s documentation Publication 1769 UMO006A EN P March 2002 3 20 Installation and Wiring Publication 1769 UMO006A EN P March 2002 Outputs The four output terminals must be powered by a user supplied external source User Power range is from 5 to 30V dc See Output Specifications on page A 2 for voltage and current levels There is no isolation between the outputs but the outputs are isolated from the inputs and the 1769 Compact bus Electronic Protection The electronic protection of the 1769 HSC has been designed to provide protection for current overload and short circuit conditions The protection is based on a thermal cut out principle In the event of a short ci
28. State Run Fault State Run allows you to specify on a bit basis that the output should continue to be controlled by the module as if it were Run state That is events on the module or changes in the Output image will affect the physical outputs without regard to the Program HLS or UDSS state indicated When this bit is set the corresponding Program Mode and Program Value bits are ignored ATTENTION Selecting this option will allow outputs to change state while ladder logic is not running You must take care to assure that this does not pose a risk of injury or equipment damage when selecting this option Module Configuration Output and Input Data 4 11 IMPORTANT The prescan initiated by some controllers could have an effect on the outputs To overcome any changes in physical output states that may be caused by this retentive output instructions eg latch unlatch etc should be used when bit manipulations are done on the Output image of this module in ladder logic This applies to a wide range of bits when Fault State Run is selected since presetting a counter enabling a range changing a mask and changing Configuration Array settings can cause ranges and outputs to change state Output Fault Value Out FaultValue through Out3FaultValue PS a DTE OE SOS OE URTEIL SEES O10 Not Used Configuration Array Word 5 Output Fault Value These bits are the values that will be applied to each of the real
29. The control bits are shown on page 4 24 RV Rate Valid Ctr 0 RateValid to Ctr 3 Rate Valid This bit is set 1 when the rate value indicated in Ctr 7 CurrentRate is current When this bit is reset 0 Ctr 7 CurrentRate is frozen at the last known good value This bit is reset when the Ctr 7 Overflow or Ctr 7 Underflow bits have been set during the last CtrzCyclicRateUpdateTime period See page 2 21 for more Rate Valid reset conditions CnPW Counter Preset Warning Ctr 0 PresetWarning to Ctr 3 PresetWarning This bit is set when Ctrl7 CurrentCount has been forced by the module to the CtrzPreset value This will happen when a Configuration Array is accepted which sets CtrnMinCount gt Ctr n CurrentCount or CtrnMaxCount lt Ctr 7 CurrentCount This bit is reset by a 0 to 1 transition of the CtrnResetCtrPresetWarning bit in the Output Array TIP You must manually reset CuPW COvf CUdf and REZ but not IDW RV or IC to enable them to be set I again Publication 1769 UMO006A EN P March 2002 4 40 Module Configuration Output and Input Data Publication 1769 UMO006A EN P March 2002 Safety Considerations Chapter 5 Diagnostics and Troubleshooting This chapter describes troubleshooting the module This chapter contains information on safety considerations when troubleshooting module vs counter operation the module s diagnostic features critical vs non critical errors
30. Then enter the following ladder rung c RSLogix 5000 HSC Appl Example 1769 L20 MainProgram MainRoutine Ei File Edit View Search Logic Communications Tools Window Help alga a Hee A Sl I Brie eed la xl Offline J 7 RUN FE Path 48 on x No Forces py ok t No Edits a EA al H tol s Fat rsc cor rut ave srr gt 4 gt Z ComputemMath K MovelLogical AFile Misc 4 File Shift X Ser F 0 8 E E Controller HSC Appl Example A Controller Tags 3 Controller Fault Handler 3 Power Up Handler B E Tasks B 48 MainT ask 2 MainProgram A Program Tags Eh MainRoutine 73 Unscheduled Programs CJ Trends B E Data Types Cj User Defined ESR Strings i STRING E CR Predefined H E Module Defined 5 6 1 0 Configuration 88 0 CompactBus Local BJ 1117694960 w4 A BJ 2 1769 0V16 4 BJ 3 17694F4 A BJ 4 1769 MODULE HS Publication 1769 UMO006A EN P March 2002 End COP _ Copy File Source Local 4 1 Data 4 Dest CtrO_CurrentCount Length 1 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder B 11 Notice that the Source of the COP instruction is the first of the two integer tags that represent the Current Count for Counter0 The destination of the COP instruction is the DINT you just created The length of a COP instruction is always determined by the Destination
31. any changes in physical output states that may be caused by this retentive output instructions eg latch unlatch etc should be used when bit manipulations are done on the Output image of this module in ladder logic This applies to a wide range of bits when Program State Run is selected since presetting a counter enabling a range changing a mask and changing Module Configuration Array settings can cause ranges and outputs to change state Module Operation 2 29 Fault State Run FSR Similar to Program State Run Fault State Run allows you to specify on a bit basis that the output should continue to be controlled by the module as if it were Run state That is events on the module or changes in the Output image will affect the physical outputs without regard to the Program HLS or UDSS state indicated When this bit is set the corresponding Program Mode and Program Value bits are ignored FSR sets the module according to the value configured for Output Fault State Run described on page 4 10 ATTENTION Selecting this option will allow outputs to change state while ladder logic is not running You must take care to assure that this does not pose a risk of injury or equipment damage when selecting this option IMPORTANT The prescan initiated by some controllers could have an effect on the outputs To overcome any changes in physical output states that may be caused by this retentive output instructions eg latch
32. be Quadrature Encoder X4 Continue to spin the encoder shaft until the current count value is within the limits set for RangeO 500 000 to 600 000 Output 0 should turn on only when the current count value is equal to or within the RangeO limits Output1 should turn on only when the Current Count value is equal to or within the Rangel limits 1 000 000 to 1 200 000 These two outputs will be off for all other values of the Current Count for Counter 0 You could also use a CPW instruction to monitor 32 bit values via ladder logic Appendix D Programming Quick Reference This appendix contains at a glance listings of the Configuration Array e Output Array Input Array These sheets are also available electronically They can be downloaded from www theautomationbookstore com Search for Item Number 1769 QR002A EN E You can print out the PDF file for your reference Publication 1769 UMO006A EN P March 2002 D 2 Configuration Array wo so 22 28 12 13 14 15 16 7 18 19 20 21 22 23 24 25 26 2 28 29 30 31 32 33 34 35 36 37 38 39 45 47 49 50 51 52 53 54 55 56 57 58 59 60 61 Programming Quick Reference noted The default value for the Configuration Array is all zeros except where
33. discrete device wiring 3 19 isolation 3 11 reducing noise 3 4 3 12 ingle ended encoder wiring 3 18 terminal block wiring 3 16 installation grounding 3 11 heat and noise considerations 3 4 Invalid Counter 4 39 Invalid Counter Assigned to Range 4 35 Invalid Direct Write 4 38 Invalid Output 4 34 Invalid Range Limit 4 35 o co L LEDs overview 1 4 power up diagnostics 5 4 safety considerations 5 1 troubleshooting status 1 4 5 4 linear counter 2 14 4 16 Load Direct Write 4 30 Masks 2 23 Maximum Count 4 3 4 11 MicroLogix 1500 application example C 1 D 1 compatibility 1 1 user manual P 2 Minimum Count 4 3 4 12 Module Configured 4 34 module error field 5 6 mounting 3 7 nameplate label 1 3 number of counters 2 4 4 8 5 13 0 operating block diagrams 2 2 description 2 1 Operational Mode 4 15 Output Array D 4 output array 4 21 output control 2 23 Output Control Example 2 30 Output Fault Mode 4 3 4 10 Output Fault State Run 4 3 4 10 Output Fault Value 4 3 4 11 Output Off Mask 2 24 4 21 4 23 Output On Mask 2 23 4 21 4 22 Output Program Mode 4 3 Output Program State Run 4 3 Output Program Value 4 3 4 10 outputs basic description 1 2 block diagram 2 3 isolation 3 20 overcurrent autoreset operation 3 20 required power supply 3 20 short circuits 3 20 terminal block wiring 3 16 thermal protection 3 20 transient pulse warning 3 21 wiring diagram 3 22 Overcurrent 2 27 Overcurrent Feedback 4 33 OverC
34. equal to RangeOTo11 n HighLimit When the range is active the RangeActive n bit is set When the range is active and enabled the outputs indicated in the Range Output Control word are applied Ranges can be active in overflow underflow and rollover situations Module Configuration Output and Input Data 4 21 Output Array The Output Array which consists of 34 words allows you to access the module s real time output data to control the module The default value is all zeros IMPORTANT The Output Array contains dynamic configuration data The settings in the Output Array must be compatible with the settings in the Configuration Array For example do not attempt to set Counter Control Bits for a given counter in the Output Array unless NumberOfCounters in the Configuration Array indicates that the counter is declared to be used IMPORTANT All Not Used bits shaded in Table 4 7 must be set to 0 or the InvalidOutput bit in the Input Array will be set When the InvalidOutput bit is set the entire Output Array is rejected until an Output Array that does not have this error is sent Table 4 7 Output Array Bit Word 15 134 33 i2 11 10 09 08 07 06 05 04 03 02 01 00 Function 0 Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out
35. lt cur xsosoct xoc GG C 8 Appendix D Configuration ATTA Vs c sra e bota eek own ede HC EUER CR eC D 2 Cli BUE ATAV e p quise adottare ue God aide soe ond D 4 Tou ANDER us ocu wes pecs a ond Ren oa eod cit Rd a D 5 Index Who Should Use This Manual How to Use This Manual Preface Read this preface to familiarize yourself with the rest of the manual This preface covers the following topics who should use this manual how to use this manual related publications conventions used in this manual Rockwell Automation support Use this manual if you are responsible for designing installing programming or troubleshooting control systems that use Allen Bradley Compact I O and or Micrologix 1500 or CompactLogix controllers As much as possible we organized this manual to explain in a task by task manner how to install configure program operate and troubleshoot a control system using the 1769 High Speed Counter modules Manual Contents If you want See An overview of the module Chapter 1 A description of module operation including counters inputs and Chapter 2 outputs Installation and wiring guidelines Chapter 3 Module addressing configuration and status information Chapter 4 Information on module diagnostics and troubleshooting Chapter 5 Specifications Appendix A Programming and Configuration for CompactLogix Appendix B Programming and Configuration for MicroLogix
36. non condensing Operating Altitude 2000 meters 6561 feet Vibration Operating 10 to 500 Hz 5G 0 030 in peak to peak Relay Operation 2g Shock Operating 30G 11 ms panel mounted 20G 11 ms DIN rail mounted Non Operating 40G panel mounted 30G DIN rail mounted System Power Supply Distance Rating 4 The module may not be more than 4 modules away from a system power supply Recommended Cable individually shielded twisted pair cable or the type recommended by the encoder or sensor manufacturer Agency Certification e C UL certified under CSA C22 2 No 142 e UL508 listed e CE compliant for all applicable directives Hazardous Environment Class Class Division 2 Hazardous Location Groups A B C D UL 1604 C UL under CSA C22 2 No 213 Radiated and Conducted Emissions EN50081 2 Class A Vendor I D Code 1 Product Type Code 109 Product Code 19 Electrical EMC The module has passed testing at the following levels ESD Immunity IEC61000 4 2 e 4kV contact 8 kV air 4 kV indirect Radiated Immunity IEC61000 4 3 10 V m 80 to 1000 MHz 80 amplitude modulation 900 MHz keyed carrier Fast Transient Burst IEC61000 4 4 2 kV SkHz Surge Immunity IEC61000 4 5 e kV galvanic gun Conducted Immunity IEC61000 4 6 e 10V 0 15 to 80MHz 1 This rating applies for your system if a relay module such as the 1769 OW8 is used
37. of information exists in the extended error information field These types of module errors are typically reported in the controller s I O status file Refer to your controller manual for details Error Type Module Error Field Value Description Bits 11 through 09 Binary No Errors 000 No error is present The extended error field holds no additional information Hardware Errors 001 General and specific hardware error codes are specified in the extended error information field Configuration 010 Module specific error codes are indicated in the extended error field These Errors error codes correspond to options that you can change directly For example the input range or input filter selection Publication 1769 UMO006A EN P March 2002 Extended Error Information Field Check the extended error information field when a non zero value is present in the module error field Depending upon the value in the module error field the extended error information field can contain error codes that are module specific or common to all 1769 modules TIP If no errors are present in the module error field the extended error information field will be set to zero Hardware Errors General or module specific hardware errors are indicated by module error code 1 See Table 5 5 General Common Hardware Error Codes on page 5 8 Diagnostics and Troubleshooting 5 7 Configuration Errors If you set the fields in the configuration file
38. outputs when User Defined Safe State is set as described above and the module is in Fault state Outputs are also affected by PFT above Counter Maximum Count CtrnMaxCount Configuration Array Words 15 14 13 12 11 10 09 08 07 05 o 03 02 Ot o 6 Counter 0 Maximum 7 Count Ctr MaxCount 16 Counter 1 Maximum 17 Count Ctrl MaxCount 26 Counter 2 Maximum SENE 2 Count 36 Counter 3 Maximum 37 Count Publication 1769 UMO006A EN P March 2002 4 12 Module Configuration Output and Input Data This is the maximum count value allowed for counter 7 The count value cannot exceed this value Allowable values are Ctrz zMinCount 1 through 2 147 483 647 decimal The default value is 2 147 483 647 decimal for counters 0 and 1 The default value is O for counters 2 and 3 TTTISEMCGNE Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Counter Minimum Count CtrnMinCount Configuration Array Words 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Counter 0 Minimum Count Ctr MinCount 7 Counter 1 Minimum Count Ctr1MinCount gt Counter 2 Minimum Count Ctr2MinCount gt Counter 3 Minimum Count Ctr3MinCount This is the minimum count va
39. range is active between or outside the range limits When the chosen value fulfills the configuration parameters the range is active as indicated in the Input Array When a range is active and enabled RangeEn z 1 the range turns on all outputs indicated by the Range Output Mask except those that are prevented from being enabled by the other factors such as Output Off Mask or Overcurrent The status of a range is provided by the range active status word where 1 equals range active and zero equals inactive Ranges can be disabled while the module is running using the RangeEn z bit in the output file However even a disabled range will report when it is active or p not For example an unprogrammed range has limits of 0 and points to the Ctr 0 CurrentCount value If this value is 0 that range is reported as active 200 000 1 gt Range 4 Stop Value on Output 1 i Range 2 Range 4 Module Operation 2 25 Count Range In a non inverted count range the outputs are active if the count value is within the user defined range In an inverted count range the outputs are active if the count value is outside the user defined range Valid limits for the range are 2 billion and 2 billion regardless of programmed minimum and maximum values The example shows all ranges referring to one counter The module is capable of individually assigning each range to any counter Each counter can also have a combination of count and rate
40. ranges Figure 2 8 Count Range Example off Output 0 0 106 000 Ctr 0 CurrentCount a Start Value Range 3 Output 2 Output 3 Table 2 10 Count Range Example Values o t Outputs 2 E 8 is E E m Range n OutputControl word 5 sS amp s 8 8 jie lea E lt o o oc o o 5 a ala c c 2 zz amp E EE amp amp 15 14 13 12 11 10 9 I8 7 6 5 4 3 2 1 lo I 1 01 10 7000 5000 0 0 1O JO JO JO 10 JO JO 0 0 JO JO JO JO 0 1 0 2 01 0 1000 4500 0 0 1O JO JO JO 10 O JO 10 JO JO JO 0 JO 1 JO J1 3 01 0 4000 3000 0 0 1O 0 JO JO 10 JO JO 10 JO JO JO 0 1 0 40 4 01 0 9000 9000 1 0 00 10 JO 10 IO IO 0 10O 0 IO 1 JO JO 1 0and3 1 For Range Type 0 count range and 1 rate range 2 Bits 0 through 3 are real outputs Bits 4 through 15 are virtual outputs Publication 1769 UM006A EN P March 2002 2 26 Module Operation 1 000 000 Rate Range In a non inverted rate range the outputs are active if the rate measurement is within the user defined range In an inverted rate range the outputs are active if the rate measurement is outside the user defined range The input rate can be up to 1 MHz in either direction The example shows all ranges referring to one counter The module is capable of individually assigning each r
41. tag in this case a single DINT If this were reversed and the Source of the COP were the DINT and the Destination was the address of the first of two integers then the length would be 2 Save the program and download it to your controller Place the controller into the RUN mode and spin the shaft on your 845F encoder Tag CtrOCurrentCount will display the current count data for CounterO of the 1769 HSC This count for this example is the number of pulses received from the encoder times 4 we chose the operating mode to be Quadrature Encoder X4 Continue to spin the encoder shaft until the current count value is within the limits set for RangeO 500 000 to 600 000 OutputO should turn on only when the current count value is equal to or within the RangeO limits Outputl should turn on only when the Current Counts value is equal to or within the Rangel limits 1 000 000 to 1 200 000 These two outputs will be off for all other values of the Current Count for Counter0 Publication 1769 UMO006A EN P March 2002 B 12 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder Publication 1769 UMO006A EN P March 2002 Appendix C 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder System Diagram MicroLogix 1500 Controller 1764 Lxx 769 HSC 1769 ECR 000000000 oooo 0009
42. the B input The Direction Invert bit when set 1 reverses the operation of the B input but only if the Direction Inhibit bit is not set If the Direction Inhibit bit is set then the Direction Invert bit controls counter direction When the Direction Inhibit bit is set 1 and Direction Invert 0 count direction is up forward and Direction Invert 1 count direction is down reversed Figure 2 2 Pulse External Direction Mode Direction Inhibit 0 Direction Invert 0 Count Pulse o Input A Encoder or Sensor Direction Control o Input B O Input Z aans SULU Direction Control High Decrement Low Increment Count 1 2 3 2 1 0 1 2 Publication 1769 UMO006A EN P March 2002 Module Operation 2 9 Table 2 3 Pulse External Direction Counting Direction Direction Input A Input B Change in Inhibit Bit Invert Bit Count Direction Count Value 0 0 T 0 or open 1 T 1 1 0 1 4 don t care 0 0 1 T 0 or open 1 T 1 1 0 1 4 don t care 0 1 0 T 0 or open 1 ii 1 1 0 1 4 don t care 0 1 1 T 0 or open 1 T 1 1 Utah don t care 0 See Direction Inhibit and Direction Invert Output Control Bits page 2 7 for more information Pulse Internal Direction Mode Selection When the Pulse Internal Direction mode is selected the status of the Direction Invert bit as control
43. wire signal wire foil shield drain wire signal wire signal wire To wire your module follow these steps 1 At each end of the cable strip some casing to expose the individual wires 2 Trim the signal wires to 2 in 5 cm lengths Strip about 3 16 in 5 mm of insulation away to expose the end of the wire Publication 1769 UMO006A EN P March 2002 Installation and Wiring 3 15 ATTENTION Be careful when stripping wires Wire fragments that fall into a module could cause damage at power up 3 At the 1769 HSC input end of the cable twist the drain wire and foil shield together bend them away from the cable and apply shrink wrap Ground the shield at this end 4 At the other end of the cable cut the drain wire and foil shield back to the cable and apply shrink wrap 5 Connect the signal wires to the terminal block Connect the other end of the cable to the input device 6 Repeat steps 1 through 5 for each channel on the module Terminal Door Label A removable write on label is provided with the module Remove the label from the door mark the identification of each terminal with permanent ink and slide the label back into the door Your markings ID tag will be visible when the module door is closed Publication 1769 UMO006A EN P March 2002 3 16 Installation and Wiring Terminal Block Wiring The input and output terminals are illustration in the figure below Both inputs and outputs are isol
44. 0 Asia Pacific Rockwell Automation 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Headquarters for Dodge and Reliance Electric Products Americas Rockwell Automation 6040 Ponders Court Greenville SC 29615 4617 USA Tel 1 864 297 4800 Fax 1 864 281 2433 Europe Rockwell Automation Br hlstra amp e 22 D 74834 Elztal Dallau Germany Tel 49 6261 9410 Fax 49 6261 17741 Asia Pacific Rockwell Automation 55 Newton Road 11 01 02 Revenue House Singapore 307987 Tel 65 351 6723 Fax 65 355 1733 Publication 1769 UMO006A EN P March 2002 Copyright 2002 Rockwell Automation All rights reserved Printed in the U S A
45. 02 Out01 Out00 Range12To15 0 OutputControl 0 15 s Range12To15 0 Config Range12To15 0 ToThisCounter 0 Inv LDW Type ToThisCtr Flags T Range12To15 0 ToThisCounter 1 Range12To15 0 Type k Range12To15 1 HiLimOrDirWr Range12To15 1 HiLimOrDirWr Range12To15 0 LoadDirectWrite Range12To15 0 Invert Range12To15 1 LowLimit Range12To15 1 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG OutOS Out04 Out03 Out02 Out01 Out00 Range12To15 1 OutputControl 0 15 S Range12To15 1 Config Range12To15 1 ToThisCounter 0 Inv LDW Type ToThisCtr Flags Range12To15 1 ToThisCounter 1 Range12To15 1 Type Range12To15 2 HiLimOrDirWr Range12To15 2 HiLimOrDirWr Range12To15 1 LoadDirectWrite Range12To15 1 Invert Range12To15 2 LowLimit Range12T015 2 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG OutOS Out04 Out03 Out02 Out01 Out00 Range12To15 2 OutputControl 0 15 g Range12T015 2 Config Range12To15 2 ToThisCounter 0 Inv LDW Type ToThisCtr Flags Ei Range12T015 2 ToThisCounter_1 Range12To15 2 Type Range12To15 3 HiLimOrDirWr Range12To15 3 HiLimOrDirWr Range12To15 2 LoadDirectWrite Range12To15 2 Invert Range12To15 3 LowLimit Range12T015 3 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG OutOS Out04 Out03 Out02 Out01 Out00 Range12To15 3 OutputControl 0 15 z Range12T01
46. 1 RisingEdgeZ This bit is set 1 when Zn as modified by the Ctr7ZInvert and CtrnZInhibit bits has a rising edge It is reset 0 by a 0 to 1 transition of the CtrzResetRisingEdgeZ bit in the Output Array N is equal to 0 or 1 depending upon which input is used ZO or Z1 IDW Invalid Direct Write Ctr 0 InvaliaDirectWrite to Ctr 3 InvalidDirectWrite This bit is set when the Range12To15 m HiLimOrDirWr is invalid For example if CtrmMaxCount lt Range12To15 7 HiLimOrDirWr or Range12To15 n HiLimOrDirWr lt CtrnMinCount When this error occurs the entire Output Array is rejected until a valid configuration is detected Module Configuration Output and Input Data 4 39 IC Invalid Counter Ctr 1 InvalidCounter to Ctr 3 Invalid Counter When set 1 this bit indicates that an invalid control bit is set for the counter Depending on the value of NumberOfCounters the following errors will occur e If NumberOfCounters lt 1 then setting one of the control bits for Counter 1 will result in input error flag Ctr 1 InvalidCounter e If NumberOfCounters lt 2 then setting one of the control bits for Counter 2 will result in input error flag Ctr 2 InvalidCounter e If NumberOfCounters lt 3 then setting one of the control bits for Counter 3 will result in input error flag Ctr 3 InvalidCounter When this error occurs the entire Output Array is rejected until an Output Array that does not have this error is sent
47. 1769 UMO006A EN P March 2002 Module Configuration Output and Input Data 4 37 Current Rate Ctr 0 CurrentRate to Ctr 3 CurrentRate Input Array Words BME Ee Ee i Or 09 qi 96 q507 07 01 09 8 Counter 0 Current Rate CtrlOl CurrentRate 9 18 Counter 1 Current Rate Ctrl1 CurrentRate 19 26 Counter 2 Current Rate Ctrl2 CurrentRate 27 32 Counter 3 Current Rate Ctrl3 CurrentRate 33 This 32 bit value is the current rate value scaled by CtrvScalar from the counter This uses the Cyclic Rate Calculation Method see page 2 19 for more information Rate based ranges use this value for comparisons even when the Ctr 7 RateValid bit is zero IMPORTANT This value is only current when the Ctr 7 RateValid bit is set 1 Pulse Interval Ctr 0 Pulselnterval and Ctr 1 Pulselnterval Input Array Words 15 14 13 12 11 10 09 08 07 06 05 04 of oz o o 10 Counter 0 Pulse Interval Ctr O Pulselnterval E l 20 Counter 1 Pulse Interval Ctr 1 Pulselnterval 7 l This is the time in microseconds between the last two pulses for the counter The pulses indicated here are those transitions on which the count value can change For example in quadrature X1 mode these are the successive rising edges of A only If more than two pulses have occurred since the value was last read the value indicates only the time between the ast two pulses that have been proce
48. 2767 milliseconds The number of net counts net change in Ctr 7 CurrentCount during that period is converted into a rate value providing an average pulse rate The generalized rate calculation is Rate A count A time IMPORTANT The rate calculation is based on net counts If a counter goes up 500 counts and down 300 counts the net count is 200 Therefore changes in direction and speed affect the Ctr 7 CurrentRate value The cyclic method is better suited to high pulse rates Publication 1769 UMO006A EN P March 2002 2 20 Module Operation Publication 1769 UMO006A EN P March 2002 Hysteresis Detection and Configuration Because physical vibration can cause an encoder to generate pulses which you may not wish to consider as valid motion a hysteresis value is used to eliminate a certain number of pulses in either direction as vibration generated These pulses are not used to calculate the Ctrl7 CurrentRate value You program the minimum number of counts that are considered to be valid motion using the CtrmHysteresis configuration word menu If the change in counts over the update time cycle is less than that minimum number of programmed counts the Ctr r CurrentRate is reported as zero NOTE This concept is not used to alter actual count values IMPORTANT Hysteresis does not depend on the direction s of the change in count Therefore creeping a slow change in count in one direction only can also be re
49. 4 4 id ue rites rev ASA VETE 2 et R4 2 14 Counter Types tieu Oto Re tnd pco Sek Odes AEn Road adt 2 14 Modifying Count Values isa a tp Ace bap OR Ret eae 2 15 Rate Timer Functionality 2 62 ec yox 48 YwticeE3 EG 2 18 Output CONO pe ba 9 etr oe Kah ee Ett e 2 23 Chapter 3 Compliance to European Union Directives 3 1 Power Requirements llle 3 2 General Considerations 24 4 28 e244 Rh VS PLES eS 3 3 2 System Assembly 0 0 0 0 csse 3 6 MOUS 5 55 atate ps Sut ee atti al ded dues A aide il Soak ats 3 7 Replacing the Module within a System 3 10 Field Wiring Connections 5 rete esta saaa 3 11 Chapter 4 Configuring the Module iss et iere er encor eet ed 8 4 1 Configuration A EEAYS scum S pon oco Ed X Cao teda 4 2 Q tPUt Atay axe o24 eek eee 6 Oye caw Ue EET EU 4 21 Input Array oauan he hin oS amp Rete RERUM SIL d a Eis 4 31 Chapter 5 Safety Considerations eeu Que aeg ean oe a s ote Rea 5 1 Module Operation vs Counter Operation 5 3 Counter Deraulis 354 6324 eo ee eer EGEri EREE es 5 3 Module Diagnostics ausi d ang e an sn Racket ww n edi 5 4 Non Critical vs Critical Module Errors 5 5 Module Error Definition asin ies vxoxw Esa ox OH Fea X5 5 5 EmO COC S54 Ped dopo y qud epe be tein d Mehr D qure ed ie 5 8 Contacting Rockwell Automation 5 14 Publication 1769 UMO006A EN P March 2002 Table of Contents ii Specifications 1769
50. 4 C Data 117 are for configuring ranges 2 through 11 Since we are only using ranges 0 and 1 in this example these words should not be modified Publication 1769 UMO006A EN P March 2002 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder B 9 TIP To enter double integer DINT values into 2 integer words create a single DINT in your Controller Tags area and call it Buffer or ees something similar Enter any DINT value into this tag in the decimal radix then change the radix to Hex The DINT value will be displayed in two 4 digit hex values The 4 digit hex value on the left is the high word and the one on the right is the low word Enter these values into the Configuration file or Output file where appropriate in the hex radix For example the CtrOMaxCount value is a DINT represented in the Configuration tag for the 1769 HSC as 2 integer words Local 4 C Data 6 and Local 4 C Data 7 The value we want to enter here is 1 200 000 Enter this value into our DINT Buffer in decimal then change to the hex radix The result is 16 0012_4f80 The low word is 4f80 hex and must be entered into tag Local 4 C Datal6 The high word is 0012 hex and must be entered into tag Local 4 C Data 7 Be sure to be in the hex radix before entering the hex values into these words 3 To fully configure the 1769 HSC module we must now modify parameters in the Output tag as well Click the plus sign to the l
51. 5 3 Config Range12To15 3 ToThisCounter 0 Inv LDW Type ToThisCtr Flags E Range12To15 3 ToThisCounter 1 Range12To15 3 Type Range12To15 3 LoadDirectWrite Range12T015 3 Invert Publication 1769 UMO006A EN P March 2002 Programming Quick Reference D 5 Input Array ES w wo yo cnm 11 12 13 14 15 16 7 18 19 20 21 22 23 24 25 26 2 28 29 30 31 32 33 34 The default value for the Input Array is all zeros 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description 21 B1 A ZO B0 A0 nputStateA0 InputStateZ1 Outi5 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 Out 6 Out 5 Out04 Out03 Out02 OutOi Out0O Readback 0 Readback 15 InvalidRangeLimit12 15 InvalidCtrAssignToRange12 15 GenErr InvOut MCfg Out0Overcurrent Out3 Status Flags InvalidRangeLimiti2 15 RangeActive 0 InvalidCtrAssignToRanget2 15 chico GenError R15 R14 R13 R12 R11 R10 R09 R08 R07 R06 R05 R04 R03 R02 R01 R00 RangeActive 15 invalidOutput ModConfig Ctr 0 CurrentCount Ctr 0 CurrentCount Out0Overcurrent0 3 Ctr 0 StoredCount Ctr 0 StoredCount Ctr 0 CurrentRate Ctr 0 CurrentRate Ctr 0 Pulselnterval Ctr 0 Pulseln
52. 5 Range0To1 1 8 HighLimit Range 8 High Limit 96 Ne e RangeOTo11 8 LowLimit Range 8 Low Limit 38 n n a p P a ae Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 8 Output Control 9 Not Used Inv Not Used Type Not Used ToThisCtr ias 8 Configuration 100 UMS Jt 4 RangeOTo11 9 HighLimit Range 9 High Limit 102 e A 48 RangeOTo11 9 LowLimit Range 9 Low Limit Ts ae T a d Pu a aa Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 9 Output Control 105 Not Used Inv Not Used Type Not Used ToThisCtr a 9 Configuration 106 A x X NE 48 7 Range0To1 1 10 HighLimit Range 10 High Limit 108 E e 4 RangeOTo11 10 LowLimit Range 10 Low Limit Publication 1769 UMO006A EN P March 2002 4 5 4 6 Module Configuration Output and Input Data Table 4 1 Configuration Array Bit Word 15 34 13 12 1 10 09 08 07 06 05 04 03 02 01 oo Function ue ae i pr a ae ae nu Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 10 Output Control m Not Used Inv Not Used Type NotUsed ToThisCtr roe 10 Configuration 112 ET NE 113 Range0To1 1 11 HighLimit Range 11 High Limit 114 N 4i RangeOTo11 11 LowLimit Range 11 Low Limit ut n i A P m d Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 11 Output Control n Not Used Inv N
53. Allen Bradley Compact High Speed Counter Module Catalog Number 1769 HSC User Manual Rockwell Automation Important User Information Because of the variety of uses for the products described in this publication those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements including any applicable laws regulations codes and standards The illustrations charts sample programs and layout examples shown in this guide are intended solely for purposes of example Since there are many variables and requirements associated with any particular installation Allen Bradley does not assume responsibility or liability to include intellectual property liability for actual use based upon the examples shown in this publication Allen Bradley publication SGI 1 1 Safety Guidelines for tbe Application Installation and Maintenance of Solid State Control available from your local Allen Bradley office describes some important differences between solid state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication Reproduction of the contents of this copyrighted publication in whole or part without written permission of Rockwell Automation is prohibited Throughout this manual we
54. Ctra MinCount value upon receiving the next count and sets the overflow bit If when counting down the counter reaches the CtrnMinCount value it rolls under to the CtryrMaxCount value upon receiving the next count and sets the underflow bit These bits can be reset using the CtrzResetCounterOverflow and CtrmResetCounterUnderflow bits Figure 2 7 Ring Counter Diagram Maximum Count Value Minimum Count Value Rollover Count Down Count Up The count value Ctr 7 CurrentCount can be stored reset or preset using the Z input CtrReset bit in the Configuration Array control bits in the Output Array or written over using a Direct Write command Table 2 7 Available Z Functions Setting For function Store on rising edge of Z store count in the Stored Count input word Hold while Z 1 hold counter at its current value Preset Reset on rising edge of Z preset the count value to the value in the preset word 1 If both a store and preset function are configured the stored count is captured before the preset operation takes place Because only the Z inputs are used for external IMPORTANT y aS A Ap gating and presetting these functions are not available for Counters 2 and 3 which do not have Z inputs All options are always available for Counters 0 and 1 regardless of input operational mode Publication 1769 UM006A EN P March 2002 2 16 Module Operation Publication 1769 UMO006A EN P March 2002 Coun
55. EN P March 2002 4 30 Module Configuration Output and Input Data Publication 1769 UMO006A EN P March 2002 LDW Load Direct Write Range12To15 n LoadDirectWrite A 0 to 1 transition of this bit causes counter nys current count value to change to the value of Range12To15 r HiLimOrDirWr IMPORTANT The write occurs according to the internal timings of the module and the system For the most predictable results the counter should be disabled or stopped while performing this action Tinie f both CtrmSoftPreset and Range12To15 n HiLimOrDirWr transition to 1 during the same Output Array update only the CtrmSoftPreset occurs Range12To15 n HiLimOrDirWr is ignored Inv Range Invert Range12To15 n Invert Indicates the active portion of Rangen When Range12Tol15 n Invert 0 the outputs are activated when the range value is at or between the Range12To15 n LowLimit and Range12To15 7 HiLimOrDirWr When Range12To15 Invert 1 the outputs are activated when the range is at or outside the range limits Object Value Current Count or Current Rate Invert Bit 0 lt C INACTIVE ACTIVE INACTIVE gt l DN IY l Invert Bit 1 lt ACTIVE INACTIVE ACINE gt l l l i Low Limit High Limit or Direct Write Value Module Configuration Output and Input Data 4 31 Input Array The Input Array which consists of 35 words allows read only access to the module s input data via word and b
56. EN P March 2002 This screen displays all the tags created for all the I O modules added to the system Discrete I O modules are not configurable at this time but all other types of I O modules must be configured In this example the 1769 IF4 and the 1769 HSC must be configured Refer to your Compact I O Analog Modules User Manual publication 1769 UM002A EN P for information on configuring the 1769 IF module The tags for I O modules are displayed in the following format where s is the slot number of the module Tag Description Local s l Input Image Local s 0 Output Image Local s C Configuration Data Each of these tags has a plus sign to its left Click on the plus sign to the left of any tag to open it For the 1769 HSC in slot 4 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder B 7 click on the plus sign to the left of Local 4 C A Reserved tag along with a Data tag are displayed We need only be concerned with the Data tag This is where we enter our configuration parameters for the 1769 HSC module Expand Local 4 C Data by clicking its plus sign A configuration tag with a length of 198 words is displayed but only the first 118 words are needed to configure the 1769 HSC module This 118 word configuration file is shown in Table 4 3 Word 0 in Table 4 3 corresponds to Local 4 C Datal0 Word 1 corresponds to Local 4 C Datal1 and so on It is best to configure the module in you
57. F status of input BO B1 Amber ON OFF status of input B1 Z0 Amber ON OFF status of input Z0 Z1 Amber ON OFF status of input Z1 ALL Possible causes for all LEDs to be on ON je Bus Error has occurred Controller hard fault Cycle power e During Flash Upgrade of Controller Normal Do not cycle power during the Flash Upgrade e AII LEDs will flash on briefly during power up This is normal Counter Defaults Chapter 2 Module Operation This chapter contains information about counter defaults module operation block diagrams number of counters input filtering input operational mode modifying count value or input signals counter types rate timer functionality output control safe state control When the module powers up all Output Array and Configuration Array values are set to their default values see Chapter 4 or Appendix D for default values All Input Array values are cleared None of the module data is retentive through a power cycle In effect this means that power cycling clears the module stored counts and configurations are lost faults and flags are cleared outputs are off Publication 1769 UMO006A EN P March 2002 2 2 Module Operation Module Operation Block To provide an overview of the module operation the bid diagrams indicate relationships between module functions and configuration Diagrams parameters Inputs The following diagram illustrates how the inputs function filtering
58. HOO ww we wl BRT HLM 10 and 11 Range 12 High Limit Direct Write Value Range12To15 0 HiLimOrDirWr 16and 17 Range 13High Limit Direct Write Value Range12To15 1 HiLimOrDirWr 22and23 Range 14 High Limit Direct Write Value Range12To15 2 HiLimOrDirWr 28and29 Range 15 High Limit Direct Write Value Range12To15 3 HiLimOrDirWr This value may be used in one of two ways depending on the setting of the Load Direct Write Range12Tol15 n LoadDirectWrite bit When Load Direct Write 0 When Range12To15 n LoadDirectWrite 0 then Range12To15 n HiLimOrDirWr is used in the range comparison range represents a count value or a rate value according to the programmed range type Range12To15 n Type When the range value is equal to Range12Tol15 n HiLimOrDirWr Rangez will change state The range will become active or inactive depending on the Range12To15 n Invert bit Range Value Current Count or Current Rate Invert Bit 0 lt INACTIVE ACTIVE INACTIVE gt I I Lt oy Invert Bit 1 lt lt ACTIVE INACTIVE ACINE gt l l I I Low Limit High Limit or Direct Write Value TIP Range12To15 n HiLimOrDirWr must be higher than the Range12To15 7 LowLimit or the InvalidRangeLimitz error flag in the Input Array will be set TIP Range12To15 m HiLimOrDirWr may be higher than the maximum rate or count value For example when the object value is a rate Range12To15 n HiLimOrDirWr may be programmed in
59. HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder Programming Quick Reference Publication 1769 UMO006A EN P March 2002 Appendix A General Specifications naana Due 10 ERED Sed A 1 Input Specifications Sa v du X eor Ro RC PCS A 2 Output Specifications vy wed es OEE See CE Re tU A 2 Throughput and Timing vues ea doe eee by eds A 3 RatevACCura Gy uo e AAG as erts Go fe oret ta alba utat cn A 3 Temperature Deratifig c ood pea pos eee Eee Sic A 4 Appendix B System DigOram fait soy neu Pits hala ee Be Vg e B 1 845F Encoder Wiring to the 1769 HSC B 1 Purpose i4 esto TO o t eh ea a ees B 2 SCOPE R uou ee EE CE ES wotepure mud esp as B 2 Adding a 1769 HSC High Speed Counter Module into a CompactLogix System llle B 2 Configuring Your 1769 HSC Module v4 4 posten uo B 6 Monitoring the Current Count Value and Verifying Output ODGTAblor ss exci edete dae CO ed uec e CEP B 10 Appendix C System Diagram llle C 1 845F Encoder Wiring to the 1769 HSC C 1 Purpose aea sed pte EPI e do E eH EPIS C 2 DCO Pe sf i s n etes ttes e Rt AA ah Ak ach cat ate a t cds C 2 Adding a 1769 HSC High Speed Counter Module into a MicroLogix 1500 System s ceo ee Sk e 5 8 RS SEE SES C 2 Configuring Your 1769 HSC Module C 5 Monitoring the Current Count and Verifying Output Operationg
60. If no relays are used use the Operating vibration specification 2 Conducted Immunity frequency range may be 150 kHz to 30 MHz if the Radiated Immunity frequency range is 30 MHz to 1000 MHz Publication 1769 UMO006A EN P March 2002 A 2 Specifications Input Specifications Output Specifications Publication 1769 UMO006A EN P March 2002 Specification Value Input Voltage Range 30 to 30V dc On State Voltage max 30V dc On State Voltage min 2 6V dc On State Current min 6 8mA Off State Voltage max 1 0V dc Off State Current max 1 5 mA Off State Leakage Current max 1 5mA Input Current max 15 mA Input Current min 6 8 mA Input Impedance nominal 1950 Q Pulse Width min 250 nsec Phase Separation min 131 nsec Input Frequency max 1 MHz Isolation Inputs to the Bus and Input to Input Verified by one of the following dielectric tests e 1200V ac or 1697V dc for 1 second e 75V de working voltage IEC Class 2 reinforced insulation 1 See Maximum Input Voltage 24V dc Ope Specification Output Voltage Range ation temperature derating on page A 4 Value 5 to 30V del On State Voltage max User Power 0 1V dc On State Output Current max 1A per point 4A per module On State Output Current min 1mA On State Voltage Drop max 0 5V dc Off State Leakage Current max 5 pA Turn O
61. MO006A EN P March 2002 4 2 Module Configuration Output and Input Data Configuration Array Publication 1769 UMO006A EN P March 2002 The Configuration Array which consists of 118 words allows you to specify how the module s counters will function The default value is all zeros with the exception of e NumberofCounters see page 4 8 Ctr MaxCount see page 4 11 CtrmMinCount see page 4 12 CtrzScalar see page 4 14 Ctr CyclicUpdateTime see page 4 14 Normal counter configuration is done using programming software In that case it is not necessary to know the bit location However some systems allow configuration to be changed by the control program Refer to your controller s documentation for details IMPORTANT When changing configuration values verify that only valid configurations are created for the module For example changing NumberofCounters from its default of 1 to 0 requires that CtrIMinCount and Ctr1MaxCount also be set to 0 etc See Table 5 6 Configuration Error Codes on page 5 9 if you encounter configuration errors Word 0 contains general configuration bits Word 1 contains the filter settings Words 2 through 5 refer to the physical outputs Words 6 through 45 are counter configuration words Words 46 through 117 are range configuration words More detailed descriptions of the configuration words and bits follow the Configuration Array below IMPORTANT Certain values not
62. RY 4 769 048 8 Dutput 120 240 VAC BB T4 TER 769 0816 18Qutput 24 VDC Source lt 17690816P 16 Dutput 24 VDC Source w Protectio E cs COUNTER 1 Analog 2 Channel Output Module El Re CONTROL i 16 Output 24 VDC Sink 2 1 S Output Relay 4 ed A i 8 Output Isolated Relay 3 DeviceNetScanner Data Logging x H Power Supply E configuration H Power Supply B stetus Hide All Cards Power Supply E RCP Configuration Files EC Force Fies E o0 output D n eur 000 0000 APP READ 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder C 5 Configuring Your 1769 HSC Module Configuration of the module is done in your offline project and then downloaded to the MicroLogix 1500 controller This is due to the fact that configuration files are downloaded to the I O modules only at download 1 Click the Adv Config button to open the 1746 HSC module configuration file 2 Then select the Counter Tab to display the counter configuration screen with all its default values Module 1 1769 HSC High Speed Counter x Expansion General Configuration Gen Counters Ranges Generic Extra Data Config Counter 0 Previous 2 of Counters Storage Mode n perational Pulse Internal Dir Mode Store on Rising Z 2147483647 Max Count Hold while Z 1 2 47483648 Min Count Preset on RizingZ o Preset Acc behavior on Ring Counter
63. Range 0 is enabled and active Range 1 is disabled Range 2 is enabled but not active an overcurrent condition exists on real output 3 OvercurrentLatchOff is set the system is in Run mode Table 2 12 Output Control Example Module Operation 2 31 The table below illustrates the step by step logical operations that are performed to determine the final output state For example Range 1 values do not affect the output because Range 1 is disabled and the Output Off Mask causes some of the outputs to change to zero because it takes priority over the range masks The output parameters shown in the table have been discussed in the previous sections Output Mask Information Logical Result Parameter Operation Range 0 0001 0110110 1 000 1 0R 000101101101000 Range 1 001011111111001 0 OR 000101101101000 Range 2 010 0 0 00 0 0 00 0 1 1 0 0 0R 000101101101000 Output On Mask 0 1 0 0 1 01 0 1 01 0 1 0 0 0 OR 0101 1 1 0 1 111 100 Output 1 0 0 0fAND 010 1 1 10 1 1 00 0 Overcurrent Output Off Mask 1 1 1 1 0 0 0 0 1 11 1 1 1 0 0 AND 01010000 0000 Program State 1 1 1 Override 0101 0000 1 0000 Values Fault State Values 1 1 1 1 Override 0101 0000 11 0000 Final Output State 0 0 0000 0000 1 Bolded text indicates that these values have changed Readback Loopback The Readback loopback function is the feedback of the mod
64. Range0to11 3 LowLimit Range0to11 3 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 3 OutputControl Inv Type ToThisCtr Range0to11 3 ConfigFlags RangeOTo11 3 ToThisCounter 0 Range0To11 3 ToThisCounter 1 Range0to1 1 4 HighLimit Range0to11 4 HighLimit Range0To11 3 Type Range0To11 3 Invert Range0to11 4 LowLimit Range0to11 4 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 4 OutputControl Inv Type ToThisCtr Range0to11 4 ConfigFlags Range0To11 4 ToThisCounter_0 Range0To11 4 ToThisCounter_1 Range0to1 1 5 HighLimit RangeOto11 5 HighLimit Range0To11 4 Type Range0To11 4 Invert Range0to11 5 LowLimit Range0to11 5 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 5 OutputControl Inv Type ToThisCtr Range0to11 5 ConfigFlags RangeOTo11 5 ToThisCounter 0 Range0To11 5 ToThisCounter_1 Range0to1 1 6 HighLimit RangeOto11 6 HighLimit Range0To11 5 Type Range0To11 5 Invert Range0to11 6 LowLimit Range0to11 6 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 6 OutputControl Inv Type ToThisCtr Range0to11 6 ConfigFlags Range0To11 6 ToThisC
65. Rate and PulseInterval are also reset to zero All counts are lost and all outputs are turned off IMPORTANT For most predictable results you may want to clear the output image of the processor BEFORE performing a counter reset CtrReset to the 1769 HSC module This is because CtrReset does not change the processor s output image CtrReset sets the 1769 HSC module s Output Array to all zero s If any bit is set to 1 in the processor s output image when sent to the module it will be seen as a state transition and be acted upon PFE Program to Fault Enable ProgToFaultEn This bit indicates what should happen when the bus controller indicates a change from one condition Program mode to another Fault mode If this bit is set 1 the safe state operation of all 4 real outputs changes to that identified by the Fault State and Fault Value words If this bit is reset 0 the module continues with the operation identified by the Program State and Program Value words 1 If zero is outside the MinCount and MaxCount limits set in the Configuration Array then the Preset value is loaded into CurrentCount instead of zero This also causes the PresetWarning bit to be set which in turn sets the GenError bit Publication 1769 UMO06A EN P March 2002 4 8 Module Configuration Output and Input Data Configuration Array Word 1 Filter Selection Filter 71 Number of Counters NumberOfCounters This 2 bi
66. Refer to the module s heat dissipation specification In addition route shielded twisted pair analog input and output wiring away from any high voltage I O wiring Installation and Wiring 3 5 Protecting the Circuit Board from Contamination The printed circuit boards of the modules must be protected from dirt oil moisture and other airborne contaminants To protect these boards we recommend installing the system in an enclosure suitable for the environment The interior of the enclosure should be kept clean and the enclosure door should be kept closed whenever possible Power Supply Distance You can install as many modules as your power supply can support However the module has a power supply distance rating of 4 which means that it may not be located more than 4 modules away from the system power supply The illustration below provides an example showing how power supply distance is determined MicroLogix 1500 Controller with Integrated System Power Supply Compact 1 0 Compact 1 0 Compact 0 Compact 1 0 Compact 1 0 Compact 1 0 Compact 1 0 Compact 1 0 Power Supply Distance J e 1 2 3 4 5 6 7 8 OR Compact 1 0 Compact 1 0 Compact 1 0 Power Supply Compact 1 0 Compact 1 0 Compact 1 0 o 5 C 2 E E e e e Power Supply Distance 4 3 2 1 1 2 3 Publication 1769 UMO006A EN P March 2002 3 6 Installation and Wiring System Assembly Publicati
67. Status E RCP Configuration Fies Force Fies D oo output D tt eur gt R H 7 SD Fite 2 Ts1 1 For Help press F1 00000 APP READ 5 This screen displays all 1769 I O modules supported by the MicroLogix 1500 To add the 1769 HSC module to your MicroLogix 1500 system double left click on the module or click hold and drag the module to its desired slot In this case we will use slot 1 H RSLogix 500 Hsc_app rss Fie Edt View Search Comms Tools Window Help DumeESepecT JERAR OFFLINE No Forces g H TT IEM lt gt 40 A gt a aes H No Edits Forces Enabled Driver AB DF1 1 Bit K TimeriCounter K Input Output K Compare Help Controller Controller Properties S Processor Status 10 Configuration apum r Current Cards Available iO Configuration 2 Fit Bis Channel Configuration jal EC Program Files syso Read IO Config T High Speed Counter SYS1 H Input Isolated 120 VAC i 16 Input 79 132 VAC cd LAD 2 EoweSuseh T Analog 4 Channel Input Module EC Data Files l769HF4XDF2 Analog 4 Chan Inp 2 Chan Out Cross Reference a Pang Description 1 4 H 124nput 189 265 VAC E o0 output xologix 1500 LAP Series C 16 Input 10 30 VDC HSC igh Speed Counter 769Q6XOW4 input 24 VDC 4 Dutput RLY a y l annel lodule D n neur 76HRE 6 Channel RTD Mod D s2 status 17694116 amp Channel Thermocouple Module E 53 BNA
68. a counter that is not available due to the number of counters selected X49A 010 0 1001 1010 BadCtrAssignToRange 10 This error occurs if you try to set Range0To11 10 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X49B 010 0 1001 1011 BadCtrAssignToRange 11 This error occurs if you try to set Range0To11 11 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected 1 Xrepresents the Don t Care digit Publication 1769 UMO006A EN P March 2002 The BadModConfigUpdate error conditions are shown in the following table They occur when you attempt to change a forbidden module configuration parameter while a counter or range is still enabled To recover from this situation correct the configuration problem reconfigure the module a 1 Refer to your controller s documentation for available reconfiguration methods Diagnostics and Troubleshooting 5 13 Table 5 7 BadModConfigUpdate Error Prohibited Configuration Settings Do not set while counter or range is enabled Configuration Parameter Array Position Prohibited from changing when indicated e bits are set Word Bit Ctr En CtriEn Ctr2En Ctr3En RangeEn OverCurrentLatchOff 0 0 e e ProgToFaultEn 0 4 NumberOfCounter
69. ale pins 6 nameplate label 7a upper tongue and groove slots 7b lower tongue and groove slots 8a upper DIN rail latch 8b lower DIN rail latch g write on label for user identification tags 10 removable terminal block RTB with finger safe cover 10a RTB upper retaining screw 10b RTB lower retaining screw Publication 1769 UMO006A EN P March 2002 1 4 Module Overview US c O ca Z0 cca Z1 A1 Bi High Speed Counter Publication 1769 UMO006A EN P March 2002 LEDs The front panel has a total of twelve indicator LEDs as shown in Figure 1 1 on page 1 3 Table 1 1 Diagnostic Indicators LED Color Indicates 0 OUT Amber ON OFF logic status of output 0 1 OUT Amber ON OFF logic status of output 1 2 OUT Amber ON OFF logic status of output 2 3 OUT Amber ON OFF logic status of output 3 FUSE Red Overcurrent OK Off No power is applied Red briefly Performing self test Solid Green OK normal operating condition Flashing Green OK module in Program or Fault mode Solid Red or Amber Hardware error Cycle power to the module If problem persists replace the module Flashing Red Recoverable fault Reconfigure reset or perform error recovery See section on page 5 5 Non Critical vs Critical Module Errors The OK LED flashes red for all of the error codes in Table 5 6 A0 Amber ON OFF status of input AO Al Amber ON OFF status of input A1 BO Amber ON OF
70. am has been altered check it against a previously saved program on an EEPROM or UVPROM memory module Safety Circuits Circuits installed on the machine for safety reasons like over travel limit switches stop push buttons and interlocks should always be hard wired to the master control relay These devices must be wired in series so that when any one device opens the master control relay is de energized thereby removing power to the machine Never alter these circuits to defeat their function Serious injury or machine damage could result Module Operation vs Counter Operation Counter Defaults Diagnostics and Troubleshooting 5 3 The module performs operations at two levels module level counter level Module level operations include functions such as power up configuration and communication with a bus master such as a MicroLogix 1500 controller Counter level operations include counter related functions such as data conversion and overflow or underflow detection Internal diagnostics are performed at both levels of operation When detected module error conditions are immediately indicated by the module status LED Both module hardware and configuration error conditions are reported to the controller Counter overflow or underflow conditions are reported in the module s input data table Module hardware errors are typically reported in the controller s I O status file Refer to your controller manual for details
71. ange to any counter Each counter can also have a combination of count and rate ranges Figure 2 9 Rate Range Example on Range 4 Lint off Output 0 Output 1 Range 3 Output 2 1 000 000 Output 3 4d Table 2 11 Count Range Example Values 1 For Range Type 0 count range and 1 rate range 2 Bits 0 through 3 are real outputs Bits 4 thi ough 15 are virtual outputs Publication 1769 UMO006A EN P March 2002 s E Outputs 2 2 E 8 le E E ma Range n OutputControl word 8 o j P E o o o o o o 5 gels 2g 2 E E E e E ce 1 14 13 12 11 10 9 8 7 6 5 4 3 2 016 1 00 1 7000 5000 0 0 0 0 0 I0 JO 10 0 0 00 0 JO JO JO 1 l0 2 00 1 1000 4500 0 0 0 0 0 0 0 0 0 0 0 JO 0 JO JO 0 1 3 00 1 4000 3000 0 0 0 0 0 I0 JO 10 0 0 00 0 JO 1 JO JO 42 4 00 1 20000 20000 1 0 IO JO 10 0 0 0 0 10 JO JO 0 1 JO I0 1 Oand3 Module Operation 2 21 Overcurrent If the module detects a real output point overcurrent condition it reports it to the input file and turns off that output You can also program the module to latch each of the four real outputs off emulating a physical fuse or to automatically reset The 12 virtual outputs do not have this function When the OvercurrentLatchOff bit is set and an overcurrent situ
72. at effects of erroneous rates will not propagate to range comparisons The value remains frozen until the current cycle time plus one more cycle time are elapsed this may be up to twice the CtrzCyclicRateUpdateTime If the overflow underflow occurrence lasts for more than one cycle time the value is frozen that entire time plus up to two more cycle times Ensure that another overflow underflow etc does not happen during this recovery time The rate will remain invalid until a full update time has occurred with no such events If the Ctrlv RateValid bit is seldom or never set the Ctrz MinCount and Ctr MaxCount values may be configured too close to each other Publication 1769 UMO006A EN P March 2002 2 22 Publication 1769 UMO006A EN P March 2002 Module Operation Rate Method Selection By knowing when to use each method an optimal rate determination can be made TIP Fractional rates are not reported by the module but can be calculated from Ctr z7 PulseInterval in your control program The following information is provided to assist you in choosing the appropriate calculation method In general you should consider the effect of having the count off by 1 in each method at frequencies of interest to see if the resulting inaccuracy is acceptable Per Pulse Method Example If the frequency of interest has 100 counts Cof the 1 ps clock between pulses an error of 1 count results in a 1 in 100 or 196 error If there
73. ated from the 1769 Compact bus Do Not ONDE Power Unless Area is Non Hazardous eue OUT DC 5V 24V DC RA I OUT 1 our2 G9 I OUT 3 OUT OC com 69 AQ ad G9 af Q B0 7 ae m gL Alt T Q B1 N D Ensure Adjacent Z1 E Bus Lever is ached ated CA l pmi i Wiring Diagrams Inputs The module utilizes differential inputs Therefore two input terminals are required for each input point For example the A0 and A0 terminals are required for input point AO Each input point is isolated from other input points the 1769 Compact bus and the entire output terminal group The inputs are compatible with standard differential line driver output devices as well as single ended devices such as limit switches photo eyes and proximity sensors Examples of differential and single ended circuits are shown in the following figures Publication 1769 UMO006A EN P March 2002 Installation and Wiring 3 17 Figure 3 3 Differential Encoder Wiring Allen Bradley 845H Series differential encoder shield housing Connect only if housing is electronically isolated from the motor and ground Module Inputs 1 Referto your encoder manual for proper cable type The type of cable used should be twisted pair individually shielded cable with a maximum length of 300m 1000 ft Publication 1769 UMO006A EN P March 2002 3 18 Installation a
74. ation Occurs even momentarily the associated real output is latched off until the ResetBlownFuse bit transitions from 0 to 1 If the OvercurrentLatchOff bit is reset and an overcurrent situation Occurs the output turns off for 1 second and is then retried auto reset The module continues to attempt to turn the output back on until the overcurrent situation is no longer detected and the output is successfully turned back on IMPORTANT The outputs will be on momentarily while they are retried The length of time they are on depends on the magnitude of the load Safe State Control The 1769 HSC module combines the Hold Last State and User Defined Safe State options with a safe state run alternative that allows the module to continue to control outputs under program or fault states These options are described below Only the physical outputs are affected by safe state settings and conditions Virtual outputs inputs and counting are not affected by program or fault states Hold Last State HLS This condition applies depending on the mode of the controller When the hold last state option is set the module holds the outputs at the state they were at just before the control system transitioned from Run to Program or Run to Fault HLS sets the module according to the values configured for Program Mode described on page 4 9 and Output Fault Mode described on page 4 10 1 The module continues to update the Input Ar
75. ay Words 5 to 8 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Counter 0 Control Bits Word 5 Not Used RPW RREZ ZInh ZInv Dinh Dinv RU IRO SP En Counter 1 Control Bits Word 6 Not Used RPW RREZ ZInh ZInv Dinh Dinv RU IRO SP En Counter 2 Control Bits Word 7 Not Used RPW Not Used DInv RU RO SP En Counter 3 Control Bits Word 8 Not Used RPW Not Used DInv RU RO SP En Publication 1769 UMO006A EN P March 2002 The control bits for counter 72 are described below The order of precedence for the Preset and Direct Write actions is e 1 Preset 2 Direct Write TTTIAETUNAE Seting any of the control bits under certain conditions of the NumberOfCounters value will result in the input error flag Ctrl7 InvalidCounter For more information see IC Invalid Counter Ctr 1 InvalidCounter to Ctr 3 Invalid Counter on page 4 39 En Enable Counter CtrnEn This bit when set 1 enables the inputs to be counted When reset 0 this bit inhibits any activity of the A or B inputs from affecting the count pulse interval and rate values SP Soft Preset Ctrn SoftPreset A 0 to 1 transition of this bit causes counter n to be preset changing the count to the value in CtrmPreset RCO Reset Counter Overflow CtrnResetCounterOverflow A 0 to 1 transition of this bit causes the corresponding Ctr Overflow bit to be reset RCU Reset Cou
76. contacting your local distributor or Rockwell Automation representative visiting www theautomationbookstore com and placing your order calling 1 800 963 9548 USA Canada or 001 330 725 1574 Outside USA Canada steps The following conventions are used throughout this manual Bulleted lists like this one provide information not procedural e Numbered lists provide sequential steps or hierarchical information Italic type is used for emphasis e Text in this font indicates words or phrases you should type Publication 1769 UMO006A EN P March 2002 Rockwell Automation Support Preface 3 Rockwell Automation offers support services worldwide with over 75 Sales Support Offices 512 authorized distributors and 260 authorized Systems Integrators located throughout the United States alone plus Rockwell Automation representatives in every major country in the world Local Product Support Contact your local Rockwell Automation representative for sales and order support product technical training warranty support support service agreement Technical Product Assistance If you need to contact Rockwell Automation for technical assistance please review the information in Chapter 5 Diagnostics and Troubleshooting first Then call your local Rockwell Automation representative Your Questions or Comments on the Manual If you find a problem with this manual please notify us If you have a
77. d red X218 001 000011000 Firmware corrupt Solid red X219 001 0 0001 1001 Firmware checksum error in Solid red non volatile RAM X21A 001 000011010 Firmware checksum error in RAM Solid red X21E 001 000011110 External RAM test error Solid red X21F 001 0 0001 1111 External RAM cell test error Solid red X224 001 000100100 Gate array loading failed Solid red X232 001 000110010 External watchdog error Solid red 1 Xrepresents the Don t Care digit 2 See Table 5 1 on page 5 4 for recommendation based on LED operation Publication 1769 UMO006A EN P March 2002 TIP Diagnostics and Troubleshooting The OK LED will be in a flashing red state for all of the error codes in Table 5 6 Table 5 6 Configuration Error Codes 5 9 Extended Module Error Error Information Hex Code Code Equivalent Binary Binary Error Description X400 010 0 0000 0000 General Configuration Error no additional information X401 010 0 0000 0001 UnusedConfigBitSet One or more of the unused module configuration bits are set X402 010 0 0000 0010 BadModConfigUpdate Occurs when you attempt to change a forbidden module configuration parameter while a counter or range is still enabled See Table 5 7 on page 5 13 for a list of the forbidden parameters X411 010 0 0001 0001 BadCounterNum 1 Nonzero configuration values were entered for Count
78. dd it to your system click on the Generic 1769 Module then click OK and the following screen appears 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder B 5 Module Properties Local 1769 MODULE 1 1 x Type 1769 MODULE Generic 1769 Module Parent Local r Connection Parameters Assembly Instance Size Name Input 101 1 16 bit Description a Output fos p Configuration 102 0 E 16 bit Comm Format input Data INT M Slot IB zi Cancel Bac Next gt rese Help 7 Fill in this Generic profile screen as follows Name Give your HSC module a name Comm Format Data INT Input Assembly Instance 101 size 35 Output Assembly Instance 100 size 34 Configuration Assembly Instance 102 size 118 Slot For this example the HSC module is in slot 4 8 When you have entered the data into your Generic profile screen click Finish Your module will be added to your CompactLogix system and it will be displayed under the 0 CompactBus Local in the Controller Organizer Publication 1769 UM006A EN P March 2002 B 6 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder Configuring Your 1769 HSC When the 1769 HSC module is added to the CompactLogix project Module Input Output and Configuration tags are automatically created in the Controller Tags area 1 Double click on Controller Tags The follo
79. disconnected the module from the bus and that you removed both mounting screws or opened the DIN latches TIP It may be necessary to rock the module slightly from front to back to remove it or in a panel mounted system to loosen the screws of p adjacent modules Before installing the replacement module be sure that the bus lever on the right side adjacent module is in the unlocked fully right position Slide the replacement module into the open slot Connect the modules together by locking fully lef the bus levers on the replacement module and the right side adjacent module or end cap Replace the mounting screws or snap the module onto the DIN rail Replace the terminal block or connect input output wiring to the module Installation and Wiring 3 11 Field Wiring Connections System Wiring Guidelines Consider the following when wiring your system General Make sure the system is properly grounded Input and output channels are isolated from the 1769 Compact bus Input channels are isolated from one another output channels are not Shielded cable is required for high speed input signals A B and Z Use individually shielded twisted pair cable for lengths up to 300 meters 1000 feet Group this module and other low voltage DC modules away from AC I O or high voltage DC modules Route field wiring away from any other wiring and as far as possible from sources of electrical noise such as motors
80. e pull down menu and select New In the box that appears choose the correct controller type 1769 L20 CompactLogix 5320 controller for this example and give your project a name Then click OK and the following screen will appear o RSLogix 5000 testprog 1769 L20 File Edit View Search Logic Communications Tools Window Help Bem e sole slo z gsl lt Wie ala NoFoces gt Rok EE mp ee ee ad XN TI 4 EET ee Ee M do Xeon AC Wevesgesr A rite Misc KPEE A Se Controller Tags C Controller Fault Handler 73 Power Up Handler B S Tasks D E MainTask 8 MainProgram Program Tags Ea MainRoutine 73 Unscheduled Programs Trends B S Data Types Cj User Defined S E Strings STRING Ci Predefined Cj Module Defined 5 8 1 0 Configuration 0 CompactBus Local 3 The area on the left of this screen is called the Controller Organizer To add I O modules to your CompactLogix Project right click on the last parameter listed in the Controller Organizer called 0 CompactBus Local and choose New Module The following screen will appear Publication 1769 UMO006A EN P March 2002 B 4 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder Publication 1769 UMO006A EN P March 2002 4 Select Module Type x Major Revision Description 1416 716 Point 120 AC Input 1769 48144 8 Point Isolated 120V AC Input 17694F4 4 Channel Curre
81. e selection is limited by the number of counters selected e With 2 counters selected Counters 0 and 1 can be assigned any operational mode e With 3 counters selected Counter 0 can be assigned any mode but Counters 1 and 2 can only be configured as pulse internal direction e With 4 counters selected all counters must be configured for the pulse internal direction mode See the Figure 2 1 on page 2 5 for the operational modes available for the counters based on the number of counters configured Direction Inhibit and Direction Invert Output Control Bits These bits apply to all of the counter modes When set the Direction Inhibit bit disables any physical input from affecting count direction gt When set the Direction Invert bit changes the direction of the counter in all operational modes When Direction Inhibit is set then Direction Invert is the direction Publication 1769 UMO006A EN P March 2002 2 8 Module Operation Pulse External Direction Mode Selection In this mode the B input controls the direction of the counter as shown in Figure 2 2 on page 2 8 If the B input is low 0 the counter increments on the rising edges of input A If the input B is high D the counter decrements on the rising edges of input A Two Output Control bits allow you to modify the operation of the B input from your control program or during configuration The Direction Inhibit bit P gt when set 1 disables the operation of
82. e system clock timer 1 us A timer is used to measure the time between two successive pulses The inverse of this value is the pulse interval rate The pulse interval rate cannot be read directly from the module It needs to be calculated The calculation can be performed in the user control program This method is not as accurate for higher pulse rates When the pulse interval shrinks two factors can distort the per pulse calculation If the pulse interval is close to the measuring timer s clock frequency 1 MHZ the granularity of the time increments has a greater effect on rate inaccuracy In addition the rate may be calculated many times over the course of a single backplane scan As a result the rate data Module Operation 2 19 obtained at a backplane scan is only that of the very last pair of pulses and disregards the other rate calculations that may have occurred during that interval This can result in rate inaccuracy if the pulses are unevenly spaced Cyclic Rate Calculation Method Current Rate The module continuously calculates rates for each of its four possible counters regardless of operational mode e g up down count The 32 bit signed integer rate from each counter is reported in the Ctr n CurrentRate words of the Input Array In this method the rates are calculated at the end of a counter s configured cycle time This is configured via the CtrnCyclicRateUpdateTime configuration word menu Valid entries are 1 to 3
83. e up of 4 real physical outputs and 12 virtual outputs The status of the real and virtual outputs is available to the user program The real outputs are electronically protected from overloads IMPORTANT To turn outputs on you must use both the Output On Mask and the Output Off Mask Masks Output On Mask Using the Output On Mask all of the module s outputs can be turned on directly by the user control program like discrete outputs A bit which is set in the mask turns on the corresponding real or virtual output Publication 1769 UMO006A EN P March 2002 2 24 Module Operation Publication 1769 UMO006A EN P March 2002 Output Off Mask The Output Off Mask has veto power over any output It can turn any or all of the module s outputs off When a bit in this mask is set to 0 the output will be turned off Each bit is logically ANDed with the Output On Mask and masks of active and enabled ranges If the bit in this mask is set to 1 the output may be turned on or off by the ranges or the Output On Mask The final result is available as the Readback n bit Ranges Up to 16 dynamically configurable ranges are available Ranges activate outputs based on the current count value or the current rate value Each range is programmed with a type counter number two limit values an invert bit and an output mask Each range is programmed with high and low limits for the chosen value The range s invert bit indicates whether the
84. e will become active or inactive depending on the Range12Tol5 n Invert bit TIP Range12To15 n LowLimit must be lower than the Range12To15 n HiLimOrDirWr or the E InvalidRangeLimitn error flag in the Input Array will be set Publication 1769 UM006A EN P March 2002 4 28 Module Configuration Output and Input Data minimum rate or count value Like Range12To15 n HiLimOrDirWr see page 4 26 Range12To15 n LowLimit may extend beyond the When Range12To15 n LoadDirectWirite is set TIP Range12To15 n LowLimit is ignored Range Output Control Range12To15 n OutputControl Output Array Words wue enee eo g 14 Range 12 Output Control Range12To15 0 OutputControl 20 Range 13 Output Control Range12To15 1 OutputControl 26 Range 14 Output Control Range12To15 2 OutputControl 32 Range 15 Output Control Range12To15 3 OutputControl This 16 bit word indicates which outputs should be on corresponding bit set in this word when a range is active When Rangen is enabled and active Range12To15 7 OutputControl will be logically OR ed with other Range12To15 7 OutputControl masks and the OutputOnMask n etc as described on page 4 22 When Range12To15 7 LoadDirectWrite is set Range12To15 n OutputControl is ignored Publication 1769 UMO006A EN P March 2002 Module Configuration Output and Input Data 4 29 Range Configuration Flags 12 through 15 Output Array Words 15 14 13 122 11
85. eUpdateTime linear Storage Mode Operational Mode CtriConfigFlags CtriConfig OperationalMode 0 CtriConfig OperationalMode 1 Ctr2MaxCount 2 Ctr2MaxCount Ctr1Config OperationalMode_2 enn Ctr1Config StorageMode_0 Ctr1Config StorageMode_1 Ctr2MinCount Ctr2MinCount CtriConfig StorageMode 2 CtriConfig Linear Ctr2Preset Ctr2Preset Ctr2Hysteresis Ctr2Hysteresis Ctr2Scalar Ctr2Scalar Ctr2CyclicRateUpdateTime Ctr2CyclicRateUpdateTime Linear Ctr2ConfigFlags Ctr2Config Linear Ctr3MaxCount Ctr3MaxCount Ctr3MinCount Ctr3MinCount Ctr3Preset Ctr3Preset Ctr3Hysteresis Ctr3Hysteresis Ctr3Scalar Ctr3Scalar Ctr3CyclicRateUpdateTime Ctr3CyclicRateUpdateTime linear Ctr3ConfigFlags Ctr3Config Linear Range0to11 0 HighLimit Range0to11 0 HighLimit Range0to11 0 LowLimit Range0to11 0 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 0 OutputControl Inv Type ToThisCtr Range0to11 0 ConfigFlags Range0To11 0 ToThisCounter_0 Range0To11 0 ToThisCounter_1 Range0to11 1 HighLimit Range0to11 1 HighLimit Range0To11 0 Type Range0To11 0 Invert Range0to11 1 LowLimit Range0to11 1 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 1 OutputControl Inv Type ToThisCtr Range0to11 1 ConfigFlags Range0To11 1 ToThisCounter_0
86. ease e Input B Input Z Reverse Rotation Encoder Quadrature i Forward Rotation 0 Dir DirectionInhibit X1 Count Pulse X2 Count Pulse 4 7 1 6 55 8 41 40 19 X4 Count Pulse InInvert ectian 0 Diri DirectionInhibit X1 Count Pulse X2 Count Pulse X4 Count Pulse 0 vert DirectionInhibit 1 DirectionIn 9 10 4 5 6 7 8 3 1 X1 Count Pulse X2 Count Pulse X4 Count Pulse DirectionInhibit 1 X1 Count Pulse X2 Count Pulse n Publication 1769 UMO006A EN P March 2002 2 14 Module Operation Input Frequency Counter Types Publication 1769 UMO006A EN P March 2002 Maximum input frequency is determined by the input configuration as shown in the table below Input Configuration Input Frequency X4 Quadrature Encoder 250 kHz X2 Quadrature Encoder 500 kHz All Other Configurations 1 MHz See Table 2 2 for additional details Each of the four possible counters can be configured to stop counting and set a flag at its limits linear counter or to roll over and set a flag at its limits ring counter A counter s limits are programmed by the Ctra MaxCount and CtrzMinCount words in the Module Configuration Array Both types are described below Linear Counter
87. ed below cannot be changed while a counter s or range s is enabled Attempting to do so will cause a configuration error and the entire Configuration Array will be rejected until the error is eliminated Module Configuration Output and Input Data 4 3 Table 4 1 Configuration Array Bit Word i15 134 133 i2 1 10 09 08 07 06 05 04 03 G2 01 oo Function 0 NumberOf Ctr General Configuration Not Used Counters Not Used PFE Not Used Rst OCLO Bits l Filter zi ot Fier Bi NO Fiter A1 Fiter zo foot FiterBo Not Filter AO Filter Selection 2 Output Program Mode Not Used ud E M ae a ue Er Ou and Output Program State Run 3 Not Used Outs Out2 Outi Outo Output Program Value PY PY PY PY 4 Not Used Out3 Out2 Out OutO Out3 Out2 Out OutO Output Fault Mode and FSR FSR FSR FSR FM FM FM FM J Output Fault State Run 5 Not Used Ea OA y p Output Fault Value 6 Counter 0 Maximum 7 Ctr MaxCount Count 8 P Counter 0 Minimum g Ctr MinCount Count 10 T CtrOPreset Counter 0 Preset 12 CtrOHysteresis Counter 0 Hysteresis 13 CtrOScalar Counter 0 Scalar 14 ter 0 Cyclic Rat Ctr CyclicRateUpdateTime URP rae 15 Not Used do ee Storage Mode Not Used Operational Mode oe 0 Configuration 16 Counter 1 Maximum x Ctr1 MaxCount Count 18 Coun
88. eft of Local amp O then click the plus sign to the left of Local 4 0 Data 34 words of output image appear Addresses for these 34 words are Local 4 0 Data 0 through Local 4 0 Data 33 For this example only the first 6 words are modified Words Local 4 O Data 6 through Local 4 O Data 33 are for Counters 1 to 3 and Ranges 12 to 15 which we are not using in this example Publication 1769 UMO006A EN P March 2002 B 10 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder The 6 Output words are as follows Output Tag Hex Value Description Local 4 0 Data 0 1620000 Local 4 0 Data 1 1620003 Enables Outputs 0 and 1 to be controlled by Ranges 0 and 1 Local 4 0 Data 2 1620003 Enable Ranges 0 and 1 Local 4 0 Data 3 16 0000 Not using Interrupts Local 4 0 Data 4 16 0000 Not using Interrupts Local 4 0 Data 5 16 0001 Enable Counter 0 Local 4 0 Data 6 through Local 4 0 Data 33 are not used by this example and should not be modified The Current Count value for Counter0 is represented in the Input tag for the module with 2 integer words Since this value is a DINT value we must copy the two integer words to a DINT tag to properly view the Current Count of Counter0 Monitoring the Current Count Value and Verifying Output Operation 1 In the Controller tags screen enter the edit mode and create a tag called CtrOCurrentCount Be sure this tag is a DINT
89. emonstrate how to wire an Allen Bradley 845F optical incremental encoder to a 1769 HSC module and ultimately monitor the Current Count value in the CompactLogix controller We will also control 2 onboard outputs with 2 Ranges Scope This example will cover the following steps 1 Add the 1769 HSC High Speed Counter module into a CompactLogix system using the Generic profile in RSLogix 5000 programming software 2 Configure the 1769 HSC by entering configuration information into Configuration and Output tags created in RSLogix 5000 for the 1769 HSC module 3 Monitor the Current Count value from the 1769 HSC module in the Input Tag created for the module 4 Verify that module outputs 0 and 1 turn on when the Current Counts value is in the specified Ranges Adding a 1769 HSC High This oo a s ee ea en troller will operate the same with respect to the 1769 HSC module Speed Counter Module into a Com pactLogix System 1 Start the RSLogix 5000 programming software by double clicking its icon on your desktop The following screen appears a 5000 dit View Search Logic Communications Tools Window Help seka ee esl relie icd wel ros PEREPnpuxm 48 js o emen en pros o oso gt fo fN Favorites KERR Timericounter K oaoa K Compare Publication 1769 UMO006A EN P March 2002 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder B 3 2 Click the New icon or the Fil
90. er 1 Start the RSLogix 500 programming software by double clicking its icon on your desktop or from the Start gt Programs gt Rockwell Software gt RSLogix 500 English gt RSLogix 500 English The following screen appears Eile View Comms Tools Window Help OT eT S Wak Sewaan l gt OFFLINE a No Foces Ja H REL di i de de decet in o s Forces Disables p ANI No Edits Diver AB DFT N User KBt K TimeriCounter K Input Ouput K Compare 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder C 3 2 Click the New icon or the File pull down menu and select New The following screen appears Select Processor Type x Processor Name JUNTIT LED 1747 L524 5702 CPU 1747 L514 5701 CPU 4K Mem 1747 L511 5 01 CPU 1K Mem Bul 1764 Micrologix 1500 LRP Series 6 4 L Bul 1764 Micrologix 1500 LRP Series B Bul 1764 Micrologix 1500 LSP Series C Bul 1764 Micrologix 1500 LSP Series B Bul 1764 MicroLogix 1500 LSP Series Bul 1762 MicroLogix 1200 Series C Bul 1762 MicroLogix 1200 Series B Bul 1762 MicroLogix 1200 Series A Bul 1761 MicroLogix 1000 Analog Bul 1761 MicroLogix 1000 DH 485 HDSlave Bul 1761 MicroLoaix 1000 zl Communication settings Driver Processor Node Reply Timeout a8 pF11 fi Decimal 1 Who Active io Sec Octal 3 Choose the correct controller type Bul 1764 MicroLogix 1500 LRP series C controller for
91. er 1 when Counter 1 was not available X412 010 0 0001 0010 BadCounterNum 2 Nonzero configuration values were entered for Counter 2 when Counter 2 was not available X413 010 0 0001 0011 BadCounterNum 3 Nonzero configuration values were entered for Counter 3 when Counter 3 was not available X420 010 0 0010 0000 BadCounterMode 0 Operation Mode 0 is set to an invalid value For example value is reserved 011 or 111 or nonzero when NumberofCounters 11 X421 010 0 0010 0001 BadCounterMode_1 Operation Mode_1 is set to an invalid value For example value is reserved 011 or 111 or nonzero when NumberofCounters 10 or 11 X430 010 000110000 BadMin 0 Programmed Ctr MinCount is greater than the Ctr MaxCount X431 010 000110001 BadMin 1 Programmed Ctr1 MinCount is greater than the Ctr1MinCount X432 010 000110010 BadMin 2 Programmed Ctr2MinCount is greater than the Ctr2MaxCount X433 010 000110011 BadMin 3 Programmed Ctr3MinCount is greater than the Ctr3MaxCount X440 010 0 0100 0000 BadPreset 0 The programmed Ctr Preset is greater than the Ctr MaxCount or less than the Ctr MinCount X441 010 0 0100 0001 BadPreset_1 The programmed Ctr1Preset is greater than the Ctr1 MaxCount or less than the Ctr1MinCount X442 010 0 0100 0010 BadPreset 2 The programmed Ctr2Preset is greater than the Ctr2MaxCount or less than the Ctr2MinCount X443 010 0 0100 0011 BadPreset 3 The programmed Ctr3Preset is greater than the
92. er Under Flow fi Update Time x1ms s 1 r Filter Retained gt Count Behavior on Configuration None HNA o Hysteresis None B fi RPM Scale Factor oe Z OK Cancel Apply Help Publication 1769 UM006A EN P March 2002 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder C 7 4 Select the Range Tab to display the counter range configuration screen with all its default values This configuration will use two of the 12 ranges available for the ring counter Module 1 1769 HSC High Speed Counter x Expansion General Configuration Gen Counters Ranges Genetic Extra Data Config m 0 within the Limits Next gt rH Counter Used Counter 0 Range Type Count Value High Limit fi 200 Low Limit oo Range Active within the Limits gt mie ta o 5 Configure the module to operate with the following values Range 0 Counter used Counter 0 Range Type Count Value High limit 600 000 Low limit 500 000 Range Active Within the limits Output Mask 0001 Range 1 Counter used Counter 0 Range Type Count Value High limit 1 200 000 Low limit 1 000 000 Range Active Within the limits Output Mask 0002 Publication 1769 UMO006A EN P March 2002 C 8 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder Monitoring the Current Count a
93. erential line driver output devices as well as single ended devices such as limit switches photo eyes and proximity sensors Inputs are optically isolated from the bus and from one another and have an operational range of 2 6 to 30V dc Outputs Sixteen outputs are available four on board real and twelve virtual bits All 16 outputs can be individually controlled by the module or by the user control program The 4 on board reaD outputs are dc sourcing powered by a user supplied 5 to 30V dc power source These outputs are electronically protected from current overloads and short circuit conditions Overcurrent status is monitored and fed back to the user program Output states are determined by a combination of output data configuration data ranges and overcurrent status See Output Control on page 2 23 for a description of how the module determines output status Hardware Features Module Overview 1 3 The module s hardware features are illustrated below Refer to Chapter 3 for detailed information on installation and wiring Figure 1 1 Hardware Features Item Description 1 bus lever 2a upper panel mounting tab 2b lower panel mounting tab 3 module status LEDs 6 Input 4 Output 1 Fuse 1 OK 4 module door with terminal identification label 5a movable bus connector bus interface with female pins 5b stationary bus connector bus interface with m
94. es Route input cabling away from noise sources Use your programming software to select low pass filters on input signals Filter values depend on the application and can be determined empirically Use devices which output differential signals such as differential encoders to minimize the possibility that a noise source will cause a false input Removing and Replacing the Terminal Block When wiring the module you do not have to remove the terminal block If you remove the terminal block use the write on label located on the side of the terminal block to identify the module location and type Terminal Block Removed from Module 3dAL INGON 101S To remove the terminal block loosen the upper and lower retaining screws The terminal block will back away from the module as you remove the screws When replacing the terminal block torque the retaining screws to 0 46 Nm 4 1 in Ibs Installation and Wiring 3 13 wiring the finger safe terminal block upper retaining screw lower retaining screw Wiring the Finger Safe Terminal Block When wiring the terminal block keep the finger safe cover in place 1 Loosen the terminal screws to be wired 2 Route the wire under the terminal pressure plate You can use the bare wire or a spade lug The terminals accept a 6 35 mm 0 25 in spade lug TIP The terminal screws are non captive Therefore it is poss
95. eset Set bit For function CtrnConfig StorageMode 0 Stores the Current Count Value on the rising edge of Z to Ctr n StoredCount in the input file CtrnConfig StorageMode 1 Holds the counter at its Current Count Value while Z 1 CtrnConfig StorageMode_2 Presets the Current Count Value on the rising edge of Z Publication 1769 UMO006A EN P March 2002 IMPORTANT Z internal Z Internal Z is the version of the Z input pin as modified by the Output Array control bits Z Invert and Z Inhibit set to 00 one counter Attempting to set reserved bits will result in a configuration error The Ctr1Config StorageMode bits are reserved if NumberofCounters 1 and NumberofCounters 0 are Maite Donc change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Linear Ctr Config Linear through Ctr3Config Linear This bit indicates how the counter operates upon reaching a CtrnMinCount or Ctr MaxCount e 0 Ring Counter e 1 Linear Counter See page 2 14 for a description of ring and linear counter operation Maite Oo not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Module Configuration Output and Input Data 4 17 Range High Limit RangeOTo11 n HighLimit and Range Low Limit RangeOTo11 n L
96. etc should be used when bit manipulations are done on the Output image of this module in ladder logic This applies to a wide range of bits when Program State Run is selected since presetting a counter enabling a range changing a mask and changing Configuration Array settings can cause ranges and outputs to change state Publication 1769 UMO006A EN P March 2002 4 10 Module Configuration Output and Input Data Output Program Value OutO0ProgramValue through Out3ProgramValue Continuation Array Ward s TUS IUE ETE ONE CS DOS C051 08 e OS Ege OR Output Program Value Out3 Out2 Out OutO Not Used PV PV PV PV These bits are the values that will be applied to each of the real outputs when User Defined Safe State UDSS is set as described above and the module is in Program state Output Fault Mode and Output Fault State Run TOUgUrqRo Array WORRIES SPENGE JE I9 03 109 500951 107 BE Fa 03 1 188 EO 20 Output Fault Mode and Output Fault State Run Out3 Out2 Out1 OutO Out3 Out2 Out1 OutO Not Used FSR FSR FSR FSR FM FM FM FM Publication 1769 UMO006A EN P March 2002 Output Fault Mode Dut FaultMode through Out3FaultMode These bits configure the output for Hold Last State or User Defined Safe State during a Fault state e 1 Hold Last State 0 User Defined Safe State Output Fault State Run Dut FaultStateRun through Out3FaultStateRun Similar to Program
97. excess of 1 000 000 with no configuration error Publication 1769 UMO006A EN P March 2002 Module Configuration Output and Input Data 4 2 When Load Direct Write 1 When Range12To15 n LoadDirectWrite 1 then Range12To15 n HiLimOrDirWr is used to change the Ctr 7 CurrentCount to Range12To15 n HiLimOrDirWr When the Range12To15 n LoadDirectWrite bit transitions from 0 to 1 then Range12To15 n HiLimOrDirWr is loaded into Ctr 7 CurrentCount where n is the counter indicated in Range12To15 n ToThisCounter TIP When CtrnSoftPreset and a Range12To15 n LoadDirectWrite to counter n are indicated at the same time only the CtrmSoftPreset lees will occur When more than one range indicates a Range12To15 n LoadDirectWrite to a single counter only the one from the lowest designated range will take effect Range Low Limit Range12To15 n LowLimit Output Array Words iTWISII IS IW W w o uw o o 12 and 13 Range 12 Low Limit Range12To15 0 LowLimit 18 and 19 Range 13 Low Limit Range12To15 1 LowLimit 24 and 25 Range 14 Low Limit Range12T015 2 LowLimit 30 and 31 Range 15 Low Limit Range12To15 3 LowLimit This value is used in the range comparison It is the complement of the Range12To15 m HiLimOrDirWr value in setting the compare window When the rate or count value is equal to Range12To15 7 LowLimit the range will change state opposite of the action at Range12To15 n HiLimOrDirWr The rang
98. f Counter 0 Status Flags 13 Not Used Not Used 14 45 Ctr 1 CurrentCount Counter 1 Current Count 16 AF Cti 1 StoredCount Counter 1 Stored Count 18 d Ctr 1 CurrentRate Counter 1 Current Rate 20 7i Ctr 1 Pulselnterval Counter 1 Pulse Interval 22 Not Used CiPW RV IC IDW REZ CUdf COvf Counter 1 Status Flags 23 Not Used Not Used 24 8 Ctr 2 CurrentCount Counter 2 Current Count 26 a Ctr 2 CurrentRate Counter 2 Current Rate 28 Not Used C2PW RV IC IDW nee CUdf COvf counter 2 Status Flags 29 Not Used Not Used 30 al Ctr 3 CurrentCount Counter 3 Current Count 32 WE 3 Ctr 3 CurrentRate Counter 3 Current Rate 34 Not Used C3PW RV IC IDW jus CUdf COv counter 3 Status Flags Publication 1769 UMO006A EN P March 2002 Module Configuration Output and Input Data 4 33 Input State InputStateA0 through InputStateZ1 pE AAY WAED SS ESPRIT EISE e 1509 11 08 531975 2065 08 0 ESI S21 0 S90 B1 Al Z0 BO AD Input State Not Used Z1 This word indicates the state of the real physical inputs after filtering e1 On e 0 Off Readback Readback 0 through Readback 15 Eo a a 0S 8 S DHT 0 Readback Readback 0 through Readback 15 This input word reflects counter s module directed status of all sixteen outputs real and virtual e1 On 0 Off Status Flags Input Array Word 2 CARITANA InvalidRangeLimit12 InvalidCtrAssignToRange12 OutOOvercurrent through throu
99. f counting pulses in either direction forward reverse up down etc A maximum of four pulse counters Cor 2 quadrature counters are available Each 32 bit counter can count to 2 billion as a ring or linear counter In addition to providing a count value the module provides a rate value up to 1 MHz dependent upon the type of input The rate value as modified by scalar is the input frequency to the counter When the count value is increasing the rate value is positive When the count value is decreasing the rate value is negative 1 1764 LSP and 1764 LPP Series C Firmware revision 6 0 and higher 2 Firmware versions prior to 11 0 require the use of Generic Profiles 3 Available Spring 2002 Publication 1769 UMO006A EN P March 2002 1 2 Module Overview Publication 1769 UMO006A EN P March 2002 Counters can also be reset or preset to any value between user defined minimum and maximum values Preset can be accomplished from the user program or at a Z input event The Z input can also generate a capture value and or freeze gate the counters Inputs The module features six high speed differential inputs labeled A0 B0 Z0 A1 B1 and Z1 These inputs support 2 quadrature encoders with ABZ inputs and or up to 4 discrete count inputs In addition x1 x2 and x4 encoder configurations are provided to fully use the capabilities of high resolution quadrature encoders The inputs can be wired for standard diff
100. flects the status of all of the ranges When a count or rate meets the criteria programmed for a given range the range is active e 1 active e 0 inactive false TIP When the range is enabled and active the output mask for that range is applied Publication 1769 UMO006A EN P March 2002 4 36 Module Configuration Output and Input Data Current Count Ctr n CurrentCount inputArayWords TST WRT ww we eT om 5 w 3 5 4 Counter 0 Current Count Ctr Ol CurrentCount 5 14 Counter 1 Current Count 1 Ctr 1 CurrentCount 24 Counter 2 Current Count Ctrl CurrentCount 25 30 Counter 3 Current Count Cirl3 CurrentCount 31 This is the 32 bit count value from the counter Stored Count Ctr n StoredCount Input Array Words 15 14 1312 11 10 j 09 08 07 06 05 04 oS 02 oo o 6 Counter 0 Stored Count Ctr 0 StoredCount E Counter 1 Stored Count Ctr 1 StoredCount This is the last stored 32 bit value from counter 7 The count value is stored depending on the CtrzConfig StorageMode and Zn inputs When a storage event occurs the Ctr 7 RisingEdgezZ bit is set indicating that the value is new If more than one Zn occurs before the Ctr 7 RisingEdgeZ bit is reset using the CtrzResetRisingEdgeZ bit the Ctr z StoredCount word will contain only the last Ctr 1 StoredCount value There is no indication that the data has been overwritten Publication
101. geOTo11 0 HighLimit Range 0 High Limit 48 X vits a9 RangeOTo11 0 LowLimit Range 0 Low Limit s0 a iy du We a E d Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 0 Output Control s1 Not Used Inv Not Used Type Not Used ToThisCtr Pange 0 Configuration 52 TT TUM 3 RangeOTo11 1 HighLimit Range 1 High Limit 54 E RangeOTo11 1 LowLimit Range 1 Low Limit 36 ne sp a ne a ti ae Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 1 Output Control 3 Not Used Inv Not Used Type Not Used ToThisCtr iden 1 Configuration 58 T Tm c RangeOTo11 2 HighLimit Range 2 High Limit 60 vs um 8p v Range0To11 2 LowLimit Range 2 Low Limit 62 Ae a au a a d Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 2 Output Control 83 Not Used Inv Not Used Type Not Used ToThisCtr age 2 Configuration 64 TUM V Cetus 9 Range0To1 1 3 HighLimit Range 3 High Limit 66 m 57 Range0To11 3 LowLimit Range 3 Low Limit 68 ne i a ne a u Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Range 3 Output Control 69 Not Used Inv Not Used Type Not Used ToThisCtr age 3 Configuration 70 TT oe eres T RangeOTo11 4 HighLimit Range 4 High Limit Publication 1769 UMO006A EN P March 2002 Table 4 1 Configuration Array Module Configuration Output and Input Data
102. gh through InvalidRangeLimit15 InvalidCtrAssignToRange15 Out30vercurrent Status Flags Output Overcurrent Out0Overcurrent to Out30verCurrent The output overcurrent bits are set 1 when the module is in an overcurrent condition These bits also show whether the output is latched off because the output s remain in the off state and these bits remain on until the ResetBlownFuse bit is used Publication 1769 UMO006A EN P March 2002 4 34 Module Configuration Output and Input Data Publication 1769 UMO006A EN P March 2002 Module Configured ModConfig Word 2 bit 5 is set by the module after it has accepted all of the configuration data When set 1 this bit confirms that the module received and accepted valid configuration data When reset 0 this bit indicates that the module is still checking for errors or contains errors and the old configuration is still being used The module takes up to 2 seconds to validate configuration data Invalid Output InvalidOutput e 1 an unused bit in the Output Array is set 0 no unused bits in the Output Array are set When this error occurs the entire Output Array is rejected until an Output Array that does not have this error is sent Error GenError When this bit is set 1 it indicates one or more of the following errors for the Input Array e Outz Overcurrent InvalidRangeLimitn InvalidCtrAssignToRangen InvalidOutput Ctr n
103. he Output Array is all zeros 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 OutOG Out05 Out04 Out03 Out02 Out01 OutOO OutputOnMask 0 OutputOnMask 15 Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 Out0G OutOS Out04 Out03 Out02 Out01 OutOO OutputOffMask 0 OutputOffMask 15 R15 R14 R13 R12 R11 R10 R09 R08 R07 R06 R05 R04 R03 R02 R01 R00 RangeEn 0 RangeEn 15 Reserved RBF ResetBlownFuse RPW RREZ Zinh Zinv Dinh Dinv RCU RCO SP En Ctr0ControlBits Ctr En Ctr SoftPreset RPW RREZ Zinh Zinv Dinh Dinv RCU RCO SP En jCtriControlBits Ctr ResetCountOverflow RPW Dinv RCU RCO SP En CtrzControlBits Ctr ResetCountUnderflow Ctr DirectionInvert RPW Dinv RCU RCO SP En jCtr3ControlBits Ctr Di oninhibit Ctr Zinvert Reserved Ctr Zinhibit Ctr ResetRisingEdgeZ Range12To15 0 HiLimOrDirWr Range12To15 0 HiLimOrDirWr Ctr ResetCtrPresetWarning Range12To15 0 LowLimit Range12To15 0 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 OutOG OutOS Out04 Out03 Out
104. ible to use a ring lug maximum 1 4 inch o d with a 0 139 inch D minimum i d M3 5 with the module 3 Tighten the terminal screw making sure the pressure plate secures the wire Recommended torque when tightening terminal screws is 0 68 Nm 6 in lbs TIP If you need to remove the finger safe cover insert a screwdriver into one of the square wiring holes and gently pry the cover off If gt you wire the terminal block with the finger safe cover removed you will not be able to put it back on the terminal block because the wires will be in the way Publication 1769 UMO006A EN P March 2002 3 14 Installation and Wiring Wire Size and Terminal Screw Torque Each terminal accepts up to two wires with the following restrictions Wire Type Wire Size Terminal Screw Retaining Screw Torque Torque Solid Cu 90 C 194 F 14 to 22 AWG 0 68 Nm 6 in Ibs 0 46 Nm 4 1 in Ibs Stranded Cu 90 C 194 F 16 to 22 AWG 0 68 Nm 6 in Ibs 0 46 Nm 4 1 in Ibs Wiring the Modules To prevent shock hazard care should be taken when wiring the module to signal sources Before wiring any module disconnect power from the system power supply and from any other source to the module ATTENTION After the module is properly installed follow the wiring procedure below To ensure proper operation and high immunity to electrical noise always use shielded wire Cut foil shield and drain wire signal
105. ilable Counter 1 any mode 2 Counters Counter 0 Counter 2 pulse pulse internal internal Counter 1 Counter 3 pulse pulse internal internal 4 Counters 1 The number of counters is defined by the NumberOfCounters bits in word 0 of the Configuration Array Publication 1769 UMO06A EN P March 2002 2 6 Module Operation Input Filtering In many industrial environments high frequency noise can be inadvertently coupled to the sensor wires The module can help reject some noise by means of built in filters Inputs are filtered by means of user selectable low pass filters set up during module configuration The available nominal pulse width filters are Table 2 1 Available Filters Input Filter AO A1 BO B1 Z0 71 5 ms 500 us 10 us no filter The filters are selected for each input in the Filter Selection word of the Module Configuration Array TIP The input state bits InputStateAO through InputStateZ1 reflect the filters inputs but are NOT affected by the signal inhibit or invert operations s described on page 2 7 Table 2 2 Filter Pulse Width and Frequency Nominal Filter Settings Maximum Guaranteed Blocked Pulse Minimum Guaranteed Pass Pulse Width Width Pulse Width Equivalent Pulse Width Equivalent Pulse Width Equivalent Frequency Frequency Frequency no filter 1 MHz n a n a 250 ns 2 MHz 10 us 50 kHz 74 Us 67 5 kHz 25 ys 20 kHz 500 us 1 kHz 370 ys
106. ing diagram Publication 1769 UMO006A EN P March 2002 3 22 Installation and Wiring Publication 1769 UMO006A EN P March 2002 Figure 3 7 Output Wiring Basic wiring of output devices to the module is shown below ATTENTION Miswiring of the module to an AC power source or applying reverse polarity will damage the module Be careful when stripping wires Wire fragments that fall into a module could cause damage at power up Once wiring is complete ensure the module is free of all metal fragments 1 2 OUT DC DC c8 Our p 59 24v0 A OUT 1 a gr UTS cR f if DC COM AQ A0 m B0 B0 5 24V dc Z0 Z0 Alt A1 B1 B1 Z1 Z1 L ay Recommended Surge Suppression The module has built in suppression which is sufficient for most applications however for high noise applications use a 1N4004 diode reverse wired across the load for transistor outputs switching 24V dc inductive loads For additional details refer to Industrial Automation Wiring and Grounding Guidelines Allen Bradley publication 1770 41 Sourcing Output Source describes the current flow between the 1 0 module and the field device Sourcing output circuits supply source current to sinking field devices Field devices connected to the negative side DC Common of the field power supply are sinking field devices Field devices connected to the posit
107. ion Current Derating Based on Temperature 1 5 1 0 5 0 0 25A at 60 C 0 10 20 40 50 60 70 Ambient Temperature C Temperature Derated Current 0 C to 40 C 32 F to 104 F 1A 55 C 131 F 0 5A 60 C 140 F 0 25A Maximum Output Current per Module 24V dc Operation Current Derating Based on Temperature 5 4 3 2 1 1A at 60 C 0 a 0 10 20 40 50 60 70 Ambient Temperature C Temperature Derated Current 0 C to 40 C 32 F to 104 F 4A 55 C 131 F 2A 60 C 140 F 1A Specifications A 7 Dimensions NOTE All dimensions are in mm inches Hole spacing tolerance 0 04 mm 0 016 in Figure A 2 Compact 1 0 with CompactLogix Controller and Power Supply 50 mm 35 mm 70 mm 35 mm Mounting Hole 1 97 in 1 38 in 2 76 in 1 38 in 28 5 mm Dimension 40 mm 35 mm P 35 mm p 35 mm 135 mm Le gt 1 12 in 1 58 in 1 38 in 1 38 in 1 38 in 1 38 in A X A p gt Fi Seri 2222 o 2222 Es ems Ele ale E amp PIS am Q amp 6 o hd E i i Zaa E X E E E E E E ee ele 2 C4 S Ela 3 eo DIN Rail E BR cd Center Line Y Y Y 14 7 mm 0 58 in Figure A 3 Compact I O
108. ion simultaneously or near simultaneously the net result is no change to the Incrementing Encoder or Sensor C Increment Pulse count up Decrementing Encoder or Sensor Decrement Pulse count down Increment Pulse O Input A O Input B Oo Input Z Der M zm Input A Decrement Pulse Input B Count 1 2 3 Publication 1769 UMO006A EN P March 2002 Module Operation 2 11 Table 2 6 Up and Down Counting Direction Direction Input A Input B Change in Inhibit Bit Invert Bit Count Direction Count Value 0 0 T 0 1 4 0 1 4 T 1 T 0 0 1 T 0 1 4 1 0 1 4 T T T 0 1 0 T 0 1 4 0 1 4 T T T 0 1 1 T 0 1 4 1 0 1 4 T 1 T T 0 X1 Quadrature Encoder Mode Selection In this mode when a quadrature encoder is attached to inputs A and B the count direction is determined by the phase relation of inputs A and B If A leads B the counter increments If B leads A the counter decrements In other words when B is low the count increments on the rising edge of input A and decrements on the falling edge of input A If B is high all rising transitions on input A are ignored The counter changes value only on one edge of input A as shown in Figure 2 4 TIP When both A and B transition at the same time instead of in the defined 90 phase separation the lp quadratu
109. it access The Input Array is described below The functions are described in more detail in the sections following the table IMPORTANT During the non run states program and fault the module continues to update the Input Array continues counting etc Depending on the bus master you may not see this valid status the counter must be enabled and the module must have stored a valid configuration for Status bits for a particular counter reflect the configuration settings for that counter To receive that counter Publication 1769 UMO006A EN P March 2002 4 32 Module Configuration Output and Input Data Table 4 9 Input Array Bit Word 15 7314 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Function 0 Not Used Z1 B1 A1 Z0 B0 A0 Input State 1 Readback 0 through Readback 15 Readback InvalidRangeLimit12 InvalidCtrAssignToRange12 2 through through pu End id Not Used Beca d Status Flags InvalidRangeLimit15 InvalidCtrAssignToRange15 p 3 RangeActive 0 through RangeActive 15 Range Active 4 5 Ctr 0 CurrentCount Counter 0 Current Count 6 7 Ctr 0 StoredCount Counter 0 Stored Count 8 g Ctr 0 CurrentRate Counter 0 Current Rate 10 i Ctr O Pulselnterval Counter 0 Pulse Interval 12 Not Used COPW RV NotUsed IDW REZ CUdf COv
110. itical Errors Non critical module errors are typically recoverable Non critical error conditions are indicated by the extended error code See Table 5 6 Configuration Error Codes on page 5 9 TIP The OK LED will be in a flashing red state for all of the error codes in Table 5 6 Critical Errors Critical module errors are conditions that prevent normal or recoverable operation of the system When these types of errors occur the system typically leaves the run or program mode and enters the fault mode of operation until the error can be dealt with Critical module errors are indicated in Table 5 5 General Common Hardware Error Codes on page 5 8 Module errors are expressed in two fields as four digit Hex format with the most significant digit as don t care and irrelevant The two fields are Module Error and Extended Error Information The structure of the module error data is shown below Don t Care Bits Module Error Extended Error Information 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Hex Digit 4 Hex Digit 3 Hex Digit 2 Hex Digit 1 Publication 1769 UMO006A EN P March 2002 5 6 Diagnostics and Troubleshooting Table 5 3 Module Error Types Module Error Field The purpose of the module error field is to classify module errors into three distinct groups as described in the table below The type of error determines what kind
111. ive side V of the field supply are sourcing field devices Europe DC sinking input and sourcing output module circuits are the commonly used options Chapter Module Configuration Output and Input Data After installation of the 1769 HSC module you must configure it for operation using the programming software compatible with the controller for example RSLogix 500 or RSLogix 5000 TIP Normal counter configuration is done using programming software In that case it is not necessary to know the meaning of the bit location gt However some systems allow configuration to be changed by the control program Refer to your controller s documentation for details Information on programming the module using specific controllers and software is contained in the following Appendices Appendix Controller Software Appendix B CompactLogix Controller RSLogix 5000 Appendix C MicroLogix 1500 Controller RSLogix 500 Configuring the Module The module uses three arrays Configuration Array Output Array and Input Array You configure the module by establishing settings in the Configuration and Output Arrays The Input Array shows the data that the module sends to the controller IMPORTANT Both the Configuration Array and Output Array settings affect the module configuration Changing certain configuration parameters from defaults may necessitate changing other values to avoid configuration errors Publication 1769 U
112. ix 1500 Base Unit and Processor 168 mm 35 mm I T e Mounting Hole 6 62 in 1 38 in 285 mm Dimension 147 mm 35 mm 1 12 in gt 5 79 in 1 38 in A A w om sss eS Recs Sane EM Eln m S aI E HE E g PS g asee oe st 2 i i La Boca es 8HOJE AE IE e gis e 3 Cu S Ela ajl IE 4 DIN Rail B 2 ei LL Center Line i J Ho t 13 5 mm 14 7 mm 0 53 in 0 58 in Publication 1769 UM006A EN P March 2002 Installation and Wiring 3 9 Panel Mounting Procedure Using Modules as a Template The following procedure allows you to use the assembled modules as a template for drilling holes in the panel Due to module mounting hole tolerance it is important to follow these procedures 1 On a clean work surface assemble no more than three modules 2 Using the assembled modules as a template carefully mark the center of all module mounting holes on the panel 3 Return the assembled modules to the clean work surface including any previously mounted modules 4 Drill and tap the mounting holes for the recommended M4 or 8 SCrew 5 Place the modules back on the panel and check for proper hole alignment 6 Attach the modules to the panel using the mounting screws TIP If mounting more modules mount only the last one of this group and put the others aside This reduces remounting time during drilling p gt and tapping
113. l devices be sure that all debris metal chips wire strands etc is kept from falling into the module Debris that falls into the module could cause damage at power up Minimum Spacing Maintain spacing from enclosure walls wireways adjacent equipment etc Allow 50 mm 2 in of space on all sides for adequate ventilation as shown below Host Controller Compact 1 0 Compact I 0 Compact 1 0 Compact 1 0 Compact 1 0 Bottom Panel Mounting Mount the module to a panel using two screws per module Use M4 or 8 panhead screws Mounting screws are required on every module Publication 1769 UMO006A EN P March 2002 3 8 Installation and Wiring Panel Mounting Using the Dimensional Drawing NOTE All dimensions are in mm inches Hole spacing tolerance 0 04 mm 0 016 in Figure 3 1 Compact 1 0 with CompactLogix Controller and Power Supply 70 mm Mounting Hole 2 76 in 285 mm Dimension BE nu ae wiki 1 12 in 1 38 in 1 38 in A A A k n p ssss FE 5 S252 gls _ 5a lt o 2 co HX i 1 D eo Oo fj co St Y Lo i E E E i E E Es cle 2 i i jg Si Ele a L eo DIN Rail U 2 ol E Center Line i Y Y Y Y Y 14 7 mm 0 58 in Figure 3 2 Compact I O with MicroLog
114. led by the user program determines the direction of the counter The counter increments on the rising edge of the module s A input when the Direction Invert bit is reset 0 The counter decrements on the rising edge of the A input when the Direction Invert bit is set 1 Table 2 4 Pulse Internal Direction Counting Counters 0 and 1 Direction Direction Input A Input B Change in Inhibit Bit Invert Bit Count Count Value don t care 0 T don t care 1 0 1 4 don t care 0 don t care 1 T don t care 1 0 1 4 don t care 0 Publication 1769 UMO006A EN P March 2002 2 10 Module Operation Table 2 5 Pulse Internal Direction Counting Counters 2 and 3 Direction Direction Input A Input B Change in Inhibit Bit Invert Bit Count Count Value don t care 0 don t care T 1 don t care 0 1 4 0 don t care 1 don t care T 1 don t care 0 1 4 0 Up and Down Pulses Mode Selection In this mode the counter channel increments on the rising edge of pulses applied to input A and decrements on the rising edge of pulses applied to input B When set the Direction Inhibit bit causes both A and B to increment When set the Direction Invert bit causes B to increment and A to decrement When the Direction Invert and Direction Inhibit bits are both set both A and B decrement count value Figure 2 3 Up and Down Pulse Mode Direction Inhibit 0 Direction Invert 0 When both inputs transit
115. licRateUpdateTime Configuration Array Words BWR RAW eel owe Le ele aw 14 Counter 0 Cyclic Rate Update Time CtrOCyclicRateUpdate Time 24 Counter 1 Cyclic Rate Update Time Ctr1CyclicRateUpdateTime 34 Counter 2 Cyclic Rate Update Time Ctr2CyclicRateUpdateTime 44 Counter 3 Cyclic Rate Update Time Ctr3CyclicRateUpdateTime This value is used to set the cyclic rate update time for the CurrentRate calculation The value indicates the time in milliseconds from 1 to 32767 An invalid number causes a configuration error The default value is 10 for counters 0 and 1 The default value is 0 for counters 2 and 3 IMPORTANT Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings See page 2 19 for more information on cyclic rate Publication 1769 UMO006A EN P March 2002 Configuration Flags Module Configuration Output and Input Data 4 15 Configuration Arey Words 5 4 35 32 35 08 Ur 5 9 35 9 W 5 15 Counter 0 Configuration Flags Not Used Linear des Storage Mode Not Used Operational Mode 25 Counter 1 Configuration Flags Not Used Linear Hes Storage Mode Not Used Operational Mode 35 Counter 2 Configuration Flags Not Used Linear Not Used 45 Counter 3 Configuration Flags Not Used Linear Not Used Operational Mode CtrnConfig OperationalMode 0 thro
116. lid range limit 4 35 per pulse error 2 22 error codes 5 8 error definitions 5 5 errors BadCounterMode 5 9 BadCounterNum 5 9 BadCtrAssignToRange 5 11 BadHysteresis 5 10 BadMin 5 9 BadModConfigUpdate 5 9 5 12 BadPreset 5 9 BadRangeLimit 5 10 BadScalar 5 10 BadScale 5 10 configuration 5 7 configuration errors 4 2 a o c5 Publication 1769 UMO06A EN P March 2002 2 Index critical 5 5 extended error information field 5 6 General Configuration Error 5 9 hardware 5 6 module error field 5 6 non critical 5 5 UnusedConfigBitSet 5 9 European Union Directives 3 1 extended error codes 5 8 extended error information field 5 6 F Fault State Run 2 29 Filter Selection 4 3 4 8 FilterA0 5 13 FilterA1 5 13 FilterBO 5 13 FilterB1 5 13 FilterZ0 5 13 FilterZ1 5 13 finger safe terminal block 3 13 G gate preset functions 2 4 gating 2 16 General Configuration Bits 4 3 4 6 General Error Bit 4 34 grounding 3 11 hardware errors 5 6 hardware features 1 3 heat considerations 3 4 Hold Last State 2 27 Hysteresis 2 20 4 3 4 13 l Input Array D 5 input array 4 31 input operational mode 2 7 pulse external direction 2 8 pulse internal direction 2 9 up and down pulses 2 10 X1 quadrature encoder 2 11 X2 quadrature encoder 2 12 X4 quadrature encoder 2 12 Input State 4 32 4 33 Publication 1769 UM006A EN P March 2002 inputs basic description 1 2 ock diagram 2 2 differential encoder wiring 3 17
117. lue allowed for counter n The count value cannot fall below this value This value must be less than CtrnMaxCount or a configuration error occurs Allowable values are from 2 147 483 648 to CtrnMaxCount 1 The default value is 2 147 483 648 decimal for counters 0 and 1 The default value is 0 for counters 2 and 3 TTHTTEU oe not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Publication 1769 UMO006A EN P March 2002 Module Configuration Output and Input Data 4 13 Counter Preset CtrnPreset Contiguraton Arey Words e M 15 32 Y W 59 0 Ur 0 05 W 65 W 0 10 i Counter 0 Preset CtrOPreset 20 7i Counter 1 Preset Ctr1Preset 30 Counter 2 Preset Ctr2Preset 40 ii Counter 3 Preset Ctr3Preset This value can be used to change the current count value of countern on certain gate Zn events and when CtrnSoftPreset is used CtrmPreset must be greater than or equal to CtrnMinCount and less than CtrmMaxCount The default value is zero Counter Hysteresis CtrnHysteresis CowigwaiAmayWods 3 3 RT 3 S wT we WO uw vw ow 12 Counter 0 Hysteresis CtrOHysteresis 22 Counter 1 Hysteresis Ctr1 Hysteresis 32 Counter 2 Hysteresis Ctr2Hysteresis 42 Counter 3 Hysteresis Ctr3Hysteresis The hysteresis value is the number of counts that
118. n ToThisCounter refers to a non declared counter RangeOTo11 n ToThisCounter gt NumberOfCounters Publication 1769 UMO006A EN P March 2002 5 8 Diagnostics and Troubleshooting Error Codes The tables in this section explain the extended error codes for general common hardware errors configuration errors and runtime errors Table 5 5 General Common Hardware Error Codes Module Extended Error Description Status of the OK LED Hex Error Information Error Type Equivalent Code Code Binary Binary No Error X000 000 000000000 OK normal operating condition Solid or flashing green General Common X200 001 000000000 General hardware error no additional Solid red Hardware Frror information X201 001 0 0000 0001 Power up reset state Briefly red X202 001 000000010 Bus master incompatibility Solid red X203 001 0 0000 0011 General hardware error Solid red X20A 001 000001010 General microprocessor error Solid red X20B 001 0 0000 1011 Microprocessor internal register error Solid red X20C 001 0 0000 1100 Microprocessor special function Solid red register error X20D 001 0 0000 1101 Microprocessor internal memory error Solid red X20E 001 000001110 Microprocessor timer error Solid red X20F 001 0 0000 1111 Microprocessor interrupt error Solid red X210 001 000010000 Microprocessor watchdog error Soli
119. n NumberofCounters 01 10 or 11 X472 010 00111 0010 BadScale 2 The Ctr2CyclicRateUpdateTime is invalid i e less than one when NumberofCounters 10 or 11 X473 010 00111 0011 BadScale 3 The Ctr3CyclicRateUpdateTime is invalid i e less than one when NumberofCounters 11 X480 010 0 1000 0000 BadRangeLimit_0 The RangeOTo11 0 LowLimit is greater than or equal to the RangeOTo 11 0 HighLimit X481 010 0 1000 0001 BadRangeLimit_1 The Range0To11 1 LowLimit is greater than or equal to the Range0To11 1 HighLimit X482 010 0 1000 0010 BadRangeLimit_2 The Range0To11 2 LowLimit is greater than or equal to the Range0To11 2 HighLimit X483 010 0 1000 0011 BadRangeLimit_3 The Range0To1 1 3 LowLimit is greater than or equal to the Range0To11 3 HighLimit X484 010 0 1000 0100 BadRangeLimit_4 The Range0To11 4 LowLimit is greater than or equal to the Range0To11 4 HighLimit X485 010 0 1000 0101 BadRangeLimit_5 The Range0To11 5 LowLimit is greater than or equal to the RangeOTo 11 5 HighLimit X486 010 0 1000 0110 BadRangeLimit_6 The Range0To11 6 LowLimit is greater than or equal to the Range0To11 6 HighLimit X487 010 0 1000 0111 BadRangeLimit_7 The Range0To11 7 LowLimit is greater than or equal to the Range0To11 7 HighLimit X488 010 0 1000 1000 BadRangeLimit_8 The Range0To1 1 8 LowLimit is greater than or equal to the Range0To11 8 HighLimit X489 010 0 1000 1001 BadRangeLimit_9 The Range0To1 1 9 LowLimit is g
120. n Time max 400 us Turn Off Time max 200 us Reverse Polarity Protection 30V dc Isolation Outputs to Bus Verified by one of the following dielectric tests e 1200V ac or 1697V dc for 1 second e 75V dc working voltage IEC Class 2 reinforced insulation 1 See Maximum Output Voltage 24V dc Operation temperature derating on page A 4 2 See Maximum Output Current per Point 5V dc Operation temperature derating on page A 5 and Maximum Output Current per Point 24V dc Operation temperature derating on page A 6 3 See Maximum Output Current per Module 5V dc Operation temperature derating on page A 5 and Maximum Output Current per Module 24V dc Operation temperature derating on page A 6 4 maximum turn on time is 200 us Maximum turn on time applies to output voltage range of 5 to 7V dc For output voltages greater than 7V dc the Specifications A 3 Throughput and Timing Operation Description Timing Input File Update Time The delay between the time the module receives a pulse and when the 1 ms maximum Compact bus count value is updated Output Turn on Time The time it takes for the real output to reach 9096 output voltage after 400 us maximum commanded by the module not including processor scan time Output Turn off Time The time it takes for the real output to reach 10 output voltage after 200 us maximum commanded by the module not including the processor sca
121. n time Rate Accuracy The accuracy of the reported rate as compared to actual input rate in the Depends on frequency equation reported rate actual input rate See graph below Rate Accuracy The following graph shows rate error at various frequencies Pointing out a few trends may assist you in reading the graph Of the lines that rise at low frequencies the leftmost is a 10 second update time CtrzCyclicRateUpdateTime 10000 The rightmost of these lines is a 1 ms update time CtrnCyclicRateUpdateTime 1 The line that rises at high frequencies illustrates Ctrl7 PulseInterval Figure A 1 Rate Errors Comparison 10 LAL M call LAM D Il 1 4 Y j Y lw i N y e CPI n VIN 396 x M li 296 m S IN 0 Error percent 10 100 1 000 10 000 00 000 1 000 0 Frequency Hz Publication 1769 UMO006A EN P March 2002 A 4 Specifications Temperature Derating Volts dc Volts dc Publication 1769 UMO006A EN P March 2002 Maximum Input Voltage 24V dc Operation Voltage Derating Based on Temperature 35 30 26 4V dc at 55 C 25 20 15 10 5 0 0 10 20 30 40 50 60 70 Ambient Temperature C Temperature Derated Voltage 0 C to 40 C 32 F to 104 F 30V de
122. nd Verifying Output Operation Publication 1769 UMO006A EN P March 2002 6 In order to fully configure the 1769 HSC module we must now modify parameters in the Output Data file as well Click on the Output Data file on the left side under the Data files 34 words of output image will appear Addresses for these 34 words are Output word 0 through Output word 33 7 For this example only the first 6 words are modified Output Word 6 through Output Word 33 are for Counters 1 3 and Ranges 12 15 which we are not using in this example The 6 Output words are as follows Output Data File Decimal Value Description Output Word 0 0 Not used Output Word 1 3 Enables Outputs 0 and 1 to be controlled by Ranges 0 and 1 utput Word 2 Enable Ranges 0 and 1 ut Word 3 Not using Interrupts oj oj w utput Word 4 Not using Interrupts oO ojl ojo c T utput Word 5 Enable Counter 0 Output Word 6 through Output Word 33 are not used by this example and should not be modified No program logic is needed for this example Save the program and download it to your controller Place the controller into the RUN mode and spin the shaft on your 845F encoder Input words 4 and 5 Current Count will display the current count data for Counter 0 of the 1769 HSC This count for this example is the number of pulses received from the encoder times 4 we chose the operating mode to
123. nd Wiring Publication 1769 UMO006A EN P March 2002 Figure 3 4 Single Ended Encoder Wiring Cable VS GND R2 De 1 A E B Allen Bradley 845H Series z single ended encoder Shield 777 shield housing Earth Connect only if housing is electronically isolated from the motor and ground Module Inputs 1 Refer to your encoder manual for proper cable type The type of cable used should be twisted pair individually shielded cable with a maximum length of 300m 1000 ft 2 External resistors are required if they are not internal to the encoder The pull up resistor R value depends on the power supply value The table below shows the maximum resistor values for typical supply voltages To calculate the maximum resistor value use the following formula Re Vdc Vmin Imin where R maximum pull up resistor value Vdc power supply voltage Vmin 2 6V dc Imin 6 8 mA Power Supply Voltage Vdc Maximum Pull up Resistor Value R 5V dc 352 Q 12V dc 1382 Q 24V dc 3147 Q 1 Resistance values may change depending upon your application The minimum resistor R value depends on the current sinking capability of the encoder Refer to your encoder s documentation Installation and Wiring 3 19 Figure 3 5 Discrete Device Wiring Proximity Sensor Solid State Switch Ro Photo electric
124. nside the module e If available use a static safe work station e When it is not in use keep the module in its static shield box Publication 1769 UMO006A EN P March 2002 3 4 Installation and Wiring Publication 1769 UMO006A EN P March 2002 Remove Power ATTENTION Remove power before removing or inserting this module When you remove or insert a module with power applied an electrical arc may occur An electrical arc can cause personal injury or property damage by sending an erroneous signal to your system s field devices causing unintended machine motion causing an explosion in a hazardous environment Electrical arcing causes excessive wear to contacts on both the module and its mating connector and may lead to premature failure Selecting a Location Reducing Noise Most applications require installation in an industrial enclosure to reduce the effects of electrical interference The module is highly susceptible to electrical noise Electrical noise coupled to the inputs will reduce the performance accuracy of the module Group your modules to minimize adverse effects from radiated electrical noise and heat Consider the following conditions when selecting a location for the module Position the module away from sources of electrical noise such as hard contact switches relays and AC motor drives away from modules which generate significant radiated heat such as the 1769 IA16
125. nt Voltage Analog Input 17594F4 B 4 Channel Current Voltage Analog Input 17694M12 A 12 Point 240V AC Input 1769 101674 16 Point 24V DC Input Sink Source 1 769 IQB lt OW4 7 4 6 Point 24V DC Sink Source Input 4 Point AC DC Relay Output 1769 IR6 4 6 Channel RTD Direct Resistance Analog Input 17694T5 4 B Channel Thermocouple mM Analog Input 1 769 MODULE Generic 1769 Module 1769 04874 8 Point 100V 240 AC Output 1 769 0B16 4 16 Point 24V DC Output Source zi Show Vendor All v M Other v Specialty 1 0 Select All v Analog M Digital M Communication v Motion v Controller Clear All Cancel Help This screen displays all 1769 I O modules that have a Thin Profile Any module listed by its catalog number has such a profile To add these modules to your CompactLogix system click on the module then click OK The screen that appears allows you to name the module All other parameters should be left at their defaults Click Finish and your module will be displayed below the 0 CompactBus Local in slot 1 The next I O module you configure by default will be placed in slot 2 and so on Configure the remaining I O modules that are listed by name in the same manner The 1769 HSC module does not yet have a Thin Profile This means that until this module appears in the I O list by name the Generic 1769 Module profile will be used to add the 1769 HSC module to your CompactLogix system To a
126. nter Underflow CtrnResetCounterUnderflow A 0 to 1 transition of this bit causes the corresponding Ctr n Underflow bit to be reset Module Configuration Output and Input Data 4 25 D Inv Direction Invert CtrnDirectionInvert This bit when set inverts the direction of the counter 72 If the CtrnDirectionInhibit bit is set when this bit is 0 the resulting direction is up increasing counts 1 the resulting direction is down decreasing counts D Inh Direction Inhibit CtraDirectionlnhibit This bit when set inhibits the direction of the input signal from being used by the module Z Inv Z Invert CtrnZinvert When set this bit inverts the Zn value The Zn value is also affected by the CtrzZInhibit bit If the CtrzZInhibit is set the module uses CtrzZInvert for all internal Z activities preset hold and store Input state Zn is not affected by this bit Z Inh Z Inhibit CtrnZinhibit When set this bit inhibits the Zn state from being used by the module RREZ Reset Rising Edge Z CtrnResetRisingEdgeZ A 0 to 1 transition causes the Ctr 7 RisingEdgeZ bit to be reset RPW Reset Counter Preset Warning CtrnResetCtrPresetWarning A 0 to 1 transition causes the Ctr 7 PresetWarning bit to be reset Publication 1769 UMO006A EN P March 2002 4 26 Module Configuration Output and Input Data Range High Limit or Direct Write Value Range12To15 n HiLimOrDirWr Dutput Array Words BMRA
127. ny suggestions for how this manual could be made more useful to you please contact us at the address below Rockwell Automation Automation Control and Information Group Technical Communication Dept A602V P O Box 2086 Milwaukee WI 53201 2086 Publication 1769 UMO006A EN P March 2002 Preface 4 Publication 1769 UMO006A EN P March 2002 Chapter 1 Module Overview Module Overview This chapter contains the following e module overview e hardware features The 1769 HSC is an intelligent counter module with its own microprocessor and I O that is capable of reacting to high speed input signals The module can interface with up to 2 channels of quadrature or 4 channels of pulse count inputs The signals received at the inputs are filtered decoded and counted They are also processed to generate rate and time between pulses pulse interval data Count and rate values can then be used to activate outputs based on user defined ranges The module counts pulses at up to 1 MHz from devices such as proximity switches pulse generators turbine flowmeters and quadrature encoders The module has four on board high speed switching outputs These outputs can be under user program or direct module control based on the count value or frequency The module is compatible with MicroLogix 1500 packaged controllers CompactLogix modular PLCs and the Series p 1769 ADN DeviceNet Adapter Counters The module is capable o
128. of the next group 7 Repeat steps 1 to 6 for any remaining modules DIN Rail Mounting The module can be mounted using the following DIN rails 35 x 7 5 mm EN 50 022 35 x 7 5 or 35 x 15 mm EN 50 022 35 x 15 Before mounting the module on a DIN rail close the DIN rail latches Press the DIN rail mounting area of the module against the DIN rail The latches will momentarily open and lock into place DIN rail mounting dimensions are shown below A A A Ee Dimension Height 1 A B 59 mm 2 325 in C 59 mm 2 325 in C i v v Publication 1769 UMO006A EN P March 2002 3 10 Installation and Wiring Replacing the Module within a System Publication 1769 UMO006A EN P March 2002 The module can be replaced while the system is mounted to a panel or DIN rail 1 2 10 Remove power See important note on page 3 4 Remove terminal block or disconnect input output wiring from the module Remove the upper and lower mounting screws from the module or open the DIN latches using a flat blade screwdriver On the module to be replaced and the right side adjacent module Cor end cap if the module is the last module in the bank move the bus levers to the right Cunlock to disconnect the module from the adjacent modules Gently slide the disconnected module forward If you feel excessive resistance make sure that you
129. on 1769 UMO006A EN P March 2002 The module can be attached to an adjacent controller power supply or I O module For mounting instructions see Panel Mounting on page 3 7 or DIN Rail Mounting on page 3 9 To work with a system that is already mounted see Replacing the Module within a System on page 3 10 The following procedure shows you how to assemble the Compact I O system 1 Disconnect power 2 Check that the bus lever of the module A is in the unlocked fully right position 3 Use the upper and lower tongue and groove slots B to secure the modules together 4 Move the module back along the tongue and groove slots until the bus connectors C line up with each other 5 Use your fingers or a small screw driver to push the bus lever back slightly to clear the positioning tab D 6 Move the module s bus lever fully to the left E until it clicks Ensure it is locked firmly in place ATTENTION When attaching I O modules it is very important that the bus connectors are securely locked together to ensure proper electrical connection 7 Attach an end cap terminator F to the last module in the system by using the tongue and groove slots as before Mounting Installation and Wiring 3 7 8 Lock the end cap bus terminator G TIIDTTUM 1769 ECR or 1769 ECL right or left end cap must be used to terminate the end of the serial communication bus ATTENTION During panel or DIN rail mounting of al
130. ored Count 4 36 T technical support 5 14 temperature derating A 4 terminal block identification drawing 1 3 Publication 1769 UMO006A EN P March 2002 4 Index removing 3 12 wiring 3 13 terminal door label 3 15 terminal screw torque 3 14 Throughput and Timing A 3 Timing A 3 ToThisCounter 4 19 troubleshooting safety considerations 5 1 U underflow 2 14 2 15 2 21 linear counter 2 14 up and down pulses 2 10 User Defined Safe State 2 28 utput 4 21 V virtual outputs 2 23 Publication 1769 UMO006A EN P March 2002 W wire size 3 14 wiring 3 1 grounding and wiring guidelines manual P 2 module 3 14 routing considerations 3 4 terminal block 3 13 X X1 quadrature encoder 2 11 X2 quadrature encoder 2 12 X4 quadrature encoder 2 12 Z Z Inhibit 4 25 Z input functions 2 16 gating 2 16 preset reset 2 16 setting in output array 4 38 Z Invert 4 25 www rockwellautomation com Corporate Headquarters Rockwell Automation 777 East Wisconsin Avenue Suite 1400 Milwaukee WI 53202 5302 USA Tel 1 414 212 5200 Fax 1 414 212 5201 Headquarters for Allen Bradley Products Rockwell Software Products and Global Manufacturing Solutions Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Rockwell Automation SA NV Vorstlaan Boulevard du Souverain 36 BP 3A B 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 064
131. ot Used Type NotUsed ToThisCtr pm 11 Configuration Configuration Array Word 0 General Configuration Bits General Configuration Bits Eis AR Pee UR 508 n 5086 07 0608 fr 0 105 207 31 Not Used Numberof Counters Not Used Not Used Publication 1769 UMO006A EN P March 2002 OCLO Overcurrent Latch Off OverCurrentLatchOff When set this bit causes the module to make any overcurrent activity latch the corresponding output off simulating a physical fuse When OCLO 0 it automatically resets The rising edge of RBF resets the output IMPORTANT Do not set this bit while a counter or range is enabled CtrOEn Ctr1En Ctr2En Ctr3En or RangeEn set to 1 Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Module Configuration Output and Input Data 4 7 Counter Reset CtrReset The CtrReset bit in the Configuration Array when set causes the following to occur when the system transitions to Run or the Inhibit Module bit transitions to 0 All counters are disabled and reset to zero The Output Array is reset to default values until the ModConfig bit is set 1 The default value for the Output Array is all zeros The Input Array counter Status Flags Overflow Underflow RisingEdgeZ RateValid PresetWarning are reset The Input Array counter values Current Count StoredCount Current
132. ou need to contact Rockwell Automation for assistance please Automation have the following information available when you call a clear statement of the problem including a description of what the system is actually doing Note the LED state also note input and output image words for the module a list of remedies you have already tried processor type and firmware number See the label on the processor hardware types in the system including all I O modules fault code if the processor is faulted Then contact your local Allen Bradley distributor or Rockwell Automation Technical Support Technical Support contact information e phone 440 646 5800 internet http support rockwellautomation com Publication 1769 UMO006A EN P March 2002 General Specifications Specification Dimensions Appendix A Specifications Value 118 mm height x 87 mm depth x 35 mm width height including mounting tabs is 138 mm 4 65 in height x 3 43 in depth x 1 38 in width height including mounting tabs is 5 43 in Approximate Shipping Weight with carton 309g 0 681 Ibs Bus Current Draw max 425 mA at 5V dc 0 mA at 24V dc Heat Dissipation 6 21 Total Watts The Watts per point plus the minimum Watts with all points energized Storage Temperature 40 C to 85 C 40 F to 185 F Operating Temperature 0 C to 60 C 32 F to 140 F Operating Humidity 5 to 95
133. ounter_0 Range0To11 6 ToThisCounter_1 Range0to11 7 HighLimit RangeOto11 7 HighLimit Range0To11 6 Type Range0To11 6 Invert Range0to11 7 LowLimit Range0to11 7 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 OutO7 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 7 OutputControl Inv Type ToThisCtr RangeO0to11 7 ConfigFlags RangeOTo11 7 ToThisCounter 0 Range0To11 7 ToThisCounter 1 Range0to1 1 8 HighLimit Range0to11 8 HighLimit Range0To11 7 Type Range0To11 7 Invert Range0to11 8 LowLimit Range0to11 8 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 8 OutputControl Inv Type ToThisCtr RangeO0to11 8 ConfigFlags Range0To11 8 ToThisCounter_0 Range0To11 8 ToThisCounter_1 Range0to1 1 9 HighLimit Range0to11 9 HighLimit Range0To11 8 Type Range0To11 8 Invert Range0to11 9 LowLimit Range0to11 9 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 Out08 Out07 OutOG Out05 Out04 Out03 Out02 Out01 Out00 RangeOto11 9 OutputControl Inv Type ToThisCtr Range0to11 9 ConfigFlags Range0To11 9 ToThisCounter_0 Range0To11 9 ToThisCounter_1 Range0to11 10 HighLimit Range0to11 10 HighLimit Range0To11 9 Type Range0To11 9 Invert Range0to11 10 LowLimit Range0to11 10 LowLimit Out15 Out14 Out13 Out12 Outi1 Out10 Out09 Out08 Out07 OutOG Out05 Out04
134. owLimit Configuration Array Words suene 05 9 9 W 0 46 and 47 Range 0 High Limit RangeOTo11 0 HighLimit 48 and 49 Range 0 Low Limit RangeOTo1 1 0 LowLimit 52 and 53 Range 1 High Limit RangeOTo11 1 HighLimit 54 and 55 Range 1 Low Limit RangeOTo11 1 LowLimit 58and 59 Range 2 High Limit RangeOTo11 2 HighLimit 60 and 61 Range 2 Low Limit RangeOTo11 2 LowLimit 64 and 65 Range 3 High Limit RangeOTo11 3 HighLimit 66 and 67 Range 3 Low Limit RangeOTo11 3 LowLimit 70 and 71 Range 4 High Limit RangeOTo11 4 HighLimit 72 and 73 Range 4 Low Limit RangeOTo11 4 LowLimit 76 and 77 Range 5 High Limit RangeOTo11 5 HighLimit 78 and 79 Range 5 Low Limit RangeOTo11 5 LowLimit 82 and 83 Range 6 High Limit RangeOTo11 6 HighLimit 84 and 85 Range 6 Low Limit RangeOTo1 1 6 LowLimit 88 and 89 Range 7 High Limit RangeOTo11 7 HighLimit 90 and 91 Range 7 Low Limit RangeOTo11 7 LowLimit 94 and 95 Range 8 High Limit RangeOTo11 8 HighLimit 96 and 97 Range 8 Low Limit RangeOTo11 8 LowLimit 100 and 101 Range 9 High Limit Range0To11 9 HighLimit 102 and 103 Range 9 Low Limit RangeOTo1 1 9 LowLimit 106 and 107 Range 10 High Limit Range0To1 1 10 HighLimit 108 and 109 Range 10 Low Limit Range0To11 10 LowLimit 112 and 113 Range 11 High Limit Range0To1 1 11 HighLimit 114 and 115 Range 11 Low Limit Range0To11 11 LowLimit
135. ported as zero frequency when it falls below the hysteresis threshold Scalar You can configure the CtrmScalar value to scale or convert the raw rate value to application specific information such as RPM Revolutions Per Minute Setting CtrmScalar to 1 leaves the rate value in cycles per second Hertz The actual rate equation is 1000 x A count CyclicRateUpdateTime x Scalar Current Rate To configure the Ctr 7 CurrentRate value to show an RPM value set CtrmScalar to counts per B revolution 60 Module Operation 2 21 For example where CtrOCyclicRateUpdateTime 80 the encoder has 360 counts per revolution and the change in Ctr 0 CurrentCount is 96 Scalar 360 counts revolution 60 sec min 1000 Cyclic Rate Update Time sec x 96 counts M 200 RPM 80 Cyclic Rate Update Time x 360 counts revolution 60 sec min Rate Valid The Ctrl7 RateValid bit indicates calculation integrity When the bit is set it indicates that the accompanying Ctr n CurrentRate value is accurate The Ctrl7 RateValid bit is reset when the overflow or underflow events have occurred i e at rising edges of Ctr 7 Overflow or Ctr 7 Underflow bits It also happens when the count is abruptly modified via a preset CtrriSoftPreset CtrmCtrPresetWarning or Z based preset event or direct write Range12To15 n LoadDirect Write When this occurs the Ctr 7 CurrentRate value is frozen at the last known good value so th
136. pulse voltage capability of the product s insulation 3 Pollution Degree 2 and Over Voltage Category II are International Electrotechnical Commission IEC designations Installation and Wiring 3 3 Hazardous Location Considerations This equipment is suitable for use in Class I Division 2 Groups A B C D or non hazardous locations only The following WARNING statement applies to use in hazardous locations WARNING EXPLOSION HAZARD e Substitution of components may impair suitability for Class I Division 2 Do not replace components or disconnect equipment unless power has been switched off or the area is known to be non hazardous Do not connect or disconnect components unless power has been switched off or the area is known to be non hazardous This product must be installed in an enclosure All cables connected to the product must remain in the enclosure or be protected by conduit or other means All wiring must comply with N E C article 501 4 b Prevent Electrostatic Discharge ATTENTION Electrostatic discharge can damage integrated circuits or semiconductors if you touch the bus connector pins terminal block or devices on the circuit board Follow these guidelines when you handle the module Touch a grounded object to discharge static potential Wear an approved wrist strap grounding device Do not touch the bus connector or connector pins Do not touch circuit components i
137. r offline project then download the project to your CompactLogix controller This is due to the fact that configuration files are downloaded to the I O modules only at download when an inhibited module is uninhibited and at power up For this example we will configure the module to operate in the following way Configuration Parameter Value Number of Counters Maximum Count Value 1 200 000 Minimum Count Value 0 Scalar Update Time Value Operational Mode Quadrature encoder X 4 Ring Counter Two Ranges Range0 Maximum Value 600 000 Minimum Value 500 000 Control Output 0 with this range Range Type Count Value ToThisCounter 0 Range1 Maximum Value 1 200 000 Minimum Value 1 000 000 Control Output 1 with this range Range Type Count Value ToThisCounter 0 Publication 1769 UMO006A EN P March 2002 B 8 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder Translate the configuration parameters above into the 1769 HSC Configuration file per Chapter 4 as follows Configuration Tag HexValue Description Local 4 C Data 0 16 0000 Number of Counters 1 Local 4 C Data 1 1620000 No filters used in this example Local 4 C Data 2 16 0000 PSO and PSR not used Local 4 C Data 3 16 0000 PVO not used Local 4 C Data 4 16 0000 FSO and FSR not used Local 4 C Data b 1620000
138. ray and count inputs in all modes The operation of the outputs will vary according to mode and configuration and the capabilities of the controller or bus master Publication 1769 UMO006A EN P March 2002 2 28 Module Operation Publication 1769 UMO006A EN P March 2002 User Defined Safe State UDSS In this configuration the module sets the outputs to a user defined safe state when the control system transitions from Run to Program or Run to Fault UDSS sets the module according to the values configured for Output Program Value described on page 4 10 and Output Fault Value described on page 4 11 Program State Run PSR Program State Run allows you to specify that the output should continue to be controlled by the module as if it were in the Run state That is events on the module or changes in the Output image will affect the physical outputs without regard to the Program HLS or UDSS state indicated When this bit is set the corresponding OutnProgramMode and OutzProgramValue bits are ignored PSR sets the module according to the value configured for Output Program State Run described on page 4 9 ATTENTION Selecting this option will allow outputs to change state while ladder logic is not running You must take care to assure that this does not pose a risk of injury or equipment damage when selecting this option IMPORTANT The prescan initiated by some controllers could have an effect on the outputs To overcome
139. rcuit or current overload condition on an output channel that channel will turn off within milliseconds after the thermal cut out temperature has been reached Overcurrent Autoreset Operation The module detects overcurrent situations and reports them to the backplane in the Out7OverCurrent bits of the Input Array When the overcurrent condition is detected the outputs are turned off The module can latch outputs off in order to emulate the behavior of a physical fuse Use the OvercurrentLatchOff bit to enable or disable this feature When the OvercurrentLatchOff bit is set and an overcurrent situation occurs even momentarily the physical output will be latched off until the ResetBlownFuse bit is cycled from off to on rising edge triggered During the latched off time the Readback n bit in the Input Array also shows that the output is off If the OvercurrentLatchOff bit is not set the output will be turned off for 1 second and then be retried if still directed to be on Retries will repeat until the overcurrent situation is corrected Only the 4 physical outputs can be latched off The virtual outputs are not affected During the retry period the physical output and the IMPORTANT Readback n bits will be on briefly until the overcurrent causes them to shut off again Take this into consideration and configure your system accordingly short circuits or overload conditions are allowed for Short circuits and overload condi
140. re signal is invalid See also Direction Inhibit and Direction Invert Output Control Bits on page 2 7 and their effect on Quadrature signals on page 2 13 Publication 1769 UMO006A EN P March 2002 2 12 Module Operation Figure 2 4 Quadrature Encoder Modes Direction Inhibit 0 Direction Invert 0 QoS Seats a SS A i o Input A i ci o Input B i Quadrature Z o InputZ Encoder 1 Forward Rotation Reverse Rotation 2 i B i uisi 2st weer E ie 24 a aeoe beg wb 458 img eet a E a da 3254 3384 th 3555 3264 1 15 141 18 0 12 ita 94 re oe ee ee ee PESERETSESEN 4d 23 4 5 6 7 8 9 10 11 12 1110 9 8 7 6 5 4 3 2 1 0 TEELE FP E A a a X2 Quadrature Encoder Mode Selection The X2 Quadrature Encoder mode operates much like the X1 Quadrature Encoder except that the resolution is doubled as shown in Figure 2 4 on page 2 12 X4 Quadrature Encoder Mode Selection The X4 Quadrature Encoder mode operates much like the X1 Quadrature Encoder except that the resolution is quadrupled as shown in Figure 2 4 on page 2 12 The following diagram shows how Direction Inhibit and Direction Invert affect the counter Publication 1769 UM006A EN P March 2002 2 13 Module Operation Figure 2 5 Operation Using Various Direction Inhibit and Direction Invert Settings Rees a
141. reater than or equal to the Range0To11 9 HighLimit X48A 010 0 1000 1010 BadRangeLimit_10 The Range0To1 1 10 LowLimit is greater than or equal to the RangeOTo11 10 HighLimit X48B 010 01000 1011 BadRangelimit 11 The Range0To1 1 11 LowLimit is greater than or equal to the RangeOTo11 11 HighLimit Publication 1769 UMO006A EN P March 2002 Table 5 6 Configuration Error Codes Diagnostics and Troubleshooting 5 11 Extended Module Error Error Information Hex Code Code Equivalent Binary Binary Error Description X490 010 0 1001 0000 BadCtrAssignToRange_0 This error occurs if you try to set RangeOTo 11 0 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X491 010 0 1001 0001 BadCtrAssignToRange_1 This error occurs if you try to set Range0T011 1 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X492 010 0 1001 0010 BadCtrAssignToRange_2 This error occurs if you try to set Range0To11 2 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X493 010 0 1001 0011 BadCtrAssignToRange_3 This error occurs if you try to set Range0To11 3 ToThisCounter to an invalid value i e to a counter that is not available due to the number of co
142. rs 4 2 5 7 Configuration Flags 4 3 4 4 4 15 Control Bits 4 24 Count Overflow 4 38 Count Underflow 4 38 count value 2 14 2 15 counter basic description 1 1 counter configuration summary 2 4 Counter Control Bits 4 21 Counter Preset Warning 4 39 counter types linear counter 2 14 ring counter 2 15 Ctr Config Linear 5 13 Ctr Config OperationalMode 5 13 Ctr Config StorageMode 5 13 Ctr CyclicRateUpdateTime 5 13 Ctr Hysteresis 5 13 Ctr MaxCount 5 13 Ctr MinCount 5 13 Ctr Preset 5 13 Ctr Scalar 5 13 Current Count 4 32 4 36 current draw A 1 Current Rate 4 37 Cyclic Rate Update Time 4 3 4 14 D Defaults Configuration Array 4 2 D 2 Counter Defaults 2 1 5 3 Counter Maximum Count 4 12 D 3 Counter Minimum Count 4 12 D 3 Index Counter Preset 4 13 Counter Reset 2 17 4 7 Counter Scalar 4 14 D 3 Cyclic Rate Update Time 4 14 D 3 Default Safe State 2 30 Input Array D 4 Number of Counters 4 8 D 3 Output Array 4 21 D 4 DeviceNet adapter compatibility 1 1 user manual P 2 dimensions A 4 DIN rail mounting 3 9 Direct Write 2 16 Direct Write Value 4 26 Direction Inhibit 2 7 4 25 Direction Invert 2 7 4 25 E electrical noise 3 4 EMC Directive 3 1 Enable Counter 4 24 error cyclic rate error 2 23 general error bit 4 32 4 34 invalid counter 4 24 4 39 invalid counter assigned to range 4 29 4 35 invalid direct write 4 38 invalid output 4 34 invalid output bit 4 21 invalid range 4 26 4 27 inva
143. rsists replace the module Flashing Red Recoverable fault Reconfigure reset or perform error recovery See section on page 5 5 Non Critical vs Critical Module Errors The OK LED flashes red for all of the error codes in Table 5 6 A0 Amber ON OFF status of input AO Al Amber ON OFF status of input A1 BO Amber ON OFF status of input BO B1 Amber ON OFF status of input B1 Z0 Amber ON OFF status of input Z0 Z1 Amber ON OFF status of input Z1 ALL Possible causes for all LEDs to be on ON je Bus Error has occurred Controller hard fault Cycle power e During Flash Upgrade of Controller Normal Do not cycle power during the Flash Upgrade e AII LEDs will flash on briefly during power up This is normal Configuration Diagnostics When a configuration is sent the module performs a diagnostic check to see that the configuration is valid This results in either a valid ModConfig bit or module configuration error See Table 5 6 for configuration error codes Post Configuration Diagnostics If the ModConfig bit in the input array is set then the module has accepted the configuration Now on every scan each channel status flag in the Input Array is examined The Output Array is checked on each scan for compatibility with the Configuration Array Non Critical vs Critical Module Errors Module Error Definition Table 5 2 Module Error Definition Diagnostics and Troubleshooting 5 5 Non Cr
144. s 0 8and 9 e e e Filter A0 1 0 and 1 Filter BO 1 3 and 4 Filter 70 1 6 and 7 Filter A1 1 8 and 9 Filter B1 1 11 and 12 Filter 71 1 14 and 15 OutnProgramMode 2 0 to 3 OutnProgramStateRun 2 Ato7 OutnProgramValue 3 0 to 3 Outn FaultMode 4 0 to 3 OutnFaultStateRun 4 4to7 OutnFaultValue 5 0 to 3 Ctr MaxCount 6 and 7 Ctr MinCount 8 and 9 CtrOPreset 10and11 1 CtrOHysteresis 12 2 CtrOScalar 13 Ctr CyclicRateUpdateTime 14 a Ctr Config OperationalMode 15 0to3 CtrOConfig StorageMode 15 8 to 10 Ctr Config Linear 15 12 e Ctr1MaxCount 16and17 e Ctr1MinCount 18and19 Ctr1Preset 20 and 21 1 Ctr1Hysteresis 22 Ctr1Scalar 23 Ctr1CyclicRateUpdateTime 24 E Ctr1Config OperationalMode 25 0 to3 e Ctr1Config StorageMode 25 8 to 10 Cir1Config Linear 25 12 Ctr2MaxCount 26and27 e Ctr2MinCount 28 and 29 Ctr2Preset 30and31 1 Ctr2Hysteresis 32 Ctr2Scalar 33 Ctr2CyclicRateUpdateTime 34 Ctr2Config Linear 35 12 Ctr3MaxCount 36and37 Ctr3MinCount 38and39 e Ctr3Preset 40 and 41 1 Ctr3Hysteresis 42 5 Ctr3Scalar 43 Ctr3CyclicRateUpdateTime 44 Ctr3Config Linear 45 12 Ranges 46 to 117 can be changed while counters and ranges are enabled 1 CtrnPreset can be changed while CtrnEn 1 Publication 1769 UMO006A EN P March 2002 5 14 Diagnostics and Troubleshooting Conta cting Rockwell If y
145. s Not Used nv Not Used Type NotUsed ToThisCtr ToThisCtr RangeUTo1 1 n To ThisCounter This 2 bit value indicates which counter is used in the range comparison for range 7 as shown in the table below Table 4 6 Range Counter Number Determination Bit 01 Bit 00 Counter 0 0 0 0 1 1 1 0 2 1 1 3 IMPORTANT If this value is greater than NumberOfCounters a configuration error occurs Type RangeOTo 1 1 n Type This bit indicates which type of value to use for the range comparison in range n This value and RangeOTo11 z ToThisCounter determine the current value that is used in range comparison as the rate or count value Range0To11 n Type Range Type 0 Count Value 1 Rate Value Publication 1769 UMO006A EN P March 2002 4 20 Module Configuration Output and Input Data Inv RangeOTo1 1 n Invert This bit indicates whether the range n should be active inside or outside the RangeOTol11 n Low Limit and RangeOTol11 n HighLimit window Publication 1769 UMO006A EN P March 2002 0 The range 7 is active when the rate or count value is at or between RangeOTo11 n Low Limit and RangeOTol11 n HighLimit When the range is active the RangeActive n bit is set When the range is active and enabled the outputs indicated in the Range Output Control word are activated e 1 The range 7 is active when the rate or count value is lower than or equal to RangeOTo11 7 LowLimit or higher than or
146. should be disregarded in the calculation of the cyclic rate If the count value changes by less than the hysteresis value the rate is reported as zero regardless of the actual rate at which the pulses are counted IMPORTANT Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Publication 1769 UMO006A EN P March 2002 4 14 Module Configuration Output and Input Data Counter Scalar CtrnScalar Contiguraton Arey Words e M 15 32 T W 0 0 Ur 6 05 W 05 W 0 13 Counter 0 Scalar CtrOScalar 23 Counter 1 Scalar Ctr1 Scalar 33 Counter 2 Scalar Ctr2Scalar 43 Counter 3 Scalar Ctr3Scalar This value is used to scale the Rate value The Rate value is divided by the Scalar value The default value is 1 for counters 0 and 1 The default value is 0 for counters 2 and 3 CtrnScalar may be used to determine RPM To configure the Ctr 7 CurrentRate value to show an RPM value set CtrzScalar to counts per revolution 60 See page 2 20 for more information MATITA For any counter being used do not set Scalar to a value less than one or a configuration error will occur IMPORTANT Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Cyclic Rate Update Time CtrnCyc
147. ssed Publication 1769 UMO006A EN P March 2002 4 38 Module Configuration Output and Input Data Status Flags Input Array Words 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 12 Counter 0 Status Flags Not Used COPW RV NotUsed IDW REZ CUdf COvf 22 Counter 1 Status Flags Not Used C1PW RV IC IDW REZ CUdf COvf 28 Counter 2 Status Flags Not Used C2PW RV IC IDW Not CUdf COvf 34 Counter 3 Status Flags Not Used C3PW RV Ic Dw USed Feudi cove Publication 1769 UMO006A EN P March 2002 The status bits for the counter 7 are described below COvf Count Overflow Ctr 0 Overflow to Ctr 3 Overflow For linear counters this bit is set when the counter is or has been in an overflow condition For ring counters this bit is set when the counter has rolled over COvf is reset when the CtrnResetCountOverflow bit transitions from 0 to 1 See Counter Types on page 2 14 for more information about linear and ring counters CUdf Count Underflow Ctr 0 Underflow to Ctr 3 Underflow For linear counters this bit is set when the counter is or has been in an underflow condition For ring counters this bit is set when the counter has rolled under CUdf is reset when the CtrnResetCountUnderflow bit transitions from 0 to 1 See Counter Types on page 2 14 for more information about linear and ring counters REZ Rising Edge Z Ctr 0 RisingEdgezZ to Ctr
148. t value indicates whether the module uses 1 counter 2 counters 3 counters or counters The default value is 1 2 counters Table 4 2 Number of Counters Determination Bit 01 Bit 00 Counters 0 0 1 0 1 2 1 0 3 1 1 4 IMPORTANT Filter Selection Do not set this value while a counter or range is enabled CtrOEn Ctr1En Ctr2En Ctr3En or RangeEn set to 1 Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Publication 1769 UMO006A EN P March 2002 This value indicates the nominal filter frequency as shown in the table below Table 4 3 Filter Selection Settings Filters and Corresponding Bits Settings FilterA0 Bit 1 FilterA0 1 Bit 0 FilterA0_0 FilterBO Bit 4 FilterBO_1 Bit 3 FilterBO_0 FilterZ0 Bit 7 FilterZ0_1 Bit 6 FilterZ0_0 FilterA1 Bit 9 FilterA1_1 Bit 8 FilterA1_0 FilterB1 Bit 12 FilterB1 1 Bit 11 FilterB1_0 FilterZ1 Bit 15 FilterZ1 1 Bit 14 FilterZ1_0 None 0 0 0 01 ms minimum pulse width 0 1 0 5 ms minimum pulse width 1 0 Nominal Frequency IMPORTANT 5 ms minimum pulse width Do not set these bits while certain counters or ranges are enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Module Configuration Output and Input Data 4 9 Program Mode and Program State Run
149. ter 1 Minimum a nal Ctr1MinCount Count 20 2i Ctr1Preset Counter 1 Preset 22 Ctr1Hysteresis Counter 1 Hysteresis 23 Ctr1Scalar Counter 1 Scalar 24 Counter 1 Cyclic Rate Ctr1CyclicRateUpdateTime Update Time 25 Not Used RU ir Storage Mode Not Used Operational Mode Flee 1 Configuration 26 Counter 2 Maximum 3 Ctr2MaxCount Count 28 Ctr2MinCount Counter 2 Minimum 29 Count 30 a Ctr2Preset Counter 2 Preset 32 Ctr2Hysteresis Counter 2 Hysteresis 33 Ctr2Scalar Counter 2 Scalar 34 Counter 2 Cyclic Rate Ctr2CyclicRateUpdateTime Update Time Publication 1769 UM006A EN P March 2002 4 4 Module Configuration Output and Input Data Table 4 1 Configuration Array Bit Word 15 1 314 13 12 1 10 09 08 07 06 05 04 03 02 01 00 Function 35 Lin Counter 2 Configuration Not Used ROS Not Used Flags 36 Counter 3 Maximum 3 Ctr3MaxCount Count 38 Counter 3 Minimum E Ctr3MinCount Count 40 a Ctr3Preset Counter 3 Preset 42 Ctr3Hysteresis Counter 3 Hysteresis 43 Ctr3Scalar Counter 3 Scalar 44 Counter 3 Cyclic Rat Ctr3CyclicRateUpdateTime e md EE 45 Lin Counter 3 Configuration Not Used Bar Not Used Flags 46 ce de fe ee a Ran
150. ter Enable Disable The counter may be enabled or disabled using the CtrzEn control bit Be aware that disabling the counter does not inhibit any current count loading functions e g preset or direct write or any Z function Z Input Functions Store The Z input can be used to capture the current count value even when the counter is counting at full 1 MHz speed Gate The Z inputs can be used to gate hold the counter at its current value regardless of incoming A or B inputs A gating function is typically one that allows pulses to reach the counter gate open or not Cgate closed Z Preset Preset can be programmed to occur based on the actions of the Z input signal Inhibit and Invert The Z input signals may be inverted and or inhibited depending on the user configuration of the CtrnZInvert and CtrmZInhibit output control bits If the signal is inhibited the invert bit is the Z signal for the actions described above For an explanation of those bits see Z Inv Z Invert CtrnZInvert on page 4 25 and Z Inh Z Inhibit CtrnZInhibit on page 4 25 Direct Write You can arbitrarily change the current count value CCtr n CurrentCount to the direct write control value Range12To15 n HiLimOrDirWr This ability applies to ranges 12 through 15 The direct write value takes effect when the Load Direct Write bit Range12To15 7 LoadDirectWrite transitions from 0 to 1 If you attempt to preset and load direct write to a co
151. terval COPW RV IDW REZ CUdf COvf Ctr 0 StatusFlags Ctr 0 0verflow Ctr 0 Underflow Reserved Ctr 0 RisingEdgeZ Ctr 0 InvalidDirectWrite Ctr 1 CurrentCount Ctr 1 CurrentCount Ctr 0 RateValid k Ctr 1 StoredCount Ctr 1 StoredCount Ctr 0 PresetWarning Ctr 1 CurrentRate Ctr 1 CurrentRate Ctr 1 Pulselnterval Ctr 1 Pulselnterval CIPW RV IC IDW REZ CUdf COvf Ctr 1 StatusFlags Ctr 1 Overflow Ctr 1 Underflow Reserved Ctrl1 RisingEdgeZ Ctr 1 InvalidDirectWrite Ctr 2 CurrentCount Ctr 2 CurrentCount Ctr 1 InvalidCounter Ctr 1 RateValid i Ctr 2 CurrentRate Ctr 2 CurrentRate Ctr 1 PresetWarning C2PW RV IC IDW CUdf COvf Ctr 2 StatusFlags Ctr 2 Overflow Ctr 2 Underflow Reserved Ctr 2 InvalidDirectWrite Ctr 3 CurrentCount Ctr 3 CurrentCount Ctr 2 InvalidCounter Ctr 2 RateValid Ctr 3 CurrentRate Ctr 3 CurrentRate Ctr 2 PresetWarning C3PW RV IC IDW CUdf COvf Ctr 3 StatusFlags Ctr 3 Overflow Ctr 3 Underflow Ctr 3 InvalidDirectWrite Ctr 3 InvalidCounter Ctr 3 RateValid Ctr 3 PresetWarning Publication 1769 UMO006A EN P March 2002 D 6 Programming Quick Reference Publication 1769 UMO006A EN P March 2002 A Allen Bradley contact information P 3 5 14 C cable 3 11 A 1 channel diagnostics 5 4 CompactLogix controller application example B 1 compatibility 1 1 user manual P 2 configuration 4 1 Configuration Array 4 2 D 2 configuration erro
152. this example and give your processor a name Then click OK and the following screen appears ETE Eie Edt View Seach Comms Tools Window Help B EEE E eeN a z9s mmeaen s OFFLINE No Foces 5 E Ilf Por mm ano oR HOR nor cn H No Edits Forces Enabled MIS Diver AB DFA Node ld MoveiLogical FieMisc FieShifUSequencer A Pr EE Project Al 0 Hep E C Controler Zi Controller Properties X Processor Status A Function Files JUO Configuration PE Channel Configuration Program Files syso SYS1 4f Lap 2 EC Data Files B cross Reference EI oo outreut D n input D s2 status D 83 BiNARY DI T4 Timer I cs counter DI R6 CONTROL E N7 NTEGER D F8 FLoAT E Data Logging E Configuration El Status RCP Configuration Files S Force Fies E oo output D n ineur 7 Fie 2 For Help press F1 20000 APP READ 4 The area on the left of this screen is called the Project Menu To add I O modules to your MicroLogix 1500 Project left click on the I O Configuration parameter listed in the Project Menu The following screen appears Publication 1769 UM006A EN P March 2002 C 4 1769 HSC Module with MicroLogix 1500 Controllers and an Allen Bradley 845F Encoder Publication 1769 UMO006A EN P March 2002 I RSLogix 500 Hsc_app x File Edit View Search Comms Tools Window Help Due rese sis kamen Hl
153. ting the CtrnSoftPreset bit in the Output Array causes the counter to be preset changing the count to the value in CtrzPreset 1 Ifzero is outside the MinCount and MaxCount limits set in the Configuration Array then the Preset value is loaded into CurrentCount instead of zero This also causes the PresetWarning bit to be set which in turn sets the GenError bit Publication 1769 UMO006A EN P March 2002 2 18 Module Operation Rate Timer Functionality Publication 1769 UMO006A EN P March 2002 Z Preset Preset can be programmed to occur based on the actions of the Z input signal Autopreset If the module is configured such that Ctr MaxCount lt Ctr 1 CurrentCount or Ctrz MinCount gt Ctr 1 CurrentCount then the module will automatically change Ctr 7 CurrentCount to the CtrmPreset value and set the CtrmPresetWarning bit To ensure maximum accuracy the module offers two different methods to calculate the rate Per Pulse 1 Pulse Interval Cyclic Number of Pulses User Defined Time Interval You select the method used depending upon the pulse speed as defined below These are continuously available regardless of input operational mode Pulse Interval Rate Calculation Method e Pulse Interval 100 us Frequency 1 100 us 10 000 Hz The pulse interval rate method is very accurate for slower rates i e when the pulse interval or time between pulses is large compared to th
154. tion 22 T T Range High Limit or Range12T015 2 HiLimOrDirWr Direct Write Value 24 y che T 5 Range12To15 2 LowLimit Range Low Limit 26 Range12T015 2 OutputContro Range Output Control a Not Used nv NotUsed LDW Type NotUsed ToThisCtr ric Configuration 28 us Range High Limit or al Range12To15 3 HiLimOrDirWr Direct Write Value 30 ae i Range12To15 3 LowLimit Range Low Limit 32 Range12To15 3 OutputContro Range Output Control 33 Not Used nv NotUsed LDW Type NotUsed ToThisCtr age Configuration Output On Mask OutputOnMask 0 through OutputOnMask 15 P153 MS tSt ACH MS B PO 199 0205015 00 Out Out Out Out Out Out Out 9 Out 8 Out 7 Out 6 Out5 Out 4 Out 3 Out 2 Out 1 Out 0 Output Array Word 0 Output On Mask This word allows you to turn on any output real or virtual when the corresponding bit is set This mask is logically OR ed with the range masks but logically AND ed with the Output Off Mask Word described on page 4 23 Using the Output On Mask all of the module s outputs can be turned on directly by the user control program like discrete outputs A bit which is set in the mask turns on the corresponding real or virtual output See Output Control on page 2 23 and Output Control Example on page 2 30 for more information about output determination The corresponding Output Off Mask bit must be set to enable this bit
155. tions should be corrected as soon as possible Damage may occur if ip extended periods Installation and Wiring 3 21 Transistor Output Transient Pulses The maximum duration of the transient pulse occurs when minimum load is connected to the output However for most applications the energy of the transient pulse is not sufficient to energize the load Marah transient pulse occurs in transistor outputs when the external DC supply voltage is applied to the output common terminals e g via the master control relay The sudden application of voltage creates this transient pulse This condition is inherent in transistor outputs and is common to solid state devices A transient pulse can occur regardless of the controller having power or not Refer to your controller s user manual to reduce inadvertent operation The graph below illustrates that the duration of the transient is proportional to the load current Therefore as the on state load current increases the transient pulse decreases Power up transients do not exceed the time duration shown below for the amount of loading indicated at 60 C 140 F Figure 3 6 Transient Pulse Duration as a Function of Load Current 1 0 SR ELS ESSE co eo 050 BR Cc C Time Duration of Transient Pulse ms WE E Iu d ia BS E 00 200 300 400 500 600 700 800 900 1000 On State Load Current mA 0 0 1 Output wiring is illustrated in the follow
156. to invalid or unsupported values the module ignores the invalid configuration generates a non critical error and keeps operating with the previous configuration Table 5 6 Configuration Error Codes on page 5 9 lists the possible module specific configuration error codes defined for the module Correct the error by providing proper configuration data to the module Table 5 4 describes configuration errors in more general terms Table 5 4 Error Conditions by Type of Configuration Programming Words Error Conditions General Configuration Bits e Unused or Reserved bit s were set Filters and Safe State e A counter or counters were running when the general Words configuration bits or filter and safe state words were sent Counter Configuration e Unused or Reserved bit s were set Operational Mode is invalid for the counter NumberOfCounters may be incorrect e Operational Mode is invalid for the counter mode selection may be incorrect e The selected counter was running when the configuration was sent CtrnMaxCount lt CtrnMinCount CtrnHysteresis lt 0 CtrnScalar 1 CtrnCyclicRateUpdateTime 1 The preset value is outside its valid range CtrnPreset not equal to or between CtrnMinCount or CtrnMaxCount e Counter was running when the minimum maximum count value was changed Range Configuration e Unused or Reserved bit s were set RangeOto 1 1 n HighLimit lt Range0to11 n LowLimit RangeOTo 1
157. tputs should be enabled when a range is active When range 7 is enabled this word is combined with the other range output masks as described in Output Off Mask OutputOffMask 0 through OutputOffMask 15 on page 4 23 and Output On Mask OutputOnMask 0 through OutputOnMask 15 on page 4 22 Module Configuration Output and Input Data 4 19 Range Configuration Flags Configuration Array Words 15 14 13 12 1 10 09 08 07 06 05 04 03 02 01 00 51 Range 0 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 57 Range 1 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 63 Range 2 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 69 Range 3 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 75 Range 4 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 81 Range 5 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 87 Range 6 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 93 Range 7 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 99 Range 8 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 105 Range 9 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 111 Range 10 Configuration Flags Not Used nv Not Used Type NotUsed ToThisCtr 117 Range 11 Configuration Flag
158. ugh CtrnConfig OperationalMode 2 These bits apply to Counters 0 and 1 only This value determines how the AO or A7 and BO or B1 inputs are decoded when assigned to counter 0 or counter 1 See the following table Table 4 4 Operational Mode Settings CtrnConfig OperationalMode 2 0 Set bit CtrnConfig OperationalMode 1 0 CtrnConfig OperationalMode_0 0 For function Pulse internal direction 0 1 Pulse external direction 1 c Quadrature encoder X1 c Quadrature encoder X2 Quadrature encoder X4 CO Up Down Pulses oO reserved reserved IMPORTANT The Ctr1Config OperationalMode bits are reserved if the Number of Counters equals 1 Attempting to set reserved bits will result in a configuration error Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 5 13 for a full list of prohibited settings Publication 1769 UMO006A EN P March 2002 4 16 Module Configuration Output and Input Data Table 4 5 Storage Mode Settings Storage Mode CtrnConfig StorageMode 0 through CtrnConfig StorageMode 2 These three bits apply to Counters 0 and 1 only They define how the module interprets the Z input as shown below Each bit works independently If bit 0 and bit 2 are set simultaneously a Z event causes the Current Count Value to be stored and then pr
159. ule s outputs via its Input Array This 16 bit image includes both real 4 and virtual 12 outputs If the module s output is OFF due to overcurrent both the Overcurrent status flag and the Readback bit will indicate the condition being 1 and 0 respectively Conversely should the output be ON due to any module control eg UDSS this will be indicated by Readback Publication 1769 UMO006A EN P March 2002 2 32 Module Operation Publication 1769 UMO006A EN P March 2002 Compliance to European Union Directives Chapter J Installation and Wiring This chapter tells you how to determine the power requirements for the modules avoid electrostatic damage install the module wire the module s terminal block wire input devices This product is approved for installation within the European Union and EEA regions It has been designed and tested to meet the following directives EMC Directive The 1769 HSC module is tested to meet Council Directive 89 336 EEC Electromagnetic Compatibility EMC and the following standards in whole or in part documented in a technical construction file e EN 50081 2 EMC Generic Emission Standard Part 2 Industrial Environment EN 50082 2 EMC Generic Immunity Standard Part 2 Industrial Environment This product is intended for use in an industrial environment Publication 1769 UMO006A EN P March 2002 3 2 Installation and Wiring Power Requirements
160. unlatch etc should be used when bit manipulations are done on the Output image of this module in ladder logic This applies to a wide range of bits when Fault State Run is selected since presetting a counter enabling a range changing a mask and changing Configuration Array settings can cause ranges and outputs to change state Program to Fault Enable PFE The ProgToFaultEn bit allows you to select which data value Program Value or Fault Value to apply to the output when the Output State Logic state Prog_HLS changes to indicate Fault_HLS If PFE is 0 the module leaves the Program value applied If PFE is set to 1 the Fault value is applied Publication 1769 UMO006A EN P March 2002 2 30 Module Operation Publication 1769 UMO006A EN P March 2002 If the module is in a safe state such as Program or Fault which is configured to turn an output ON and excessive current is drawn from the output the gt output will still turn off according to the programmed OverCurrentLatchOff bit configuration The module s Default Safe State configuration is all zero s resulting in the following Program State UDSS Program Value OFF Program State Run No Fault State UDSS Fault Value OFF Fault State Run No PFE leave program value applied Output Control Example The following example illustrates the module s output control flow The following conditions are reflected in Table 2 12
161. unter at the same time only the preset CtrzPreseO will take effect Module Operation 2 17 Preset Reset Preset sets the counter to a zero or non zero value you define Reset the counter by setting this value CtrzPreset to zero Counter Reset The CtrReset bit in the Configuration Array when set causes the following to occur when the system transitions to Run or the Inhibit Module bit transitions to 0 All counters are disabled and reset to zero The Output Array is reset to default values until the ModConfig bit is set 1 The default value for the Output Array is all zeros The Input Array counter Status Flags Overflow Underflow RisingEdgeZ RateValid PresetWarning are reset The Input Array counter values Current Count StoredCount CurrentRate and PulseIntervab are also reset to zero All counts are lost and all outputs are turned off THOU oo the most predictable results you may want to clear the output image of the processor BEFORE performing a counter reset CtrReset to the 1769 HSC module This is because CtrReset does not change the processor s output image CtrReset sets the 1769 HSC module s Output Array to all zero s If any bit is set to 1 in the processor s output image when sent to the module it will be seen as a state transition and be acted upon Soft Preset Preset can be programmed to occur by setting the appropriate output control bits via your control program Set
162. unters selected X494 010 0 1001 0100 BadCtrAssignToRange_4 This error occurs if you try to set Range0To11 4 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X495 010 01001 0101 BadCtrAssignToRange_5 This error occurs if you try to set Range0T011 5 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X496 010 0 1001 0110 BadCtrAssignToRange_6 This error occurs if you try to set Range0To11 6 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X497 010 01001 0111 BadCtrAssignToRange_7 This error occurs if you try to set Range0To11 7 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected X498 010 0 1001 1000 BadCtrAssignToRange_8 This error occurs if you try to set Range0To11 8 ToThisCounter to an invalid value i e to a counter that is not available due to the number of counters selected Publication 1769 UMO06A EN P March 2002 5 12 Diagnostics and Troubleshooting Table 5 6 Configuration Error Codes Extended Module Error Error Information Hex Code Code Equivalent Binary Binary Error Description X499 010 0 1001 1001 BadCtrAssignToRange_9 This error occurs if you try to set Range0To11 9 ToThisCounter to an invalid value i e to
163. urrentLatchOff bit 3 20 4 6 5 13 overflow 2 14 2 15 2 21 linear counter 2 14 P panel mounting 3 7 power up diagnostics 5 4 Preset 4 3 4 13 preset reset 2 17 program alteration 5 2 Program Mode 4 9 Program State Run 2 28 4 9 Program to Fault Enable 2 29 4 7 programming 4 1 Pulse Interval 4 32 4 37 pulse external direction 2 8 pulse internal direction 2 9 R Range Active 4 32 4 35 Range Configuration Flags 4 19 4 21 4 22 4 29 range control 2 24 Index 3 Range Enable 4 21 4 23 Range High Limit 4 4 4 17 4 26 Range High Limit Direct Write Value 4 21 4 22 Range Invert 4 20 4 30 Range Low Limit 4 4 4 17 4 21 4 22 4 27 Range Output Control 4 4 4 18 4 21 4 22 4 28 Range Type 4 19 RangeType 4 29 Rate 2 18 rate accuracy A 3 Rate Method 2 22 rate range 2 18 Rate Valid 2 21 4 39 Readback 2 31 4 32 4 33 real outputs 2 23 removing terminal block 3 12 replacing a module 3 10 Reset 2 17 4 7 Reset Blown Fuse 4 21 4 23 Reset Counter Overflow 4 24 Reset Counter Preset Warning 4 25 Reset Counter Underflow 4 24 Reset Rising Edge Z 4 25 reset preset 2 17 ring counter 2 15 4 16 Rising Edge Z 4 38 Rockwell Automation contact information P 3 5 14 Rockwell Software application example B 2 C 2 S Safe State Control 2 27 safety circuits 5 2 Scalar 2 20 4 3 4 14 short circuits 3 20 Soft Preset 4 24 spacing 3 7 specifications A 1 Status bits 4 31 Status Flags 4 32 4 33 4 38 Storage Mode 4 16 St
164. use notes to make you aware of safety considerations Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attention statements help you to identify a hazard avoid a hazard recognize the consequences IMPORTANT Identifies information that is critical for successful application and understanding of the product Allen Bradley Compact MicroLogix CompactLogix RSLogix and RSNetworx are trademarks of Rockwell Automation Belden is a trademark of Belden Inc Preface Module Overview Module Operation Installation and Wiring Module Configuration Output and Input Data Diagnostics and Troubleshooting Table of Contents Who Should Use This Manual a ict sitions t P 1 How to Use This Manual sc gusuuexeqen BEYER EARS P 1 Conventions Used in This Manual P 2 Rockwell Automation Support 2000005 P 3 Chapter 1 Mod le Ove wien aa nri iae Se ain ides teo D tod ir s 1 1 Hardware Features 2232940 ete EG Eaes Pelee s eS 3 1 3 Chapter 2 Counter Defaults 1052 Gets d pod RR GE DUE CP qt oh eee 2 1 Module Operation Block Diagrams issu 2 2 Number of Co nters Laos ci roe og deo qas e dits 2 4 Summary of Available Counter Configurations 2 4 Inputdultefitc esq d m ht ip Son Ceo DO oc ses Beg adel 2 6 Operational Mode Selection sa voor webs CX Ver da 2 7 Input Freq ency r 144
165. ut Out 9 Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 74 Range 4 Output Contro Out Qut Out Out Out Out Out 9 Out 8 Out 7 Out6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 80 Range 5 Output Contro Out Out Out Out Out Out Out 9 Out 8 Out 7 Out6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 86 Range 6 Output Contro Out Out Out Out Out Out Out 9 Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 92 Range 7 Output Contro Out Out Out Out Out Out Out 9 Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 98 Range 8 Output Contro Out Out Out Out Out Out Out 9 Out 8 Out 7 Out6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 104 Range 9 Output Contro Out Out Out Out Out Qut Out 9 Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 110 Range 10 Output Control Out Out Out Out Out Out Out 9 Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 15 14 13 12 11 10 116 Range 11 Output Control a a M I an Out 9 Out 8 Out 7 Out 6 Out 5 Out 4 Out 3 Out 2 Out 1 Out 0 Publication 1769 UMO006A EN P March 2002 These 16 bit words indicate which ou
166. wing screen appears c RSLogix 5000 HSC Appl Example 1769 L20 Controller Tags HSC_Appl_Example controller File Edit View Search Logic Communications Tools Window Help la xl Aleta S e jT ARIS re ME 8 Offline fl RUN No Forces y ok AB st TTE puo X r No Edits a an 4 H EE EJE B E E Controller HSC Appl Example 3 Controller Tags 3 Controller Fault Handler Decimal Decimal Description AB 1763_IQ6X0 AB 1763_IQ6X0 AB 1763_IQ6X0 4B 1769_D016 C 0 AB 1763_D016 1 0 AB 1769_D016 0 0 AB 1763_IF4 C 0 AB 1763_ F4 1 0 4B 1763_MODUL 3 Power Up Handler Bi E3 Tasks F Ctr CurrentCount B MainTask Local1 C B E MainProgram Local 1 Program Tags Local1 D u En MainRoutine Loca 2C LI Unscheduled Programs 3 Trends Fl Local 2 1 B E Data Types Locak2 0 Li User Defined Locak3 C Eg Strings Fl Local 3 1 K Cg ee H Local4 C redefine Y 5j Module Defined E Local 4 Local 4 0 4B 1763_MODUL E1 3 1 0 Configuration m an an an an an an an aan f aan ve ue ee e ee eee AB 1758 MODUL a g 0 CompactBus Local f 11176949640 w4 8 2 1769 0V16 A 8 3 17694F4 5j 4 1759 MODULE HE Publication 1769 UMO006A
167. with MicroLogix 1500 Base Unit and Processor p 168 mm Mounting Hole 6 62 in 285mm Dimension 147 mm 1 12 in lt 5 79 in z A A A k A els E e s c c co c e000 HD i 8888 a 8 cope 5 o s Y E onu i i Beas E 7 E E E383 E s sE 2 8 IS S EN T o aes DIN Rail 5 8 amp 8 L Center Line Y Y Y y Y 13 5 mm 14 7 mm 0 53 in 0 58 in Publication 1769 UMO006A EN P March 2002 A 8 Specifications Publication 1769 UMO006A EN P March 2002 Appendix B 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder System Diagram x E Z MS o S S 8 Z 2 E g Eg mou E eo 2 2 oum zi s IL 1H i i as 3 a a 845F SJBZ24CKYA1 Encoder 845F Encoder Wiring to the Tubie B Encoder Niii 1769 HSC 845F Encoder Wire Color 1769 HSC Terminal Blue Black Wire Pair Blue A0 Blac A0 White Black Wire Pair White BO Blac B0 Green Black Wire Pair Green Z0 Blac Z0 Red Black Wire Pair Red 24V dc Power Supply Blac 24V dc Common Publication 1769 UMO006A EN P March 2002 B 2 1769 HSC Module with CompactLogix Controllers and an Allen Bradley 845F Encoder Purpose The purpose of this application example is to d

Download Pdf Manuals

image

Related Search

Related Contents

ePermits User Guide - Department of Agriculture  Descarga  ManualsLib - Makes it easy to find manuals online!  SE5404 Serial  Manuel d`utilisation à l`usage de l`utilisateur WPM 2006  TradingPredictor® v3 - TradingPredictor Professional Trading  0291_Eaton IPP User's Guide.book  DESCRIPCIÓN GENERAL    

Copyright © All rights reserved.
Failed to retrieve file