! &%*$)' $%' %*"(' $*"'' *#' $*" ((#"
viii ContentsA.3 Cascade Counting ApplicationsA-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32-
ApplicationsA-5High Speed Counter Encoder Module User ManualConfigure the counter for Divide-by-N mode as follows:• Preset: 0Divide-by-N counting set
ApplicationsA-6High Speed Counter Encoder Module User ManualA.3 Cascade Counting ApplicationsThe 32-bit cascade counting mode cascades the output of o
ApplicationsA-7High Speed Counter Encoder Module User ManualA.4 Prescale Counting ApplicationsThe 16-bit prescale 16-bit counting mode cascades the o
ApplicationsA-8High Speed Counter Encoder Module User ManualPrescale Counting Applications (continued)The 16-bit prescale 24-bit counting mode cascade
TroubleshootingB-1High Speed Counter Encoder Module User ManualAppendix BTroubleshootingB.1 LED Status and Error Code DescriptionsB-2. . . . . . . .
TroubleshootingB-2High Speed Counter Encoder Module User ManualB.1 LED Status and Error Code DescriptionsTable B-1 presents the status indications of
TroubleshootingB-3High Speed Counter Encoder Module User ManualB.2 TroubleshootingTable B-3 presents basic troubleshooting suggestions for the module
TroubleshootingB-4High Speed Counter Encoder Module User ManualB.3 Terminal Block WorksheetsTerminal block worksheets are provided in Figure B-2 and F
TroubleshootingB-5High Speed Counter Encoder Module User Manual Figure B-2Terminal Block Worksheet
TroubleshootingB-6High Speed Counter Encoder Module User ManualTerminal Block Worksheets (continued)Front-accessible Terminal Block(PPX:2587705–8011)B
Contents ixList of FiguresFigure 1-1Physical Features of the High Speed Counter Encoder Module1-2. . . . . . . . . Figure 1-2LED Indicators1-3. . . .
TroubleshootingB-7High Speed Counter Encoder Module User Manual Figure B-4Terminal Block Worksheet
TroubleshootingB-8High Speed Counter Encoder Module User ManualB.4 Jumpers WorksheetFigure B-5 provides a jumper configuration worksheet for you to re
SpecificationsC-1High Speed Counter Encoder Module User ManualAppendix CSpecificationsC.1 Environmental SpecificationsC-2. . . . . . . . . . . . . .
SpecificationsC-2High Speed Counter Encoder Module User ManualC.1 Environmental SpecificationsTable C-1Physical and Environmental SpecificationsMinimu
SpecificationsC-3High Speed Counter Encoder Module User ManualC.2 Input SpecificationsThe HSCE Module responds to input signals according to the spec
SpecificationsC-4High Speed Counter Encoder Module User ManualInput Specifications (continued)The input filter eliminates glitches or noise in the inc
SpecificationsC-5High Speed Counter Encoder Module User ManualThe input filter has a clock that synchronizes the input pulse train. Theclock periods
SpecificationsC-6High Speed Counter Encoder Module User ManualInput Specifications (continued)If the edges are not separated by the time required for
SpecificationsC-7High Speed Counter Encoder Module User ManualC.3 Output SpecificationsThe HSCE Module output circuits meet the specifications listed
SpecificationsC-8High Speed Counter Encoder Module User ManualOutput Specifications (continued)The module software cycle time is less than 1 milliseco
x ContentsFigure C-1Input SpecificationsC-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure C-
Index-1IndexAAddressing I/O, 3-2Agency approvals, xivAssistance, telephoning for, xivAvoiding noise, 2-6BBack-up power, wiring connections, 2-4Base c
Index-2 FFeatures16-bit counters, 1-424-bit counters, 1-4functional, 1-4physical, 1-2Filter options, 5-7Filtering input signals, default setting, 4-3F
Index-3LLatch, 4-3jumper, 5-11outputs, 1-12Latch/reset-and-go jumper, 5-11LED indicators, 1-3, 2-12, B-2LEDs, status at power-up, 2-12Line driver, di
Index-4 QQuadrature modes1X quadrature counting, 1-72X quadrature counting, 1-84X quadrature counting, 1-8minimum input pulse width, C-5RRate, time sa
Index-5UUnderflow, 1-10Unipolar mode, 1-10, 3-4Up count only, jumper, 5-9Up/down counting, 1-9Up/Down counting inDivide-by-N mode, A-5Retriggerable O
" #!! " !" ! #!!" " $"#! $##
Customer RegistrationWe would like to know what you think about our user manuals so that we can serve you better.How would you rate the quality of our
BUSINESS REPLY MAILFIRST CLASSPERMIT NO.3JOHNSON CITY, TNFOLDFOLDPOSTAGE WILL BE PAID BY ADDRESSEENO POSTAGENECESSARYIF MAILEDIN THEUNITED STATESATTN:
Contents xiList of TablesTable 1-1Binary Counting Outputs1-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xii ContentsTable C-1Physical and Environmental SpecificationsC-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . Table C-2Input Voltage and Cu
PrefacexiiiHigh Speed Counter Encoder Module User ManualPrefaceThis manual describes the SIMATIC TI505 High Speed Counter EncoderModule. The follow
PrefacexivHigh Speed Counter Encoder Module User ManualSeries 505 products have been developed with consideration of the draftstandard of the Interna
Product Overview1-1High Speed Counter Encoder Module User ManualChapter 1Product Overview1.1 Physical Features of the Module1-2. . . . . . . . . . .
Product Overview1-2High Speed Counter Encoder Module User Manual1.1 Physical Features of the ModuleThe SIMATIC TI505 High Speed Counter Encoder Module
Product Overview1-3High Speed Counter Encoder Module User ManualThe High Speed Counter Encoder Module (HSCE) provides a total of tenLED indicators on
Copyright 1994 by Siemens Industrial Automation, Inc.All Rights Reserved — Printed in USAReproduction, transmission or use of this document orcontents
Product Overview1-4High Speed Counter Encoder Module User Manual1.2 Functional Features of the ModuleThe HSCE module provides a total of six counters
Product Overview1-5High Speed Counter Encoder Module User ManualThe HSCE module allows you to connect counters internally for cascadedcounting. The m
Product Overview1-6High Speed Counter Encoder Module User ManualFunctional Features of the Module (continued)Figure 1-3 presents a functional diagram
Product Overview1-7High Speed Counter Encoder Module User Manual1.3 Quadrature Modes of CountingEach 24-bit counter, Counter 1 (Channel 1, inputs A &
Product Overview1-8High Speed Counter Encoder Module User ManualQuadrature Modes of Counting (continued) When set to 2X Quadrature Mode, the module c
Product Overview1-9High Speed Counter Encoder Module User Manual1.4 Non-Quadrature Modes of CountingWhen you select the up/down counting mode, two in
Product Overview1-10High Speed Counter Encoder Module User Manual1.5 Counting with the 24-Bit CountersIn binary recycle mode, the counter counts up or
Product Overview1-11High Speed Counter Encoder Module User ManualIn divide-by-N non-recycle mode, a preset value is loaded into the counter.The count
Product Overview1-12High Speed Counter Encoder Module User Manual1.6 24-Bit Counters Quadrature Mode OutputsYou can select one of four output options,
Product Overview1-13High Speed Counter Encoder Module User ManualInput APulseCarryToggle0001–3 –1 213–4–2–1–2–1–5 4217635598424213210001–1–2–1–3 –4–2
MANUAL PUBLICATION HISTORYSIMATIC TI505 High Speed Counter Encoder Module (PPX:505–7003) User ManualOrder Manual Number: PPX:505–8127–1Refer to this
Product Overview1-14High Speed Counter Encoder Module User Manual1.7 24-Bit Counters Non-Quadrature Mode OutputsIn non-quadrature counting modes, the
Product Overview1-15High Speed Counter Encoder Module User ManualCarryCarry ToggleRolloverCompare ToggleLatchComparePulse Input–3 –2 –1 0 1 2 3 4 5 6
Product Overview1-16High Speed Counter Encoder Module User Manual24-Bit Counters Non-Quadrature Mode Outputs (continued)In non-recycle counting mode,
Product Overview1-17High Speed Counter Encoder Module User Manual1.8 Counting with 16-Bit CountersGeneral information for all 16-bit counter modes is
Product Overview1-18High Speed Counter Encoder Module User ManualCounting with 16-Bit Counters (continued)You can select a 16-bit counter mode by sett
Product Overview1-19High Speed Counter Encoder Module User ManualThe retriggerable one-shot mode generates an output that is On (high), fromthe first
Product Overview1-20High Speed Counter Encoder Module User ManualCounting with 16-Bit Counters (continued)Divide-by-N counting generates an output tha
Product Overview1-21High Speed Counter Encoder Module User ManualThe triggered strobe mode generates an output that is On for one clockperiod followi
Product Overview1-22High Speed Counter Encoder Module User ManualCounting with 16-Bit Counters (continued)The square-wave generator generates an activ
Product Overview1-23High Speed Counter Encoder Module User ManualFor an odd preset value, the preset – 1 value is loaded, and the counterstarts decre
LIST OF EFFECTIVE PAGESPages Description Pages DescriptionCover/Copyright OriginalHistory/Effective PagesOriginaliii — xivOriginal1-1 — 1-23 Original
Installing the Module2-1High Speed Counter Encoder Module User ManualChapter 2Installing the Module2.1 Overview of Installation2-2. . . . . . . . . .
Installing the Module2-2High Speed Counter Encoder Module User Manual2.1 Overview of InstallationFigure 2-1 shows the flow of tasks to follow when you
Installing the Module2-3High Speed Counter Encoder Module User Manual2.2 Inserting the Module into the BaseTo minimize potential shock, turn off powe
Installing the Module2-4High Speed Counter Encoder Module User Manual2.3 Wiring the ModuleYou should wire all of your input and output signals to the
Installing the Module2-5High Speed Counter Encoder Module User Manual PPX:2587705–8010Side-accessibleBack-up Power +12VBack-up Power RTNCh1 A+Ch1 A–C
Installing the Module2-6High Speed Counter Encoder Module User ManualWiring the Module (continued)You wire the HSCE module by wiring the user power su
Installing the Module2-7High Speed Counter Encoder Module User ManualInput connections to the module can be electronic output drive devices ormechani
Installing the Module2-8High Speed Counter Encoder Module User ManualWiring the Module (continued)Figure 2-6 shows an example of wiring differential l
Installing the Module2-9High Speed Counter Encoder Module User ManualFigure 2-7 shows an example of wiring mechanical switch inputs. (Note thatwith m
Installing the Module2-10High Speed Counter Encoder Module User ManualWiring the Module (continued)Figure 2-8 shows an example of output wiring.Load+2
Contents iiiContentsPrefaceAbout this Manualxiii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing the Module2-11High Speed Counter Encoder Module User ManualTo connect the terminal block to the module, follow these steps. (SeeFigure 2-9
Installing the Module2-12High Speed Counter Encoder Module User Manual2.4 Powering Up the BaseRefer to the system manual for your controller for infor
Installing the Module2-13High Speed Counter Encoder Module User Manual2.5 Configuring I/O Addresses in the ControllerAfter installing the module in t
Understanding Module Operation3-1High Speed Counter Encoder Module User ManualChapter 3Understanding Module Operation3.1 Module I/O Map3-2. . . . . .
Understanding Module Operation3-2High Speed Counter Encoder Module User Manual3.1 Module I/O MapThe HSCE module communicates with the PLC using word i
Understanding Module Operation3-3High Speed Counter Encoder Module User ManualFigure 3-1 shows how the WX and WY words are grouped by counter to help
Understanding Module Operation3-4High Speed Counter Encoder Module User Manual3.2 Data FormatsThe current count value for each 24-bit counter is conta
Understanding Module Operation3-5High Speed Counter Encoder Module User ManualEach 24-bit counter has two preset values to control two outputs, as li
Understanding Module Operation3-6High Speed Counter Encoder Module User Manual3.3 Reading Module StatusThe PLC reads the module status bits in word in
Understanding Module Operation3-7High Speed Counter Encoder Module User ManualThe following paragraphs provide expanded definitions for status wordWX
iv ContentsCompare Output1-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding Module Operation3-8High Speed Counter Encoder Module User Manual3.4 Configuring Program Mode Setup WordsYou can use WY19 and WY20 to cho
Understanding Module Operation3-9High Speed Counter Encoder Module User ManualThe following paragraphs provide expanded definitions for setup wordsWY
Understanding Module Operation3-10High Speed Counter Encoder Module User Manual3.5 Configuring Run Mode Setup WordsTable 3-9 shows that you can use WY
Understanding Module Operation3-11High Speed Counter Encoder Module User ManualThe following options can only be selected with bit WY20.01 cleared, w
Understanding Module Operation3-12High Speed Counter Encoder Module User Manual3.6 Setting Preset Values and Programming Options for Channel 1The lowe
Understanding Module Operation3-13High Speed Counter Encoder Module User ManualThe lower byte of WY23 and all of WY24 contain the Preset 2 24-bit int
Understanding Module Operation3-14High Speed Counter Encoder Module User ManualSetting Preset Values and Programming Options for Channel 1 (continued)
Understanding Module Operation3-15High Speed Counter Encoder Module User Manual3.7 Setting Preset Values and Programming Options for Channel 2The low
Understanding Module Operation3-16High Speed Counter Encoder Module User ManualSetting Preset Values and Programming Options for Channel 2 (continued)
Understanding Module Operation3-17High Speed Counter Encoder Module User ManualTable 3-20 and Table 3-21 shows the formats for the preset values (0 –
Contents vChapter 3 Understanding Module Operation3.1 Module I/O Map3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Default Configurations4-1High Speed Counter Encoder Module User ManualChapter 4Using the Default Configurations4.1 Default Hardware Modes4-
Using the Default Configurations4-2High Speed Counter Encoder Module User Manual4.1 Default Hardware ModesThis chapter describes the default modes of
Using the Default Configurations4-3High Speed Counter Encoder Module User ManualFigure 4-1 shows that the default inputs for each 24-bit counter (1 a
Using the Default Configurations4-4High Speed Counter Encoder Module User Manual4.2 Default Software ModesYou program counter modes by setting specifi
Using the Default Configurations4-5High Speed Counter Encoder Module User Manual4.3 Basic Programming StepsTo program the High Speed Counter Encoder
Optional Configurations5-1High Speed Counter Encoder Module User ManualChapter 5Optional Configurations5.1 Overview 5-2. . . . . . . . . . . . . . .
Optional Configurations5-2High Speed Counter Encoder Module User Manual5.1 OverviewInstead of the default configurations, you can set up other countin
Optional Configurations5-3High Speed Counter Encoder Module User Manual5.2 Configuration JumpersAn overview of the jumper locations and functions is
Optional Configurations5-4High Speed Counter Encoder Module User Manual5.3 Configuration MapFigure 5-2 presents an overview of the jumper selection an
Optional Configurations5-5High Speed Counter Encoder Module User ManualSet upPreset 2Compare Mode24-Bit CounterSet upInterruptMaskSet up Unipolaror B
vi ContentsClear Output Latches Bits: WY20.07 and WY20.083-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 Setting Preset Valu
Optional Configurations5-6High Speed Counter Encoder Module User Manual5.4 Basic Configuration OptionsSeveral jumper options are independent of the op
Optional Configurations5-7High Speed Counter Encoder Module User ManualTwo jumpers, one for Channel 1 and one for Channel 2, select the minimuminput
Optional Configurations5-8High Speed Counter Encoder Module User Manual5.5 24-Bit Counter Input Jumper SelectionFigure 5-4 shows the jumpers that sele
Optional Configurations5-9High Speed Counter Encoder Module User ManualNOTE: Select one of the following four A input jumper positions for bothCount
Optional Configurations5-10High Speed Counter Encoder Module User Manual5.6 Control and Output Jumper SelectionsFigure 5-5 shows jumper locations that
Optional Configurations5-11High Speed Counter Encoder Module User ManualIn the Latch (default) position (left), this jumper selects the INDEX signalt
Optional Configurations5-12High Speed Counter Encoder Module User Manual5.7 24-Bit Counter Software Setup OptionsAfter you configure the hardware jump
Optional Configurations5-13High Speed Counter Encoder Module User ManualTable 5-3Channel 1, 24-Bit Counter: Preset 1 ValueWord MSByte LSByteWY21 1 2
Optional Configurations5-14High Speed Counter Encoder Module User Manual24-Bit Counter Software Setup Options (continued)Table 5-5 and Table 5-6 show
Optional Configurations5-15High Speed Counter Encoder Module User ManualTable 5-8 and Table 5-7 show that module setup words WY19 and WY20program add
Contents vii5.5 24-Bit Counter Input Jumper Selection5-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input A
Optional Configurations5-16High Speed Counter Encoder Module User Manual5.8 16-Bit Counter OptionsFive two-position jumpers enable you to select a clo
Optional Configurations5-17High Speed Counter Encoder Module User ManualNOTE: Select two input jumpers from the following list. Select one jumper to
Optional Configurations5-18High Speed Counter Encoder Module User Manual5.9 16-Bit Counter Software Setup OptionsAfter you configure the hardware jump
Optional Configurations5-19High Speed Counter Encoder Module User ManualTable 5-10Bit Definitions for the Program Mode Setup WordsWord.Bit Descriptio
Optional Configurations5-20High Speed Counter Encoder Module User Manual5.10 Basic Programming StepsTo program the High Speed Counter module and place
Optional Configurations5-21High Speed Counter Encoder Module User ManualTo program the HSCE module, set bit WY20.01 (see shaded bit inTable 5-13). Se
ApplicationsA-1High Speed Counter Encoder Module User ManualAppendix AApplicationsA.1 Using Counters 1 and 4A-2. . . . . . . . . . . . . . . . . . .
ApplicationsA-2High Speed Counter Encoder Module User ManualA.1 Using Counters 1 and 4In the following counting modes, the 24-bit counter counts up or
ApplicationsA-3High Speed Counter Encoder Module User ManualIn time sampled rate counting, the counter counts the number of inputpulses during a give
ApplicationsA-4High Speed Counter Encoder Module User ManualA.2 Using Counters 2, 3, 5, and 6The 16-bit counters can be configured as binary counters.
Comments to this Manuals