Page 3 - Contents
Contents iii Contents Chapter 1 Overview 1.1 Features 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Inputs 1–4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 4 - iv
iv Contents Chapter 4 Troubleshooting 4.1 Checking the Operation of the Module 4-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 5 Applications 5.1 Sprayer Example 5-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.1 Descri...
Page 5 - List of Figures
Contents v List of Figures 1-1 High Speed Counter Module 1-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Output 1-5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 High Speed Counter LEDs 1-...
Page 6 - List of Tables; Determining Count in Pulse Counter Mode
vi Contents List of Tables 1-1 Determining Count in Pulse Counter Mode 1-7 . . . . . . . . . . . . . . . . . . . . . . . . . B-1 Environmental Specifications B-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2 Electrical Specifications B-3 . . . . . . . . . . . . . . ...
Page 7 - Chapter 1; Overview; Features
Overview 1-1 Series 505 High Speed Counter and Encoder Module User ’s Manual Chapter 1 Overview 1.1 Features 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Inputs 1-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 9 - High Speed Counter Module
Overview 1-3 Series 505 High Speed Counter and Encoder Module User ’s Manual BasePlaneConnector PrintedCircuitBoard Front Bezel Bezel Screw LEDs Terminal Block Bezel Screw Figure 1-1 High Speed Counter Module
Page 10 - Inputs
1-4 Series 505 High Speed Counter and Encoder Module User ’s Manual 1.2 Inputs The HSC module has two independent channels. Each channel has fourinputs. Reset Inhibit Two counter inputs Each input may be used as either sinking or sourcing (with external 5–24VDC power supply). The input signals are c...
Page 11 - Outputs; Output
Overview 1-5 Series 505 High Speed Counter and Encoder Module User ’s Manual 1.3 Outputs Each channel has two open collector outputs capable of driving TTL levelsignals or sinking up to 0.4 Amps of current (at 40 _ C) from an external 24 VDC source and load. Y Output Output Return Output Circuit 0 P...
Page 12 - LED Indicators; High Speed Counter LEDs
1-6 Series 505 High Speed Counter and Encoder Module User ’s Manual 1.4 LED Indicators Each channel contains four LED indicators which provide a visualindication of the channel’s status as shown in Figure 1-3. Figure 1-3 High Speed Counter LEDs A Turns on when there is current flow through the A inp...
Page 13 - Counting Modes; Mode; Pulse Counter Mode 0
Overview 1-7 Series 505 High Speed Counter and Encoder Module User ’s Manual 1.5 Counting Modes 1.5.1Pulse Counter Each channel has two inputs, A and B. In the pulse counter mode, counting Mode occurs on the rising or falling edge of the incoming pulses. The relationshipof the states of these two in...
Page 14 - X Quadrature Mode
Overview 1-8 Series 505 High Speed Counter and Encoder Module User ’s Manual Counting Modes (continued) 1.5.2Quadrature Mode For quadrature mode, each channel counts according to rising and/or falling edges. Typical devices for quadrature inputs are optical encoders.Different quadrature modes are se...
Page 15 - X Quadrature Mode
Overview 1-9 Series 505 High Speed Counter and Encoder Module User ’s Manual 1.5.42X Quadrature If input A leads input B, the module counts up on both the rising andfalling edges of input A. If input B leads input A, the module counts downon the rising and falling edges of input A. Figure 1-6 illust...
Page 16 - X Quadrature Mode
Overview 1-10 Series 505 High Speed Counter and Encoder Module User ’s Manual Counting Modes (continued) 1.5.54X Quadrature If input A leads input B, the module counts up on rising and falling edgesof both input A and input B. If input B leads input A, the module countsdown on the rising and falling...
Page 17 - Chapter 2; Installation; Before Installing the Module
Installation 2-1 Series 505 High Speed Counter and Encoder Module User ’s Manual Chapter 2 Installation 2.1 Before Installing the Module 2–2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Visual Inspection 2-2 . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 18 - References; Module
2-2 Installation Series 505 High Speed Counter and Encoder Module User ’s Manual 2.1 Before Installing the Module 2.1.1Visual Inspection If there is any visible damage to the module, contact your SiemensIndustrial Automation, Inc. distributor for replacement. 2.1.2Additional Refer to the manuals lis...
Page 19 - Considerations
Installation 2-3 Series 505 High Speed Counter and Encoder Module User ’s Manual 2.1.4General Wiring The count, inhibit, and unfiltered reset inputs are high-speed inputs which Considerations may respond to noise present on the lines. To avoid problems, follow theseguidelines when installing the HSC...
Page 20 - Hierarchy of Installation
2-4 Installation Series 505 High Speed Counter and Encoder Module User ’s Manual Before Installing the Module (continued) 2.1.5Hierarchy of Figure 2-1 provides a simple flowchart of the installation process. Installation Insert the Module Connect Wires Set Jumper Configuration on Module Power Up Log...
Page 21 - Selecting Counter Operation; Counter Mode; Jumper Settings; must
Installation 2-5 Series 505 High Speed Counter and Encoder Module User ’s Manual 2.2 Selecting Counter Operation 2.2.1Selecting The HSC module has two channels. You can configure each channel Counter Mode to operate in any of four counter modes. Prior to installing the module into the I/O backplane,...
Page 22 - Reset Filter
2-6 Installation Series 505 High Speed Counter and Encoder Module User ’s Manual Selecting Counter Operation (continued) 2.2.2Selecting the Some applications require faster response on the reset input line than Reset Filter the standard 3.75-ms filter allows. For faster response, select the optional...
Page 23 - Inserting the Module in the I/O Base; Inserting the Module into the I/O Base
Installation 2-7 Series 505 High Speed Counter and Encoder Module User ’s Manual 2.3 Inserting the Module in the I/O Base The HSC is a single-wide module. Insert it into any available slot on anySeries 505 I/O base. Do not touch the printed circuit board while insertingthe module. This could cause e...
Page 24 - Wiring the Module; Terminal Block; the Module
2-8 Installation Series 505 High Speed Counter and Encoder Module User ’s Manual 2.4 Wiring the Module 2.4.1Wiring the Wiring the module consists of wiring the the input and output signals. Terminal Block See Figure 2-4 and Figure 2-5 for general guidelines. All connections aremade at the module ter...
Page 25 - Sample Terminal Block Wiring Diagram
Installation 2-9 Series 505 High Speed Counter and Encoder Module User ’s Manual Ch1 A+ Ch1 B+ Ch1 RST+ Ch1 INH+ 5–24 VDC Ch2 A+ Ch2 B+ Ch2 RST+ Ch2 INH+ 5–24 VDC Sourcing Driver Ch2 INH– Ch2 RST– Ch2 B– Ch2 A– Ch2 Y2 Ch2 Y1 + – Ch1 Y2 Ch1 Y1 + – Sinking 5–24 VDC Ch1 A– Ch1 B– Ch1 RST– Ch1 INH– Driv...
Page 26 - Logging the Module into the Controller; Configuration; Sample I/O Definition Chart
2-10 Installation Series 505 High Speed Counter and Encoder Module User ’s Manual 2.5 Logging the Module into the Controller 2.5.1Updating the I/O After inserting the module into the base, update the I/O configuration Configuration in the controller. The module does not automatically onfigure itself...
Page 28 - Chapter 3; Programming; Controller Input Words
Programming 3-1 Series 505 High Speed Counter and Encoder Module User ’s Manual Chapter 3 Programming 3.1 Controller Input Words 3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 WX1 (Status Word) 3-2 . . . . . . . . . . . . . . . . . . . . . . . ....
Page 29 - Controller Input Words; Status Word Format
Programming 3-2 Series 505 High Speed Counter and Encoder Module User ’s Manual 3.1 Controller Input Words The HSC module is configured as three word inputs (WX) and five wordoutputs (WY). It occupies eight words of the controller ’s word imageregister. 3.1.1WX1 (Status Word) Word 1 (WX) is the modu...
Page 30 - Setup Word Format
Programming 3-3 Series 505 High Speed Counter and Encoder Module User ’s Manual Inhibit Status. Each channel has an Inhibit Status bit in the status word. If the channel’s Inhibit field input is active or if its Inhibit Command bit is 1 (see Setup Word, Section 3.1.3), this bit will be 1 and the cou...
Page 31 - Consideration
Programming 3-4 Series 505 High Speed Counter and Encoder Module User ’s Manual Controller Input Words (continued) Reset Command. Both channels have a Reset Command bit. A transition from 0 (off) to 1 (on) of the Reset Command acts as a one-shot (providing amomentary reset of the channel), setting t...
Page 32 - Chapter 4; Troubleshooting; Symptom
Troubleshooting 4-1 Series 505 High Speed Counter and Encoder Module User ’s Manual Chapter 4 Troubleshooting Re-seat board Check jumper positionand condition of jumper (metal insert intact) Symptom Probable Cause Corrective Action Input LED isnot onand Output LED isnot on Signal wire noise Module n...
Page 33 - Checking the Operation of the Module
4-2 Troubleshooting Series 505 High Speed Counter and Encoder Module User ’s Manual 4.1 Checking the Operation of the Module To check the operation of the module, follow these steps. Module outputs will turn on during this procedure. 1. Using a programming device, force all presets to 0. 2. Reset bo...
Page 34 - Chapter 5; Applications
Applications 5-1 Series 505 High Speed Counter and Encoder Module User ’s Manual Chapter 5 Applications 5.1 Sprayer Example 5-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.1 Description 5-2 . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 35 - Sprayer Example; Sprayer Application
Applications 5-2 Series 505 High Speed Counter and Encoder Module User ’s Manual 5.1 Sprayer Example 5.1.1Description A reversible DC motor drives a paint sprayer up and down a verticalassembly. A quadrature encoder on the drive shaft senses the direction andrelative position of the sprayer. Channel...
Page 36 - HSC Connections
Applications 5-3 Series 505 High Speed Counter and Encoder Module User ’s Manual 5.1.2Solution Connect encoder signals A and B to inputs A and B of the HSC. See Figure5–2. Limit switch 1 (sprayer home) drives channel 1 Reset. Channel 1outputs 1 and 2 are wire ORed and drive the sprayer enable. Selec...
Page 37 - Ladder Logic for Sprayer Example
Applications 5-4 Series 505 High Speed Counter and Encoder Module User ’s Manual Sprayer Example (continued) LDC1 A: N= WY4 0 BITS1 A: N= WY4 4 BITS2 A: N= WY4 2 C12 C1 MOVW1 A: N= V200 2 BITC23 A: N= WY4 2 C15 C14 B: WY5 CLEAR CHANNEL 1SETUP WORD SETUP CHANNEL 1OUTPUT 2 TO GOLOW AT PRESET SELECT CO...
Page 38 - Flow Rate Example; Ladder Logic for Flow Rate Example
Applications 5-5 Series 505 High Speed Counter and Encoder Module User ’s Manual 5.2 Flow Rate Example 5.2.1Description A flow meter outputs 200 pulses per gallon. The program requirescalculation of flow rate in gallons per minute (GPM). 5.2.2Solution Configure the HSC as WX9–WX11, WY12–WY16. Attach...
Page 39 - Tank Filling Example; Solution; Tank Filling Application
Applications 5-6 Series 505 High Speed Counter and Encoder Module User ’s Manual 5.3 Tank Filling Example 5.3.1Description The HSC module measures the volume of liquid and control the fillingvalve. (See Figure 5-6.) A flow meter, generating 200 pulses per gallon, isconnected to the HSC channel 2, in...
Page 40 - Ladder Logic for Tank Filling Example
Applications 5-7 Series 505 High Speed Counter and Encoder Module User ’s Manual C141 BITC1 A: WY4 N = 5 C140 X128 C140 C140 C256 C140 IS USED TO INITIATE/TERMINATE FILLING C1 C140 C1 : RESET HSC, LOAD INITAL PRESETS Y20 LDC4 A: WY4 N = 0 MOVW1 A: V200 N = 2 B: WY7 BITS1 A: WY4 N = 5 C141 : CLEAR RE...
Page 41 - Ladder Logic for Tank Filling Example (continued)
Applications 5-8 Series 505 High Speed Counter and Encoder Module User ’s Manual Tank Filling Example (continued) C51 C8 C51 C8 : AFTER 90,000 PULSES, SUBTRACT THE OVERCOUNTS FROM 10,000 AND LOAD THE REMAINING COUNT INTO PRESET 2. CTR2 P = 9 MOVW2 A: V201 N = 1 B: WY7 SUB2 C51 C8 Y20 C61 SUB1 C61 C5...
Page 42 - Appendix A; Terminal Block Worksheet
Terminal Block Worksheet A-1 Series 505 High Speed Counter and Encoder Module User ’s Manual Appendix A Terminal Block Worksheet
Page 43 - Appendix B; Specifications; Environmental Specifications
Specifications B-1 Series 505 High Speed Counter and Encoder Module User ’s Manual Appendix B Specifications B.1 Environmental Specifications B-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2 Electrical Specifications B-3 . . . . . . . . . . . . . . . . . . . . . . ...
Page 45 - Electrical Specifications; Duty
Specifications B-3 Series 505 High Speed Counter and Encoder Module User ’s Manual B.2 Electrical Specifications Table B-2 Electrical Specifications Count Inputs Frequency (maximum) Duty Count Mode Quadrature Mode Cycle Freq. Freq. (w/ 15 max. phase error) 10% 10 Khz 4 Khz 20% 25 Khz 8 Khz 25% 30 Kh...
Page 46 - Count inputs are constant current type inputs.
Specifications B-4 Series 505 High Speed Counter and Encoder Module User ’s Manual Electrical Specifications (continued) Count inputs are constant current type inputs. Reset and Inhibit Inputs: On voltage: to 28 VDC, Class 2 supply Current on: 2 to 40 mA Off voltage: –1.5 to 1.5 VDC Current off: 0 t...
Page 48 - Additional Compliances
Specifications B-6 Series 505 High Speed Counter and Encoder Module User ’s Manual B.3 Additional Compliances In addition, the system complies with applicable requirements of VerbandDeutscher Elektrotechniker (VDE) 0160: Electrical Equipment Series 505 products have been developed with consideration...
Page 49 - Customer Registration; Manual Assembly Number:
Customer Registration We 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 manuals? Excellent Good Fair Poor AccuracyOrganizationClarityCompletenessOverall designSizeIndex Would you be interested in giving us more detailed ...
Page 50 - BUSINESS REPLY MAIL
BUSINESS REPLY MAIL FIRST CLASS PERMIT NO.3 JOHNSON CITY, TN FOLD FOLD POSTAGE WILL BE PAID BY ADDRESSEE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES SIEMENS INDUSTRIAL AUTOMATION, INC. 3000 BILL GARLAND RD.P.O. BOX 1255JOHNSON CITY TN 37605–1255 ATTN: Technical Communications M/S 3519
Page 51 - Index
Index-1 Index A Assistance, 2-2 C Configuration selecting, 2-10updating, 2-10 Configuring jumpers, 2-5User Options, 2-10 Count input, 1-4 Count rate, 1-2 Counter mode, 1-7 D Double-count quadrature, 1-9 E Electrical specifications, B-3 Environmental specifications, B-2 F Features, 1-2 H Handling the...