Siemens SIMATIC 505 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Siemens SIMATIC 505, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Siemens SIMATIC 505 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Siemens SIMATIC 505. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Siemens SIMATIC 505 should contain:
- informations concerning technical data of Siemens SIMATIC 505
- name of the manufacturer and a year of construction of the Siemens SIMATIC 505 item
- rules of operation, control and maintenance of the Siemens SIMATIC 505 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Siemens SIMATIC 505 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Siemens SIMATIC 505, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Siemens service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Siemens SIMATIC 505.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Siemens SIMATIC 505 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    SIMA TIC 505 High Speed Counter and Encoder Module User Manual Order Number: PPX:505–81 13–2 Manual Assembly Number: 2586546–0019 Second Edition[...]

  • Page 2

    01/21/92 Copyright 1992 by Siemens Industrial Automation, Inc. All Rights Reserved — Printed in USA Reproduction, transmission or use of this document or contents is not permitted without express consent of Siemens Industrial Automation, Inc. All rights, including rights created by patent grant or registration of a utility model or design, are re[...]

  • Page 3

     Contents iii Contents Chapter 1 Overview 1.1 Features 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Inputs 1–4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Outputs 1–5 . . . . . . . . .[...]

  • Page 4

    iv Contents Chapter 4 T roubleshooting 4.1 Checking the Operation of the Module 4-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 5 Applications 5.1 Sprayer Example 5-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.1 Description 5-2 . . . . . . . . . . . . . . . . . . . .[...]

  • Page 5

     Contents v List of Figur es 1-1 High Speed Counter Module 1-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Output 1-5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 High Speed Counter LEDs 1-6 . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 6

    vi Contents List of T ables 1-1 Deter mining Count in Pulse Counter Mode 1-7 . . . . . . . . . . . . . . . . . . . . . . . . . B-1 Environmental Specifications B-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2 Electrical Specifications B-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 7

     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 8

     1-2 Series 505 High Speed Counter and Encoder Module User ’ s Manual 1.1 Features The Series 505  High Speed Counter (HSC) module (PPX:505-7002) provides two independent high-speed counter channels. Each channel has the following features.  Four counter modes:  Pulse counter  Quadrature counter modes: 1X, 2X, [...]

  • Page 9

     Overview 1-3 Series 505 High Speed Counter and Encoder Module User ’ s Manual Base Plane Connector Printed Circuit Board Front Bezel Bezel Screw LEDs T erminal Block Bezel Screw Figure 1-1 High Speed Counter Module[...]

  • Page 10

     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 four inputs.  Reset  Inhibit  T wo counter inputs Each input may be used as either sinking or sourcing (with external 5–24 VDC power supply). The input signals are connec[...]

  • Page 11

     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 level signals 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 P1 P2 65,535 Y1 Y2 Counter V alue Figure 1-[...]

  • Page 12

     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 visual indication of the channel’ s status as shown in Figure 1-3. Figure 1-3 High Speed Counter LEDs A T urns on when there is current flow through the A input. B T urns on w[...]

  • Page 13

     Overview 1-7 Series 505 High Speed Counter and Encoder Module User ’ s Manual 1.5 Counting Modes 1.5.1 Pulse 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 relationship of the states of these two inputs determines the direction of the coun[...]

  • Page 14

    Overview 1-8 Series 505 High Speed Counter and Encoder Module User ’ s Manual Counting Modes (continued) 1.5.2 Quadrature Mode For quadrature mode, each channel counts according to rising and/or  falling edges. T ypical devices for quadrature inputs are optical encoders. Different quadrature modes are selected based on the[...]

  • Page 15

     Overview 1-9 Series 505 High Speed Counter and Encoder Module User ’ s Manual 1.5.4 2X Quadratur e If input A leads input B, the module counts up on both the rising and falling edges of input A. If input B leads input A, the module counts down on the rising and falling edges of input A. Figure 1-6 illustrates the relationship between inputs A[...]

  • Page 16

    Overview 1-10 Series 505 High Speed Counter and Encoder Module User ’ s Manual Counting Modes (continued) 1.5.5 4X Quadratur e If input A leads input B, the module counts up on rising and falling edges of both input A and input B. If input B leads input A, the module counts down on the rising and falling edges of input A and input B. Figure 1-7 s[...]

  • Page 17

     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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.2 [...]

  • Page 18

    2-2 Installation Series 505 High Speed Counter and Encoder Module User ’ s Manual 2.1 Before Installing the Module 2.1.1 Visual Inspection If there is any visible damage to the module, contact your Siemens Industrial Automation, Inc. distributor for replacement. 2.1.2 Additional Refer to the manuals listed below for instructions on installing, Re[...]

  • Page 19

     Installation 2-3 Series 505 High Speed Counter and Encoder Module User ’ s Manual 2.1.4 General W iring The count, inhibit, and unfiltered reset inputs are high-speed inputs which Considerations may respond to noise present on the lines. T o avoid problems, follow these guidelines when installing the HSC module. D Use the shortest possible wi[...]

  • Page 20

    2-4 Installation Series 505 High Speed Counter and Encoder Module User ’ s Manual Before Installing the Module (continued) 2.1.5 Hierar chy of Figure 2-1 provides a simple flowchart of the installation process. Installation Insert the Module Connect W ires Set Jumper Configuration on Module Power Up Log into Controller Figure 2-1 Hierar chy of In[...]

  • Page 21

     Installation 2-5 Series 505 High Speed Counter and Encoder Module User ’ s Manual 2.2 Selecting Counter Operation 2.2.1 Selecting The HSC module has two channels. Y ou can configure each channel Counter Mode to operate in any of four counter modes. Prior to installing the module into the I/O backplane, configure the module by setting the jump[...]

  • Page 22

    2-6 Installation Series 505 High Speed Counter and Encoder Module User ’ s Manual Selecting Counter Operation (continued) 2.2.2 Selecting 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 0.95-ms filter . (The 0.9-ms filter is more s[...]

  • Page 23

    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 any Series 505 I/O base. Do not touch the printed circuit board while inserting the module. This could cause electrostatic damage to the components on the [...]

  • Page 24

    2-8 Installation Series 505 High Speed Counter and Encoder Module User ’ s Manual 2.4 Wiring the Module 2.4.1 Wiring the W iring the module consists of wiring the the input and output signals. Te r minal Block See Figure 2-4 and Figure 2-5 for general guidelines. All connections are made at the module terminal block. See Figure 2-5. Output return[...]

  • Page 25

     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– Driver Encoder 5–24[...]

  • Page 26

    2-10 Installation Series 505 High Speed Counter and Encoder Module User ’ s Manual 2.5 Logging the Module into the Controller 2.5.1 Updating 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. Definition A VPU or other programming devic[...]

  • Page 27

     Installation 2-11 Series 505 High Speed Counter and Encoder Module User ’ s Manual 2.5.3 Viewing the I/O Use SHOW to view the I/O Configuration Chart. If the HSC is Configuration installed in slot 1, for channel 1, base 00, the I/O chart will appear Chart as displayed in Figure 2-7. I/O CONFIGURA TION CHART FOR : CHANNEL 1, BASE 00 Slot 1 I/O[...]

  • Page 28

     Programming 3-1 Series 505 High Speed Counter and Encoder Module User ’ s Manual Chapter 3 Programming 3.1 Controller Input W ords 3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 WX1 (Status W ord) 3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 29

    Programming 3-2 Series 505 High Speed Counter and Encoder Module User ’ s Manual 3.1 Controller Input W ords The HSC module is configured as three word inputs (WX) and five word outputs (WY). It occupies eight words of the controller ’ s word image register . 3.1.1 WX1 (Status W ord) W ord 1 (WX) is the module’ s status word. Eight bits provi[...]

  • Page 30

     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 W ord, Section 3.1.3), this bit will be 1 and the counter will not count. Otherwise, this bi[...]

  • Page 31

    Programming 3-4 Series 505 High Speed Counter and Encoder Module User ’ s Manual Controller Input W ords (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 a momentary reset of the channel), setting the count to 0. Even though the bit remains 1,[...]

  • Page 32

     T roubleshooting 4-1 Series 505 High Speed Counter and Encoder Module User ’ s Manual Chapter 4 T roubleshooting Re-seat board Check jumper position and condition of jumper (metal insert intact) Symptom Probable Cause Corrective Action Input LED is not on and Output LED is not on Signal wire noise Module not configured in controller I/O confi[...]

  • Page 33

    4-2 T roubleshooting 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 both counters through the reset [...]

  • Page 34

     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

    Applications 5-2 Series 505 High Speed Counter and Encoder Module User ’ s Manual 5.1 Sprayer Example 5.1.1 Description A reversible DC motor drives a paint sprayer up and down a vertical assembly . A quadrature encoder on the drive shaft senses the direction and relative position of the sprayer . Channel 1 of the HSC will be used to enable the s[...]

  • Page 36

     Applications 5-3 Series 505 High Speed Counter and Encoder Module User ’ s Manual 5.1.2 Solution Connect encoder signals A and B to inputs A and B of the HSC. See Figure 5–2. Limit switch 1 (sprayer home) drives channel 1 Reset. Channel 1 outputs 1 and 2 are wire ORed and drive the sprayer enable. Select 1X Quadrature mode for channel 1, se[...]

  • Page 37

    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 1 SETUP WORD SETUP CHANNEL 1 OUTPUT 2 T O GO LOW AT PRESET SELECT COUNT INHIBIT ON CHANNEL 1 INHIBIT CHANNEL 1 [...]

  • Page 38

     Applications 5-5 Series 505 High Speed Counter and Encoder Module User ’ s Manual 5.2 Flow Rate Example 5.2.1 Description A flow meter outputs 200 pulses per gallon. The program requires calculation of flow rate in gallons per minute (GPM). 5.2.2 Solution Configure the HSC as WX9–WX1 1, WY12–WY16. Attach channel 1 to the flow meter . The [...]

  • Page 39

    Applications 5-6 Series 505 High Speed Counter and Encoder Module User ’ s Manual 5.3 T ank Filling Example 5.3.1 Description The HSC module measures the volume of liquid and control the filling valve. (See Figure 5-6.) A flow meter , generating 200 pulses per gallon, is connected to the HSC channel 2, input A. Output 2 controls the filling valve[...]

  • Page 40

     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 T O INITIA TE/TERMINA TE FILLING C1 C140 C1 : RESET HSC, LOAD INIT AL PRESETS Y20 LDC4 A: WY4 N = 0 MOVW1 A: V200 N = 2 B: WY7 BITS1 A: WY4 N = 5 C141 : CLEAR RESET BIT C1 Y20 C1 Y20 Y20 C140 : ENABLE[...]

  • Page 41

    Applications 5-8 Series 505 High Speed Counter and Encoder Module User ’ s Manual T ank Filling Example (continued) C51 C8 C51 C8 : AFTER 90,000 PULSES, SUBTRACT THE OVERCOUNTS FROM 10,000 AND LOAD THE REMAINING COUNT INT O PRESET 2. CTR2 P = 9 MOVW2 A: V201 N = 1 B: WY7 SUB2 C51 C8 Y20 C61 SUB1 C61 C51 : ACCUMULA TE THE OVERCOUNTS A: WX3 B: V200[...]

  • Page 42

     T erminal Block W orksheet A-1 Series 505 High Speed Counter and Encoder Module User ’ s Manual Appendix A T er minal Block W orksheet[...]

  • Page 43

     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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B[...]

  • Page 44

    Specifications B-2 Series 505 High Speed Counter and Encoder Module User ’ s Manual B.1 Environmental Specifications T able B-1 Environmental Specifications Operating T emperature 0 _ to 60 _ C (32 _ to 140 _ F) Storage T emperature –40 _ to 70 _ C (–40 _ to 158 _ F) Relative Humidity 5% to 95% noncondensing Pollution Degree 2, IEC 664, 664A [...]

  • Page 45

     Specifications B-3 Series 505 High Speed Counter and Encoder Module User ’ s Manual B.2 Electrical Specifications T able 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 Khz 10 Khz 30% 35 Khz 12 Khz 40% 50 Khz [...]

  • Page 46

    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 Of f voltage: –1.5 to 1.5 VDC Current of f: 0 to 0.75 mA Reset delay ti[...]

  • Page 47

     Specifications B-5 Series 505 High Speed Counter and Encoder Module User ’ s Manual Outputs User voltage: 28 VDC max. . . . . . . . . . . . . . . . . . . . . . . . . . V oltage drop: 1.8 VDC max. @ 400 mA . . . . . . . . . . . . . . . 1.0 VDC max. @ 25 mA Leakage current: 500  A max. . . . . . . . . . . . . . Peak current: 500 mA for 1 ms [...]

  • Page 48

    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 V erband Deutscher Elektrotechniker (VDE) 0160: Electrical Equipment Series 505 products have been developed with consideration of the draft standard for programmable contr[...]

  • Page 49

    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 Accuracy Organization Clarity Completeness Overall design Size Index Would you be interested in giving us more detailed comments about our manuals? Y es! Please s[...]

  • Page 50

    BUSINESS REPL Y MAIL FIRST CLASS PERMIT NO.3 JOHNSON CITY , TN FOLD FOLD POST AGE WILL BE P AID BY ADDRESSEE NO POST AGE NECESSARY IF MAILED IN THE UNITED ST A TES SIEMENS INDUSTRIAL AUTOMA TION, INC. 3000 BILL GARLAND RD. P .O. BOX 1255 JOHNSON CITY TN 37605–1255 A TTN: T echnical Communications M/S 3519[...]

  • Page 51

     Index-1 Index A Assistance, 2-2 C Configuration selecting, 2-10 updating, 2-10 Configuring jumpers, 2-5 User 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 HSC, 2-2 I I/O address, 2-10 configuration [...]

  • Page 52

    Index-2 Q Quadrature Mode, quadruple count, 1-10 Quadrature mode double-count, 1-9 single-count, 1-8 Quadruple count, quadrature mode, 1-10 R References, 2-2 Reset, 1-2, 1-4 S Single-count quadrature, 1-8 Static electricity , 2-2 T T erminal block, 2-8 wiring diagram, 2-9 worksheet, 2-8 U Using status words, 3-2 W W iring, 2-3, 2-8 considerations, [...]

  • Page 53

    SIMA TIC is a registered trademark of Siemens AG. Series 505 and TISOFT are trademarks of Siemens Industrial Automation, Inc. T exas Instruments and TI are registered trademarks of T exas Instruments Incorporated. TI505, TI525, TI535, and TI545 are trademarks of T exas Instruments Incorporated. UL is a registered trademark of Underwriters Laborator[...]