Home

1769-UM006 - Rockwell Automation

image

Contents

1. Item Description 1 Bus lever 2a Upper panel mounting tab 2b Lower panel mounting tab 3 Module status indicators 6 Input 4 Output 1 Fuse 1 OK 4 Module door with terminal identification label 5 Removable terminal block RTB with finger safe cover 5a RTB upper retaining screw 5b RTB lower retaining screw 6a Movable bus connector bus interface with female pins 6b Stationary bus connector bus interface with male pins 7 Nameplate label 8a Upper tongue and groove slots 8b Lower tongue and groove slots ga Upper DIN rail latch 9b Lower DIN rail latch 10 Write on label for user identification tags Rockwell Automation Publication 1769 UMOO06E EN P July 2013 13 Chapter 1 Module Overview Status Indicators 14 High Speed Counter 45272 The front panel of the 1769 HSC module has a total of 12 status indicators For information about the packaged controllers status indicators see the CompactLogix Packaged Controllers Quick Start and User Manual publication IASIMP QS010 Table 1 Diagnostic Indicators Indicator Status Description 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 Pe
2. 66 Range0To11 3 LowLimit Range 3 Low Limit 67 68 Out Out Out Out Out Out Out Out Out Out Outd Out4 Out Out2 Out Out Range 3 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 69 Not used Inv Not used Type Not used ToThisCtr tale 3 Configuration ags 70 Range0To11 4 HighLimit Range 4 High Limit n 72 Range0To1 1 4 LowLimit Range 4 Low Limit B 74 Out Out Out Out Out Out Out Out Out Out Outd Out4 Out Out2 Out Out Range 4 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 75 Not used Inv Not used Type Not used ToThisCtr tae 4 Configuration ags 76 Range0To11 5 HighLimit Range 5 High Limit 77 78 Range0T011 5 LowLimit Range 5 Low Limit 79 80 Out Out Out Out Out Out Out Out Out Out Outd Out4 Out Out2 Out Out Range 5 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 81 Not used Inv Not used Type Not used ToThisCtr Pange 5 Configuration ags 82 Range0To1 1 6 HighLimit Range 6 High Limit 83 84 Range0To1 1 6 LowLimit Range 6 Low Limit 85 86 Out Out Out Out Out Out Out Out Out Out Outd Out4 Out Out2 Out Out Range 6 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 87 Not used Inv Not used Type Not used ToThisCtr uae 6 Configuration ags 88 Range0To11 7 HighLimit Range 7 High Limit 89 90 Range0To11 7 LowLimit Range 7 Low Limit 91 92 Out Out Out
3. o lojojlojlojololojlolojojo KAKA K K KKKC KA KKT FAAAAAAAA AA o o oj ojojojojojojo o o o o ojojojojojo Status Offline Cancel Help 10 Click Apply 138 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software Appendix B 11 In the Controller Organizer double click Controller Tags 12 At the bottom of the window click Monitor Tags The tags for I O modules appear in the following format where s is the slot number of the module Tag Description Local s Input Image Local s 0 Output Image Local s C Configuration Data 13 Click to expand the output tags Local 4 0 14 Use this information to configure these output tags Tag Value OutputOnMask 2 0000_0000_0000_0000 OutputOffMask 2 0000_0000_0000_0011 RangeEn 2 0000_0000_0000_0011 ResetBlownFuse 0 Ctro 2 0000_0000_0000_0001 1 Changing this bit to a 1 changes the CtrOEn tag to 1 when you press Tab Your output tags should look like the example Scope fa You_Contraller_ Show all Tags i Name za a Value Force Mask Style Data Type Local 4 0 tce t 2 4B 1769_HSC 0 0 Locat4 0 OutputOnMask ___ 2 0000_0000_0000_0000 Binary
4. Max Count 1 200 000 Min Count 0 Preset 1 Update Time 1 Count Behavior on Configuration Retained Hysteresis 0 RPM Scale Factor 1 Storage Mode All unchecked Acc behavior Over Under Flow Ring Counter Filters A B Z None Rockwell Automation Publication 1769 UMOOQ6E EN P July 2013 145 AppendixC Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software Your Counter tab should look like the example below Module 1 1769 HSC High Speed Counter x Expansion General Configuration Gen Counters Ranges Generic Extra Data Config l Counter 0 Fievius 2 of Counters Storage Mode _ Pulse Internal Dir Operational Mode I Store on Rising Z 1200000 Max Count I Hold while Z 1 eooo Min Count T Preset on Rizing Z rotano Tl Goorin Foner mi aitan pooo Hysteresis None B fi RPM Scale Factor None z Update Time x1ms OK Cancel Apply Help 4 Click the Ranges tab to display the counter range configuration window with default values 5 Use this information to complete the configuration for the Ranges tab Option Value Range 0 Range 1 Counter Used Counter 0 Counter 0 Range Type Count Value Count Value High Limit 600 000 1 200 000 Low Limit 500 000 1 000 000 Range Active Within the Limits Within the Limits Output Mask 0001
5. Flags 0 16 RangeHighLimit_DWV_1 17 Range High Limit or Direct Write Value 1 18 RangeLowLimit_1 19 Range Low Limit 1 Ra nge Output Mask 1 21 Not used Not used Not used RCntrNum Range Configuration Flags 1 22 RangeHighLimit_DWV_2 23 Range High Limit or Direct Write Value 2 24 RangeLowLimit_2 25 Range Low Limit 2 Ra nge Output Mask 2 27 Not used Not used Not used RCntrNum Range Configuration Flags 2 28 RangeHighLimit_DWV_3 29 Range High Limit or Direct Write Value 3 30 RangeLowLimit_3 31 Range Low Limit 3 Ra nge Output Mask 3 33 Not used Not used Not used RCntrNum Range Configuration Flags 3 90 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Output on Mask OutputOnMask 0 through OutputOnMask 15 Output Array Word 0 Output On Mask This word lets you turn on any output real or virtual when the corresponding bit is set This mask is logically ORed with the range masks but logically ANDed with the Output Off Mask Word described on page 91 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 cor
6. Word Bit CtrOEN CtriEN Ctr2EN Ctr3EN RangeEN Ctr1MaxCount 16 and 17 X Ctr1MinCount 18 and 19 X Ctr1Preset 20 and 21 1 Ctr1Hys eresis 22 X Ctr1 Scalar 23 X Ctr1CyclicRateUpdateTime 24 X Ctr1Config OperationalMode 25 X Ctr1Config StorageMode 25 X Ctr1Config Linear 25 X Ctr2MaxCount 26 and 27 X Ctr2MinCount 28 and 29 X Ctr2Preset 30 and 31 Ctr2Hysteresis 2 32 X Ctr2Scalar 33 X Ctr2CyclicRateUpdateTime 34 X Ctr2Config Linear 35 X Ctr3MaxCount 36 and 37 X Ctr3MinCount 38 and 39 X Ctr3Preset 40 and 41 1 Ctr3Hysteresis 2 42 X Ctr3Scalar 43 X Ctr3CyclicRateUpdateTime 44 X Ctr3Config Linear 45 X Ranges 46 to 117 Can be changed wile counters and ranges are enabled 1 CtrnPreset can be changed while CtrnEn 1 2 Does not apply to the L23E packaged controllers embedded HSC Rockwell Automation Publication 1769 UMOQ6E EN P July 2013 121 Chapter5 Diagnostics and Troubleshooting Notes 122 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 Table 25 Technical Specifications 1769 HSC Attribute Dimensions H x W x D approx Appendix A Specifications IMPORTANT For specifications for the packaged controllers refer to the CompactLogix Packaged Controller Installation Instructions publication 1769 IN082 1769 HSC 118 x 35 x 87 mm 4 65 x 1 38 x 3 43 in Height including mounting tabs is 138 mm 5 43 in Shipping weight with carton 309 g 0 681
7. Module Configuration Output and Input Data Chapter 4 Table 13 Configuration Array L23E Packaged Controller Embedded HSC Continued wot fis oe o e or o oe on or os os or os om o go Ee 4 Out0 Fault State for Output and Fault State Run for Output 5 Not used Fault Value for Output 6 CtrOMaxCount Counter 0 Maximum Count 7 8 CtrOMinCount Counter 0 Minimum Count 9 10 CtrOPreset Counter 0 Preset 11 12 Not used Not used 13 Not used Not used 14 Not used Not used 15 Not used Lin Not Storage mode Not used Operational mode Counter 0 ear used Configuration Flags 16 Ctr1 MaxCount Counter 1 Maximum Count 17 18 Ctr1 MinCount Counter 1 Minimum Count 19 20 Ctr1 Preset Counter 1 Preset 21 22 Not used Not used 23 Not used Not used 24 Not used Not used 25 Not used Lin Not Storage mode Not used Operational mode Counter 1 ear used Configuration Flags 26 Ctr2MaxCount Counter 2 Maximum Count 27 28 Ctr2MinCount Counter 2 Minimum Count 29 30 Ctr2Preset Counter 2 Preset 31 32 Not used Not used 33 Not used Not used 34 Not used Not used 35 Not used Lin Not used Counter 2 ear Configuration Flags Rockwell Automation Publication 1769 UMOO6E EN P July 2013 n Chapter4 Module Configuration Output and Input Data Table 13 Configuration Array L23E Packaged Controller Embedded HSC Continued Bit Word Function 1 ta js 2 n fio jo os jo j os joa jos o jo oo 36 Ctr3Max
8. Count 98 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Table 16 Input Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Continued Word Bit Function Slee en o e eo eee ee om lo 8 Ctr 0 CurrentRate Counter 0 Current Rate 9 10 Ctr 0 Pulselnterval Counter 0 Pulse Interval 11 12 Not used COPW RV Notused ID REZ CUdf COvf Counter 0 Status W Flags 13 Not used Not used 14 Ctr 1 CurrentCount Counter 1 Current Coun 15 16 Ctr 1 StoredCount Counter 1 Stored Coun 17 18 Ctr 1 CurrentRate Counter 1 Current Rate 19 20 Ctr 1 Pulselnterval Counter 1 Pulse Interval 21 22 Not used C1PW RV IC ID REZ CUdf COvf Counter 1 Status WwW Flags 23 Not used Not used 24 Ctr 2 CurrentCount Counter 2 Current Count 25 26 Ctr 2 CurrentRate Counter 2 Current Rate 27 28 Not used C2PW RV IC ID Not CUdf COvf Counter 2 Status W use Flags d 29 Not used Not used 30 Ctr 3 CurrentCount Counter 3 Current Count 31 32 Ctr 3 CurrentRate Counter 3 Current Rate 33 34 Not used C3PW RV IC ID Not CUdf COvf Counter 3 Status W use Flags d Rockwell Automation Publication 1769 UMO06E EN P July 2013 99 Chapter 4
9. Ctr3MinCount Ctr3MinCount Ctr3Preset Ctr3Preset Ctr3Hysteresis Ctr3Hysteresis Ctr3Scalar Ctr3Scalar Linear Ctr3ConfigFlags Ctr3Config Linear RangeOto1 1 0 HighLimit RangeOto11 0 HighLimit Range0to1 1 0 LowLimit RangeOto11 0 LowLimit Out15 Out14 jOutt3 jOuti2 Outi Out10 jOut09 Out08 OutO7 jOutO6 Out05S jOut04 Out03 jOut02 JOutO1 Out00 RangeOto11 0 OutputControl Inv Type ToThisCtr RangeOto11 0 ConfigFlags Range0To ToThisCounter_0 RangeOto1 1 HighLimit RangeOtol 1 HighLimit Hanger To Were RangeOTo Invert Range0to1 1 1 LowLimit RangeOto11 1 LowLimit Out15 Out14 jOutt3 jOuti2 Out11 Out10 jOut09 Out08 jOutO7 jOutO6 Out05S jOut04 Out03 jOut02 JOutO1 Out00 RangeOto11 1 OutputControl Inv Type ToThisCtr RangeOto11 1 ConfigFlags RangeOTo ToThisCounter_O RangeOto1 1 2 HighLimit RangeOto1 2 HighLimit Ranger le eee RangeOTo Invert Range0to11 2 LowLimit Range0to11 2 LowLimit Out15 Out14 jOutt3 jOuti2 Out11 Out10 fOut09 Out08 fOut07 Out06 Out05 jOut04 Out03 jOut02 JOutO1 Out00 RangeOto11 2 OutputControl Inv Type ToThisCtr Range0to11 2 ConfigFlags RangeOTo1 1 2 ToThisCounter_O RangeOto1 113 HighLimit RangeOto1 13 HighLimit Ranged aa Range0To1 1 2 Invert Range0to1 1 3 LowLimit Range0to11 3 LowLimit Out15 Out14 jOuti3 jOuti2 Outi1 Out10 jOut09 Out08 OutO7 jOutO6 Out05S jOut04 Out03 jOut02 JOutO1 Out00 RangeOto11 3 OutputControl Inv Type ToThisCtr Range0to11 3 ConfigFlags
10. Redundancy Enabled Help Your _Controller_Name lt none v jo Safety Partner Slat lt none gt CARSLogix 5000 Projects Browse i 4 Enter a unique controller name 5 Click OK Rockwell Automation Publication 1769 UMOO06E EN P July 2013 133 Appendix B Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software The RSLogix 5000 project window appears 5 RSLogix 5000 Your_Controller_Name 1769 L32E 19 1 File Edit View Search Logic Communications Tools Window Help Bleu DIE peate A BAIA YE eE reece scarnace Diino D E RUN T Patt eran S dl No Forces b i news rig d fil esl a o gt l D gt f Favorites Bacon A eaey A Slams AE A mer Controller Organizer d Controller Your_Controller_Name A Controller Tags Controller Fault Handler i Power Up Handler Tasks 5 MainTask H CE MainProgram Unscheduled Programs Phases amp Motion Groups Ungrouped Axes G Add On Instructions 6 6 Data Types Gi User Defined H E Strings i ig Add On Defined Gh Predefined i Module Defined Trends 5 8 1 0 Configuration 5 fai Backplane CompactLogix System fa 1769 L32E Your_Controller_Name 1769 L32E Ethernet Port LocalENB Za Ethernet S CompactBus Local 6 Right click CompactBus Local and select New Module 6 83 1 0 Configurati
11. BO Amber B1 Amber Z0 Amber p 0 p ON OFF status of input BO ON OFF status of input B1 ON OFF status of input Z0 21 Amber ON OFF status of input Z1 ALL ON Possible causes for all status indicators to be on include the following e Bus Error has occurred Controller hard fault Cycle power e During upgrade of controller Normal Do not cycle power during the upgrade e All status indicators will flash on briefly during power up This is normal 112 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Non critical versus Critical Module Errors Diagnostics and Troubleshooting Chapter 5 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 the Configuration Error Codes table on page 117 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 The 1769 HSC module has non critical and critical errors Non critical Errors Non critical module errors are typically recoverable Non critical error conditions are indicated by
12. Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual when necessary we use notes to make you aware of safety considerations WARNING Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which can lead to personal injury or death property damage or economic loss ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you identify a hazard avoid a hazard and recognize the consequence SHOCK HAZARD Labels can be on or inside the equipment for example a drive or motor to alert people that dangerous voltage can be present BURN HAZARD Labels can be on or inside the equipment for example a drive or motor to alert people that surfaces can reach dangerous temperatures PP gt IMPORTANT Identifies information that is critical for successful application and understanding of the product Allen Bradley Rockwell Software Rockwell Automation RS Logix RSLogix 5000 RSLogix 500 CompactLogix Compact I O ControlLogix MicroLogix and TechConnect are trademarks of Rockwell Automation Inc Trademarks not belonging to Rockwell Automation are property of their respective companies Summary of Changes This manual contains new and updated infor
13. Rockwell Automation Publication 1769 UMOO06E EN P July 2013 9 Preface Notes 10 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Chapter 1 Module Overview The 1769 HSC module 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 two channels of quadrature or four 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 IMPORTANT For the 1769 L23E OBFC1B and 1769 L23 QBFC1B packaged controllers HSC functionality there is no processing to generate rate or time between pulses data Only count data is used to activate outputs based on ranges The module counts pulses at up to 1 MHz 250 kHz for the packaged controllers 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 1769 HSC module is compatible with MicroLogix 1500 packaged controllers 1764 LSP C and 1764 LRP C modules firmware revision 6 0 and later CompactLogix controllers generic profiles required for firmware rev
14. isolated I O module jumper k keying listen only connection local I O major revision minor revision module slot multicast network update time NUT Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Glossary 1 An I O module that provides some on board processing of input values to control some output values without going through the data table for control by the ladder logic An intelligent I O module can have digital I O circuits analog I O circuits or both 2 Contrasted with direct I O module page 159 1 The length of time between events or states For example the length of time between when a signal is high can be described as the interval between pulses 2 Compare duration page 159 and period page 162 1 Ina programmable controller system a module interchangeable plug in item within a larger assembly that interfaces directly through I O circuits to the sensors and actuators of the machine process A module that has each input or output electrically isolated from every other input or output on that module A short conductor with which you can connect two points Kilo A prefix used with units of measurement to designate a multiple of 1000 Devices that let only selected pairs of mating connectors be plugged into each other An I O connection that lets a controller monitor I O module data without owning the module 1 I O connected to a processor across a backplane or a paral
15. None bd Filter Z0 None hs Filter Z1 None v Status Offline Cancel Apply Help 3 The Number of Counters defaults to 2 IMPORTANT The contents of counter 1 must be cleared to save any changes if the number of counters is changed to 1 4 Click the Reset Counter box to select the designated number of counters for the reset counter functionality You select the actual counter on the Counter Configuration dialog box 5 Click the Counter Configuration tab Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software Appendix B 6 Use this information to complete the Counter Configuration tab Option Value Maximum Count 1 200 000 Minimum Count 0 Preset 0 Hysteresis 0 Scalar 1 Update Time 1 Operation Mode Choose an operation mode from the pull down menu such as Pulse Internal Direction Counter Reset Enable Storage Mode This box displays for 1769 HSC B modules only The checkbox defaults with a check mark if the selection bit is enabled for this counter on the Add On profile Clear the checkbox to disable this counter from resetting See page 73 for more details Nothing selected Counter Mode Ring Counter Your Counter Configuration tab should look like the example W Module Properties Local 1 1769 HSC 2 1 General Connection
16. OutOO Range12T015 2 OutputControl 0 15 nv LDW Type ToThisCtr Range12T015 2 Config Flags Range12To15 2 ToThisCounter_O Range12T015 2 ToThisCounter_1 Range12To15 3 HiLimOrDirWr Range12To15 3 HiLimOrDirWr Range12To15 2 Type Range12T015 2 LoadDirectWrite R Range121015 2 Invert Range12To15 3 LowLimit Range12T015 3 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 Out09 OutO8 OutO7 OutO6 Out05 Out04 Outd3 Out02 Out01 Out00 Range121015 3 0utputControl 0 15 nv LDW Type ToThisCtr Range12T015 3 Config Flags Range12T015 3 ToThisCounter_0 Range12T015 3 ToThisCounter_1 Range12T015 3 Type Range121015 3 LoadDirectWrite Range12T015 3 Invert 153 Appendix D Programming Quick Reference Notes 154 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Appendix E History of Changes This appendix summarizes the revisions to this manual Reference this appendix if you need information to determine what changes have been made across multiple revisions This can be especially useful if you are deciding to upgrade your hardware or software based on information added with previous revisions of this manual 1769 UM006D EN P e Changed the hysteresis detection and configuration section to indicate M ay 2011 that the Ctr n CurrentRate is reported as zero if the change in counts over the update time cycle is equal to or less than the minimum number of programmed counts e Add
17. Resource Description CompactLogix System User Manual publication 1769 UM007 Compact I O 1769 ADN DeviceNet Adapter User Manual publication 1769 UM001 Compact I O Selection Guide publication 1769 SG002 Describes how to install use and program your CompactLogix controller Describes how to install and use the 1769 ADN DeviceNet adapter Describes the 1769 Compact 1 0 modules CompactLogix Packaged Controllers Quick Start and User Manual publication IASIMP QS010 Provides a quick start and information on how to install use and program your CompactLogix packaged controller MicroLogix 1500 Programmable Controllers User Manual publication 1764 UM001 MicroLogix Programmable Controllers Family Selection Guide publication 1761 SG001 Describes how to install use and program your MicroLogix 1500 controller Provides an overview of the MicroLogix 1500 system Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 Product Certifications website http www ab com Provides general guidelines for installing a Rockwell Automation industrial system Provides declarations of conformity certificates and other certification details You can view or download publications at http www rockwellautomation com literature To order paper copies of technical documentation contact your local Allen Bradley distributor or Rockwell Automation sales representative
18. Current Rate Ctr 0 CurrentRate to Ctr 3 CurrentRate 105 Pulse Interval Ctr 0 PulseInterval and Ctr 1 PulseInterval 105 SEATS Flags vate uae thet ec Nee ae us Bed ol oiled 106 Chapter 5 Safety Considerations sda siete tid cat ans arte E E EES 109 Stat s Indicators aa es atc te hia Mats oll oll se lca 109 Stand Clear of the Machine lt 30 li sssss is koceasadoeed 110 Prosram Altetationy 4 dines sans nieeatesdess SoSa eae tanes 110 Safety Circulits 0 c er tess ea ee led 110 Module Operation versus Counter Operation 000000 111 Gounter Defaults foi iia pees dates etlenee Saher E 111 Mod le Diagnostics cguirsisana te Perene ne E toy EE EEE 112 Powertip Diagnostics cick uae Poh aek uve 112 Configuration Diagnostics lt 1 csectssiewchas de neones momar neueg 113 Post Configuration Diagnostics scseiesncselviewnnseocnan aeons 113 Non critical versus Critical Module Errors 0 0c0c cece eee 113 Non critical Errors saina hee esas staat ireoe es 113 Critical Errors hues tala 225 Seta Ss 35 wid oe ove Roe thie 113 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 7 Table of Contents Specifications Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software Programming Quick Reference History of Changes Glossary
19. F 45209 Temperature Derated Current 0 40 C 32 104 F 4A 55 C 131 F 2A 60 C 140 F 1A Dimensions See page 51 in Chapter 3 for these dimensions e Compact I O module with CompactLogix controller and power supply e Compact I O module with MicroLogix 1500 base unit and processor Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Appendix B Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software The application example demonstrates how to wire an 845F optical incremental encoder to a 1769 HSC module and ultimately monitor the Current Count value in the CompactLogix controller We also will control two onboard outputs with two ranges System Diagram PETA 0 1 2 Power Supply 3 4 2 EE p i 0 y 1769 ECR f alt i f i i End Cap Terminator 0 i 845F Encoder g p 45277 Slot Module 0 1769 L32E 1 1769 IO6XOW4 2 1769 0V16 3 1769 IF4 4 1769 HSC Rockwell Automation Publication 1769 UMOO06E EN P July 2013 131 Appendix B Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software 1769 HSC Module 845F Encoder Wiring to the 845F E
20. Index Module Error Definition 00 cece ccc cece eee ee rrene 114 Module Error Field 000 e cece ee enaee 114 Extended Error Information Field 0 0 00 eee ee eee 114 Error CodeS tenna e Sedan na rs rh aa E Men eae bone 116 Appendix A Throughput and Timing asi ica at aves eee eee esas 126 RACE Accuracy eaea Asap ar gen E a EE honor ati itints 127 Temper t r Det ting acting eM ck MNS eae bathe Mail att tad 128 Dime nSiOns set oie Ree Seo 3 8 eee eee wba hae Soe ede 130 Appendix B System Diagram elation E E it eh nedel 131 845F Encoder Wiring to the 1769 HSC Module 132 SCOPE ash srhsinauanaals soda wea Ate eaeaens eenaes Seem neeenes 132 Add a 1769 HSC Module to a CompactLogix System 133 Configure the 1769 HSC Module vg hcdivetaw sation wuenecncedianes 136 Monitor the Current Count and Verify Output Operation 140 Appendix C System Diagtann teats Seti nary Space a ay Bia hao EAE te Sandee 141 845F Encoder Wiring to the 1769 HSC Module 142 To 0 3 ee eS ee Ne Oe E ee Te eee ee era oe ee 142 Add a 1769 HSC Module to a MicroLogix 1500 System 143 Configure Your 1769 HSC Module 0s sscscveviews ge vesevedines seis 145 Monitor the Current Count and Verify Output Operation 148 Appendix D E E toate le EEA AN tae ae eset bah Sel Retardant Roane 149 Appendix E 1769 UM006C EN P November 2010 ccceeceee
21. Not used D RU RO SP En Counter 3 Control Bits WwW nv 9 Not used Not used 10 Range121015 0 HiLimOrDirWr Range High Limit or Direct Write Value 11 12 Range12T015 0 LowLimit Range Low Limit 13 14 Range12To15 0 OutputControl Range Output Control 15 Not used Inv Not used LD Type Not used ToThisCtr Range Configuration W Flags 16 Range121015 1 HiLimOrDirWr Range High Limit or Direct Write Value 17 18 Range12To15 1 LowLimit Range Low Limit 19 88 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Table 14 Output Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Continued Word Bit Function seca O me ee as 20 Range121015 1 OutputControl Range Output Control 21 Not used Inv Not used LD Type Not used ToThisCtr Range Configuration W Flags 22 Range121015 2 HiLimOrDirWr Range High Limit or Direct Write Value 23 24 Range12To15 2 LowLimit Range Low Limit 25 26 Range121015 2 OutputControl Range Output Control 27 Not used Inv Not used LD Type Not used ToThisCtr Range Configuration W Flags 28 Range121015 3 HiLimOrDirWr Range High Limit or _ Direct Write Value 29 30 Range12To15 3 LowLimit Range Low Limit 31 32 Range121015 3 OutputControl Range Output Control 33 Not used Inv Not used LD Type Not used ToThisCtr Range Co
22. Out Out Out Out Out Out Out Outd Out4 Out Out2 Out Out Range 7 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 93 Not used Inv Not used Type Not used ToThisCtr Hane 7 Configuration ags 94 Range0To1 1 8 HighLimit Range 8 High Limit 95 Rockwell Automation Publication 1769 UMO06E EN P July 2013 69 Chapter 4 Module Configuration Output and Input Data Table 12 Configuration Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Continued Bit vori Tos a a oe n o ee om or os os or os ee or wm fev 96 Range0To1 1 8 LowLimit Range 8 Low Limit 97 98 Out Out Out Out Out Out Out Out Out Out Out5 Out4 Out Out2 Out Out Range 8 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 99 Not used Inv Not used Type Not used ToThisCtr a ge 8 Configuration ags 100 Range0To1 1 9 HighLimit Range 9 High Limit 101 102 Range0To1 1 9 LowLimit Range 9 Low Limit 103 104 Out Out Out Out Out Out Out Out Out Out Out5 Out4 Out Out2 Out Out Range 9 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 105 Not used Inv Not used Type Not used ToThisCtr ae 9 Configuration ags 106 RangeOTo11 10 HighLimit Range
23. Out03 jOut02 Out01 fOut00 Range0to11 11 OutputControl 17 Inv Type ToThisCtr RangeOto11 11 ConfigFlags Range0To11 11 ToThisCounter_0 Range0To11 11 ToThisCounter_1 Range0To11 11 Type Range0To11 11 Invert 1 Bit 12 is Counter 0 bit 13 Counter 1 bit 14 Counter 2 bit 15 Counter 3 Individual counter reset function 0 reset enable default 1 reset disable See page 73 2 The default value for NumberOfCounters is 01 two counters declared 3 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 4 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 5 The default value for CtrnScalar is 1 for counters 0 and 1 The default value is 0 for counters 2 and 3 6 The default value for CtrnCyclicRateUpdateTime is 10 for counters 0 and 1 The default value is 0 for counters 2 and 3 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 151 Appendix D Programming Quick Reference The default value for the input array is all zeroes Table 31 Input Array for the 1769 HSC Module 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description 0 z1 B1 A1 Z0 BO AO InputStateA0 InputStateZ1 1 Outi5 Outl4 Out13 Out12 Outi1 Out10
24. 10 High Limit 107 108 Range0To11 10 LowLimit Range 10 Low Limit 109 110 Out Out Out Out Out Out Out Out Out Out Outd Out4 Out Out2 Out Out Range 10 Output 15 14 13 12 11011 10 09 8 7 6 3 1 0 Control 111 Not used Inv Not used Type Not used ToThisCtr Ponge 10 Configuration ags 112 Range0T011 11 HighLimit Range 11 High Limit 113 114 Range0T011 11 LowLimit Range 11 Low Limit 115 116 Out Out Out Out Out Out Out Out Out Out Out5 Out4 Out Out2 Out Out Range 11 Output 15 14 13 12 Ad 10 09 8 7 6 3 1 0 Control 117 Not used Inv Not used Type Not used ToThisCtr nalige Configuration ags Table 13 Configuration Array L23E Packaged Controller Embedded HSC Word Bit Function Not used Counters NumberOf Not used OCL 0 General Configuration Bits Filter_Z1 Filter_B1 Filter_A1 Filter_Z0 Filter_BO Filter_AQ Filter Selection used used used 2 Not used Out Out Out OutO Out3 Out2 Out OutO Program State for 3 2 PSR PSR PSO PSO PSO PSO Output and Program PSR PSR State Run for Output 3 Not used Out3 Out2 Out1 OutO Program Value for PVO PVO PVO PVO Output 70 Rockwell Automation Publication 1769 UMO06E EN P July 2013
25. 114 invalid counter 107 invalid counter assigned to range 97 103 invalid direct write 107 invalid output 102 invalid range 95 invalid range limit 103 module error field 114 non critical 113 per pulse error 35 UnusedConfigBitSet 117 extended error code 116 error information field 114 F fault state run 42 Filter Selection 70 75 filter selection 66 finger safe terminal block 55 G gate preset functions 18 gating 30 general configuration bits 66 70 error bit 102 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 165 Index 166 H hardware error 114 features 13 heat considerations 47 hold last state 40 hysteresis 33 67 80 individual counter reset 66 72 input array 98 array defaults 152 basic description 12 block diagram 16 differential encoder wiring 59 discrete device wiring 61 isolation 54 reducing noise 55 single ended encoder wiring 60 state 98 100 101 terminal block wiring 58 input configurations 21 input operational mode 21 pulse external direction 22 internal direction 23 up and down pulses 24 X1 quadrature encoder 25 X2 quadrature encoder 26 X4 quadrature encoder 26 installation grounding 54 heat and noise considerations 47 invalid counter 107 counter assigned to range 103 direct write 107 output 102 range limit 103 L linear counter 28 83 load direct write 97 masks 36 maximum count 67 71 78 MicroLogix 1500 applicat
26. 162 1 A character string that uniquely identifies a memory location 2 A character string that uniquely identifies the physical location of an input or output circuit A set of procedures used for solving a problem in a finite number of steps A standard system used for designating the size of electrical conductors Gauge numbers have an inverse relationship to size larger numbers have a smaller cross sectional area However a single strand conductor has a larger cross sectional area than a multi strand conductor of the same gauge so that they have the same current carrying specification 1 A circuit in which the signal can vary continuously between specified limits 2 A circuit that provides a continuous function 3 Contrasted with digital circuit page 159 1 Lacking a regular time relationship not related through repeating time patterns 2 Contrasted with synchronous page 163 See American wire gauge page 157 A printed circuit board at the back of a chassis that provides electrical interconnection between the modules inserted into the chassis 1 A circuit whose two sides are electrically alike and symmetrical to a common reference point usually ground 2 Contrasted with unbalanced circuit page 163 The range of frequencies over which a system is designed to operate The bandwidth is expressed in Hertz between the highest and lowest frequencies 1 A communication link with only one channel encoded by
27. 54 Considerations for Reducing Noise sjcieyaee vee teens wow vee 55 Remove and Replace the Terminal Block 00005 55 Wire the Finger safe Terminal Block 00 00008 55 AW TRS ENC VL OCMC S i Asenne she naaran eater aus wid R tenia ase 57 Terminal Door ADE dant hott Bok al Bad ih theese Lek oN ih a ie 58 Terminal Block Wiring sos asnss cose eeke E er ney ees 58 Wite Diagrams si catanane nitrite raster de eel OETKER 59 Output Wie ix nin eetard teas ae hee e bao ee 64 Chapter 4 Configure the Module sorces sanuaecnewnadeanyeenee es nese niece ae 65 Conhgutation Artay or nstuvoy cans anten EEE EREA enka gues 66 General Configuration Bitss 52c ckcwcnvediaeeare sek clvev ah oes 72 Pitter Selection aaa i a aire da S E uname esses Mate 75 Program Mode and Program State Run 0 0 cece eee 76 Output Program Value Out0ProgramValue through O t3ProgramV ale aoee aaea e arama es eee 77 Output Fault Mode and Output Fault State Run TL Output Fault Value Out0FaultValue through Out3FaultValue 78 Counter Maximum Count CtrnMaxCount 0008 78 Counter Minimum Count CtrnMinCount 00085 79 Counter Preset CtrnPreset csceceececeececescncecens 79 Counter Hysteresis CtrnHysteresis 00 ecee eee eee ees 80 Counter Scalar CtrnScalar sea fasten he ie boa cse ee See e 80 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Diagnostics and Troubleshoo
28. Bit Invert Bit Count Value 0 0 ii 0 1 4 1 0 1 4 T 1 T T 0 0 1 T 0 1 4 1 0 1 4 T 1 T T 0 1 0 T 0 1 4 1 0 1 4 T 1 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 5 TIP When both A and B transition at the same time instead of in the defined 90 phase separation the quadrature signal is invalid For more information see Direction Inhibit and Direction Invert Output Control Bits on page 21 and their effect on Quadrature signals on page 27 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 25 26 Chapter 2 Module Operation Figure 5 Quadrature Encoder Modes direction inhibit 0 direction invert 0 o Input A B i o Input B Quadrature Z o Input Z Encoder i Forward Rotation Reverse Rotation ae a B 1 2 e 2 i we e a A TRENERA ET
29. Counter 1 Scalar 24 Ctr1CyclicRateUpdateTime Counter 1 Cyclic Rate Update Time 25 Not used Lin Not Storage mode Not used Operational mode Counter ear used Configuration Flags 26 Ctr2MaxCount Counter 2 Maximum Coun 27 28 Ctr2MinCount Counter 2 Minimum Coun 29 30 Ctr2Preset Counter 2 Preset 31 32 Ctr2Hysteresis Counter 2 Hysteresis 33 Ctr2Scalar Counter 2 Scalar 34 Ctr2CyclicRateUpdateTime Counter 2 Cyclic Rate Update Time Rockwell Automation Publication 1769 UMOO06E EN P July 2013 67 Chapter 4 Module Configuration Output and Input Data Table 12 Configuration Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Continued Bit Word Function 35 Counter 2 Configuration Flags 36 Ctr3MaxCount Counter 3 Maximum Coun 37 38 Ctr3MinCount Counter 3 Minimum Coun 39 40 Ctr3Prese Counter 3 Preset 41 42 Ctr3Hysteresis Counter 3 Hysteresis 43 Ctr3Scalar Counter 3 Scalar 44 Ctr3CyclicRateUpdateTime Counter 3 Cyclic Rate Update Time 45 Not used Lin Not used Counter 3 ear Configuration Flags 46 Range0To11 0 HighLimit Range 0 High Limit 41 48 Range0To1 1 0 LowLimit Range 0 Low Limit 49 50 Out Out Out Out Out
30. Differential Encoder Wiring Cable Allen Bradley 845H Series Differential Encoder Shield Shield Housing 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 300 m 1000 ft Rockwell Automation Publication 1769 UMOO6E EN P July 2013 59 Chapter 3 60 Installation and Wiring Figure 15 Single ended Encoder Wiring Allen Bradley 845H Series Single ended Encoder Shield Shield Housing 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 300 m 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 V DC Pull
31. For the 1769 HSC B module only Bit 12 is Counter 0 reset disable Bit 13 Counter 1 reset disable Bit 14 Counter 2 reset disable Bit 15 Counter 3 reset disable Counter reset function 0 reset enable default 1 reset disable See page 73 for details 66 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Table 12 Configuration Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Continued Bit wot Tos oe me m W oO ow oe or oe es or os ee or jw fuse 4 Not used Out Out Out1 OutO Out3 Out2 Out1 OutO Output Fault Mode and 3 2 FSR FSR FM FM FM FM Output Fault State Run FSR FSR 5 Not used Out3 Out2 Out1 OutO Output Fault Value FV FV FV FV 6 CtrOMaxCount Counter 0 Maximum Coun 7 8 CtrOMinCount Counter 0 Minimum Coun 9 10 CtrOPreset Counter 0 Preset 11 12 CtrOHysteresis Counter 0 Hysteresis 13 CtrOScalar Counter 0 Scalar 14 CtrOCyclicRateUpdateTime Counter 0 Cyclic Rate Update Time 15 Not used Lin Not Storage mode Not used Operational mode Counter 0 ear used Configuration Flags 16 Ctr1MaxCount Counter 1 Maximum Coun 17 18 Ctr1MinCount Counter 1 Minimum Coun 19 20 Ctr1Preset Counter 1 Preset 21 22 Ctr1 Hysteresis Counter 1 Hysteresis 23 Ctr1Scalar
32. Hysteresis Scalar Update Time a Seal ss 2147483647 2147483648 Ring Counter Mode persion Modes Locat3 C Config 12 0 Counter Reset Enable Locat3 C Contig 13 0 Storage Mode Locat3 C Configl 14 0 Bekocahisig Locat 3 C Config0 15 0 I Hold While Z 1 J Preset on Rising Z Linear Counter Status Offline Cancel Apply Help As shown in Figure 19 the Counter Reset Enable box defaults with a check mark to indicate the respective counter is enabled in the Add On Profile Therefore the individual counter reset functionality is enabled for the selected counter of the 1769 HSC B module The corresponding controller tag in RSLogix 5000 software displays a zero 0 for enabled Rockwell Automation Publication 1769 UMOOQ6E EN P July 2013 73 Chapter 4 Module Configuration Output and Input Data W Module Properties Local 1 1769 HSC 2 1 _ General Connection Input Configuration Counter Configuration Output Configuration Counter 0 in this example equates Figure 20 Configuration for Individual Counter Reset Disable 2 51 x r Counter to individual Co To counter reset Monin Counk 2147483647 selection bit 12 Minimum Court 2147483648 Preset o Hysteresis o Scalar e i Update Time 10 r Counter Mode Locat3 C Config l 12 Operation Mode l Counter Reset Enable Loc
33. Input Configuration Counter Configuration Dutput Configuration M Counter Maximum Count Minimum Count Preset Hysteresis Scalar Update Time ES e eee a 2147483647 2147483648 Operation Mode Pulse Internal Direction Counter Reset Enable JV Storage Mode I Store on Rising Z I Hold While 2 1 J Preset on Rising Z Counter Mode Ring Counter C Linear Counter Status Offline 7 Click Apply Cancel Help Apply 8 Click the Output Configuration tab Rockwell Automation Publication 1769 UMOO6E EN P July 2013 137 Appendix B Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software 9 Use this information to complete the Output Configuration tab Option Value Range 0 Range 1 Type Count Value Count Value Counter 0 0 High Limit 600 000 1 200 000 Low Limit 500 000 1 000 000 Output Control 2 0000_0000_0000_0001 2 0000_0000_0000_0010 Your Output Configuration tab should look like the example Module Properties Local 4 1769 HSC 2 1 6000000 so00000 2 0000_0000_0000_0001 1200000 1000000 2 0000_0000_0000_0010 2 0000_0000_0000_0000 2 0000_0000_0000_o000 2 0000_0000_0000_o000 2 0000_0000_0000_0000 2 0000_0000_0000_0000 2 0000_0000_0000_0000 2 0000_0000_0000_0000 2 0000_0000_0000_o000 2 0000_0000_0000_o000 2 0000_0000_0000_o000
34. Out Out Out Out Out Out5 Out4 Out Out2 Out Out Range 0 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 51 Not used Inv Not used Type Not used ToThisCtr Range 0 Configuration Flags 52 Range0To11 1 HighLimit Range 1 High Limit 53 54 Range0To1 1 1 LowLimit Range 1 Low Limit 55 56 Out Out Out Out Out Out Out Out Out Out Out5 Out4 Out Out2 Out Out Range 1 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 57 Not used Inv Not used Type Not used ToThisCtr Range 1 Configuration Flags 58 Range0To11 2 HighLimit Range 2 High Limit 59 60 Range0To1 1 2 LowLimit Range 2 Low Limit 61 62 Out Out Out Out Out Out Out Out Out Out Out5 Out4 Out Out2 Out Out Range 2 Output Control 15 14 13 12 11 10 09 8 7 6 3 1 0 63 Not used Inv Not used Type Not used ToThisCtr Range 2 Configuration Flags 64 Range0To1 1 3 HighLimit Range 3 High Limit 65 68 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Table 12 Configuration Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Continued Bit wn f pa Te n o Too Toe Tor Tos Tos Tor os Te Jor Jo Function
35. Out09 OutO8 OutO7 Out06 Out05 Out04 Out03 Out02 OutO1 OutOO Readback 0 Readback 15 2 InvalidRangeLimit12 15 InvalidCtrAssignToRange12 15 GenErr InvOut MCfg OutOOvercurrent Out3 Status Flags InvalidRangeLimit12 15 RangeActive 0 InvalidCtrAssignToRange12 15 3 R15 R14 R13 R12 R11 R10 R09 R08 R07 R06 R05 R04 R03 R02 R01 ROO pangeActive 15 GenError i InvalidOutput Ctr 0 CurrentCount Ctr 0 CurrentCount ModConfig 5 Out0Overcurrentd 3 Ctr 0 StoredCount Ctr 0 StoredCount R Ctr 0 CurrentRate Ctr 0 CurrentRate o Ctr 0 Pulselnterval Ctr 0 Pulselnterval 2 l COPW RV IDW REZ CUdf COvf Ctr 0 StatusFlags gt Ctr 0 Overflow Ctr 0 Underflow 3 Heserverd Ctr 0 RisingdgeZ Ctr 1 CurrentCount Ctr 1 CurrentCount Ctr 0 InvalidDirectWrite 6 Ctr 0 RateValid 7 Ctr 1 StoredCount Ctr 1 StoredCount Ctr 0 PresetWarning 3 Ctr 1 CurrentRate Ctr 1 CurrentRate 20 n Ctr 1 Pulselnterval Ctr 1 Pulselnterval 22 C1PW RV IC IDW REZ CUdf COvf Ctr 1 StatusFlags gt Ctr 1 Overflow Ctr 1 Underflow a Hepes Ctrl 1 RisingEdgeZ 24 Ctr 2 CurrentCount Ctr 2 CurrentCount Ctr 1 InvalidDirectWrite 25 Ctr 1 InvalidCounter 26 Ctr 1 RateValid 27 Ctr 2 CurrentRate Ctr 2 CurrentRate Ctr 1 PresetWarning 28 C2PW RV IC IDW CUdf COvf Ctr 2 StatusFlags gt Ctr 2 Overflow 29 Reserved culz Under on 30 Ctr 3 CurrentCount Ctr 3 CurrentCount Ctr 2 InvalidDirectWrite 31 Ctr 2 InvalidCounter 32
36. Reset Counter Overflow CtrnResetCounterOverflow A 0 to 1 transition of this bit causes the corresponding Ctr z Overflow bit to be reset 92 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 RCU Reset Counter Underflow CtrnResetCounterUnderflow A 0to 1 transition of this bit causes the corresponding Ctr Underflow bit to be reset D Inv Direction Invert CtrnDirectionInvert This bit when set inverts the direction of the counter 7 as follows e Ifthe CtrmDirectionInhibit bit is set when this bit is 0 the resulting direction is up increasing counts e Ifthe CtrmDirectionInhibit bit is set when this bit is 1 the resulting direction is down decreasing counts D Inh Direction Inhibit CtrnDirectionInhibit 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 Zz value The Zz value is also affected by the CtraZ Inhibit bit If the CtrzZ Inhibit is set the module uses CtrzZ Invert for all internal Z activities preset hold and store Input state Zz is not affected by this bit Z Inh Z Inhibit CtrnZInhibit When set this bit inhibits the Zz state from being used by the module However even if the counter is inhibited it still will count the pulses at input For example if the counter is inhibited with count of 10 and there are 10 more puls
37. Table 17 Input Array L23E Packaged Controller Enbedded HSC Module Configuration Output and Input Data Word Bit Function Input State Out Out DataEcho 15 14 0 2 BadRangeLimit 3 0 BadRangeCtrNum3 0 ERR UBS MCfg OverCurFdbck Status Flags Output03 0 3 rs R2 Ri RO Noted s s lt CsisCSCSCSCSCid Range Active 4 PresentCount_0 PresentCount_0 5 6 StoredValue_0 StoredValue_0 7 8 Not used Not used 9 10 Not used Not used 11 12 Not used COPW Not Not BD REZ CUdf COvf Counter 0 Status used used W Flags 13 Not used Not used 14 PresentCount_1 PresentCount_1 15 16 StoredValue_1 StoredValue_1 17 18 Not used Not used 19 20 Not used Not used 21 22 Not used C1PW Not CNE BD REZ CUdf COvf Counter 1 Status used W Flags 23 Not used Not used 24 PresentCount_2 PresentCount_2 25 26 Not used Not used 27 28 Not used C2PW RV IC BD CUdf COvf Counter 2 Status W Flags 29 Not used Not used 30 PresentCount_3 PresentCount_3 31 100 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Table 17 Input Array L23E Packaged Controller Enbedded HSC Continued Function 32 Not used Not used 33 34 Not used C3PW RV IC ID CUdf COvf Counter 3 Status W Flags Inp
38. counts net change in Ctr z CurrentCount during that period is converted into a rate value providing an average pulse rate Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 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 n CurrentRate value The cyclic method is better suited to high pulse rates Hysteresis Detection and Configuration Because physical vibration can cause an encoder to generate pulses that you do 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 Ctr z 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 equal to or less than the minimum number of programmed counts the Ctr 7 CurrentRate is reported as zero This concept is not used to alter actual count values IMPORTANT Hysteresis does not depend on the direction of the change in count Therefore creeping a slow change in count in one direction only can also be reported as zero frequency when it falls below the hysteresis thresho
39. error See page 120 for a list of prohibited settings a Rockwell Automation Publication 1769 UMOO6E EN P July 2013 8 Chapter4 Module Configuration Output and Input Data Range High Limit Range0To11 n HighLimit and Range Low Limit Range0To11 n LowLimit IMPORTANT The Range High Limit and Range Low Limit words do not apply to the L23E packaged controller Configuration Array Words 15 13 12 11 10 jos fosg 07 06 05 jog jos joz jor 00 46 and 47 Range 0 High Limi Range0To11 0 HighLimi 48 and 49 Range 0 Low Limit Range0To11 0 LowLimi 52 and 53 Range 1 High Limi Range0To11 1 HighLimi 54 and 55 Range 1 Low Limit Range0To11 1 LowLimi 58and 59 Range 2 High Limi Range0To11 2 HighLimi 60 and 61 Range 2 Low Limit Range0To1 1 2 LowLimi 64 and 65 Range 3 High Limi Range0To1 1 3 HighLimi 66 and 67 Range 3 Low Limit Range0To1 1 3 LowLimi 70 and 71 Range 4 High Limi Range0To1 1 4 HighLimi 72 and 73 Range 4 Low Limit Range0To1 1 4 LowLimi 76 and 77 Range 5 High Limi Range0To1 1 5 HighLimi 78 and 79 Range 5 Low Limit Range0To1 1 5 LowLimi 82 and 83 Range 6 High Limi Range0To11 6 HighLimi 84 and 85 Range 6 Low Limit Range0To1 1 6 LowLimi 88 and 89 Range 7 High Limi Range0To11 7 HighLimi 90 and 91 Range 7 Low Limit Range0To11 7 LowLimi 94 and 95 Range 8 High Limi Range0To1 1 8
40. example latch or unlatch 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 because presetting a counter enabling a range changing a mask and changing configuration array settings can cause ranges and outputs to change state Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Output Program Value Out0ProgramValue through Out3ProgramValue Conton ray Words 6 0 e 2 W o w e wm we ow we we om ow Output Program Value Not used Out3 Out2 Out1 Outd 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 and the module is in Program state Output Fault Mode and Output Fault State Run Configuration Array Word 4 jo jo jos fog jo3 oz jo 00 Output Fault Mode and Output Ez EE LEA Out2 Out OutO Out3 Out2 eT ae Fault State Run FSR FSR FSR FSR FM FM Output Fault Mode Out0FaultMode through Out3FaultMode These bits configure the output for Hold Last State or User defined Safe State during a Fault state e 1 Hbold Last State e 0 User defined Safe State Output Fault State Run Out0FaultStateRun through Out3FaultStateRun Similar to Program State Run Fault State Run lets you specify on a bit basis that the ou
41. for use in a Pollution Degree 2 industrial environment in overvoltage Category II applications as defined in IEC 60664 1 at altitudes up to 2000 m 6562 ft without derating This equipment is considered Group 1 Class A industrial equipment according to IEC CISPR 11 Without appropriate precautions there can be difficulties with electromagnetic compatibility in residential and other environments due to conducted and radiated disturbances This equipment is supplied as open type equipment It must be mounted within an enclosure that is suitably designed for those specific environmental conditions that will be present and appropriately designed to prevent personal injury resulting from accessibility to live parts The enclosure must have suitable flame retardant properties to prevent or minimize the spread of flame complying with a flame spread rating of 5VA V2 V1 VO or equivalent if non metallic The interior of the enclosure must be accessible only by the use of a tool Subsequent sections of this publication may contain additional information regarding specific enclosure type ratings that are required to comply with certain product safety certifications In addition to this publication see the following e Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 for additional installation requirements e NEMA Standard 250 and IEC 60529 as applicable for explanations of the degrees of protection provided by enclosu
42. fuse 88 89 92 counter overflow 92 counter preset warning 93 counter underflow 93 individual counter 66 72 rising edge Z 93 reset preset 31 ring counter 29 83 rising edge Z 106 Rockwell Software application example 132 RSLogix 5000 software example 142 S safe state control 40 safety circuits 110 scalar 34 67 80 soft preset 92 spacing 50 specifications 123 status bits 98 flags 98 100 101 106 indicators overview 14 power up diagnostics 112 safety considerations 109 troubleshooting status 14 112 storage mode 83 Rockwell Automation Publication 1769 UM006E EN P Index stored count 104 T temperature derating 128 terminal door label 58 screw torque 56 terminal block removing 55 wiring 55 throughput and timing 126 timing 126 ToThisCounter 86 troubleshooting safety considerations 109 U underflow 28 29 34 linear counter 28 up and down pulses 24 user defined safe state 40 V virtual outputs 36 Ww wire size 56 wiring 45 module 56 routing considerations 47 terminal block 55 X X1 quadrature encoder 25 X2 quadrature encoder 26 X4 quadrature encoder 26 Z inhibit 93 input functions 30 gating 30 preset reset 30 setting output array 106 invert 93 July 2013 167 Index 168 Rockwell Automation Publication 1769 UMO06E EN P July 2013 Rockwell Automation Support Rockwell Automation provides technical information on the Web to assist you in using its produ
43. module page 161 Option that turns off all electronic keying to the module Requires no attributes of the physical module and the module configured in the software to match The process of transferring the contents of a project on the workstation into the controller 1 The time during which something exists or lasts For example the length of time that a signal is high can be described as the duration of a pulse 2 Compare interval page 161 and period page 162 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 159 Glossary 160 electronic keying encoder encoder bandwidth exact match factory wiring field side field wiring hysteresis inhibit input A system feature which makes sure that the physical module attributes are consistent with what was configured in the software Any feedback element that converts linear or rotary position absolute or incremental into a digital signal e Linear encoder is a feedback element that directly converts linear position absolute or incremental into a digital signal e Rotary encoder is a feedback element that converts rotary position absolute or incremental into a digital signal Often the directly measured rotary position is used to determine a linear position through gearing An expression for maximum encoder speed in Hz Can also refer to the maximum rate at which the control loop can accept encoder signals The actual bandwidth
44. noise always use shielded wire 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 To prevent shock hazard care should be taken when wiring Do not wire more than two conductors on any single terminal Cut Foil Shield and Drain Wire Signal Wire Signal Wire Drain Wire Foil Shield Signal Wire Signal Wire Follow these steps to wire your module 1 At each end of the cable strip some casing to expose the individual wires 2 Trim the signal wires to 5 cm 2 in lengths stripping about 5 mm 0 2 in of insulation away to expose the end of the wire ATTENTION Be careful when stripping wires Wire fragments that fall into a module could cause damage at powerup 3 At the 1769 HSC module input end of the cable twist the drain wire and foil shield together bending them away from the cable and apply shrink wrap grounding 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 connecting the other end of the cable to the input device 6 Repeat steps 1 through 5 for each channel on the module Rockwell Automation Publication 1769 UMOO6E EN P July 2013 57 Chapter 3 58 Installation and Wiring Terminal Door Label A removable write on label is provided
45. on off switching Examples DH and DH links 2 Contrasted with carrier band link page 158 and broadband link page 158 An I O module whose communication with the scanner or processor is bidirectional and therefore uses both input and output image areas Rockwell Automation Publication 1769 UMOO06E EN P July 2013 157 Glossary broadband link 1 A communication link that can have multiple channels Each channel signal modulates its own carrier frequency Example LAN 1 link 2 Contrasted with carrier band link page 158 and baseband link page 157 bus A single path or multiple parallel paths for power or data signals that several devices can be connected at the same time A bus can have several sources of supply and or several sources of demand carrier band link 1 A communication link with a single channel whose signal modulates a carrier frequency Example Data Highway II link 2 Contrasted with broadband link page 158 and baseband link page 157 cascade connection A series connection of amplifier stages or links in which the output of one stage feeds the input of the next cascading timers counters A programming technique of using multiple timers and or counters to extend the range of the timer or counter beyond the maximum values that can be accumulated in a single instruction channel A path for a signal Several channels can share a common link chassis A hardware assembly that houses devices such as I O mod
46. on power ports EC 61000 4 4 2 kV at 5 kHz on signal ports Surge transient immunity 1 kV line line DM and 2 kV line earth CM on power ports EC 61000 4 5 1 kV line line DM and 2 kV line earth CM on signal ports 1 kV line earth CM on shielded ports Conducted RF immunity 10V rms with 1 kHz sine wave 80 AM from 150 kHz 80 MHz EC 61000 4 6 1 This rating applies for your system if a relay module such as the 1769 OW8 is used Rockwell Automation Publication 1769 UMO06E EN P July 2013 125 AppendixA Specifications Table 29 Certifications 1769 HSC Certification 1769 HSC c UL us UL Listed Industrial Control Equipment certified for US and Canada See UL File E65584 c UL us UL Listed for Class Division 2 Group A B C D Hazardous Locations certified for U S and Canada See UL File E321922 CE European Union 2004 108 EC EMC Directive compliant with the following e EN 61000 6 2 Industrial Immunity e EN 61000 6 4 Industrial Emissions e EN 61131 2 Programmable Controllers Clause 8 Zone A amp B C Tick Australian Radiocommunications Act compliant with AS NZS CISPR 11 Industrial Emissions 1 When product is marked 2 See the Product Certification link at http www ab com for Declarations of Conformity Certificates and other certification details Throughput and Timing Operation Input file update time Output turn on time Description count value is updated The time it tak
47. source User power range is from 5 30V DC See the Output Specifications in Appendix A on page 124 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 module 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 circuit 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 OutzOverCurrent bits of the input array When the overcurrent condition is detected the outputs are turned off The module can latch outputs off 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 z 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 repea
48. 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 Keep the interior of the enclosure should clean and the enclosure door 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 four which means that it can not be more than four modules away from the system power supply The illustration provides an example of determining power supply distance MicroLogix 1500 Controller with Integrated System Power Supply Compact 0 Compact 0 Compact 1 0 Compact 0 Compact 0 Compact 1 0 Compact 1 0 Compact 0 Power Supply Distance 1 2 3 4 5 6 7 8 OR ea E Qa en gt D As oO a 1 0 Communication Compact 0 Compact 0 Compact 1 0 Compact 0 Compact 0 Compact 0 Power Supply Distance 4 3 2 1 1 2 3 45274 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 System Assembly Installation and Wiring Chapter 3 The module can be attached to an adjacent controller power supply or I O module For mounting instructions see Panel Mounting on page 50 or DIN Rail Mounting on page 52 To work with a system that is already mounted see Rep
49. the extended error code See the Configuration Error Codes table on page 117 for more information TIP The OK status indicator will be in a flashing red state for all of the error codes in the Configuration Error Codes table on page 117 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 the General Common Hardware Error Codes table on page 116 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 113 Chapter 5 Diagnostics and Troubleshooting Module Error Definition 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 in Table 19 Table 19 Module Error Definition Module Error Extended Error Information 10 0 Hex Digit 4 Hex Digit 3 Hex Digit 2 Hex Digit 1 Don t Care Bits Module Error Field The purpose of the module error field is to classify module errors into three distinct groups as described in Table 20 The type of error determines what kind of information exists in the extended err
50. to fully use the capabilities of high resolution quadrature encoders The inputs can be wired for standard differential 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 30V DC 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 four on board real outputs are DC sourcing powered by a user supplied 5 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 Example on page 44 for a description of how the module determines output status Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Overview Chapter 1 H ardware Fe atures The module s hardware features are illustrated in Figure 1 Refer to Chapter 3 on page 45 for detailed information on installation and wiring For information about the packaged controllers hardware features see the CompactLogix Packaged Controllers Quick Start and User Manual publication IASIMP QS010 Figure 1 Hardware Features
51. to pass 4 MHz even though the module s maximum is 1 MHz This lets the sensor and wiring to attenuate the pulse to 25 duty cycle while the module maintains pulse recognition Nom Filter Settings Max Guaranteed Blocked Pulse Width Min Guaranteed Pass Pulse Width Pulse Width Equivalent Pulse Width Equivalent Pulse Width Equivalent Frequency Frequency Frequency No filter 250 kHz 0 83 us 600 kHz 2 5 us 200 kHz 18 5 us 27 kHz 12 3 us 40 5 kHz 28 6 us 17 5 kHz 715 us 700 Hz 495 us 1 01 kHz 1 25 ms 400 Hz 7 1 ms 70 Hz 4 95 ms 101 Hz 12 5 ms 40 Hz 1 Equivalent frequency assumes a perfect 50 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 lets the sensor and wiring to attenuate the pulse to 25 duty cycle while the module maintains pulse recognition 20 IMPORTANT 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 Filter Pulse Width and Frequency Applying full amplitude 50 duty cycle signals that are of frequency above the selected filter s threshold frequency can result in an average value signal of sufficient amplitude to turn the input on A transition from no input to the full amplitude 50 duty cycle signal or back to no signal can result in inadvertent input transitions 1 Low pass filters bloc
52. typically one that lets pulses reach the counter gate open or not gate 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 can be inverted and or inhibited depending on the user configuration of the CtrzZInvert and CtrzZInhibit 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 CtrnZ Invert on page 93 and Z Inh Z Inhibit CtrnZInhibit on page 93 Direct Write You can arbitrarily change the current count value Ctr z CurrentCount to the direct write control value Range12To15 7 HiLimOrDirWr This ability applies to ranges 12 15 The direct write value takes effect when the Load Direct Write bit Range12To15 z LoadDirectWrite transitions from 0 to 1 If you attempt to preset and load direct write to a counter at the same time only the preset CtrPreset will take effect Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 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 Refer to page 73 in Chapter 4 for details on performing a default counter reset for the CMX 5370 L2 packaged controller and the 1769 HSC B module only The L23E packaged controller and the 1769 HSC A mod
53. user defined range Valid limits for the range are 2 2 billion regardless of programmed minimum and maximum values Figure 9 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 ranges Figure 9 Count Range Example 200 000 0 106 000 Range 4 Mange i Range 2 i _ Range 4 1 Stop Value i i Start Value 1 1 1 1 i Range 3 i 1 1 i On a 7 1 1 1 1 1 l gip Put a j 0u puti TE i l Output2 i Output 3 Table 9 Count Range Example Values 5 Outputs 2 E 2 Range n OutputControl word 5 E E ca g S z 3 5 2 J o 2 Q l 2 z 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 lt o I a o o o o ct o 5 D D D D D D 2 w ce e e e cc cc 1 01 0 7000 5000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 01 0 1000 4500 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 3 01 0 4000 3000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 2 4 01 0 9000 9000 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 and 3 1 For Range Type 0 count range and 1 rate range 2 Bits 0 3 are real outputs Bits 4 15 are virtual outputs 38 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 1 000 000 Rate Ran
54. we Hw Reset Blown Fuse Not used RBF 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 Control Bits Output Array Words 5 to 8 15 14 13 12 11 10 09 08 jo jo 05 los o3 02 Counter 0 Control Bits Word 5 Not used RPW RREZ Zinh Zinv Dinh Dinv RU RO Counter 1 Control Bits Word 6 Not used RPW RREZ ZInh SP En Counter 2 Control Bits Word 7 Not used RPW Not used D Inv Counter 3 Control Bits Word 8 Not used RPW Not used Dinv RU RO SP En The control bits for counter 7 are described below TIP The order of precedence for the Preset and Direct Write actions is as follows 1 Preset 2 Direct Write IMPORTANT Setting any of the control bits under certain conditions of the NumberOfCounters value will result in the input error flag Ctr n InvalidCounter For more information see IC Invalid Counter Ctr 1 InvalidCounter to Ctr 3 Invalid Counter table on page 107 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 CtrnSoftPreset A 0 to 1 transition of this bit causes counter 7 to be preset changing the count to the value in CtrvPreset RCO
55. 0 in this example equates to individual counter reset selection bit 12 W Module Properties Local 1 1769 HSC 2 1 i lol x General Connection Input Configuration Counter Configuration Output Configuration Module Configuration Output and Input Data Chapter 4 Counter Reset CtrReset Bits 12 15 in the configuration array correspond to the counter reset selection bits for counters 0 3 respectively The Counter Reset Enable in the Add On profile lets you select which counter to be enabled or disabled An enabled checkbox indicates a zero 0 in the respective counter reset selection bits in RSLogix 5000 software IMPORTANT The individual counter reset functionality applies only to the 1769 HSC B module used with CompactLogix controllers and the CMX 5370 L2 packaged controller embedded HSC You cannot use the individual counter reset functionality with MicroLogix controllers If you do not want a counter to reset by default you must uncheck the box in the Add On profile for the respective counter reset selection bit A 1 will display in the configuration array to denote that this bit is disabled from resetting a count The individual counter reset functionality for the 1769 HSC B module is reverse logic with a 0 enabled and a 1 disabled for RSLogix 5000 software Figure 19 Configuration for Individual Counter Reset Enable Counter 0 Maximum Count Minimum Count Preset
56. 0002 6 Click OK 146 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software Appendix C 7 Inthe Project Menu under Data Files click Output ay LAU 3 Data Files Cross Reference E o0 our E n input E s2 status Ci B3 BINARY FA T4 Timer The 34 words of the output image open Addresses for these 34 words are Output Word 0 through Output Word 33 In this example only the first six 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 8 Use this information to configure the first six Output words Output Data File Decimal Value Description Word 0 Not used Output Word 1 3 Enables Outputs 0 and 1 to be controlled by the 1769 HSC module s ranges Output Word 2 Enable Ranges 0 and 1 Output Word 3 No using Interrupts oO ojl w Output Word 4 No using Interrupts Output Word 5 Enable Counter 0 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 147 Appendix C Monitor the Current Count and Verify Output Operation 148 Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software 1 2 No program logic is needed for this example Use these steps to monitor the count and verify the ou
57. 0010 BadModConfigUpdate Occurs when you attempt to change a forbidden module configuration parameter while a counter or range is still enabled See Table 24 on page 120 for a list of the forbidden parameters X411 010 0 0001 0001 BadCounterNum_1 Nonzero configuration values were entered for Counter 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 CtrOMinCount is greater than the CtrOMaxCount X431 010 0 0011 0001 BadMin_1 Programmed Ctr1MinCount is greater than the Ctr1MinCount X432 010 000110010 BadMin_2 Programmed Ctr2MinCount is greater than the Ctr2MaxCount X433 010 0 0011 0011 BadMin_3 Programmed Ctr3MinCount is greater than the Ctr3MaxCount X440 010 0 0100 0000 BadPreset_ The programmed CtrOPreset is greater than the CtrOMaxCount or ess than the CtrOMinCount X441 010 0 0100 0001 BadPreset_ The programmed Ctr1Preset is grea
58. 1 n HighLimit lt RangeOto1 1 n LowLimit e RangeOTol 1 n ToThisCounter refers to a non declared counter Range0To1 1 n ToThisCounter gt NumberOfCounters 1 Does not apply to the packaged controller Rockwell Automation Publication 1769 UMOO06E EN P July 2013 115 Chapter 5 Diagnostics and Troubleshooting The tables in this section explain the extended error codes for general common Error Codes p g hardware errors configuration errors and runtime errors Table 22 General Common Hardware Error Codes Error Type Hex Module Extended Error Description Status of the Equivalent Error Code Information OK Indicator Code Binary Binary No Error X000 000 0 0000 0000 OK normal operating condition Solid or flashing green General Common X200 00 0 0000 0000 General hardware error no additional Solid red Hardware Error information X201 00 0 0000 0001 Power up reset state Briefly red X202 00 0 0000 0010 Bus master incompatibility Solid red X203 001 0 0000 0011 General hardware error Solid red X210 00 0 0000 1010 General microprocessor error Solid red X211 00 0 0000 1011 Microprocessor internal register error Solid red X212 001 0 0000 1100 Microprocessor special function register error Solid red X213 00 0 0000 1101 Microprocessor internal memory error Solid red X214 00 0 0000 1110 Microprocessor timer error
59. 11 1 1 110 0 1 Oj OR 10 000 1 Range 2 010000000000 1 0 0JOR 1 0 0001 Output On Mask 01001010 010 0 0 0 OR 1 1001 Output Overcurrent 0 0 0 AND 0001 Output Off Mask 1111 0 00 0 1 11 1 1 0 0 AND 0000 Program State 1 1 1f Override 0000 Values Fault State Values 1 1 1 Override 0000 Final Output State 0000 1 Bolded text indicates that these values have changed 44 Readback Loopback The Readback Loopback function is the feedback of the module 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 such as UDSS this will be indicated by Readback Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Chapter 3 Installation and Wiring This chapter explains how to install and wire the 1769 HSC module Topic Page Power Requirements 47 General Considerations 47 System Assembly 49 Mount the Module 50 Replace the Module within a System 53 Field Wiring Connections 54 IMPORTANT For information about installing and wiring the packaged controllers refer to the CompactLogix Packaged Controller Installation Instructions publication 1769 IN082 ATTENTION Environment and Enclosure This equipment is intended
60. Array 66 Output Array 88 Input Array 98 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 can necessitate changing other values to avoid configuration errors Rockwell Automation Publication 1769 UMOO06E EN P July 2013 65 Chapter4 Module Configuration Output and Input Data Configuration Array The configuration array which consists of 118 words 46 words for the packaged controller lets you specify how the module s counters will function The default value is all zeros with the exception of the following e NumberofCounters see page 75 e CtrzMaxCount see page 78 e CtrvMinCount see page 79 e CtrvScalar see page 80 e CtraCyclicUpdateTime see page 81 TIP Normal counter configuration is done using programming software In that case it is not necessary to know the bit location However some systems let the control program change configuration 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
61. C module do not close this dialog box 144 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software Appendix C Configure Your 1769 HSC Module You configure the 1769 HSC module in an offline project and then download to the MicroLogix 1500 controller 1 To open the 1769 HSC module configuration file click Adv Config 2 To display the counter configuration information with the default values click the Counters Tab Expansion General Configuration Gen Counter 0 p Operational Pulse Internal Dir x Mocs fai 47483647 Max Count 2 47483648 hin Count fo Preset fi 0 Update Time x1ms Retained gt Count Behavior on z Configuration jo Hysteresis fi RPM Scale Factor Previous Module 1 1769 HSC High Speed Counter Counters Ranges Generic Extra Data Config 2 of Counters Storage Mode I Store on RisingZ I Hold while Z 1 I Preset on RizingZ Acc behavior on Ring Counter J Over Under Flow Filter None B Noe fiz OK Cancel Apply Help 3 Use this information to complete the configuration for the Counters tab Option of Counters Value 2 default Counter 1 contents must be cleared to store changes if the number of counters is changed to 1 Operational Mode Quadrature Encoder X 4
62. Configurations 066 18 InputFiltering sa 26 oan ting aa o EREA I EEA Sag pened Aa 20 Operational Mode Selection lt 2aueie oo50t ioe ha enmn bes veNae 21 Direction Inhibit and Direction Invert Output Control Bits 21 Pulse External Direction Mode Selection 0000 000s 22 Pulse Internal Direction Mode Selection 00e0e0 ee 23 Up and Down Pulses Mode Selection 00 e cence eee 24 X1 Quadrature Encoder Mode Selection 000 eee eee 25 X2 Quadrature Encoder Mode Selection 00 0 ee ees 26 X4 Quadrature Encoder Mode Selection 00 0 eee 26 Inp t Frequency seis ok a ene sty a o a ee oder A sa 28 Cotinter Types ri iau naan ELETE A EAA 28 Lincar Counter eren a ra A a A e OE aS 28 Ring Counter eee e dines Balch ads e e e a bell lat 8 29 Modifying Count Value o snsnsererruerrrrrrrrrerrrrerererer 29 Counter Enable Disable es s is cts ase nase ca seas teeter aka ads 30 Z ARUP UN CUIONN ook coset ht Soa oneness 30 Inhibitand Inverts pariman cs oe AA N E aaa as 30 Direct Write cos esas dase gS 55 Sarak a E aA 30 Preset Resets earne a a ce oe ee hee E E ebay wheres 31 Rate Timer Punctionality 1cse 2t20 ou sive yi eget steele ae be 32 Pulse Interval Rate Calculation Method 0 0000 08 32 Cyclic Rate Calculation Method current rate 000 32 Hysteresis Detection and Configuration 00 essen 33 Seal an Suid coat Seats Rak x Ros a a
63. 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 the Output Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC table below 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 14 Output Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Word Bit Function 15 05 04 03 02 01 00 0 Out Out Out Out Out Out Out Output On Mask 15 5 4 3 2 1 0 1 Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out Output Off Mask 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 2 R15 R14 R13 R12 R11 R10 R9 RB R7 R6 R5 R4 R3 R2 RI RO Range Enable 3 Not used Not used 4 Not used RBF Not used Reset Blown Fuse 5 Not used RP RRE ZInh ZInv D D RU RO SP En Counter 0 Control Bits WwW Z Inh nv 6 Not used RP RRE ZInh Zin D D RU RO SP En Counter 1 Control Bits W Z Inh nv 7 Not used RP Not used D RU RO SP En Counter 2 Control Bits Ww nv 8 Not used RP
64. Count Counter 3 Maximum Count 37 38 Ctr3MinCount Counter 3 Minimum Count 39 40 Ctr3Preset Counter 3 Preset 4 42 Not used Not used 43 Not used Not used 44 Not used Not used 45 Not used Lin Not used Counter 3 ear Configuration Flags General Configuration Bits These configuration bits apply to the 1769 HSC B module and the CMX 5370 L2 packaged controller embedded HSC A le w we lm ee a General Configuration Bits Individual Counter Number of counters Not used PFE Notused Ctr OCL Reset Disable Reset 0 1 For the 1769 HSC B module only Bit 12 is Counter 0 reset disable Bit 13 Counter 1 reset disable Bit 14 Counter 2 reset disable Bit 15 Counter 3 reset disable Counter reset function 0 reset enable default 1 reset disable The 1769 HSC A module does not use bits 12 15 in the configuration array See page 73 for details 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 120 for a list of prohibited settings 72 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Counter
65. Count value is within the limits set for Range 0 500 000 600 000 The lowest bit of the RangeActive tag turns on Force Mask Style H Local 4 RangeActive Binary INT Local 4 1 Ctr0CurrentCount 5250000 Decimal DINT 1 Locatd CrOStoredCount o Decimal DINT A aral l hN i irrentRate n Nerimal NINT InputStates AO BO and Z0 toggle on and off reflecting the state of the encoder signals on those inputs as the encoder shaft is moved 5 Continue to spin the encoder shaft until the CtrOCurrentCount value is within the limits set for Range 1 1 000 000 1 200 000 turns bit 1 of the RangeActive tag on Force Mask Style Data Type Local 4 C RAS AREN AB 1769_HSC Local 4 1 TATE IENA 4B 1769_HSC Local 4 Fault 2 0000_0000_0000_000 Binary DINT Local4 InputState 2 0000_0000 Binary SINT Local 4 1 InputState40 1 Decimal BOOL Local 4 1 InputStateBO 1 Decimal BOOL Local 4 1 InputStateZ0 1 Decimal BOOL Local 4 1 InputState41 0 Decimal BOOL Local 4 1 InputStateB1 0 Decimal BOOL Local 4 1 InputStateZ1 0 Decimal BOOL 1 onal 4 Readhark 24nnnn mannan mannan nnann Rinary INT Your 1769 HSC module and encoder are programmed 140 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 System Diagram Appendix C Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software This app
66. Ctr 2 RateValid 33 Ctr 3 CurrentRate Ctr 3 CurrentRate Ctr 2 PresetWarning 34 C3PW RV IC IDW CUdf COvf Ctr 3 StatusFlags gt Ctr 3 Overflow Ctr 3 Underflow Ctr 3 InvalidDirectWrite Ctr 3 InvalidCounter Ctr 3 RateValid Ctr 3 PresetWarning 152 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Programming Quick Reference Appendix D The default value for the output array is all zeroes Table 32 Output Array for the 1769 HSC Module RS ce wmrt aan ewn On AD 4 e VN N N NN ON NN as N y ios NY oo ww e w w aon Rockwell Automation Publication 1769 UMOO06E EN P July 2013 15 14 13 12 11 10 9 8 4 6 5 4 3 2 0 Description Outi5 Out14 Out13 Out12 Outi1 Out10 OutO9 OutO8 OutO7 OutO6 Out05 OutO4 Out03 OutO2 OutO1 Out00 OutputOnMask 0 OutputOnMask 15 Out15 Out14 Out13 Out12 Outi1 Out10 OutO9 OutO8 OutO7 OutO6 Out05 Out04 Out03 Out02 OutO1 Out0O OutputOffMask 0 OutputOffMask 15 R15 R14 R13 R12 R11 R10 R09 R08 R07 R06 R05 R04 R03 R02 R01 ROO RangeEn 0 RangeEn 15 Reserved RBF ResetBlownFuse Ct
67. DirectionInhibit 1 X1 Count Pulse X2 Count Pulse fob 2 oa pe 5 Oo st x lt 27 Rockwell Automation Publication 1769 UMOOQ6E EN P July 2013 Chapter 2 Module Operation Input Frequency Counter Types 28 Maximum input frequency is determined by the input configuration as shown in the table Input Configuration Input Frequency Input Frequency 1769 HSC Module Packaged Controller X4 Quadrature encoder 250 kHz 250 kHz X2 Quadrature encoder 500 kHz 250 kHz All other configurations 1 MHz 250 kHz Each of the four possible counters can be configured to stop counting and set a flag at its limits linear counter or to rollover and set a flag at its limits ring counter A counter s limits are programmed by the Ctr MaxCount and CtrnMinCount words in the module s configuration array Both types are described below Linear Counter Figure 7 illustrates linear counter operation In linear operation the current count Ctr 7 CurrentCount value remains between or equal to the user programmed minimum count CtrzMinCount and maximum count CtrwMaxCount values If the Ctr 7 CurrentCount value goes 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 CtrmResetCounterOverflow and CtrmResetCounterUnderflow bits Figure 7 Linear Counter Diagram Minimum Count Value 0 Maximum Count Val
68. Don t care 1 Don t care t a Don t care 01 4 0 Rockwell Automation Publication 1769 UM006E EN P July 2013 23 Chapter 2 Module Operation 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 TIP When both inputs transition simultaneously or near simultaneously the net result is no change to the count value Figure 4 Up and Down Pulse Mode direction inhibit 0 direction invert 0 foe hte ent ne qq i O Input A Increment Pulse p i f count u Incrementing Encoder p Input B or Sensor l l O Input Z E en E E J Decrement Pulse Module count down Decrementing Encoder or Sensor praia 2h le E PLE Input A l l i l oot FAP S A Decrement Pulse i i i Input B i l i Count 4 2 3 2 1 0 1 2 2 24 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 Table 5 Up and Down Counting Direction Direction Input A count Input B direction Change in Inhibit
69. ENE SAESRNESEN i ic aa Ra A a PB e Gi eye dln Nice Dok Ice d gande eld te eae ee ele 1 2 3 4 5 6 7 8 9 10 11 12 11 10 9 8 7 6 5 4 3 2 1 aoan el eC E A AA 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 5 on page 26 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 5 on page 26 Figure 6 shows how Direction Inhibit and Direction Invert affect the counter Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Chapter 2 Module Operation Figure 6 Operation Using Various Direction Inhibit and Direction Invert Settings Reverse Rotation Quadrature Encoder i Forward Rotation Dir DirectionInhibit 0 X1 Count Pulse X2 Count Pulse X4 Count Pulse 7 7 7 Invert ction 0 Dir DirectionInhibit X1 Count Pulse 2101142193 14 55 46 645 143 1241 X2 Count Pulse 3 4 73 td 5 1 2 0 1 1 sine X1 Count Pulse 2 3 4 5 X2 Count Pulse 21 22 23 24 19 20 18 6 7 5 7 301 4 1 5 16 amp X4 Count Pulse
70. HighLimi 96 and 97 Range 8 Low Limit Range0To1 1 8 LowLimi 100 and 101 Range 9 High Limi Range0To1 1 9 HighLimi 102 and 103 Range 9 Low Limit Range0To1 1 9 LowLimi 106 and 107 Range 10 High Limit Range0To1 1 10 HighLimit 108 and 109 Range 10 Low Limit Range0To1 1 10 LowLimit 112 and 113 Range 11 High Limit Range0To1 1 11 HighLimit 114 and 115 Range 11 Low Limit Range0To11 11 LowLimit 84 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Configuration Array Words Module Configuration Output and Input Data Chapter 4 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 Range0Tol 1 z HighLimit or Range0To11 z LowLimit Rangen changes state becoming either active or inactive depending upon the setting of the RangeOTo1 1 Invert bit Object Value Current Count or Current Rate Invert Bit 0 lt C INACTIVE INACTIVE gt Invert Bit 1 lt lt ACTIVE ACTIVE gt l z al Pooh Low Limit High Limit or Direct Write Value ACTIVE l I T l INACTIVE I I TIP Range0To11 7 HighLimit must be greater than Range0T011 n LowLimit or a configuration error results Range Output Control Range0To11 n 0utputControl IMPORTANT The Range Output Control words do not apply to the L23E packaged controller Contro
71. INT Local 4 0 OutputOffMask 2 0000_0000_0000_0011 Binary INT Local 4 0 RangeEn ___2 0000_0000_0000_0011 Binary INT Local 4 0 ResetBlownFuse 0 Decimal BOOL Local 4 0 Ctr0 ___2 0000_0000_0000_0001 Binary INT Hocal 4 0 Ctr0En 1 Decimal BOOL Local 4 0 Ctr0S oftPreset o _ Decimal BOOL Local 4 0 CtrOResetCountO verflow 0 Decimal BOOL Local 4 0 CtrOResetCountUnderflow 0 Decimal BOOL l ee eh ALNM MLN o ohinsclic cook M Piwaies al nano Rockwell Automation Publication 1769 UMOO6E EN P July 2013 139 Appendix B Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software Monitor the Current Count In this section you use the 1769 HSC module s input tags Local 4 1 to view and Verify Output Operation Y i s 1 Save the program and download it to your controller 2 Put the controller into Run mode 3 Spin the shaft on your 845F encoder The CtrOCurrentCount tag displays the current count data for Counter0 of the 1769 HSC module For this example this count is the number of pulses received from the encoder times four because the operating mode is Encoder X4 amp Value Force Mask Style Data Type 2 0000_0000_0000_o000 Binary INT Local4 CtrOCurrentCount 0 Decimal DINT Local 4 1 Ctr0StoredCount 0 Decimal DINT Local 4 1 Ctr0CurentR ate 0 Decimal DINT 4 Continue to spin the encoder shaft until the CtrOCurrent
72. Ib Bus current draw max 425 mA at 5V DC 0 mA at 24V DC Heat dissipation 6 21 W The Watts per point plus the minimum Watts with all points energized Isolation voltage 75V continuous reinforced Insulation type channel to system and channel to channel Type tested at 1200V AC for 2 s All supply power and or current ratings nput 30V DC 40 C 104 F Output 1 A per channel 4 A per module 30V DC 40 C 104 F Power supply distance rating Recommended cable Module cannot be more than four modules away from a system power supply ndividually shielded twisted pair cable for the type recommended by the encoder or sensor manufacturer Wire size 0 32 2 1 mm 22 14 AWG solid copper wire or 0 32 1 3 mm 22 16 AWG stranded copper wire rated at 90 C 194 F insulation max Wiring category 2 on signal ports Vendor ID code 1 Product type code 109 Product code 19 Enclosure type rating None open style North American temp code T3C 1 Use this Conductor Category information for planning conductor routing Refer to Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 123 AppendixA Specifications Table 26 Input Specifications 1769 HSC Attribute 1769 HSC No of inputs 2 quadrature AB
73. Ld E z E T 1 O z E x t g x Ni o Z D S ejs N y E i y 14 7 mm DIN Rail Center Line 0 58 in Important Hole spacing tolerance 0 04 mm 0 016 in Mounting Hole Dimension Important Hole spacing tolerance 0 04 mm 0 016 in 45198 Figure 12 Compact 1 0 Module with MicroLogix 1500 Base Unit and Processor 168 mm 6 62 in 28 5 mm 147 mm 1 12 in 122 6 mm 4 83 in TEET oa no TE 13 5 mm 0 53 in DIN Rail Center Line 0 58 in 45199 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 51 Chapter3 Installation and Wiring Panel Mounting Procedure By Using Modules as a Template This procedure lets you 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 2 On a clean work surface assemble no more than three modules Using the assembled modules as a template carefully mark the center of all module mounting holes on the panel Return the assembled modules to the clean work surface including any previously mounted modules 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 Attach the modules to the panel using the mounting screws TIP If mounting more modules mount only the last one of this g
74. P July 2013 Module Operation Chapter 2 Table 2 Pulse External Direction Counting Direction Direction Input A count Input B direction Change in Inhibit Bit Invert Bit 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 T 1 1 0 1 4 Don t care 0 1 1 t 0 or open 1 t 1 1 0 1 4 Don t care 0 See Direction Inhibit and Direction Invert Output Control Bits on page 21 for more information Pulse Internal Direction Mode Selection When the Pulse Internal Direction mode is selected the status of the Direction Invert bit as controlled 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 3 Pulse Internal Direction Counting Counters 0 and 1 Direction Direction Input A count Input B Change in Count Inhibit Bit Invert Bit 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 4 0 1 4 Don t care 0 Table 4 Pulse Internal Direction Counting Counters 2 and 3 Direction Direction Input A Input B count Change in Count Inhibit Bit Invert Bit Value Don t care 0 Don t care t 1 Don t care 0 1 0
75. Range0T011 3 ToThisCounter_0 Range0to11 4 HighLimit Range to11 4 HighLimit angetoa El a Range0To1 1 3 Invert Range0to1 1 4 LowLimit RangeOto11 4 LowLimit Out15 jOuti4 jOutt3 jOuti2 Out11 Out10 jOut09 Out08 jOutO7 jOutO6 Out05S jOut04 Out03 jOut02 JOutO01 Out00 RangeOto11 4 OutputControl Inv Type ToThisCtr Range0to11 4 ConfigFlags RangeOTo1 1 4 ToThisCounter_O RangeOto1 1 5 HighLimit RangeOto1 15 HighLimit ranged roH M Range0To1 1 4 Invert Range0to1 1 5 LowLimit Range0to11 5 LowLimit Out15 jOuti4 jOutt3 jOuti2 Out11 Out10 jOut09 Out08 jOutO7 jOutO6 Out05S jOut04 Out03 jOut02 fOut01 Out00 RangeOto11 5 OutputControl Inv Type ToThisCtr RangeOto11 5 ConfigFlags RangeOTo1 1 5 ToThisCounter_O RangeOto1 1 6 HighLimit RangeOto1 16 HighLimit RangedTot rp aah Range0To1 1 5 Invert Range0to1 1 6 LowLimit RangeOto11 6 LowLimit Out15 jOuti4 jOutt3 Out12 Outi1 Out10 jOut09 Out08 jOutO7 jOutO6 Out05S jOut04 Out03 jOut02 OutO1 Out00 RangeOto11 6 OutputControl Inv Type ToThisCtr RangeOto11 6 ConfigFlags RangeOTo1 1 6 ToThisCounter_O RangeOto1 7 HighLimit RangeOtol 7 HighLimit Ranged Tonle om souner Range0To1 1 6 Invert Range0to1 1 7 LowLimit Range0to11 7 LowLimit Out15 Out14 jOutt3 jOuti2 Out11 Out10 jOut09 Out08 jOutO7 jOutO6 Out05S jOut04 Out03 jOut02 OutO1 Out00 RangeOto11 7 OutputControl Inv Type ToThisCtr RangeOto11 7 ConfigFlags RangeOTo1 1 7 ToThisCounter_O RangeOto 116 HighLimit R
76. Solid red X215 001 0 0000 1111 Microprocessor interrupt error Solid red X216 00 0 0001 0000 Microprocessor watchdog error Solid red X220 00 0 0001 1000 Firmware corrup Solid red X221 001 0 0001 1001 Firmware checksum error in non volatile RAM Solid red X222 00 0 0001 1010 Firmware checksum error in RAM Solid red X230 00 0 0001 1110 External RAM test error Solid red X231 001 0 0001 1111 External RAM cell test error Solid red X240 00 0 0010 0100 Gate array loading failed Solid red X250 001 0 0011 0010 External watchdog error Solid red 1 X represents the Don t Care digit 2 See the Diagnostic Indicators table on page 112 for recommendation based on status indicator operation 116 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Table 23 Configuration Error Codes TIP Diagnostics and Troubleshooting The OK status indicator flashes red for all error codes in the Configuration Error Codes table IMPORTANT Only error codes X400 X443 apply to the packaged controller Chapter 5 Hex Module Extended Description Equivalent Error Error Code Information Code Binary Binary 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
77. TIP Refer to your controller s documentation for available reconfiguration methods IMPORTANT Do not change the module settings in Table 24 while counter or range is enabled Table 24 BadModConfigUpdate Error Prohibited Configuration Settings Configuration Parameters Array Position Prohibited from changing when indicated bits X are set Word Bit CtrOEN CtriEN Ctr2EN Ctr3EN RangeEN OverCurrentLatchOff 0 0 X X X X X ProgToFaultEn 0 4 NumberOfCounters 0 8 and 9 X X X X X Filter _A0 0 and 1 X X Filter_BO 3 and 4 X X Filter _Z0 6 and 7 X X Filter _A1 8and 9 X Filter _B1 11 and 12 X Filter _Z1 14and 15 X OutnProgramMode 2 0to3 OutnProgramStateRun 2 4to7 OutnProgramValue 3 0to3 OutnOFaultMode 4 0to3 OutnFaultStateRun 4 Ato7 OutnFaultValue 5 0 to3 CtrOMaxCount 6 and7 X CtrOMinCount 8 and 9 X CtrOPreset 10and11 i C rOHysteresis 2 12 X CtrOScalar 13 X C rOCyclicRateUpdateTimel2 14 X Ctyr0Config OperationMode 15 0to3 X CtrOConfig StorageMode 15 8 to 10 X CtrOConfig Linear 15 12 X 120 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Table 24 BadModConfigUpdate Error Prohibited Configuration Settings Continued Configuration Parameters Diagnostics and Troubleshooting Chapter 5 Array Position Prohibited from changing when indicated bits X are set
78. User Manual Allen Bradley Compact High speed Counter Module Catalog Number 1769 HSC Allen Bradley Rockwell Software Automation Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Safety Guidelines for the Application Installation and Maintenance of Solid State Controls publication SGI 1 1 available from your local Rockwell Automation sales office or online at http www rockwellautomation com literature describes some important differences between solid state equipment and hard wired electromechanical devices Because of this difference and also because of the wide variety of uses for solid state equipment all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable In no event will Rockwell Automation Inc be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation Rockwell Automation Inc cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Rockwell Automation Inc with respect to use of information circuits equipment or software described in this manual
79. Z differential inputs Input voltage range 2 6 30V DC On state voltage max 30v pc On state voltage min 2 6 VDC On state current min 6 8 mA Off state voltage max 1 0V DC Off state current max 1 5mA Off state leakage current max 1 5mA Input current max 15mA Input current min 6 8 mA Input impedance nom 1950 Q Pulse width min 250 nsec Pulse separation min 131 nsec Input frequency max 1 MHz 1 See Maximum Input Voltage 24V DC Operation on page 128 Table 27 Output Specifications 1769 HSC Attribute 1769 HSC No of outputs 16 total 4 physical and 12 virtual Output voltage range 5 30V DC On state voltage max User power 0 1V DC On state current max 1 A per point 4 A per module On state current min 1mA On state voltage drop max 0 5V DC Off state leakage current max 5 pA Input current min 6 8 mA Turn on time max 400 usl Turn off time max 200 us Reverse polarity protection 30V DC 1 See Maximum Output Voltage 24V DC Operation on page 128 2 See Maximum Output Current per Point 5V DC Operation on page 129 and Maximum Output Current per Point 24V DC Operation on page 130 3 See Maximum Output Current per Module 5V DC Operation on page 129 and Maximum Output Current per Module 24V DC Operation on page 130 4 Maximum turn on time applies to output voltage range of 5 7V DC For output voltages greater than 7V DC the maximum turn on time is 200 us 124 Rockwell Automation Publi
80. ad 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 17 Transient Pulse Duration as a Function of Load Current Time Duration of Transient Pulse ms 00 200 300 400 500 600 700 800 900 1000 On State Load Current mA Rockwell Automation Publication 1769 UMOO6E EN P July 2013 63 Chapter 3 Installation and Wiring 64 Output Wiring Basic wiring of output devices to the module is shown in Figure 18 ATTENTION Follow these guidelines e Miswiring of the module to an AC power source or applying reverse polarity will damage the module e Be careful when stripping wires Wire fragments that fall into a module could cause damage at powerup Once wiring is complete make sure the module is free of all metal fragments Figure 18 Output Device Wiring OUT DC cr ouro 2avoc A ais OUT 1 R OUT 2 z DC COM A A0 BO BO 5 24V DC Z0 Z0 Al A1 B1 B1 Z1 Z1 y DC 45200 1 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 the Industrial Au
81. al 3C Config 13 0 r Storage Mode Locat3C Config 14 0 pe eee Loca Cori 16 0 I Hold While z 1 J Preset on Rising Z Ring Counter Linear Counter Status Offline Cancel Apply Help 74 As shown in Figure 20 the Counter Reset Enable box has been unchecked to indicate the individual counter reset functionality is disabled for the selected counter of the 1769 HSC B module The corresponding controller tag in RSLogix 5000 software shows a one 1 for disabled The CtrReset bit when set causes the following to occur for both the 1769 HSC A and 1769 HSC B modules when the system transitions to Run or the Inhibit Module bit transitions to 0 1 2 e System checks counter reset selection bits 12 15 to determine which counter needs to be reset e Only those counters selected for reset are reset to zero e 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 e The input array counter status flags Overflow Underflow RisingEdgeZ RateValid PresetWarning are reset e The input array counter values Current Count StoredCount CurrentRate and PulseInterval are also reset to zero e Counts are lost and outputs are turned off IMPORTANT For most predictable results clear the output image of the controller before performing a counter reset CtrReset to the 1769 HSC module This is bec
82. al outputs Bits 4 15 are virtual outputs Rockwell Automation Publication 1769 UMOO6E EN P July 2013 39 Chapter 2 40 Module Operation 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 situation 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 lets the module to continue to control outputs under program or fault states These Safe State options are not available in the packaged controllers Only the ph
83. and the module is in Fault state TIP Outputs are also affected by PFT above Counter Maximum Count CtrnMaxCount Coun Aray Words 15 u i 2 n Ww wm lw W oo ow we wm om 6 Counter 0 Maximum CtrOMaxCoun Coun 7 16 Counter 1 Maximum Ctr1 MaxCoun Coun 17 26 Counter 2 Maximum Ctr2MaxCoun Coun 27 36 Counter 3 Maximum Ctr3MaxCoun a Coun This is the maximum count value allowed for counter 7 The count value cannot exceed this value Allowable values are CtrnMinCount 1 2 147 483 647 decimal The default value is 2 147 483 647 decimal 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 120 for a list of prohibited settings 78 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Counter Minimum Count CtrnMinCount Configuration Array Words 15 13 12 11 jio joo jog jo7 o jos jog fos oz jor 00 8 Counter 0 Minimum Count CtrOMinCount F 18 Counter 1 Minimum Count Ctr1MinCount 19 28 Counter 2 Minimum Count Ctr2MinCount at 38 Counter 3 Minimum Count Ctr3MinCount 39 This is the minimum count value allowed for counter 7 The count value cannot fall below this value This value must be le
84. ange0To1 1 8 ToThisCounter to an invalid value that is to a counter that is not available due to umber of counters selected gt Oo gt error occurs if you try to set Range0To1 1 9 ToThisCounter to nvalid value that is to a counter that is not available due to umber of counters selected X499 010 0 1001 1001 BadCtrAssignToRange_9 T a 3 5 n gt Oo Ss error occurs if you try to set RangeOTo11 10 ToThisCounter to invalid value that is to a counter that is not available due to umber 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 that is to a counter that is not available due to umber of counters selected X49A 010 0 1001 1010 BadCtrAssignToRange_10 T a aa n gt a gt Ss 1 X represents the Don t Care digit Rockwell Automation Publication 1769 UMO06E EN P July 2013 119 Chapter 5 Diagnostics and Troubleshooting 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 do the following e Correct the configuration problem e Reconfigure the module
85. angeOto1 16 HighLimit RangedTo U oe Range0To1 1 7 Invert Range0to1 1 8 LowLimit RangeOto11 8 LowLimit Out15 jOuti4 jOutt3 jOuti2 Out11 Out10 jOut09 Out08 jOutO7 jOutO6 Out05S jOut04 Out03 jOut02 JOutO1 Out00 RangeOto11 8 OutputControl Inv Type ToThisCtr RangeOto11 8 ConfigFlags RangeOTo1 1 8 ToThisCounter_O RangeOto1 1 9 HighLimit RangeDto1 19 HighLimit Rongedal eo Range0To1 1 8 Invert Range0to1 1 9 LowLimit RangeOto11 9 LowLimit Out15 Outl4 Out13 Out12 Outi jOutiO0 jOut09 jOutO8 jOutO7 jOut06 Out0S Out04 Out03 Outd2 uo Out00 Range0to11 9 QutputControl Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Programming Quick Reference Appendix D Table 30 Configuration Array for the 1769 HSC Module a CC CCC Description 05 Inv Type ToThisCtr 9 ConfigFlags Range0To11 9 ToThisCounter_0 ee Range0To11 9 ToThisCounter_1 06 HighLimit Limit Range0To11 9 Type 07 Range0To11 9 Invert 08 LowLimit Limit 09 10 Out13 Out12 Out10 Out09 Out08 Out0O7 jOut06 fOut05 Out03 Out02 Out01 utControl 11 ToThisCtr igFlags Range0To11 10 ToThisCounter_0 EFIS Range0To11 10 ToThisCounter_1 12 HighLimit Limit Range0To11 10 Type 13 Range0To11 10 Invert 14 LowLimit Limit 15 16 Outi5 Outi4 jOuti3 Out12 Out11 Out10 Out09 Out08 Out07 Out0O6 JOutOS5 jOut04
86. at is the Range12To15 z ToThisCounter from above and this Range12To15 z 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 e 0 Count Value e Rate Value When Range12To15 z LoadDirectWrite is set Range12To15 Type is ignored LDW Load Direct Write Range 12To 15 n LoadDirectWrite A Oto 1 transition of this bit causes counter s current count value to change to the value of Range12To15 z 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 IMPORTANT f both CtrnSoftPreset and Range12To15 n HiLimOrDirWr transition to 1 during the same Output Array update only the CtrnSoftPreset occurs Range121015 n HiLimOrDirWr is ignored Rockwell Automation Publication 1769 UMO06E EN P July 2013 97 Chapter4 Module Configuration Output and Input Data Inv Range Invert Range 1210 15 n Invert Indicates the active portion of Rangen When Range12To15 z Invert 0 the outputs are activated when the range value is at or between the Range12To15 z LowLimit and Range12To15 z HiLimOrDirWr When Range12To15 z Invert 1 the outputs are activated when the range is at or outside the range limits Invert Bit 0 lt lt INACTIVE Object Value Current Cou
87. ation Publication 1769 UMOO6E EN P July 2013 Diagnostics and Troubleshooting Chapter 5 Table 23 Configuration Error Codes Continued Hex Module Extended Description Equivalent Error Error Code Information Code Binary Binary X493 010 0 1001 0011 BadCtrAssignToRange_3 This error occurs if you try to set Range0To1 1 3 ToThisCounter to ry an invalid value that is to a counter that is not available due to he number of counters selected X494 010 0 1001 0100 BadCtrAssignToRange_4 This error occurs if you try to set Range0To1 1 4 ToThisCounter to an invalid value that is to a counter that is not available due to he number of counters selected X495 010 0 1001 0101 BadCtrAssignToRange_5 This error occurs if you try to set Range0To1 1 5 ToThisCounter to an invalid value that is to a counter that is not available due to he number of counters selected X496 010 0 1001 0110 BadCtrAssignToRange_6 This error occurs if you tr an invalid value that is he number of counters s o set RangeOTo11 6 ToThisCounter to a counter that is not available due to ected Dox X497 010 0 1001 0111 BadCtrAssignToRange_7 This error occurs if you try to set Range0To11 7 ToThisCounter to an invalid value that is to a counter that is not available due to he number of counters selected X498 010 0 1001 1000 BadCtrAssignToRange_8 This error occurs if you try to set R
88. ause CtrReset does not change the controller s output image CtrReset sets the 1769 HSC module s output array to all zeroes If any bit is set to 1 in the controller s output image when sent to the module it will be seen as a state transition and be acted upon This applies only to the 1769 HSC B module and the CMX 5370 L2 packaged controller embedded HSC 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 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 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 four 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 Number of Counters NumberOfCounters This 2 bit value indicates whether the module uses 1 counter 2 counters 3 counters or 4 counters The default value is 1 2 counters Bit 01 Bit 00 Counters 0 0 1 0 1 2 1 0 3 1 1 4 IMPORTANT Donot set this value while a counter or
89. bit in the configuration array control bits in the output array or overwritten using a Direct Write command Table 6 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 IMPORTANT Because only the Z inputs are used for external 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 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 29 Chapter 2 30 Module Operation Counter Enable Disable The counter can be enabled or disabled using the CtrzEn control bit Be aware that disabling the counter does not inhibit any current count loading functions for example preset or direct write or any Z function Z Input Functions There are three Z input functions store gate and Z preset 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
90. cation 1769 UMOO6E EN P July 2013 Specifications Appendix A Table 28 Environmental Specifications 1769 HSC Attribute 1769 HSC Temperature operating 0 60 C 32 140 F IEC 60068 2 1 Test Ad Operating Cold IEC 60068 2 2 Test Bd Operating Dry Heat IEC 60068 2 14 Test Nb Operating Thermal Shock Temperature surrounding air max 40 C 104 F For UL certified open equipment Temperature nonoperating 40 85 C 40 185 F EC 60068 2 1 Test Ab Unpackahed Nonoperating Cold EC 60068 2 2 TestBb Unpackaged Nonoperating Dry Heat EC 60068 2 14 Test Na Unpackaged Nonoperating Thermal Shock Relative humidity 5 95 noncondensing EC 60068 2 3e0 Test Db Unpackaged Damp Heat Vibration operating 5g 10 500 Hz peak to peak EC 60068 2 6 Test Fc Operating Vibration relay operation 2 g 10 500 Hz Shock operating 30 g 11 ms panel mounted EC 60068 2 27 Test Ea Unpackaged Shock 20 g 11 ms DIN rail mounted Shock nonoperating 40 g panel mounted EC 60068 2 27 Test Ea Unpackaged Shock 30 g DIN rail mounted Emissions Group 1 Class A CISPR 11 ESD immunity 6 kV contact discharges EC 61000 4 2 8 kV air discharges Radiated RF immunity 10V m with 1 kHz sine wave 80 AM from 80 2000 MHz EC 6100 4 3 10V m with 200 Hz 50 Pulse 100 AM at 900 and 1890 MHz 10V m with 1 kHz sine wave 80 AM from 2000 2700 MHz EFT B immunity 2 kV at 5 kHz
91. cts At http www rockwellautomation com support you can find technical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tools For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect support programs For more information contact your local distributor or Rockwell Automation representative or visit http www rockwellautomation com support Installation Assistance If you experience a problem within the first 24 hours of installation review the information that is contained in this manual You can contact Customer Support for initial help in getting your product up and running United States or Canada 1 440 646 3434 Outside United States or Use the Worldwide Locator at http www rockwellautomation com support americas phone_en html or contact Canada your local Rockwell Automation representative New Product Satisfaction Return Rockwell Automation tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned follow these procedures United States Contact your distributor You must provide a Customer Support case number call the phone number above to obtain one to your distributor to com
92. dule 1769 IT6 6 Channel Thermocouple Module 1 769 048 8 Output 120 240 VAC 1769 0816 16 Output 24 VDC Source N769 OB16P 16 Dutput 24 VDC Source w Protectiot 1769 0F2 Analog 2 Channel Output Module 1 769 0V16 16 Output 24 VDC Sink 1 769 0W8 8 Output Relay 1 769 0W8l 8 Output Isolated Relay 1 769 SDN DeviceNetS canner xl 1769 PA2 Power Supply 1 769 PB2 Power Supply Ady Config Help Hide All Cards 1769 PA4 Power Supply This dialog box displays all 1769 I O modules supported by your MicroLogix 1500 controller 6 To add the 1769 HSC module to your MicroLogix 1500 system double click the module or drop and drag the module to the correct slot in this example slot 1 1 0 Configuration ol xi r Current Cards Available Filter fa 10 x r Pat Description I4 Read I0 Config High Speed Counter 8 Input Isolated 120 VAC 164nput 79 132 VAC Analog 4 Channel Input Module Analog 4 Chan Inp 2 Chan Out scriptio 12 Input 159 265 VAC Micrologix 1500 LAP Series C 16 Input 10 30 VDC High Speed Counter 1769 IQ6x0W4 6 Input 24 VDC 4 Output RLY 1 769 IR6 6 Channel RTD Module 1769 IT6 6 Channel Thermocouple Module 1769 048 8 Output 120 240 VAC 1769 0816 16 Dutput 24 VDC Source N769 OB16P 16 Dutput 24 VDC Source w Protectiot 1 769 0F2 Analog 2 Channel Output Module 16 Output 24 VDC Sink 8 Output Relay 8 Output Isolated Relay DeviceNetS canner xl Power Supply Power Supply Hide All Cards Power Supply To continue with configuring the 1769 HS
93. e 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 preset 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 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 TIP The Ctr1 Config Storage Mode bits are reserved if NumberofCounters_1 and NumberofCounters_0 are set to 00 one counter Attempting to set reserved bits will result in a configuration error IMPORTANT Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 120 for a list of prohibited settings Linear CtrOContig Linear through Ctr3Config Linear This bit indicates how the counter operates upon reaching a Ctr MinCount or CtrmMaxCount e 0 Ring Counter e Linear Counter See page 28 for a description of ring and linear counter operation IMPORTANT Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate
94. e counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 120 for a list of prohibited settings Cyclic Rate Update Time CtrnCyclicRateUpdateTime IMPORTANT The Counter Scalar information does not apply to the L23E packaged controller because rate measurement is not supported Sonia Aray Wa eee ee me we le le me wo 14 Counter 0 Cyclic Rate Update Time CtrOCyclicRateUpdateTime 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 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 120 for a list of prohibited settings See Cyclic Rate Calculation Method current rate on page 32 for more information on cyclic rate Rockwell Automation Publication 1769 UMOO06E EN P July 2013 81 Chapter4 Module Configuration Output and Input Data Configuration Flags ContiuratonArayWonds is a o o o oe oe or w we m e om oI 15 Counter 0 Config
95. e number of counts that 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 120 for a list of prohibited settings Counter Scalar CtrnScalar IMPORTANT The Counter Scalar information does not apply to the L23E packaged controller because rate measurement is not supported Configuration Array Words 15 14 13 12 n jio 09 os jor os os joa fos oz jor 00 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 CtrvScalar can be used to determine RPM To configure the Ctr z CurrentRate value to show an RPM value set CtrScalar to counts per revolution 60 See page 34 for more information IMPORTANT For any counter being used do not set Scalar to a value less than one or a configuration error will occur 80 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 IMPORTANT Do not change this value while th
96. e outputs 0 and 1 turn on when the Current Count value is within the specified ranges 142 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software Appendix C Add a 1769 HSC Module to The example in this section uses a MicroLogix 1500 controller to add a a MicroLo gix 1500 Syst em A module into the MicroLogix 1500 system by using ogix 500 software 1 Start the RSLogix 500 software 2 Click New The Select Processor Type dialog box appears Select Processor Type x Processor Name UNTITLED 1747 L524 5702 CPU 4K Mem 1747 1514 5 01 CPU 4K Mem 1747 L511 5701 CPU 1K Men Bul 1764 Micrologiz P Series Bul 1764 Micrologizx 1500 LRP Series B Bul 1764 Micrologizx 1500 LSP Series C Bul 1764 Micrologizx 1500 LSP Series B Bul 1764 MicroLogix 1500 LSP Series A Bul 1762 MicroLogixz 1200 Series C Bul 1762 MicroLogix 1200 Series B Bul 1762 MicroLogix 1200 Series A Bul 1761 MicroLogixz 1000 Analog Bul 1761 MicroLogix 1000 DH 48S5 HDSlave Bul 1761 Microloaix 1000 fe Communication settings Driver Processor Node Reply Timeout AB_DF1 1 7 fi Dacimal 1 Who Active fro Sec Octal 3 Select the correct controller type Bul 1764 MicroLogix 1500 LRP Series C for this example 4 Type a Processor Name and click OK The project window appears RSLogix 500 Unti
97. ed that the individual counter reset function for the 1769 HSC B module applies to only CompactLogix controllers and not MicroLogix controllers e Changed hex equivalent values for general common hardware errors e Changed the input file update time to 500 is max 1769 U MO006C EN P Updated the counter reset in the configuration array for bits 12 15 The November 2010 individual counter reset functionality for the 1769 HSC series B module is reverse logic with a 0 enabled and a 1 disabled for RSLogix 5000 software The firmware change applies to only the 1769 HSC series B module Rockwell Automation Publication 1769 UMOO06E EN P July 2013 155 Appendix E History of Changes Notes 156 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 accumulated value ACC actuator address algorithm American wire gauge AWG analog circuit asynchronous AWG backplane balanced circuit bandwidth baseband link bidirectional I O module Glossary The following terms and abbreviations are used throughout this manual For definitions of terms not listed here refer to the Allen Bradley Industrial Automation Glossary publication AG 7 1 The number of elapsed time intervals or counted events 1 A device that converts an electrical signal into mechanical motion 2 In a general sense any machine process load device for example transducer of a controller output circuit See output device page
98. eeees 155 EAN E NR ETE EA O EEEE EE A UN Oa et eh Ne 157 odie dtu necro ise dotcigh T E wane penne Mae 165 8 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Preface Packaged Controller Functionality Additional Resources Use this manual if you are responsible for designing installing programming or troubleshooting control systems that use Compact I O and or MicroLogix 1500 or CompactLogix controllers Both the 1769 L24ER QBFC1B and 1769 L27ERM QBFC1B packaged controllers provide the same high speed counter HSC functionality as the 1769 HSC except for the input frequency While many features of the 1769 HSC module are available with the embedded high speed counters some of the features of the 1769 HSC module are not available with the embedded high speed counters of the CompactLogix packaged controllers Features not available on the embedded high speed counters include rate timer functions and limited output range control 4 ranges instead of the 16 available with the 1769 HSC module Specific differences between the 1769 HSC module and the packaged controller functionality are noted throughout this manual The CompactLogix Packaged Controllers Quick Start and User Manual publication IASIMP QS010 provides wiring diagrams configuration procedures and tag descriptions for the embedded high speed counters These documents contain additional information concerning related products from Rockwell Automation
99. equested packet interval RPI run mode sensor single ended synchronous tag unbalanced circuit Glossary ControlLogix feature that lets a user install or remove a module or RTB while power is applied A configured parameter that defines when the module will multicast data In this mode the controller program is executing Inputs are actively producing data Outputs are actively controlled A digital or analog transducer a device such as a limit switch push button switch 8 8 P pressure sensor or temperature sensor that generates an electrical signal through an input circuit to a controller 1 Unbalanced as when one side is grounded See unbalanced circuit page 163 2 Contrasted with differential page 159 1 In step or in phase as applied to two or more circuits devices or machines 2 Contrasted with asynchronous page 157 A named area of the controllers memory where data is stored like a variable For example an I O definition file can contain a tag definition for each I O with each I O definition containing a unique tag name by which the I O can be addressed 1 A circuit whose two sides are electrically dissimilar as when one side is grounded 2 Contrasted with balanced circuit page 157 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 163 Glossary Notes 164 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 A additional resources 9 array confi
100. erational Mode Selection 21 Input Frequency 28 Counter Types 28 Modifying Count Value 29 Rate Timer Functionality 32 Output Control 36 When the module powers up all output array and configuration array values are set to their default values Refer to Chapter 4 on page 65 or Appendix D on page 149 for default values All input array values are cleared None of the module data is retentive through a power cycle Power cycling the module has the following effects e Clears stored counts and configurations e Clears faults and flags e Turns outputs off Rockwell Automation Publication 1769 UMOO06E EN P July 2013 15 Chapter 2 Module Operation Module Operation B lock To provide an overview of the module operation the block diagrams indicate Di relationships between module functions and configuration parameters lagrams Inputs The following diagram illustrates how the inputs function Filtering Decoded Discrete Input State E NumberOfCounters Operational Mode Pulse Direction biren Dirlnhibit Pulse Interval Min Max and Linear Ring ren ee Overflow ResetOv determine how and when Underflow ResetUdf to use to calculate rates Store 2 Does not apply to packaged CtrnConfig StorageMode_0 controller RisingEdgeZ reset REz Zinhibit Z nvert Enable L CtrnEn cuncong Storagemode 1 InputStateZn gating Direct Write HiLimOrDirWr LoadDirectWrite ToThisCounte
101. es after which it was un inhibited then the current count instead of starting with 11 will be 21 for the next pulse RREZ Reset Rising Edge Z CtrnResetRisingEdgeZ A 0 to 1 transition causes the Ctr z RisingEdgeZ bit to be reset RPW Reset Counter Preset Warning CtrnResetCtrPresetWarning A 0 to 1 transition causes the Ctr z PresetWarning bit to be reset Rockwell Automation Publication 1769 UMO06E EN P July 2013 93 Chapter4 Module Configuration Output and Input Data Range High Limit or Direct Write Value Range12T015 n HiLimOrDirWr IMPORTANT For the L23E packaged controllers embedded HSC the ranges referred to in this section are numbered 0 3 instead of 12 15 The ranges in this section apply to only the 1769 HSC module and the CMX 5370 L2 packaged controllers embedded HSC Output Array Words 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 10 and 11 Range 12 High Limit Direct Write Value Range12To15 0 HiLimOrDirWr 16and17 Range 13 High Limit Direct Write Value Range12To15 1 HiLimOrDirWr 22 and 23 Range 14 High Limit Direct Write Value Range12To15 2 HiLimOrDirWr 28 and 29 Range 15 High Limit Direct Write Value Range12To15 3 HiLimOrDirWr This value can be used in one of two ways depending on the setting of the Load Direct Write Range12To15 z LoadDirectWrite bit When Load Direct Write 0 When Range12To15 z LoadDirectWrite 0 then Rangel2To15 z HiLimO
102. es for the The delay between the time the module receives a pulse and when the Compact bus real output to reach 90 output voltage after commanded by the module not including processor scan time Timing 500 us max 400 us max Output turn off time The time it takes for the real output to reach 10 output voltage after commanded by the module not including the processor scan time 200 us max Rate accuracy 126 The accuracy of the reported rate as compared to actual input rate in the equation reported rate actual input rate Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Depends on frequency See Rate Accuracy on page 127 Specifications Appendix A R ate Accura cy The following graph shows rate error at various frequencies The following trends can assist you in reading the graph e Ofthe lines that rise at low frequencies the left most is a 10 second update time CtrzCyclicRateUpdateTime 10000 e The right most of these lines is a 1 millisecond update time CtrmCyclicRateUpdateTime 1 e The line that rises at high frequencies illustrates Ctr z PulseInterval Figure 21 Rate Errors Comparison 10 aT ANTI BTA a AL VAT A 7 i IC A 10 00 1 000 10 000 100 000 1 000 0 Frequency Hz ar 5 10 50 100 e 500 1000 10000 5 Error Perce
103. extend beyond the minimum rate or count value TIP When Range12To15 n LoadDirectWrite is set Range12T015 n LowLimit is ignored Rockwell Automation Publication 1769 UMO06E EN P July 2013 95 Chapter4 Module Configuration Output and Input Data Range Output Control Range12T015 n OutputControl IMPORTANT For the L23E packaged controllers embedded HSC the ranges referred to in this section are numbered 0 3 instead of 12 15 The ranges in this section apply to only the 1769 HSC module and the CMX 5370 L2 packaged controllers embedded HSC Output Array Words Range 12 Output Control Range121015 0 OutputControl Range12To15 1 OutputControl Range12To15 2 OutputControl Range12To15 3 OutputControl Range 13 Output Control 26 Range 14 Output Control Range 15 Output Control This 16 bit word indicates which outputs should be on corresponding bit set in this word when a range is active When Rangez is enabled and active Range12To15 z OutputControl will be logically ORed with other Range12To15 z OutputControl masks and the OutputOnMask z and so forth as described on page 89 When Range12To15 z LoadDirectWrite is set Rangel 2To15 z OutputControl is ignored Range Configuration Flags 12T015 IMPORTANT For the L23E packaged controllers embedded HSC the ranges referred to in this section are numbered 0 3 instead of 12 15 The ranges in this section apply to only the 1769 HSC mod
104. ge Module Operation Chapter 2 IMPORTANT The Rate Range information does not apply to the packaged controller In anon 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 Figure 10 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 ranges Figure 10 Rate Range Example a k 1 1 000 000 7 Range 4 a Range 2 i Range 4 l l a Range3 j l On D a a off Output 0 Output 1 l i i Output 2 i i i Output 3 TE i i Table 10 Rate Range Example Values PS Outputs 5 S b S po Range n OutputControl word 3 E z 2 b 2 as 14 13 12 41 10 9 7 3 2 1 o amp 5 i od n o os lo D o o 5 2 Pel P 2 2 os E ce ee c ce c So 1 00 1 7000 5000 0 0 o JO O 10 lO JO 1 10 2 00 1 1000 4500 0 0 o JO O 10 lO JO 0 l1 3 00 1 4000 3000 0 0 o JO O 10 l0 JO 0 2 4 00 1 20 000 20 000 1 0 o Jo O 10 lO JO 1 Oand3 1 For Range Type 0 count range and 1 rate range 2 Bits 0 3 are re
105. gs Not used Inv Not used Typ Not used ToThisCtr e 69 Range 3 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 75 Range 4 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 81 Range 5 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 87 Range 6 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 93 Range 7 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 99 Range 8 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 105 Range 9 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 111 Range 10 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 117 Range 11 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e ToThisCtr RangeOTo1 1 n ToThisCounter This 2 bit value indicates which counter is used in the range comparison for range 7 as shown in the table Bit 01 Counter 0 0 0 1 1 2 1 1 3 86 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 IMPORTANT _ If this value is greater than NumberOfCounters a configuration error occurs Type RangeOTo1 1 n Type This bit indicates which type of value to use for the range comparison in range 7 This value and RangeOTo11 ToThisCounter determine the current value that is used in range compari
106. guration defaults 149 input defaults 152 output defaults 153 C cable 54 channel diagnostics 113 CompactLogix controller application example 131 compatibility 11 configuration array 66 149 defaults 149 error 115 errors 66 flags 67 68 71 82 control bits 92 count overflow 106 underflow 106 value 28 29 counter basic description 12 configuration summary 18 control bits 88 89 preset warning 108 reset 66 72 type linear counter 28 ring counter 29 current count 98 104 draw 123 rate 105 cyclic rate update time 67 81 D defaults configuration array 66 149 counter 15 111 counter maximum count 78 151 counter minimum count 79 151 counter preset 79 counter reset 73 74 counter scalar 80 151 cyclic rate update time 81 151 default safe state 43 input array 152 number of counters 75 151 output array 88 153 DeviceNet adapter compatibility 15 65 dimensions 128 Index DIN rail mounting 52 direct write 30 value 94 direction inhibit 21 93 invert 21 93 E electrical noise 47 enable counter 92 error BadCounterMode 117 BadCounterNum 117 BadCtrAssignToRange 118 BadHysteresis 117 BadMin 117 BadModConfigUpdate 117 120 BadPreset 117 BadRangeLimit 118 BadScalar 117 BadScale 118 codes 116 configuration 66 115 critical 113 cyclic rate error 35 definitions 114 extended error information field 114 general configuration error 117 general error bit 98 102 hardware
107. he 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 possible to use a ring lug 6 35 mm 0 25 in maximum outside diameter with 3 53 mm 0 139 in minimum inside diameter 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 Nem 6 lbein 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 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 Wire Size and Terminal Screw Torque Each terminal accepts up to two wires with these restrictions Terminal Screw Retaining Screw Torque Torque 0 32 2 1 mm 22 14 AWG 0 68 Nem 0 46 Nem 4 1lbein 0 46 Nem 4 1 Ibein Wire Type Cu 90 C 194 F 0 32 1 3 mm 22 16 AWG Stranded Cu 90 C 194 F 56 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Installation and Wiring Chapter 3 Wire the Modules After the module is properly installed wire the modules by using this procedure To provide proper operation and high immunity to electrical
108. inary Binary X462 010 00110 0010 BadScalar_2 The Ctr2Scalar value is invalid that is less than one when NumberofCounters 10 or 11 X463 010 00110 0011 BadScalar_3 The Ctr3Scalar value is invalid that is less than one when NumberofCounters 11 X470 010 001110000 BadScale_0 The CtrOCyclicRateUpdateTime is invalid that is less than one X471 010 00111 0001 BadScale_1 The Ctr1CyclicRateUpdateTime is invalid that is less than one when NumberofCounters 01 10 or 11 X472 010 001110010 BadScale_2 The Ctr2CyclicRateUpdateTime is invalid that is less than one when NumberofCounters 10 or 11 X473 010 00111 0011 BadScale_3 The Ctr3CyclicRateUpdateTime is invalid that is less than one when NumberofCounters 11 X480 010 0 1000 0000 BadRangeLimit_0 The Range0To1 1 0 LowLimit is greater than or equal to the Range01o1 1 0 HighLimit X481 010 0 1000 0001 BadRangeLimit_1 The Range0T011 1 LowLimit is greater than or equal to the Range01011 1 HighLimit X482 010 0 1000 0010 BadRangeLimit_2 The Range0To1 1 2 LowLimit is greater than or equal to the Range01o011 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 Range0To1 1 4 LowLimit is greater than or equal to the Range01o1 1 4 HighLimit X485 010 0 1000 0101 BadRangeLimit_5 The Range0To1 1 5 LowLimit is greater than or equal to the Range01o01 1 5 HighLi
109. ings Program Mode and Program State Run ee KARE CECA Out2 Outl OutO Out3 Out2 ca OutO PSR PSR PSR PSR PM IPM PM_ PM Program Mode Out0ProgramMode through Out3ProgramMode The program mode bits configure the output for Hold Last State HLS or User defined Safe State UDSS during Program State e 1 Hbold Last State e 0 User defined Safe State IMPORTANT Program Mode and Program State Run apply only to certain controllers Refer to your controller s documentation for more information The packaged controllers embedded HSC does not support this feature Program State Run Out0ProgramStateRun through Out3ProgramStateRun Program State Run lets you 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 logic is not running You must take care to make sure that this does not ATTENTION Selecting this option lets outputs change state while ladder AN 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 caused by this retentive output instructions for
110. ion example 141 149 compatibility 11 minimum count 67 71 79 module configured 102 module error field 114 mounting 50 number of counters 18 75 0 operating block diagrams 16 description 15 operational mode 82 output array 88 array defaults 153 basic description 12 block diagram 17 control 36 control example 43 fault mode 67 77 fault state run 67 77 fault value 67 78 isolation 62 off mask 36 88 89 91 on mask 36 88 89 overcurrent autoreset operation 62 program mode 66 70 program state run 66 program value 66 77 required power supply 62 terminal block wiring 58 thermal protection 62 transient pulse warning 63 wiring diagram 64 overcurrent 40 feedback 102 OverCurrentLatchOff bit 62 72 overflow 28 29 34 linear counter 28 P panel mounting 50 power up diagnostics 112 preset 67 71 79 preset reset 31 program alteration 110 mode 76 state run 41 76 to fault enable 43 75 pulse external direction 22 internal direction 23 interval 99 105 Rockwell Automation Publication 1769 UMO06E EN P July 2013 range active 98 100 103 configuration flags 86 88 90 96 control 37 enable 88 89 91 high limit 68 84 94 direct write value 88 90 invert 87 98 low limit 68 84 88 90 95 output control 68 85 88 90 96 type 87 97 rate 32 accuracy 36 127 method 35 range 32 valid 34 107 readback 44 98 101 real outputs 36 removing terminal block 55 replacing a module 53 reset 31 73 blown
111. ions from Otol See Counter Types on page 28 for more information about linear and ring counters REZ Rising Edge Z Ctr 0 RisingEdgeZ to Ctr 1 RisingEdgeZ This bit is set 1 when Zz as modified by the CtraZInvert and CtraZInhibit bits has a rising edge It is reset 0 by a 0 to 1 transition of the CtraResetRisingEdgeZ bit in the output array N is equal to 0 or 1 depending upon which input is used Z0 or Z1 106 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 IDW Invalid Direct Write Ctr 0 InvalidDirectWrite to Ctr 3 InvalidDirectWrite IMPORTANT For the L23E packaged controllers Embedded HSC the ranges referred to in this section are numbered 0 3 instead of 12 15 The ranges in this section apply to only the 1769 HSC module and the CMX 5370 L2 packaged controllers Embedded HSC This bit is set when the Range12To15 z HiLimOrDirWr is invalid For example if CtrnMaxCount lt Range12To15 z HiLimOrDirWr or Range12To15 z HiLimOrDirWr lt CtrzMinCount When this error occurs the entire output array is rejected until a valid configuration is detected 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 IfNumberOfCounters lt 1 then setting one of the cont
112. is drawn from the output the output will still turn off according to the programmed OverCurrentLatchOff bit configuration The module s Default Safe State configuration is all zeros resulting in the following e Program State UDSS e Program Value OFF e Program State Run No e Fault State UDSS e Fault Value OFF e Fault State Run No e PFE leave program value applied Output Control Example The following example illustrates the module s output control flow The following conditions are reflected in the Output Control Example on page 44 e Range 0 is enabled and active e Range 1 is disabled e Range 2 is enabled but not active e An overcurrent condition exists on real output 3 e OvercurrentLatchOff is set e The system is in Run mode Rockwell Automation Publication 1769 UMOO6E EN P July 2013 43 Chapter 2 Module Operation Table 11 Output Control Example Table 11 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 have been discussed in the previous sections Output Parameter Mask Information Logical Operation Result Range 0 0001 0110110 1 000 1 OR 10 0001 Range 1 001011
113. 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 still is checking for errors or contains errors and the old configuration is still being used TIP The module takes up to two seconds to validate configuration data Invalid Output InvalidOutput e 1 an unused bit in the output array is set e 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 OutzOvercurrent e InvalidRangeLimitz e InvalidCtrAssignIoRangen e InvalidOutput Ctr z Overflow Ctr z Underflow Ctr z InvalidDirectWrite e Ctr z InvalidCounter e Ctrin n Taa ae ia ae PresetWarning where 7 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 TIP Ctr n RateValid does not set the GenError bit Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Invalid Counter Assigned to Range InvalidCtrAssignToRange12 through InvalidCtrAssign ToRange 15 Inva
114. is the direction Rockwell Automation Publication 1769 UMOO6E EN P July 2013 21 Chapter 2 Module Operation Pulse External Direction Mode Selection In this mode the B input controls the direction of the counter as shown in Figure 3 Ifthe B input is low 0 the counter increments on the rising edges of input A If the input B is high 1 the counter decrements on the rising edges of input A TIP Two Output Control bits let you modify the operation of the B input from your control program or during configuration The Direction Inhibit bit when set 1 disables the operation of 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 e When the Direction Inhibit bit is set 1 and Direction Invert 0 count direction is up forward e When the Direction Inhibit bit is set 1 and Direction Invert 1 count direction is down reversed Figure 3 Pulse External Direction Mode direction inhibit 0 direction invert 0 gl Count Pulse Ue Input A Encoder or Sensor Direction Control o Input B o Input Z Sensor or Switch aans FULLA Direction Control j High Decrement Low Increment Count 22 Rockwell Automation Publication 1769 UMOO6E EN
115. isions prior to 11 0 and the 1769 ADN B DeviceNet adapter Topic Page Counters 12 Inputs 12 Outputs 12 Hardware Features 13 Status Indicators 14 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 11 Chapter 1 Module Overview Counters Inputs Outputs 12 The module is capable of counting pulses in either direction forward reverse up down A maximum of four pulse counters or two 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 L23 packaged controller s HSC module functionality does not provide rate values 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 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 The module features six high speed differential inputs labeled A0 B0 Z0 A1 B1 and Z1 These inputs support two quadrature encoders with ABZ inputs and or up to four discrete count inputs In addition x1 x2 and x4 encoder configurations are provided
116. k frequencies above the threshold frequency Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 Operati onal M ode A count channel s operational mode configuration selection determines how the Selection A and B inputs cause a counter channel to increment or decrement The six available mode selections are the following Pulse External Direction Input Pulse Internal Direction Input Up and Down Pulse Input X1 Quadrature Encoder Input X2 Quadrature Encoder Input X4 Quadrature Encoder Input IMPORTANT The operational mode selection is limited by the number of counters selected e With two counters selected Counters 0 and 1 can be assigned any operational mode e With three counters selected Counter 0 can be assigned any mode but Counters 1 and 2 can only be configured as pulse internal direction e With four counters selected all counters must be configured for the pulse internal direction mode See Figure 2 on page 19 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 TIP When set the Direction Inhibit bit disables any physical input from affecting count direction When set the Direction Invert bit changes the direction of the counter in all operational modes When Direction Inhibit is set then Direction Invert
117. l 50 Range 0 Output Control 0 0 0 9 8 7 56 Range 1 Output Control 0 0 0 9 8 7 62 Range 2 Output Control 0 0 0 9 8 7 68 Range 3 Output Control 0 0 0 9 8 7 74 Range 4 Output Control 0 0 0 9 8 7 80 Range 5 Output Control 0 0 0 9 8 7 86 Range 6 Output Control 0 0 0 9 8 7 92 Range 7 Output Control 0 0 0 9 8 7 98 Range 8 0 Control 0 0 0 9 8 7 104 Range 9 0 trol 0 0 0 9 8 7 110 Range 10 Outp 0 0 0 9 8 7 0 0 0 9 8 7 Range 11 Outpu Control Rockwell Automation Publication 1769 UMOO06E EN P July 2013 85 Chapter4 Module Configuration Output and Input Data These 16 bit words indicate which outputs 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 91 and on page 89 Range Configuration Flags IMPORTANT The Range Configuration Flag information does not apply to the L23E packaged controller Configuration Array Words 15 14 13 12 n 10 09 los 07 05 04 03 o2 jor 00 51 Range 0 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 57 Range 1 Configuration Flags Not used Inv Not used Typ Not used ToThisCtr e 63 Range 2 Configuration Fla
118. lace the Module within a System on page 53 Refer to the illustration when assembling the Compact I O system 1 Disconnect the 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 screwdriver 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 making sure it s locked firmly in place ATTENTION When attaching 1 0 modules it is very important that the bus connectors are securely locked together to provide 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 8 Lock the end cap bus terminator G IMPORTANT A 1769 ECR right or 1769 ECL left end cap must be used to terminate the end of the serial communication bus Rockwell Automation Publication 1769 UMOO6E EN P July 2013 49 Chapter3 Installation and Wiring Mount the Module 50 Use these procedures to mount your module ATTENTION During panel or DIN rail mounting of all devices be sure A that all debris metal chips wire strands is kept from falling into the module Debris that falls into the module c
119. ld Rockwell Automation Publication 1769 UMOO06E EN P July 2013 3 ow Chapter 2 34 Module Operation Scalar You can configure the Ctr Scalar value to scale or convert the raw rate value to application specific information such as RPM Revolutions Per Minute Setting CtraScalar to 1 leaves the rate value in cycles per second Hertz The actual rate equation is the following 1000 x A count CyclicRateUpdateTime x Scalar Current Rate TIP To configure the Ctr n CurrentRate value to show an RPM value set CtrnScalar to counts per revolution 60 For example where Ctr0CyclicRateUpdateTime 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 RPM 200 RPM 80 Cyclic Rate Update Time x 360 counts revolution 60 sec min Rate Valid The Ctr z RateValid bit indicates calculation integrity When the bit is set it indicates that the accompanying Ctr n CurrentRate value is accurate The Ctr 7 RateValid bit is reset when the overflow or underflow events have occurred that is at rising edges of Ctr 7 Overflow or Ctr z Underflow bits It also happens when the count is abruptly modified via a preset CtrSoftPreset CtraCtrPresetWarning or Z based preset event or direct write Range12To15 z LoadDirectWrite When this occurs the Ctr 7 CurrentRate value is frozen a
120. lel link thus limiting its distance from the processor 2 Contrasted with remote I O page 162 A module revision that is updated any time there is a functional change to the module resulting in an interface change with software A module revision that is updated any time there is a change to the module that does not affect its function or software user interface A location for installing a module In typical modular construction modules plug into a backplane each module slides into a slot that lines it up with its backplane connector Data transmissions which reach a specific group of one or more destinations The smallest repetitive time interval in which the data can be sent on a ControlNet network The NUT can be configured over the range from 2 ms 100 ms by using the RSNetWorx software 161 Glossary node output device owner controller period power supply producer consumer model program mode proximity switch sensor pulse quadrature remote connection remote I O 162 The connection point at which media access is provided 1 For a computer a CRT terminal or printer 2 For a programmable controller see actuator page 157 The controller that creates and stores the primary configuration and communication connection to a module 1 The length of time for a cyclical operation to complete one full cycle For example the length of time from one point in a cyclical wave form to the sa
121. lication example demonstrates how to wire an 845F optical incremental encoder to a 1769 HSC module and ultimately monitor the Current Count value in the MicroLogix 1500 controller We also will control two onboard outputs with two ranges IMPORTANT The individual counter reset functionality in the 1769 HSC B module applies only to CompactLogix controllers You cannot use the individual counter reset functionality with MicroLogix controllers MicroLogix 1500 Controller 1769 HSC 1764 LRP or 1764 LSP Module 1769 ECR End Cap Terminator l 845F SJBZ24CKYA1 Encoder Rockwell Automation Publication 1769 UMOO06E EN P July 2013 141 Appendix Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software 845F Encoder Wiring to the 845F Encoder Wire Color 1769 HSC Terminal 1769 HSC Module Blue Black Wire Pair Blue At 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 Scope These steps are used in this example 1 Add the 1769 HSC module into a MicroLogix 1500 system by using RSLogix 500 software 2 Configure the 1769 HSC module by entering configuration information into I O Configuration created in RSLogix 500 software for the 1769 HSC module 3 Monitor the Current Count value from the 1769 HSC module 4 Verify that modul
122. lidCtrAssignToRange 12 is set when the indicated range in the output array refers to a non existent counter e Itis set 1 when Range12To15 z ToThisCounter gt NumberOfCounters e It is cleared 0 when Range12To15 z ToThisCounter lt 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 z HiLimOrDirWr and Range12To15 z LowLimit in the output array e 1 Range limits are invalid e 0 noerror When this error occurs the entire output array is rejected until a valid configuration is detected Range Active RangeActive 0 through RangeActive 15 Input Array Word 3 15 4 13 12 jn 10 o9 los 07 06 jo jo 03 o2 lo 00 Range Active RangeActive 0 through RangeActive 15 Input Array Word 3 15 14 J13 12 jn jio o9 los o7 06 o5 fog 03 0o2 lo 00 This word reflects 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 inactive false TIP When the range is enabled and active the output mask for that range is applied Rockwell Automation Publication 1769 UMO06E EN P July 2013 103 Chapter4 Module Configuration Output and Input Data Current Count Ctr n Cu
123. mation Changes throughout this revision are marked by change bars as shown to the right of this paragraph New and Upd ated This table contains the changes made to this revision Information Topic Pages 31 32 37 40 66 70 72 73 74 76 80 81 84 85 86 88 89 95 96 97 98 100 101 105 107 121 Changes were made to differentiate between the available high speed counters modules Rockwell Automation Publication 1769 UMOO6E EN P July 2013 3 Summary of Changes Notes 4 Rockwell Automation Publication 1769 UMO06E EN P July 2013 Preface Module Overview Module Operation Table of Contents Packaged Controller Functionality ii7 2 viessesiaseetid boiawas des 9 Hedditionalesoutces lt 1 424 4s vane dvdetda aurea hie haw earaeree eed aes 9 Chapter 1 Counteis eee sured Sis beeen dad wale iho ence Lda atts 12 TAU tS Geta wcy trates a E fou seme ey A a ees Sem 12 CDE UE ers ais lie EE E E S TRES E Nea A OOS Matas 12 Hardware Features an cocrs oesosea cance eseptn roy etearna hae els wes 13 Satis Pacicitorercs a a bok l ech le eee ne kok ol alah dg 14 Chapter 2 Counter Demis ccrashwsduae dat sua harateokeeioand kuamiunuisind 15 Module Operation Block Diagrams jo cavievein aves tcu eek ok eee 16 IAPUts c awit dove voue es Se ua Nas bebe nmes abe ew eset Oes 16 OU BUS ankar e i e Saad ena ease yao eke aes 17 Number of Counterscc css ana oh aise ees da ea 18 Summary of Available Counter
124. me point in the next cycle of the wave form 2 Compare duration page 159 and interval page 161 A device that converts available power to a form that a system can use usually converts AC power to DC power Intelligent data exchange system devices in which the HSC module produces data without having been polled first Devices that need the data consumers recognize the data they need and consume it Therefore data only needs to be sent out on the network in a single message no matter how large the number of nodes to which it needs to go In this mode the controller program is not executing Inputs are actively producing data Outputs are not actively controlled and go to their configured Program mode state A switch sensor that is actuated when an actuating device is moved near it without physical contact A momentary sharp change in voltage current or light from its quiescent condition Separation in phase by 90 Used on single channels of feedback devices such as encoders and resolvers to detect the direction of motion An I O connection where the controller establishes an individual connection with I O modules in a remote chassis 1 I O connected to a processor across a serial link With a serial link remote I O can be located long distances from the processor 2 Contrasted with local I O page 161 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 removal and insertion under power RIUP r
125. ment is sensitive to electrostatic discharge which can cause internal damage and affect normal operation Follow these guidelines when you handle this equipment e Touch a grounded object to discharge potential static e Wear an approved grounding wriststrap e Do not touch connectors or pins on component boards e Do not touch circuit components inside the equipment e Use a static safe workstation if available Store the equipment in appropriate static safe packaging when not in use WARNING Hazardous Location Enclosure When used in a Class Division 2 hazardous location this equipment must be mounted in a suitable enclosure with proper wiring method that complies with the governing electrical codes 46 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Power Requirements General Considerations Installation and Wiring Chapter 3 The modules receive power through the Compact bus interface from the SV DC 24V DC system power supply The maximum current drawn by the modules is shown in the table Module Current Draw 5V DC 24V DC 425 mA OmA WARNING When you insert or remove the module while backplane power is on an electrical arc can occur This could cause an explosion in hazardous location installations By sure that power is removed or the area is nonhazardous before proceeding Repeated electrical arcing causes excessive wear to contacts on both the module and its mating connector Wor
126. mit X486 010 0 1000 0110 BadRangeLimit_6 The Range0To1 1 6 LowLimit is greater than or equal to the Range01o01 1 6 HighLimit X487 010 0 1000 0111 BadRangeLimit_7 The Range0To1 1 7 LowLimit is greater than or equal to the Range01011 7 HighLimit X488 010 0 1000 1000 BadRangeLimit_8 The Range0To1 1 8 LowLimit is greater than or equal to the Range01o1 1 8 HighLimit X489 010 0 1000 1001 BadRangeLimit_9 The Range0To1 1 9 LowLimit is greater than or equal to the Range01o1 1 9 HighLimit X48A 010 0 1000 1010 BadRangeLimit_10 The RangeOTo11 10 LowLimit is greater than or equal to the Range0To11 10 HighLimit X48B 010 0 1000 1011 BadRangeLimit_11 The RangeOTo11 11 LowLimit is greater than or equal to the Range01011 11 HighLimit X490 010 0 1001 0000 BadCtrAssignToRange_0 This error occurs if you try to set Range0To11 0 ToThisCounte an invalid value that is 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 Range0To11 1 ToThisCounte an invalid value that is 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 ToThisCounte an invalid value that is to a counter that is not available due to the number of counters selected 118 Rockwell Autom
127. 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 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 make sure that they cross at right angles Terminal Block Guidelines For 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 Guidelines 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 if used are required only 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 module input end only Refer to the Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 for additional installation requirements 54 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Installation and Wiring Chapter 3 Considerations for Reducing Noise In high noise environments the 1769 HSC module inputs can accept false pulses particularly when using low frequenc
128. n CtrnSoftPreset and a Range121015 n LoadDirectWrite to counter nare indicated at the same time only the CtrnSoftPreset will occur When more than one range indicates a Range121015 n LoadDirectWrite to a single counter only the one from the lowest designated range will take effect Range Low Limit Range12To15 n LowLimit IMPORTANT For the L23E packaged controllers embedded HSC the ranges referred to in this section are numbered 0 3 instead of 12 15 The ranges in this section apply to only the 1769 HSC module and the CMX 5370 L2 packaged controllers embedded HSC Sp ay Wo e e e e oo ew ew wo we ew Lm ew ew oe 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 Range12To015 2 LowLimit 30 and 31 Range 15 Low Limit Range12To015 3 LowLimit This value is used in the range comparison It is the complement of the Range12To15 z HiLimOrDirWr value in setting the compare window When the rate or count value is equal to Range12To15 z LowLimit the range will change state opposite of the action at Range12To15 HiLimOrDirWr The range will become active or inactive depending on the Range12To15 z Invert bit TIP Range12To15 n LowLimit must be lower than the Range121015 n HiLimOrDirWr or the InvalidRangeLimitn error flag in the input array will be set TIP Like Range12To15 n HiLimOrDirWr Range12To015 n LowLimit can
129. n Publication 1769 UMOO06E EN P July 2013 111 Chapter 5 Diagnostics and Troubleshooting Module Diagnostics The 176 HSC module offers power up configuration and post configuration diagnostics High Speed Counter 45272 Indicator 0 OUT Power up Diagnostics Color Amber At module powerup a series of internal diagnostic tests are performed These diagnostic tests must be successfully completed or the OK status indicator remains off and a module error results and is reported to the controller Table 18 Diagnostic Indicators Indicates 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 Non critical versus Critical Module Errors on page 113 The OK status indicator flashes red for all of the error codes in the Configuration Error Codes table on page 117 AO Amber ON OFF status of input AO Al Amber N OFF status of input A1
130. n contacts can create electrical resistance that can affect module operation When you connect or disconnect the removable terminal block RTB with field side power applied an electrical arc can occur This could cause an explosion in hazardous location installations i WARNING Removable Terminal Block RTB Under Power Be sure that power is removed or the area is nonhazardous before proceeding Compact I O is suitable for use in an industrial environment when installed in accordance with these instructions Selecting a Location to Reduce 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 When selecting a location for a module position the module away from the following e Sources of electrical noise such as hard contact switches relays and AC motor drives e Modules that generate significant radiated heat such as the 1769 IA16 module 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 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 47 Chapter 3 48 Installation and Wiring Protect
131. n versus Counter Operation Counter Defaults Diagnostics and Troubleshooting Chapter 5 The module performs operations at two levels e Module level e Counter level Module level operations include functions such as powerup 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 indicator 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 When the module powers up all output array and configuration array values are set to their default values See page 66 in Chapter 4 or Appendix D on page 149 for default values All input array values are cleared None of the module data is retained through a power cycle In effect this means that power cycling clears the module with these results e Stored counts are lost e Faults and flags are cleared e Outputs are off The bus master will attempt to write program data to the output array and configuration array Rockwell Automatio
132. ncoder Wire Color 1769 HSC Terminal Blue black wire pair Blue AO 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 Scope 132 These steps are used in this example 1 Add the 1769 HSC module into a CompactLogix system by using RSLogix 5000 software 2 Configure the 1769 HSC module by entering configuration information into Configuration and Output tags created in RSLogix 5000 software 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 within the specified ranges Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software Appendix B Add a 1769 HSC Module to a CompactLogix System The example in this section uses a 1769 L32E controller to add a 1769 HSC Module into the CompactLogix System by using RSLogix 5000 software 1 Start the RSLogix 5000 programming software The Quick Start window appears Click New Project Choose your controller and revision number New Controller xj Vendor Type Revision Name Description Chassis Type Slat Create In Allen Bradley 1789 L32E Compact ogiv332E Controller X 19 v Cancel
133. nfiguration W Flags Table 15 Output Array L23E Packaged Controller Enbedded HSC Function sw a fe o e e e e e ew e a Out Out Out Out Out Out Out Out Out Out Out Output On Mask oe at st por f J eo fae fer e e 1 Out Out Out Out vi ale Out ou a ae ee ve a m n 7 Output Off Mask 2 R3 R2 R1 RO Notused Range Enable 3 Not used Not used 4 Not used RBF Not used Reset Blown Fuse 5 Not used RPW RREZ Zinh Zinv Dinh Dinv RU RO SP En Counter 0 Control Bits 6 Not used RPW RREZ Zinh Zinv Dinh Dinv RU RO SP _ En Counter 1 Control Bits 7 Not used RPW Not used Din RU RO SP _ En J Counter 2 Control Bits 8 Not used RPW Not used Din RU RO SP En J Counter 3 Control Bits 9 Not used Not used 10 RangeHighLimit_DWV_0 Range High Limit or Direct Write Value 0 RangeLowLimit_0 Range Low Limit 0 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 89 Chapter4 Module Configuration Output and Input Data Table 15 Output Array L23E Packaged Controller Enbedded HSC Continued Word Bit Function 14 Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out Out Range Output Mask 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 Not used Rinv Not used LDW Not used RCntrNum Range Configuration
134. ng upon the number of counters and the operational mode configuration of the input points The table summarizes the input configurations available for all counters based on the number of counters No of Counters 1 Counter 2 Counters 3 Counters 4 Counters Counter Operational Mode Gate or Preset Functionality 0 Any All 1 through 3 Not available 0 Any All 1 Any All 2 and 3 Not available 0 Any All 1 Pulse Internal Direction All 2 Pulse Internal Direction None 3 Not available 0 Pulse Internal Direction All 1 Pulse Internal Direction All 2 Pulse Internal Direction None 3 Pulse Internal Direction None Rockwell Automation Publication 1769 UMOO6E EN P July 2013 CO CEO CGO Module Operation The counter options and operating modes are summarized in Figure 2 Figure 2 Summary of Available Counters Counter 0 Counter 2 gt Any Mode Not Available Y Counter 1 Counter 3 Not Available Not Available 1 Counter Counter 0 Counter 2 Any Mode Pulse Internal Counter 1 Pulse Internal Counter 3 Not Available 3 Counters Counter 0 Counter 2 Any Mode Not Available Counter 1 Counter 3 Any Mode Not Available y 2 Counters Counter 0 Counter 2 Pulse Pulse Internal Internal Counter 1 Counter Pulse Pulse Internal Internal 4 Counters 1 The number of counters is defined by the NumberOfCounters bits in word 0
135. nt 4 3 2 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 127 AppendixA Specifications Temperature Derating 128 Refer to the following figures for 1769 HSC temperature derating Figure 22 Maximum Input Voltage 24V DC Operation Voltage Derating Based on Temperature 26 4V DC at 30 55 CTT F 25 S 2 2 15 7 10 ee 0 0 32 10 50 20 68 30 86 40 104 50 122 60 140 70 158 Ambient Temperature C F 45204 Temperature Derated Voltage 0 40 C 32 104 F 30V DC 55 C 131 F 26 4V DC 60 C 140 F 5V DC 1 Input voltage derating between 55 60 C is achieved by using a dropping resistor For 24V DC input voltage use a 2 4 KQ W resistor For input voltages greater than 24V DC use a W resistor with value 125 x Vi 5V Figure 23 Maximum Output Voltage 24V DC Operation Voltage Derating Based on Temperature 31 30 ao 29 a 2 7 26 4V DC at 27 t31 F 26 T T i T T T 0 32 10 50 20 68 30 86 40 104 50 122 60 140 70 158 Ambient Temperature C F 45205 Temperature Derated Voltage 0 40 C 32 104 F 30V DC 55 60 C 131 140 F 26 4V DC Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Specifications Appendix A Figure 24 Maximum Out
136. nt or Current Rate ACTIVE INACTIVE gt l l l l l l Invert Bt 1 lt ACTIVE l INACTIVE i ACTIVE gt l Input Array Low Limit High Limit or Direct Write Value The input array which consists of 35 words allows read only access to the module s input data via word and bit 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 Depending on the bus master you may not see this TIP Status bits for a particular counter reflect the configuration settings for that counter To receive valid status the counter must be enabled and the module must have stored a valid configuration for that counter Table 16 Input Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC 15 14 Function 0 Not used Input State 1 Readback 0 through Readback 15 Readback 2 InvalidRangeLimit1 InvalidCtrAssignToRange1 Gen Invalid Mod Not used OutOOvercurrent through Status Flags 2 through 2 through Error Output Config Out3Overcurrent InvalidRangeLimit1 InvalidCtrAssignToRange1 5 5 3 RangeActive 0 through RangeActive 15 Range Active 4 Ctr 0 CurrentCount Counter 0 Current Count 5 6 Ctr 0 StoredCount Counter 0 Stored
137. o eben 34 Rate Valid sate case Sa fakin tS T SEOS 34 Rate Method Selection s s uuuessserrrruurrrrrrrrrrrrrrr 35 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 5 Table of Contents Installation and Wiring Module Configuration Output and Input Data Output Contre ica cigeedaita qe dd ance ERE EERS 36 E NE E hal Seal ardour pat had aN eaAige a key Inglace EA 36 ek pee Oe EE EMEC RT aT E rN end ne Poe A Ee REESE 37 OV eh CURTERE eenean eee a r to aemb E E tem maya ert as 40 Safe State Control as a tiie t eaa e a ciate Candies else 40 Output Control Pxamples t2ccaventowskags y centen eaeahueeeb es 43 Readback Loopback sak ve nas ox snenna se enide des span oko aels 44 Chapter 3 Power Requirements custaidv s hacia satagtaed ee pian wea eee EEES 47 General Considerations sacan0dsas cin peta de susees sei tia enadeads 47 Selecting a Location to Reduce Nois s scswsdiisiedeed bdsawee es 47 Protect the Circuit Board from Contamination 48 Power Supply Distance 042 ea ada ene dene es a a 48 System Assem ply r a ati ae whens aoe ene eens nae Soke 49 Mount the Module cn Viti elon e ah ule ol Matas Veale Sok ate 50 Mininuth Spacing ions x taatias cde oenen a EPEE N as 50 Panel Wo miei srir eeen i e tid Slabs Gel Rane 50 DIN Rail Mountings ovsced ds i eee ewes es 52 Replace the Module within a System fev vey cs ited eet cies eee 53 Field Wiring Connections ss 52235 saiusin ic axel a ps Roa ornate aes
138. of the configuration array Rockwell Automation Publication 1769 UMOO06E EN P July 2013 Chapter 2 19 Chapter 2 Input Filtering Module Operation 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 shown in the table Input AO A1 BO B1 Z0 Z1 Filter 5 ms 500 us 10 us no filter 7 1 ms 715 us 18 5 us no filter for the packaged controller The filters are selected for each input in the Filter Selection word of the module s configuration array TIP The input state bits InputStateA0 through InputStateZ1 reflect the filter s inputs but are NOT affected by the signal inhibit or invert operations described on page 30 Nom Filter Settings Max Guaranteed Blocked Pulse Width Min Guaranteed Pass Pulse 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 7 4 Us 67 5 kHz 25 Us 20 kHz 500 ps 1 kHz 370 us 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 50 duty cycle and are for reference purposes only Hence the no filter setting is guaranteed
139. of the encoder and the capability of the controller to process encoder signals can not be the same An electronic keying protection mode that requires the physical module and the module configured in the software to match identically according to vendor catalog number major revision and minor revision 1 Wiring completed before the product was shipped from the factory in which it was built 2 Contrasted with field wiring page 160 Interface between user field wiring and I O module 1 Wiring connected by the user after the user receives the product 2 Contrasted with factory wiring page 160 1 The effect of residual magnetism whereby the magnetization of a ferrous substance lags the magnetizing force because of molecular friction 2 The property of magnetic material that causes the magnetic induction for a given magnetizing force to depend upon the previous conditions of magnetization 3 A form of nonlinearity in which the response of a circuit to a particular set of input conditions depends not only on the instantaneous values of those conditions but also on the immediate past of the input and output signals A ControlLogix process that lets you configure an I O module but prevent it from communicating with the owner controller In this case the controller does not establish a connection See sensor page 163 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 intelligent I O module interval I O module
140. ogram_HLS or UDSS state indicated When this bit is set the corresponding OutzProgramMode and OutwProgramValue bits are ignored PSR sets the module according to the value configured for Output Program State Run as described on page 76 logic is not running You must take care to assure that this does not pose a ATTENTION Selecting this option lets outputs change state while ladder AN 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 caused by this retentive output instructions for example latch or unlatch 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 because presetting a counter enabling a range changing a mask and changing module configuration array settings can cause ranges and outputs to change state Rockwell Automation Publication 1769 UMOO06E EN P July 2013 41 Chapter 2 42 Module Operation Fault State Run FSR Similar to Program State Run Fault State Run lets you 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 Fault_HLS or UDSS state indicated When this bit i
141. on Sg ii Backplane CompactLogix System fA 1769 L32E Your_Controller_Name El 1769 L32E Ethernet Port LocalENB ga Ethernet E roeas aca eee m The Select Module dialog box appears 134 Rockwell Automation Publication 1769 UMO06E EN P July 2013 Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software Appendix B 7 Select the left most I O module in your 1769 CompactLogix chassis and click OK E Select Module x Module Description Vendor Digital 4 1769 1416 16 Point 120 AC Input Allen Bradley 1769 1481 8 Point Isolated 120 AC Input Allen Bradley 1769 IG16 16 Point O 5 5 DC TTL Input Allen Bradley 1769 IM12 12 Point 240 AC Input Allen Bradley 1769 1Q16 16 Point 24 DC Input Sink Source Allen Bradley 1769 IQ16F 16 Point 24 DC High Speed Input Allen Bradley 1769 1932 32 Point High Density 24 DC Input Allen Bradley 1769 1Q32T 32 Point High Density 24 DC Input Allen Bradley Point 24 DC Sink Source Input 4 Point AC DC Relay Allen Bradley 1769 0416 Point 100 240 AC Output Allen Bradley 1769 048 8 Point 100 240 AC Output Allen Bradley 1769 OB16 16 Point 24 DC Output Source Allen Bradley zi gt Find Add Favorite By Category Favorites ae j Lo d c f e The New Module dialog box appears 8 In the Name box type a name and click OK The module is added to the I O Configu
142. or 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 Table 20 Module Error Types Error Type Module Error Field Value Bits Description 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 Errors 010 Module specific error codes are indicated in the extended error field These error codes correspond to options that you can change directly For example the input range or input filter selection 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 the General Common Hardware Error Codes table on page 116 for more information 114 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Configuration Errors Diagnostics and Troubleshooting Chapter 5 If you
143. ould cause damage at powerup Minimum Spacing Maintain spacing from enclosure walls wireways adjacent equipment and so forth Allow 50 mm 2 in of space on all sides for adequate ventilation as shown Host Controller Compact 1 0 Compact 0 Compact 0 Compact 1 0 Compact 0 Panel Mounting Mount the module to a panel by using two screws per module Use M4 or 8 panhead screws Mounting screws are required on every module mounting surface such as a metal panel Additional grounding connections from the power supply s mounting tabs or DIN rail if used are not required unless the mounting surface cannot be grounded Refer to Industrial Automation Wiring and Grounding Guidelines Rockwell Automation publication 1770 4 1 for additional information i ATTENTION This product is intended to be mounted to a well grounded Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Installation and Wiring Chapter 3 Figure 11 Compact I 0 Module with CompactLogix Controller and Power Supply Mounting Hole 50 mm 70 mm 35 mm Dimension 1 97 in lt T276in 7 38in 28 5 mm 5mm 35mm 35mm J 112 in Hamn teint Aan K rN A A ex Ezz OE OLE gt 322 EIS B g w A lt p 3 y g Oo m i B BS 7
144. our dynamically Jj configurable ranges are available Ranges activate outputs based on the current count value Each range is programmed with a 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 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 TIP Ranges can be disabled while the module is running using the RangeEn n bit in the output file However even a disabled range will report when it is active or 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 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 37 Chapter 2 Module Operation 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
145. ple 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 last two pulses that have been processed Rockwell Automation Publication 1769 UMOO06E EN P July 2013 105 Chapter4 Module Configuration Output and Input Data Input Array Words Counter 0 Status Flags Not used Status Flags Counter 1 Status Flags Not used 28 Not used Counter 2 Status Flags C1PW RV IC IDW REZ CUdf COvf used 34 Counter 3 Status Flags Not used C3PW RV IC IDW CUdf COvf 1 Bit 05 is not used for the packaged controller 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 CtrmResetCountOverflow bit transitions from 0 to 1 See Counter Types on page 28 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 CrrzResetCountUnderflow bit transit
146. plete the return process Outside United States Please contact your local Rockwell Automation representative for the return procedure Documentation Feedback Your comments will help us serve your documentation needs better If you have any suggestions on how to improve this document complete this form publication RA DU002 available at http www rockwellautomation com literature Rockwell Otomasyon Ticaret A S Kar Plaza Is Merkezi E Blok Kat 6 34752 erenk y stanbul Tel 90 216 5698400 www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Furope Middle East Africa Rockwell Automation Vorstlaan Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 1769 UMOO6E EN P July 2013 Supersedes Publication 1769 UMO06D EN P May 2011 Copyright 2013 Rockwell Automation Inc All rights reserved Printed in the U S A
147. put Current per Point 5V DC Operation Current Derating Based on Temperature 0 5 A at 60 C 140 F Current per Point A 0 32 10 50 20 68 30 86 40 104 50 122 60 140 70 158 Ambient Temperature C F 45207 Temperature Derated Current 0 40 C 32 104 F 1A 60 C 140 F 0 5A Figure 25 Maximum Output Current per Module 5V DC Operation Current Derating Based on Temperature 2 A at 60 C 140 F Current per Module A BO 0 0 32 10 50 20 68 30 86 40 104 50 122 60 140 70 158 Ambient Temperature C F 45207 Temperature Derated Current 0 40 C 32 104 F 4A 60 C 140 F 2 0A Rockwell Automation Publication 1769 UMOO6E EN P July 2013 129 Appendix A 130 Figure 26 Maximum Output Current per Point 24V DC Operation Current Derating Based on Temperature Current per Point A 0 25 A at 60 C 140 F 0 32 10 50 20 68 30 86 40 104 50 122 60 140 70 158 Ambient Temperature C F 45208 Temperature Derated Current 0 40 C 32 104 F 1A 55 C 131 F 0 5 A 60 C 140 F 0 25 A Figure 27 Maximum Output Current per Module 24V DC Operation Current Derating Based on Temperature Current per Module A NS 1 A at 60 C 140 F 0 0 32 10 50 20 68 30 86 40 104 50 122 60 140 70 158 Ambient Temperature C
148. r Preset CtrnSoftPreset CtrnConfig StorageMode_2 and Rising Edge Z Automatic PresetWarning Preset Warning 1 Resets 16 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 3 Does not apply to Rate Update Time Scalar Hysteresis Rate Valid Overflow Underflow Preset Direct Write packaged controller Module Operation Chapter 2 Outputs The following diagram illustrates how the outputs function Mode Object Value n n Program Current Count Fault Current Rate Mode Program Fault Run Discrete Ranges Overcurrent Hold Last State Bi Mask High Limit Overcurrent Flags Program Mode Off Mask Low Limit OverCurrentLatchOff Fault Mode Type ile ateal aureus User defined Safe State Invert Program State Fault State Safe State Run Counter Active Program State Run Fault State Run Range Enable Program to Fault Enable Output Control Readback Real and Virtual Feedback Output Real Only 1 In the packaged controller the Type parameter is fixed at Count because the rate measurement is not supported Rockwell Automation Publication 1769 UMOO06E EN P July 2013 17 Chapter 2 Module Operation Number of Counters Summary of Available Counter Configurations 18 The module has six input points AO BO Z0 A1 B1 and Z1 Through these inputs the module can function with 1 2 3 or 4 counters dependi
149. rDirWr is used in the range comparison range represents a count value or a rate value according to the programmed range type Range12To15 z Type When the range value is equal to Range12To15 z HiLimOrDirWr Rangen will change state The range will become active or inactive depending on the Range12To15 z Invert bit Range Value Current Count or Current Rate Invert Bit 0 lt C INACTIVE ACTIVE INACTIVE gt l l Invert Bit 1 i ACTIVE INACTIVE ACTIVE gt l Low Limit High Limit or Direct Write Value TIP Range12T015 7 HiLimOrDirWr must be higher than the Range121015 n LowLimit or the InvalidRangeLimitn error flag in the input array will be set TIP Range121015 n HiLimOrDirWr can be higher than the maximum rate or count value For example when the object value is a rate Range12T015 n HiLimOrDirWr can be programmed in excess of 1 000 000 with no configuration error 94 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 When Load Direct Write 1 When Range12To15 z LoadDirectWrite 1 then Range12To15 z HiLimOrDirWr is used to change the Ctr z CurrentCount to Range12To15 z HiLimOrDirWr When the Range12To15 z LoadDirectWrite bit transitions from 0 to 1 then Range12To15 z HiLimOrDirWr is loaded into Ctr z CurrentCount where is the counter indicated in Range12To15 z ToThisCounter TIP Whe
150. rOConfig Linear 0 Individual Counter Reset Disable NumberOfCtrs PFE CtrRst JOCLO GeneralConfigBits OvercurrentLatchOff 1 Filter Z1 Filter_B1 Filter A1 Filter_Z Filter_BO Filter_A0 FilterA0_0 FilterAO_1 Z1 1 Prov cFaultEn a 2 Outs Out2 Outi fOut0 Out3 Out2 Outi OutO OutOProgramStateRun Out3 and Number0fCounters_0 PSR PSR PSR PSR PM _ PM_ PM_ PM__ Out0ProgramMode Out3 NumberOfCounters_1 3 Out3 Out2 Out Out0 OutOProgramValue Out3 PV PV PV PV 4 Out3 jOut2 fOut1 fOutO jOut3 Out2 Outi JOutO OutOFaultStateRun Out3FaultStateRun and FSR FSR FSR FSR FM FM FM FM OutOFaultMode Out3FaultMode 5 Out3 Out2 Out1 fOutO OutOFaultValue Out3FaultValue FV FV FV FV 6 CtrOMaxCount CtrOMaxCount 7 8 CtrOMinCount CtrOMinCount 9 0 CtrOPreset CtrOPreset 1 2 CtrOHysteresis CtrOHysteresis 3 Ctr0Scalar CtrOScalar 4 CtrOCyclicRateUpdateTime CtrOCyclicRateUpdateTime 5 Linear Storage Mode Operational Mode CtrOConfigFlags CtrOConfig OperationalMode_0 CtrOConfig OperationalMode_1 3 6 CtrIMaxCount CtrIMaxCount CtrOConfig OperationalMode_2 7 CtrOConfig StorageMode_0 F i CtrOConfig StorageMode_1 Mindu Minco CtrOConfig StorageMode_2 0 1 2 Preset Preset 2 22 Hysteresis Hysteresis 23 Scalar Scalar 24 CyclicRateUpdateTime CyclicRateUpdateTime 25 i Storage Mode ConfigFlags Ctr1Config OperationalMode_0 Ctr1Config OperationalMode_1 26 Ctr2MaxCount C
151. rOControlBits CtrOEn RPW RREZ Zinh Ziv Dinh Din RCU CtriControlBits ESI See RPW Dinv RCU RCO P En Ctr2ControBits CtrOResetCountUnderflow CtrODirectionInvert RPW Ctr3ControlBits CtrODirectionInhibit Ctr0ZInvert Reserved CtrOZInhibit x es F CtrOResetRisingEdgeZ Range12T015 0 HiLimOrDirWr Range12To0150 HiLimOrDirWr CtrOResetCtrPresetWarning Range12To15 0 LowLimit Range12T015 0 LowLimit Out15 Out14 Out13 Out12 Out11 Out10 OutO9 OutO8 OutO7 OutO6 Out05 Outd4 Outd3 Out02 Out01 OutOO Range12T015 0 0utputControl 0 15 nv LDW Type ToThisCtr Range12To15 0 Config Flags gt Range12T015 0 ToThisCounter_O Range12T015 0 ToThisCounter_1 Range12T015 1 HiLimOrDirWr Range12T015 1 HiLimOrDirWr Range12To15 0 Type Range12T015 0 LoadDirectWrite x Range12To15 0 Invert Range12To15 1 LowLimit Range12T015 1 LowLimit Qut15 Outi4 Out13 Out12 Out11 Out10 OutO9 OutO8 OutO7 OutO6 OutOS OutO4 OutO3 OutO2 OutO1 OutOO jRange12T015 1 OutputControl 0 15 nv LDW Type ToThisCtr Range12T015 1 Config Flags Range12T015 1 ToThisCounter_0 Range12To015 1 ToThisCounter_1 Range12To15 2 HiLimOrDirWr Range12To15 2 HiLimOrDirWr Range12To15 1 Type Range12T015 1 LoadDirectWrite T To Range12T015 1 Invert Range12To15 2 LowLimit Range12To015 2 LowLimit Out15 Outi4 Outi3 Out12 Out11 Out10 OutO9 Out08 OutO7 OutO6 OutOS OutO4 OutO3 OutO2 OutO1
152. range is enabled CtrOEn Ctr1En Ctr2En Ctr3En or RangeEn set to 1 Attempting to do so will result in a BadModConfigUpdate error See page 120 for a list of prohibited settings Filter Selection Conguaton Anoy Woni 35 e 3 pie o o pe oe o oe e e e e a oI Filter Selection Filter_Z1 Not FilterB1 Not FilterA1 FilterZ0 Not FilterBO Not FilterA0 used used used used This value indicates the nominal filter frequency as shown in the table Filters and FilterA0 Bit 1 FilterA0_1 Bit 0 FilterA0_0 Corresponding Bits f 7 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 Nominal None 0 0 Frequency Settings 0 01 ms minimum pulse width 0 1 0 0185 ms for the packaged controller 0 5 ms minimum pulse width 1 0 0 715 ms for the packaged controller 5 ms minimum pulse width 1 1 7 1 ms for the packaged controller Rockwell Automation Publication 1769 UMOO6E EN P July 2013 75 Chapter 4 Configuration Array Word 2 Output Program Mode and Output Program State Run 76 Module Configuration Output and Input Data IMPORTANT _ Do not set these bits while certain counters or ranges are enabled Attempting to do so will result ina BadModConfigUpdate error See page 120 for a list of prohibited sett
153. ration J 1 0 Configuration fff Backplane CompactLogix System ff 1769 L32E Your_Controller_Name 1769 L32E Ethernet Port LocalENB a Ethernet CompactBus Local A 1 1769 IQ6XOW4 B My_IQ6xow4 9 Repeat steps 6 through 8 until all of your local I O modules are added in order from left to right 88 CompactBus Local S 1 1769 IQ6XOW4 B My_IQ6xow4 f 2 1769 0v16 B My_ov16 P 3 1769 IF4 B My_IF4 9 CREE In this example the 1769 IF4 and 1769 HSC B modules must be configured For information on configuring the 1769 IF4 module refer to the Compact I O Analog Modules User Manual publication 1769 UM002 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 135 Appendix B Program a 1769 HSC Module CompactLogix Controller and 845F Incremental Encoder with RSLogix 5000 Software Configure the 1769 HSC Module 136 When the 1769 HSC module is added to the CompactLogix project input output and configuration tags are automatically created in the Controller Tags area 1 In the Controller Organizer double click the 1769 HSC module The Module Properties dialog box appears 2 Click the Input Configuration tab zio x General Connection Input Configuration Counter Configuration Output Configuration Number of Counters 2 x Filter AO None Reset Counters Iv Filter 41 None Over Current Latch Off E Filter BO None Me Filter B1
154. refers to the end use information in the particular context thereby excluding the protocol information used to get the end use information The part of processor memory that contains I O values and files where data is monitored manipulated and changed for control purposes The entire body of data that has to do with one or more related subjects Typically it consists of a collection of data files 1 Pertaining to a method of signal transmission through two wires The transmission always has opposite states The signal data is the polarity difference between the wires when one is high the other is low Neither wire is grounded The circuit can be either a balanced circuit a floating circuit or a circuit with a high impedance path to ground from either end Usually used in reference to encoders analog I O circuits and communication circuits 2 Contrasted with single ended page 163 1 A switching circuit that has only two states on and off 2 A circuit that provides a step function 3 Contrasted with analog circuit page 157 An I O connection where the controller establishes an individual connection with I O modules 1 An I O module for which each input or output that has an individual connection that corresponds directly to a data table bit or word that stores the value of the signal at that I O circuit digital or analog This lets the ladder logic have direct access to the I O values 2 Contrasted with intelligent I O
155. res Rockwell Automation Publication 1769 UMOO06E EN P July 2013 45 Chapter3 Installation and Wiring North American Hazardous Location Approval The following information applies when operating this equipment in hazardous locations Products marked CL I DIV 2 GP A B C D are suitable for use in Class Division 2 Groups A B C D Hazardous Locations and nonhazardous locations only Each product is supplied with markings on the rating nameplate indicating the hazardous location temperature code When combining products within a system the most adverse temperature code lowest T number may be used to help determine the overall temperature code of the system Combinations of equipment in your system are subject to investigation by the local Authority Having Jurisdiction at the time of installation EXPLOSION HAZARD Informations sur l utilisation de cet equipement en environnements dangereux Les produits marqu s CL I DIV 2 GP A B C D ne conviennent qu une utilisation en environnements de Classe Division 2 Groupes A B C D dangereux et non dangereux Chaque produit est livr avec des marquages sur sa plaque d identification qui indiquent le code de temp rature pour les environnements dangereux Lorsque plusieurs produits sont combin s dans un syst me le code de temp rature le plus d favorable code de temp rature le plus faible peut tre utilis pour d terminer le code de temp rature global du
156. responding real or virtual output See Output Control on page 36 and Output Control Example on page 43 for more information about output determination TIP The corresponding Output Off Mask bit must be set to enable this bit Output Off Mask OutputOffMask 0 through OutputOffMask 15 Output Array Word 1 Output Off Mask 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 36 and Output Control Example on page 43 for more information about output determination TIP This mask can be overridden when a safe state is indicated Range Enable RangeEn 0 through RangeEn 15 Output Array Word 2 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Range Enable R15 R14 R13 R12 R11 R10 R9 R8 R7 RE RO R4 R3 R2 R1 RO Output Array Word 2 15 14 133 12 11 10 09 08 07 06 05 04 03 02 01 00 Range Enable R3 R2 Rl RO When the bit corresponding to the range number is set Range z OutputControl is applied whenever the range is active Rockwell Automation Publication 1769 UMOO6E EN P July 2013 91 Chapter4 Module Configuration Output and Input Data RBF Reset Blown Fuse ResetBlownFuse Dapa Se Se W Ow oe lw wm mle
157. rforming 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 Non critical versus Critical Module Errors on page 113 The OK indicator flashes red for all of the error codes in the Configuration Error Codes table on page 117 A0 Amber ON OFF status of input AO Al Amber ON OFF status of input A1 B0 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 ON Possible causes for all status indicators to be On include the following e Bus error has occurred controller hard fault Cycle power e During load upgrade of controller normal operation Do not cycle power during the load upgrade e All indicators flash on briefly during powerup normal operation Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Counter Defaults Chapter 2 Module Operation This chapter details the operation of the 1769 HSC module We strongly suggest that you review this information before configuring your module Topic Page Counter Defaults 15 Module Operation Block Diagrams 16 Number of Counters 18 Summary of Available Counter Configurations 18 Input Filtering 20 Op
158. rol bits for Counter 1 will result in input error flag Ctr 1 InvalidCounter e IfNumberOfCounters lt 2 then setting one of the control bits for Counter 2 will result in input error flag Ctr 2 InvalidCounter e IfNumberOfCounters 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 The control bits are shown on page 92 RV Rate Valid Ctr 0 RateValid to Ctr 3 Rate Valid IMPORTANT For the L23E packaged controllers Embedded HSC the RV value does not apply they are not used and are always set to 0 The RV values in this section apply to the 1769 HSC module and the CMX 5370 L2 packaged controllers Embedded HSC This bit is set 1 when the rate value indicated in Ctr CurrentRate is current When this bit is reset 0 Ctr CurrentRate is frozen at the last known good value This bit is reset when the Ctr z Overflow or Ctr z Underflow bits have been set during the last CtrwCyclicRateUpdateTime period See page 34 for more Rate Valid reset conditions Rockwell Automation Publication 1769 UMOO6E EN P July 2013 107 Chapter4 Module Configuration Output and Input Data CuPW Counter Preset Warning Ctr 0 PresetWarning to Ctr 3 PresetWarning This bit is set when Ctr 7 CurrentCount has been forced by the module to the CtrnPreset val
159. ror is 1 in 1000 or 0 1 Error for a variety of pulse values is shown below Table 7 Per Pulse Errors Actual 1 ps Reported Real Frequency Reported Error ama Pulses Frequency 2 500 kHz MHz 100 9 0 111 kHz 00 kHz 11 1 101 100 9 901 kHz 0 000 kHz 1 00 1001 1000 999 Hz 000 Hz 0 10 9999 0 000 100 01 Hz 00 00 Hz 0 010 99 999 100 000 10 00010 Hz 0 00000 Hz 0 001 1 1 9999 can be rounded to 2 and so on Cyclic Method Because 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 8 Maximum Cyclic Rate Errors CyclicRateUpdate Frequency Time x Scalar 1 MHz 1 0 210 10 20 11 2 020 0 210 0 030 100 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 Rockwell Automation Publication 1769 UMOO06E EN P July 2013 35 Chapter 2 Module Operation Output Control 36 All 16 outputs can be controlled by any of the four counters or by the user s control program via the output mask function Output states are determined by count rate not supported in packaged controller ranges mask configuration data overcurrent status and safe state settings and conditions The 16 outputs are made up of four real physical outputs and 12 virtual outputs The s
160. roup and put the others aside This reduces remounting time during drilling and tapping of the next group Repeat steps 1 through 6 for any remaining modules DIN Rail Mounting The module can be mounted on the following DIN rails EN 50 022 35 x 7 5 mm 1 38 x 0 3 in EN 50 35 x 15 mm 1 38 x 0 59 in 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 Figure 13 DIN Rail Mounting Dimensions A 7 a xf Dimension Height B A 118 mm 4 65 in A B 59 mm 2 325 in k C 59 mm 2 325 in C Yv y 52 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Installation and Wiring Chapter 3 Replace the Module within The module can be replaced while the system is mounted to a panel or DIN rail a System 10 Remove power referring to the Warning on page 47 Remove terminal block or disconnect input and or output wiring from the module Remove the upper and lower mounting screws from the module or open the DIN latches using a screwdriver On the module to be replaced and the right side adjacent module or end cap if the module is the last module in the bank move the bus levers to the right unlock to disconnect the module from the adjacent modules Gently slide
161. rrentCount Input Array Words 15 14 13 12 n 10 jo os o7 joe os jos jos oz jo 00 4 Counter 0 Current Count Ctr 0 CurrentCoun 5 14 Counter 1 Current Count Ctr 1 CurrentCoun 15 24 Counter 2 Current Count Ctr 2 CurrentCoun 25 30 Counter 3 Current Count Ctr 3 CurrentCoun 31 This is the 32 bit count value from the counter Stored Count Ctr n StoredCount mAr e e e e n e e e lo lw me mle e lH oO 6 Counter 0 Stored Count Ctr 0 StoredCount 7 16 Counter 1 Stored Count Ctr 1 StoredCount 17 This is the last stored 32 bit value from counter 7 The count value is stored depending on the CtrwConfig StorageMode and Zz inputs When a storage event occurs the Ctr z RisingEdgeZ bit is set indicating that the value is new If more than one Zz occurs before the Ctr z RisingEdgeZ bit is reset using the CtrwResetRisingEdgeZ bit the Ctr 7 StoredCount word will contain only the last Ctr StoredCount value There is no indication that the data has been overwritten 104 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Current Rate Ctr 0 CurrentRate to Ctr 3 CurrentRate IMPORTANT For theL23E packaged controllers embedded HSC the current rate words do not apply they are always returned as 0 in the input array The rate words in this
162. s set the corresponding Fault mode and fault value bits are ignored FSR sets the module according to the value configured for Output Fault State Run as described on page 77 ATTENTION Selecting this option lets outputs change state while A 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 can have an effect on the outputs To overcome any changes in physical output states caused by this use retentive output instructions for example latch or unlatch 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 because presetting a counter enabling a range changing a mask and changing configuration array settings can cause ranges and outputs to change state Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 Program to Fault Enable PFE The ProgToFaultEn bit lets you 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 TIP If the module is in a safe state such as Program or Fault which is configured to turn an output ON and excessive current
163. section apply to the 1769 HSC module and the CMX 5370 L2 packaged controllers embedded HSC input Array Words ie e 2 A io oo we or os os oa us yo or Rate 8 Counter 0 Current Rate Ctr 0 Curren 9 18 Counter 1 Current Rate Ctr 1 CurrentRate 19 26 Counter 2 Current Rate Ctr 2 CurrentRate 27 32 Counter 3 Current Rate Ctr 3 CurrentRate 33 This 32 bit value is the current rate value scaled by Ctr Scalar from the counter This uses the Cyclic Rate Calculation Method See page 32 for more information Rate based ranges use this value for comparisons even when the Ctr z RateValid bit is zero IMPORTANT This value is current only when the Ctr n RateValid bit is set 1 Pulse Interval Ctr 0 Pulselnterval and Ctr 1 Pulselnterval IMPORTANT For the L23E packaged controllers embedded HSC the pulse interval words do not apply they are always returned as 0 in the input array The pulse interval words in this section apply to the 1769 HSC module and the CMX 5370 L2 packaged controllers embedded HSC input Array Words m a pe pe A wo we we or os os oe os oe or oo 10 Counter 0 Pulse Interval Ctr 0 Pulselnterval 11 20 Counter 1 Pulse Interval Ctr 1 Pulselnterval 21 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 exam
164. set the fields in the configuration file to invalid or unsupported values the module ignores the invalid configuration generates a non critical error and keeps operating with the previous configuration The Configuration Error Codes table on page 117 lists the possible module specific configuration error codes defined for the module Correct the error by providing proper configuration data to the module Table 21 describes configuration errors in more general terms Table 21 Error Conditions by Type of Configuration Programming Words General Configuration Bits Filters and Safe State Words Error Conditions e Unused or Reserved bit were set e A counter or counters were running when the general configuration bits or filter and safe state words were sent Counter Configuration e Unused or Reserved bit were set e 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 lt 1 CtrnCyclicRateUpdateTime lt 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 were set e RangeOtol
165. son as the rate or count value Range0To11 n Type Range Type Count Value 1 Rate Value Inv Range0To1 1 n Invert This bit indicates whether the range 7 should be active inside or outside the Range0To1 1 z Low Limit and Range0To1 1 HighLimit window e 0 The range z is active when the rate or count value is at or between Range0To1 1 z Low Limit and Range0To1 1 z HighLimit When the range is active the RangeActive x 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 z is active when the rate or count value is lower than or equal to Range0To1 1 7 LowLimit or higher than or equal to Range0To1 1 z 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 TIP Ranges can be active in overflow underflow and rollover situations Rockwell Automation Publication 1769 UMOO06E EN P July 2013 87 Chapter4 Module Configuration Output and Input Data Outp ut Array The output array which consists of 34 words lets you 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
166. ss than CtrmMaxCount or a configuration error occurs Allowable values are from 2 147 483 648 to CtrmzMaxCount 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 IMPORTANT Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 120 for a list of prohibited settings Counter Preset CtrnPreset ee ee ee eS Se eee le 10 ter 0 Preset CtrOPrese Configuration Array Words 20 ter 1 Preset Ctr1Prese 21 30 ter 2 Preset Ctr2Prese 31 40 ter 3 Preset Ctr3Prese 41 This value can be used to change the current count value of countera on certain gate Zz events and when Ctr SoftPreset is used CtrmPreset must be greater than or equal to CtrzMinCount and less than CtrmMaxCount The default value is zero Rockwell Automation Publication 1769 UMOO6E EN P July 2013 79 Chapter4 Module Configuration Output and Input Data Counter Hysteresis CtrnHysteresis IMPORTANT The Counter Hysteresis information does not apply to the L23E packaged controller because rate measurement is not supported Configuration Array Words 15 14 13 12 n jio fog og joz jos o5 jog jos oz o 00 12 Counter 0 Hysteresis CtrOHysteresis 22 Counter 1 Hysteresis Ctr1Hysteresis 32 Counter 2 Hysteresis Ctr2Hysteresis 42 Counter 3 Hysteresis Ctr3Hysteresis The hysteresis value is th
167. syst me Les combinaisons d quipements dans le syst me sont sujettes a inspection par les autorit s locales qualifi es au moment de l installation RISQUE D EXPLOSION e Do not disconnect equipment unless power has been removed or the area is known to be nonhazardous e Do not disconnect connections to this equipment unless power has been removed or the area is known to be nonhazardous Secure any external connections that mate to this equipment by using screws sliding latches threaded connectors or other means provided with this product e Substitution of any component may e f this product contains batteries they must only be changed in an area known to be nonhazardous impair suitability for Class Division 2 e Couper le courant ou s assurer que environnement est class non dangereux avant de d brancher quipement e Couper le courant ou s assurer que environnement est class non dangereux avant de d brancher les connecteurs Fixer tous les connecteurs externes reli s cet quipement a aide de vis loquets coulissants connecteurs filet s ou autres moyens fournis avec ce produit e La substitution de tout composant peut rendre cet quipement inadapt a une utilisation en environnement de Classe Division 2 e S assurer que l environnement est class non dangereux avant de changer les piles ATTENTION Prevent Electrostatic Discharge This equip
168. t the last known good value so that 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 can be up to twice the CtrmCyclicRateUpdateTime 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 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 Ctr 7 RateValid bit is seldom or never set the CtrnMinCount and CtrmMaxCount values can be configured too close to each other Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 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 n Pulselnterval in your control program Use the following information to choose the appropriate calculation method In general 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 of the 1 us clock between pulses an error of 1 count results in a 1 in 100 or 1 error If there are 1000 counts between pulses then the er
169. t until the overcurrent situation is corrected The four physical outputs can be latched off only The virtual outputs are not affected IMPORTANT During the retry period the physical output and the 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 TIP Correct short circuit and overload conditions as soon as possible If short circuit and overload conditions occur for extended periods damage can occur Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Installation and Wiring Chapter 3 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 ATTENTION A transient pulse occurs in transistor outputs when the A external DC supply voltage is applied to the output common terminals for example 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 Refer to your controller s user manual to reduce inadvertent operation Figure 17 illustrates that the duration of the transient is proportional to the load current Therefore as the on state lo
170. tatus 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 You can use an Output On Mask or an Output Off Mask 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 that is set in the mask turns on the corresponding real or virtual output 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 can be turned on or off by the ranges or the Output On Mask The final result is available as the Readback v bit Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 Ranges For the 1769 HSC module and the embedded HSC in the CMX 5370 L2 packaged controllers up to 16 dynamically configurable ranges are available i 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 For the embedded HSC in the L23E packaged controller up to f
171. ter than the Ctr1MaxCount or ess than the Ctr1MinCount X442 010 0 0100 0010 BadPreset_ The programmed Ctr2Preset is greater than the Ctr2MaxCount or ess than the Ctr2MinCount X443 010 0 0100 0011 BadPreset_3 The programmed Ctr3Preset is greater than the Ctr3MaxCount or ess than the Ctr3MinCount X450 010 0 0101 0000 BadHysteresis_0 The CtrOHysteresis value is invalid that is less than zero X451 010 0 0101 0001 BadHysteresis_1 The Ctr1Hysteresis value is invalid that is less than zero X452 010 0 0101 0010 BadHysteresis_2 The Ctr2Hysteresis value is invalid that is less than zero X453 010 0 0101 0011 BadHysteresis_3 The Ctr3Hysteresis value is invalid that is less than zero X460 010 00110 0000 BadScalar_0 The CtrOScalar value is invalid that is less than one X461 010 0 0110 0001 BadScalar_1 The Ctr1 Scalar value is invalid that is less than one when NumberofCounters 01 10 or 11 Rockwell Automation Publication 1769 UMOOQ6E EN P July 2013 117 Chapter5 Diagnostics and Troubleshooting Table 23 Configuration Error Codes Continued Hex Module Extended Error Description Equivalent Error Error Code Information Code B
172. the disconnected module forward If you feel excessive resistance make sure that you 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 ina panel mounted system to loosen the screws of 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 left 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 the input and or output wiring to the module Rockwell Automation Publication 1769 UMOO06E EN P July 2013 53 Chapter3 Installation and Wiring i irl i Consider these system wiring guidelines when wiring your system 1e iring Lonnections y 88 8y y General Guidelines 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 m 1000 ft Group this module and other low voltage DC
173. ting Table of Contents Cyclic Rate Update Time CtrnCyclicRateUpdateTime 81 Configuration Flags ensten cerere e coment a ccenad eres 82 Range High Limit Range0To11 n HighLimit and Range Low Limit Range0To11 n LowLimit sseseerererererereree 84 Range Output Control Range0To11 n OutputControl 85 Range Configuration Flags i s0ss ivsssicodenenenakacnnswvecd de 86 OUT DUE ATAY iria ar airar abe EERROR E EREE E 88 Output on Mask OutputOnMask 0 through OutputOnMask 15 91 Output Off Mask OutputOffMask 0 through OutputOffMask 15 91 Range Enable RangeEn 0 through RangeEn 15 91 RBF Reset Blown Fuse ResetBlownFuse 000eeeeee 92 Control Bits iunio nt anaa a a E e DES 92 Range High Limit or Direct Write Value Rangel2To15 n HiLimOrDirWr seuser 94 Range Low Limit Range12To15 n LowLimit 95 Range Output Control Rangel12To15 n OutputControl 96 Range Configuration Flags 12 1015 eects ccenteeemecee eed 96 AO Wi PT DAY sess ra Palast ne aera that Sill epee etal aks 98 Input State InputStateA0 through InputStateZ1 101 Readback Readback 0 through Readback 15 4 101 Status Flags icc Sek otto pane ans copes neeas Suates Moe ENGESA 101 Range Active RangeActive 0 through RangeActive 15 103 Current Count Ctr n CurrentCount 0 0 eee eee 104 Stored Count Ctr n StoredCount 0 cc cicw ace avecseceade 104
174. tled File Edit View Search Comms Tools Window Help D a 4 milo o ae PR QAan ESS OFFLINE E No Forces B re rm mo om aon nor cn H Forces Enabled e Driver AB_DF1 1 ode E Project H A Help B Controler Controller Properties Processor Status Function Files LLL 10 Configuration Bis channel Configuration 5 Program Files SYSO SYS1 Lap 2 5 Data Files B cross Reference E 00 output E n input STATUS BINARY TIMER COUNTER CONTROL INTEGER E Fs FLOAT 5 Data Logging E Configuration E Status RCP Configuration Files B Force Files E 00 output D n input Move Logical FileMisc File ShiftSequencer Pros For Help press F1 20000 APP READ Rockwell Automation Publication 1769 UMOOQ6E EN P July 2013 143 Appendix Program a 1769 HSC Module MicroLogix 1500 Controller and 845F Incremental Encoder with RSLogix 500 Software 5 To add I O modules to your project click I O Configuration The I O Configuration dialog box appears 170 Configuration SE r Current Cards Available Filter AIl 10 z Pat Description A Read I0 Config 69 HSC High Speed Counter 8 Input Isolated 120 VAC 16 Input 79 132 VAC EEk itos Analog 4 Channel Input Module Analog 4 Chan Inp 2 Chan Out Hi 12 Input 159 265 VAC Bul 1764 Micrologix 1500 LAP Series C 16 Input 10 30 VDC 1769 IQ6XOW4 6 Input 24 VDC 4 Output RLY 1 769 IR6 6 Channel RTD Mo
175. to 0 requires that Ctr1MinCount and Ctr1MaxCount also be set to 0 and so forth See the Configuration Error Codes table on page 117 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 noted below cannot be changed while a counter or range is enabled Attempting to do so will cause a configuration error and the entire configuration array will be rejected until the error is eliminated Table 12 Configuration Array 1769 HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC Bit Word M5 i4 l3 12 m Jio los os lo7 06 los o4 los loz or oo function 0 Individual Counter Reset NumberOf Not used PFE Not used Ctr OCL General Configuration Disable Counters Rst 0 Bits 1 Filter_Z1 Not Filter_B1 Not Filter_A1 Filter_Z0 Not Filter_BO Not Filter_AO Filter Selection used used used used 2 Not used Out Out Out OutO Out3 Out2 Out OutO Output Program Mode 3 2 PSR PSR PM PM PM PM_ and Output Program PSR PSR State Run 3 Not used Out3 Out2 Out OutO Output Program Value PV PV PV PV 1
176. tomation Wiring and Grounding Guidelines publication 1770 4 1 2 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 positive side V of the field supply are sourcing field devices Europe DC sinking input and sourcing output module circuits are the commonly used options Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Configure the Module Chapter 4 Module Configuration Output and Input Data After installing the 1769 HSC module you must configure it for operation by using the programming software compatible with the controller such as RSLogix 500 or RSLogix 5000 software TIP Normal counter configuration is done using programming software In that case it is not necessary to know the meaning of the bit location However some systems let the control program change configuration Information on programming the module by using specific controllers and software is contained in the following appendices Controller See CompactLogix Controller RSLogix 5000 Appendix B on page 131 MicroLogix 1500 Controller RSLogix 500 Appendix C on page 141 The table describes the topics in this chapter Topic Page Configure the Module 65 Configuration
177. tput operation Save the program and download it to your controller Put the controller into Run mode Spin the shaft on your 845F encoder Input words 4 and 5 Current Count display the current count data for Counter 0 of the 1769 HSC module In this example this count is the number of pulses received from the encoder times four Quadrature Encoder X4 is the operating mode Continue to spin the encoder shaft until the current count value is within the limits set for Range 0 500 000 600 000 Output 0 turns On only when the current count value is equal to or within the Range 0 limits Output 1 turns On only when the Current Count value is equal to or within the Range 1 limits 1 000 000 1 200 000 These two outputs are Off for all other values of the Current Count for Counter 0 You can also use a CPW instruction to monitor 32 bit values via ladder logic Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Appendix D Programming Quick Reference This appendix section for the 1769 HSC Module contains at a glance lists of the following e Configuration array e Output array e Input array IMPORTANT The information in this appendix does not apply to the packaged controllers The default value for the configuration array is all zeros except where noted Table 30 Configuration Array for the 1769 HSC Module 15 14 13 12 Ct
178. tput 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 Fault_HLS or UDSS state indicated When this bit is set the corresponding Fault mode and fault value bits are ignored logic is not running You must take care to make sure that this does not ATTENTION Selecting this option lets outputs change state while ladder AN 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 caused by this retentive output instructions for example latch or unlatch 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 because presetting a counter enabling a range changing a mask and changing Configuration Array settings can cause ranges and outputs to change state Rockwell Automation Publication 1769 UMOO06E EN P July 2013 77 Chapter4 Module Configuration Output and Input Data Output Fault Value Qut0FaultValue through Out3FaultValue Configuration Array Word 5 5 14 J13 12 n o7 jo jos oa jos joz or 00 sonar p These bits are the values that will be applied to each of the real outputs when User defined Safe State is set as described
179. tr2MaxCount Ctr1 Config OperationalMode_2 27 Ctr1Config StorageMode_0 i ay i Ctr1Config StorageMode_1 a Ctr2MinCount Ctr2MinCount Ctr Config StorageMode 2 Ctr1Config Linear 30 Ctr2Preset Ctr2Preset 31 32 Ctr2Hysteresis Ctr2Hysteresis 33 Ctr2Scalar Ctr2Scalar 34 Ctr2CyclicRateUpdateTime Ctr2CyclicRateUpdateTime 35 Linear Ctr2ConfigFlags Ctr2Config Linear 36 Ctr3MaxCount Ctr3MaxCount 37 Rockwell Automation Publication 1769 UMO06E EN P J uly 2013 149 Appendix D Programming Quick Reference Table 30 Configuration Array for the 1769 HSC Module 38 39 40 4 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 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 150
180. tus Indicators When any status indicator on the module is illuminated it indicates that power is applied to the module Rockwell Automation Publication 1769 UMOO06E EN P July 2013 109 Chapter5 Diagnostics and Troubleshooting 110 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 EMI improper grounding improper wiring connections and unauthorized tampering If you suspect a program 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 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operatio
181. ue Count Up Counter Value lt q 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 1000 counts you do not need to apply 1000 counts in the opposite direction before the counter begins counting down The first pulse in the opposite direction decrements the counter Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 Modifying Count Value Ring Counter Figure 8 demonstrates ring counter operation In ring counter operation the current count Ctr CurrentCount value changes between user programmable minimum count CtrzMinCount and maximum count Ctr MaxCount values If when counting up the counter reaches the CtraMaxCount value it rolls over to the Ctr MinCount value upon receiving the next count and sets the overflow bit If when counting down the counter reaches the CtrzMinCount value it rolls under to the Ctr MaxCount value upon receiving the next count and sets the underflow bit These bits can be reset using the CtrmResetCounterOverflow and CtrmResetCounter Underflow bits Figure 8 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
182. ue This will happen when a configuration array is accepted which sets the following CtrzMinCount gt Ctr z CurrentCount or CtrvMaxCount lt Ctr z CurrentCount This bit is reset by a 0 to 1 transition of the CtrmResetCtrPresetWarning bit in the output array TIP You must manually reset CnPW COvf CUdf and REZ but not IDW RV or IC to enable them to be set again 108 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Safety Considerations Chapter 5 Diagnostics and Troubleshooting This chapter describes how to troubleshoot the module Topic Safety Considerations Page 109 Module Operation versus Counter Operation 111 Counter Defaults Module Diagnostics 111 Non critical versus Critical Module Errors Module Error Definition Error Codes ovoj gt wl N 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 ATTENTION Never reach into a machine to actuate a switch 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 Sta
183. ule and the CMX 5370 L2 packaged controllers embedded HSC Output Array Words Range 12 Configuration Flags Not used Not used Notused ToThisCtr 21 Range 13 Configuration Flags Not used Inv Not used LDW Notused ToThisCtr 27 Range 14 Configuration Flags Not used Inv Not used LDW Notused ToThisCtr 33 Range 15 Configuration Flags Not used Inv Not used LDW Notused ToThisCtr 1 Bit 04 is not used for the packaged controller 96 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 ToThisCtr Range Counter Number Range12T015 n To ThisCounter This 2 bit value indicates which counter will be used in the range comparison or Range12To15 z LoadDirectWrite The counter is indicated in the table below Bit 01 Bit 00 Counter 0 0 0 0 1 1 1 0 2 1 1 3 If Range12To15 ToThisCounter is set to a number larger than NumberOfCounters in the configuration array then the InvalidCtrAssignToRangenz error bit in the input array will be set Type Rangelype Range121o15 n Type IMPORTANT For the L23E packaged controllers embedded HSC the range type is fixed at 0 which sets the range type to count value The ranges in this section apply to only the 1769 HSC module and the CMX 5370 L2 packaged controllers embedded HSC This bit value indicates which type of value to use for the range comparison in Range Th
184. ule do not have this functionality Soft Preset Preset can be programmed to occur by setting the appropriate output control bits via your control program Setting the CtrzSoftPreset bit in the output array causes the counter to be preset changing the count to the value in CtrPreset 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 CtrzMaxCount lt Ctr z CurrentCount or CtrnMinCount gt Ctr z CurrentCount then the module will automatically change Ctr z CurrentCount to the CtrmPreset value and set the CtrmPresetWarning bit Rockwell Automation Publication 1769 UMOO06E EN P July 2013 31 Chapter 2 Module Operation Rate Timer Functionality 32 To ensure maximum accuracy the module offers two different methods to calculate the rate e Per Pulse 1 Pulse Interval e 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 IMPORTANT The Rate Timer Functionality information does not apply to the L23E packaged controller Pulse Interval Rate Calculation Method _ 4 Pulse Interval 100 us Frequency 1 100 us 10 000 Hz The pulse interval rate method is very accurate for slower rates that is when the pulse interval or time between pulses is large compared to the s
185. ules adapter modules processor modules and power supplies communication format Format that defines the type of information transferred between an I O module and its owner controller This format also defines the tags created for each I O module compatible match An electronic keying protection mode that requires the physical module and the module configured in the software to match according to vendor catalog number and major revision In this case the minor revision of the module must be greater than or equal to that of the configured slot configuration The arrangement and interconnection of hardware components within a system and the hardware switch and jumper and software selections that determine the operating characteristics of the system connection The communication mechanism from the controller to another module in the control system controller A unit such as a programmable controller or relay panel that controls machine or process elements 158 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 coordinated system time CST data data table database differential digital circuit direct connection direct I O module disable keying download duration Glossary Timer value which is kept synchronized for all modules within a single ControlBus chassis The CST is a 64 bit number with us resolution 1 A general term for any type of information 2 In a more restricted sense data
186. up Resistor Value R Max 5 352 Q 12 1382 Q 24 3147 Q 1 Resistance values can 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 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Installation and Wiring Chapter 3 Figure 16 Discrete Device Wiring Proximity Sensor Solid state Photo electric 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 R 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 V DC Pull up Resistor Value R Max 5 352 Q 12 1382 Q 24 3147 Q 1 Resistance values can change depending upon your application The minimun resistor R value depends on the current sinking capability of the sensor Refer to your sensor s documentation Rockwell Automation Publication 1769 UMOOQ6E EN P July 2013 61 Chapter 3 62 Installation and Wiring Outputs The four output terminals must be powered by a user supplied external
187. uration Flags Not used Linear Not Storage mode Not used Operational mode used 25 Counter 1 Configuration Flags Not used Linear Not Storage mode Not used Operational mode used 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 through CtrnConfig OperationalMode_2 These bits apply to Counters 0 and 1 only This value determines how the A0 or AJ and BO or B I inputs are decoded when assigned to counter 0 or counter 1 Set bit For function CtrnConfig OperationalMode_2 CtrnConfig OperationalMode_1 CtrnConfig OperationalMode_0 0 0 0 Pulse internal direction 0 0 1 Pulse external direction 1 0 0 Quadrature encoder X1 1 0 1 Quadrature encoder X2 1 1 0 Quadrature encoder X4 0 1 0 Up Down Pulses 0 1 1 reserved 1 1 1 reserved TIP The Ctr1Config OperationalMode bits are reserved if the Number of Counters equals 1 Attempting to set reserved bits will result in a configuration error IMPORTANT Do not change this value while the counter is enabled Attempting to do so will result in a BadModConfigUpdate error See page 120 for a list of prohibited settings 82 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Configuration Output and Input Data Chapter 4 Storage Mode CtrnConfig StorageMode_0 through CtrnConfig StorageMode_2 These thre
188. ut State InputStateA0 through InputStateZ1 marroa e a e eH W le e 7 e le lw le le lH e B1 A1 Z0 BO Input State Not used Z1 AO This word indicates the state of the real physical inputs after filtering e 1 On e 0 Off Readback Readback 0 through Readback 15 oaoa s u e Te He ewe oo oe lw le el os Readback Readback 0 through Readback 15 This input word reflects the counter s module directed status of all 16 outputs real and virtual e 1 On e 0 Off Status Flags IMPORTANT For the L23E packaged controllers embedded HSC the ranges referred to in this section are numbered 0 3 instead of 12 15 The ranges in this section apply to only the 1769 HSC module and the CMX 5370 L2 packaged controllers embedded HSC Input Array Word 2 Out0Overcurrent through Out30vercurrent InvalidCtrAssignToRange12 through InvalidCtrAssignToRange15 InvalidRangeLimit12 through InvalidRangeLimit15 Status Flags Rockwell Automation Publication 1769 UMO06E EN P July 2013 101 Chapter 4 102 Module Configuration Output and Input Data 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 remains in the off state and these bits remain on until the ResetBlownFuse bit is used Module Configured ModConfig Word 2 bit 5
189. 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 Terminal Block Wiring The input and output terminals are shown below Both inputs and outputs are isolated from the 1769 Compact bus hatama less Area is Non Hazardous OUT DC 5V 24V DC OUTO Q amp OUT 1 a OUT 3 OUT DC COM ge Q A0 ao eS Bi amp BO Q z0 z e amp Alt Al sae amp 1 amp Z1 Z1 Bus Lever rut i 45276 Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Installation and Wiring Chapter 3 Wire Diagrams The following pages show wiring examples for a differential encoder single ended encoder and discrete device Inputs The module utilizes differential inputs Therefore two input terminals are required for each input point For example the A0O and AO 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 Figure 14 and Figure 15 Figure 14
190. y input signals with slowly sloping pulse edges To minimize the effects of high frequency noise on low frequency signals perform the following e Identify and remove noise sources e Route input cabling away from noise sources e Use your programming software to select low pass filters on input signals Filter values depend on the application and can be determined empirically e Use devices which output differential signals such as differential encoders to minimize the possibility that a noise source will cause a false input Remove and Replace 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 on the side of the terminal block to identify the module location e SLT O and type 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 Nem 4 1 Ibein Wire the Finger safe Terminal Block When wiring the terminal block keep the finger safe cover in place Wiring the Finger safe Terminal Block Upper Retaining Screw SN SY Lower Retaining Screw Rockwell Automation Publication 1769 UMOO6E EN P July 2013 55 Chapter3 Installation and Wiring Follow these steps 1 Loosen t
191. ysical 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 76 and Output Fault mode described on page 77 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 77 and Output Fault Value described on page 78 1 The module continues to update the input array and count inputs in all modes The operation of the outputs will vary according to mode configuration and the capabilities of the controller or bus master Rockwell Automation Publication 1769 UMOO6E EN P July 2013 Module Operation Chapter 2 Program State Run PSR Program State Run lets you 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 Pr
192. ystem clock timer 1 ys 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 can be calculated many times over the course of a single backplane scan As a result the rate data obtained at a backplane scan is only that of the very last pair of pulses and disregards the other rate calculations that 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 for example up down count The 32 bit signed integer rate from each counter is reported in the Ctr z 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 CtrwCyclicRateUpdateTime configuration word menu Valid entries are 1 32 767 ms The number of net

Download Pdf Manuals

image

Related Search

Related Contents

I -MANUALE DI ISTRUZIONI PER SALDATRICE AD ARCO pag. 2  MODE D`EMPLOI  Kurzreferenz - bei Zoomtext    mirta descripcion propiedades aplicaciones  User`s Manual  User Manual - Infosystem Technology Corporation, Ltd.  English - Dlog DNC Systems  Rectifier Multi-Watt Dual & Triple  

Copyright © All rights reserved.
Failed to retrieve file