Professional Documents
Culture Documents
2011
SUBMITTED TO: Mr. Kamran Saeed Senior Executive Engineer FS Department SUBMITTED BY:
Internship Report
2011
PREFACE
Internship program is a fundamental part of professional studies. On one side, our theoretical knowledge helps us to understand the basic phenomena of any system and on the other side; internship provides us the opportunity to get a practical and hands on experience of our knowledge. Here we learn how to apply and materialize that abstract truth into practice in our life. In this experience students attain the opportunity to work outside their institutions and form a satisfactory relationship between their theoretical and practical work to build a new wave of confidence among them. Internship opens the door of practical knowledge to students so that they find no problem when they step in their professions. My organization was Siemens (Pakistan) Engineering Company Limited, where I worked in Field Services (FS) Department for Four weeks.
FS Department
Internship Report
2011
Acknowledgment
All Gratitude is to Almighty ALLAH, the most Gracious and the most Merciful who gave me the strength and will to do this work. First I would like to thank Siemens Pakistan for inviting me to spend a summer-internship and gave me the honor to work there. What makes this place so special? Not only the perfect infrastructure, the nice working atmosphere, and the large experience and knowledge gathered there, which all serves as a stable basis for further completing my degree. Also not only the company, but the members of it which helped me in every problem I had there. By this I achieved better and higher than what I was expecting. The harder it is to keep up with these high requirements on one hand, the sweeter the feeling to have them matched on the other hand. I highly appreciate the opportunity that had been given to me form leading company of the world and let me study their present work at various levels, thanks for everything I learned. Next, I would like to thank Mr. Mohammad Mohsin an Executive Engineer in BU-Field Services of Siemens Pakistan Lahore Division for teaching me the basics of the work in the department. He is one of the very competent engineers. The work, the first advices and recommendations he gave me will serve as a good basis for my future work. I thank him for supplying me with good recommendations. I have to mention nice time out and discussions with him. He was always ready to enter discussions of new topics, ideas, and results. His expertise always served me as a good example. I am very grateful to Mr. Shafqat an Executive Engineer in BU- Field Services of Siemens Pakistan Lahore Division. The atmosphere has always been a perfect source of motivation. It was great to be welcomed and introduced to him. It was pleasure to share office with him. Who was the person infecting me to spend more working hours a week. We shared not only nice discussions during work, but also nice time. I am very grateful to him who always took the time to answer my questions thoroughly sometimes even to the very depths. I have to specially mention a long-standing co-intern and friend, Hassan Zafar. Together we proved that long distance cannot be an obstacle for effective co-actions. He was always ready to enter discussions of new topics, ideas, and results. We shared the table while working. I also enjoyed sharing few evenings out with him. I thank also all others who were always willing to help, discuss some topic. Last, I want to thank my parents, without whom I would never have been able to achieve so much. I thank for their endless love, patience, and understanding. Rehan Ahmad Baig (UMT) 3 FS Department
Internship Report
2011
TABLE OF CONTENTS
Description Page no.
Preface.....2 Acknowledgment.3 Executive Summary.5 Introduction ....6 Company History....7 Siemens Pakistan History9 Vision Statement ..11 Mission Statement.12 Field Services.....13 AC Motors.....14 Induction Motors...16 Motor Parts.....19 AC Motor Starters .....22 Comparison Overview27 Speed Control of DC Motor...28 Speed Control of AC Motor...29 Programmable Logic Controller.....31 S7-Simatic Manager...36 Hardware configuration with S739 Programming language Ladder Diagram LD, LAD..44 Rehan Ahmad Baig (UMT) 4 FS Department
Internship Report
2011
Counter and Timer.47 Programming language FBD.49 SIMATIC S7-300..54 Types of Block...59 Types of Data.60 Programming Devices....61 Human Machine Interface.62 SCADA.63 WinCC flexible.63 Assignments..66 Experience.67 Internship Accomplishments.67 Conclusion.68
EXECUTIVE SUMMARY
This report is a comprehensive description of business activities and operational procedures of FS Department of Siemens Engineering Company limited. The report begins with the in depth study of Siemens and the people of Siemens. Siemens is a multinational company based in Germany. During my internship of Four weeks in Siemens Lahore, I was in FS Department of the company where I learned its working principles. Besides the customary learning, the moral and sound discussion of my Supervisor also made be able to understand the ethics of doing work in an organization.
FS Department
Internship Report
2011
INTRODUCTION
Siemens enjoys a leading position in Pakistan in the business areas of Power, Automation and Control, Medical, Transportation, Information Technology and Industrial solutions. Siemens is the countrys No. 1 supplier of high-voltage grid stations, switchgear products and systems, power distribution and power transformers, and network consultancy. The Power Generation Group is a major player in the country. To date, the Group has added over 2,500 MW to Pakistan's power generation capacity. The Industrial Automation & Drives Technologies Group is the only major local supplier with 35 years of experience in the local manufacture of diesel generating sets to meet customer specific demands from clients on both the domestic and international markets. The success story continues with the Medical Solutions Group, which is the leading supplier of state-of-the-art equipment to major hospitals. With a workforce of over 1500 employees, Siemens is one of the most important employers in the country. Siemens is also the single largest employer of engineering graduates in the country. It follows a policy of gender equality.
FS Department
Internship Report
2011
COMPANY HISTORY
Siemens AG is Europe's largest engineering conglomerate. Siemens was founded by Werner von Siemens on 12 October 1847. Based on the telegraph, his invention used a needle to point to the sequence of letters, instead of using Morse code. The company, then called TelegraphenBauanstalt von Siemens & Halske, opened its first workshop on October 12. Werner von Siemens:Made the world's first pointer telegraph Made the Electric dynamo Constructed the world's first electric railway Laying the first telegraph line linking Britain and India Built much of the modern world's infrastructure.
Siemens is today a technology giant in more than 190 countries, employing some 475,000 people worldwide. They work in the fields of
FS Department
Internship Report
2011
Beginnings and early development Company policy and international projects The second generation A period of transition The National Socialist war economy Postwar reconstruction and emergence as a global player United under a single roof Stepping into the third millennium.
[1847 1865] [1865 1890] [1890 1918] [1918 1933] [1933 1945] [1945 1966] [1966 1989] [1989 2005]
FS Department
Internship Report
2011
The Pakistani government awards Siemens Karachi a contract to build a production plant for motors, transformers and switchgear. [ 1960 ] Siemens Karachi succeeds East Asiatic Company (EAC) as representative of SRW. The railway administration awards Siemens a contract to modernize the railway safety installations in West and East Pakistan. [ 1961 ] Siemens became Public Limited Company & Factory for Motors & Transformers. [ 1963 ] Siemens builds a telephone plant in Tongi and a phone cable factory in Khulna. Telephone Industries Corporation (TIC) is founded in Dacca, and Industries of Pakistan (CIP) is established in Khulna. [ 1967 ] Siemens and the Pakistani government form a joint venture named Carrier Telephone Industries (CTI), Islamabad. [ 1969 ] Introduction of Diesel Generating Sets [ 1967 ]
FS Department
Internship Report
Power Transformers production started~30MVA Extension in Power Transformer rating~60MVA The company begins setting up a GSM mobile radio network 412 MW Rousch Combined Cycle Power Plant Become first Value Added Reseller of SAP Export order for 132 kV substation for DEWA Dubai, UAE Launched 1.1 MVA DG Sets [ 1981 ] [ 1987 ] [ 1993 ] [ 1996 ] [ 1998 ] [ 2000 ] [ 2002 ]
2011
Signed agreement for first desalination plant in Karachi [ 2003 ] Launched new line of Low Voltage Switchgear System of family SIVACON 8PT. [ 2004 ] 11 Grid Stations 220kV/132kV for KESC & Acquired Carrier Telephone Industries [ 2005 ] New Jabel Airport and Dubai Sports City 132KV Grid Stations, UAE & Ghakkar 500kV Grid Station, WAPDA [ 2006 ] SAP implementation in PTCL Siemens Pakistan pioneered to manufacture 220 kV/250 MVA Power & Transformers in Pakistan [ 2007 ] New Jebel Ali Airport 132kV Grid Stations Extension Project, UAE & Inauguration of Desalination Plant for DHA Cogen Ltd [ 2008 ]
10
FS Department
Internship Report
2011
11
FS Department
Internship Report
2011
Business Divisions:
Following is the overview on some of the Siemenss businesses: Power Transmission and Distribution: HV-Sub-Stations: Transformers: Switchgears: PTD Services: Industrial Solutions & Power Generation: Process Industries & Water Technologies: Engineering and Construction: Power Generation: Information Technology Services: Field Services: Siemens Building Technologies: Industriel Automation & Drives Technologies Division: Generating Sets: Healthcare Sector: Medical Solutions: OEM Onshore: Transportation Systems: Finance and Controlling: Energy Automation:
12
FS Department
Internship Report
2011
Field Services:
(On-Call, Logistics & Maintenance Services) Master your future with Siemens Maintenance Services. If your top priorities are optimum availability and operating efficiency of your equipment, plant or industry, you should demand the best from your service partners. Siemens Maintenance Services will live up to your demands. As specialists for complete electro mechanical maintenance, we are your competent & experienced partner for all the repairs, maintenance and revamps. A partner who gives every thing to meet your priorities with reliability and from a single source. You as Siemens customer are the benchmark by which we evaluate our performance- day by day. To facilitate reliable, failsafe production facilities, innovative technologies & superb after sales support Siemens Pakistan has a dedicated Business Unit i.e. OnCall-, Logistics & Maintenance Services. Field Services use the technological & business management competencies, as well as their vast project execution & maintenance experiences enable them to provide sustainable support throughout the production phase of the industry; that help their customers to achieve their business goals more effectively . To stay competitive, it is essential to have a maintenance and modernization plan that addresses both technical and business issues. It is only when the need for performance and profitability are balanced that the desired results can be achieved. Customer equipment must be up-to-date, processes must be highly available and any improvements they make to their production facilities must deliver favorable Profits. When modifications are made - from reconstruction and expansion to site relocation - all downtime must be kept to a minimum. FS can do that: by using the unsurpassed combination of technological expertise and industryspecific experiences.
Services at a glance:
Repair, Overhauling & Maintenance of Motors & Alternators Condition Monitoring (Thermography, Vibration Analysis, NDI & Oil Analysis) Spare Parts Management Operation & Maintenance Service (Industrial and Power Plants)
13
FS Department
Internship Report
2011
AC motors
With the almost universal adoption of AC system of distribution of electric energy for light and power, the field of application of AC motors has widened considerably during recent years. It consists of two basic parts, an outside stationary stator having coils(Armature windings) supplied with alternating current to produce a rotating magnetic field, and an inside rotor (Field windings)attached to the output shaft that is given a torque by the rotating field. Main types are: 1) Synchronous motor 2) Asynchronous motor a) Induction motor i) Single Phase motors ii) Three Phase motors
Synchronous motor: A synchronous motor is similar to an alternator with a rotating field. The stator of a synchronous motor is the same as that of the more popular induction motor. A 3-phase synchronous motor generates an electrically rotating field in the stator. Such motors are not self starting if started from a fixed frequency power source. It runs either at synchronous speed or not at all. It is not inherently self starting. It has to be run at synchronous sped by some means before it can be synchronized to the supply. A wound rotor (rotating field) which has the same number of poles as the stator, and is supplied by an external source of direct current (DC). Both brush-type and brushless exciters are used to supply the DC field current to the rotor. The rotor current establishes a north/south magnetic pole relationship in the rotor poles enabling the rotor to lock-in-step with the rotating stator flux.
14
FS Department
Internship Report
2011
Features:
For a given frequency it runs at a constant average speed whatever the load is. It can operate over a wide range of power factors, both lagging and leading. Not self starting DC excitation is required. Can be run at ultra low speed by using high power electronic converter which generates very low frequency.
Applications:
Power factor improvement. Voltage regulation. Constant load drives.
15
FS Department
Internship Report
2011
Induction Motor:
Most AC motors are induction motors. Induction motors are favored due to their ruggedness, simplicity (absence of brushes) and the ability to control the speed of the motor. In fact, 90% of industrial motors are induction motors. The induction motor does not have any direct supply onto the rotor; instead, a secondary current is induced in the rotor. An induction motor is sometimes called a rotating transformer because the stator (stationary part) is essentially the primary side of the transformer and the rotor (rotating part) is the secondary side. Induction motors are widely used, especially polyphase induction motors, which are frequently used in industrial drives.
Working Principle:
A conductor moving through a magnetic field will have a voltage induced into it. This is known as Electromagnetic Induction .This electrical principle is used in the operation of AC induction motors. The basic difference between an induction motor and a synchronous AC motor is that in the latter a current is supplied onto the rotor. This then creates a magnetic field. By way of contrast, the induction motor does not have any direct supply onto the rotor; instead, a secondary current is induced in the rotor. To achieve this, stator windings are arranged around the rotor so that when energized with a polyphase supply they create a rotating magnetic field pattern which sweeps past the rotor. This changing magnetic field pattern induces current in the rotor conductors. This current interacts with the rotating magnetic field created by the stator and in effect causes a rotational motion on the rotor.
16
FS Department
Internship Report
2011
However, for these currents to be induced, the speed of the physical rotor and the speed of the rotating magnetic field in the stator must be different, or else the magnetic field will not be moving relative to the rotor conductors and no currents will be induced. This difference between the speed of the rotor and speed of the rotating magnetic field in the stator is called slip.
slip
Slip can never be zero in an induction motor. At the start it is 100%. It should be as small as possible, not more than 5%.
Construction:
Stator:
The stator is the stationary part of the motor. The stator core is cylindrical made up of several thin laminated sheets Silicon steel. These laminations are stacked together forming a
17
FS Department
Internship Report
hollow cylinder. There are slots in the inner periphery. Coils of insulated wire i.e. armature windings are inserted into slots of stator core. Each grouping of coils, together with the steel core it surrounds, form an electromagnet. Electromagnetism is the principle behind motor operation. The stator windings are connected directly to the power source.
2011
Rotor:
The rotor is moving part of motor. Induction motor has two types of rotors.
Squirrel-cage rotor:
The most common rotor is a squirrel-cage rotor. Core is made up of laminated sheets of Silicon steel. Slots are present on outer periphery of core and Al conductors (bars) are placed in these slots. These conductors are forming closed circuit i.e. copper rings at each end. No terminals are coming out of it. The rotor bars in squirrel-cage induction motors are not straight, but have some skew to reduce noise and harmonics.
Slip-ring rotor:
A slip ring rotor replaces the bars of the squirrel-cage rotor with copper windings that are connected to slip rings. These rings are mounted on rotor but laminated from the rotor. These can also be connected to resistors to produce a high-resistance rotor circuit, which can be beneficial in starting.
18
FS Department
Internship Report
2011
Motor Parts
19
FS Department
Internship Report
2011
20
FS Department
Internship Report
2011
21
FS Department
Internship Report
2011
AC motor starters
Synchronous motor:
Three basic approaches can be used to safely start a synchronous motor
22
FS Department
Internship Report
2011
Induction motor:
Types of starters:
1. 2. 3. 4. 5. 6. Direct on line starter Autotransformer starter Star Delta starter Resistance starter Soft start Series reactor starter
Disadvantages:
Electrical:
High inrush current (typically 6 x full load which can cause several problems). Necessities over sizing of installation (particularly important on generator and UPS fed supplies). Limits Expansion. Reduces service life of electrical components.
Mechanical:
Excessive applied starting torque (typically 2.5 x full load). Increases wear on drive chain components. Reduces service life of mechanical components.
23
FS Department
Internship Report
2. Autotransformer starter:
2011
This method uses transformer action to reduce the voltage applied to the motor and current seen by the supply. An improved torque/amp ratio is achieved and starting current is typically 3 x FLC, depending on the voltage rapping selected. Normally the voltage is applied to the motor in voltage steps through the transformer with the taps being selected through contactors. Typical tapings are 50%, 70%, followed by full voltage being applied to the motor. The major disadvantages are size and cost, and of course the mechanical snatch at switch on is not controllable and can still cause problems. Also once the tapings have been selected, it may be necessary to change them according to changes in load parameters.
Advantages:
Simple operation.
Disadvantages:
24
FS Department
Internship Report
3. Star delta starter:
2011
An induction motor's windings can be connected to a 3-phase AC line in two different ways:
Wye (star in Europe), where the windings are connected from phases of the supply to the neutral; Delta (sometimes mesh in Europe), where the windings are connected between phases of the supply. A delta connection results in a higher voltage to the windings than a wye connection (the
). A star-delta starter initially connects the motor in wye, which voltage is multiplied by produces a lower starting current than delta, then switches to delta when the motor has reached a set speed.
Lower starting torque, which may be a serious issue with pumps or any devices with significant breakaway torque Increased complexity, as more contactors and some sort of speed switch or timers are needed Two shocks to the motor (one for the initial start and another when the motor switches from wye to delta)
25
FS Department
Internship Report
4. Resistance starter:
2011
This method is used with slip ring motors where the rotor poles can be accessed by way of the slip rings. Using brushes, variable power resistors are connected in series with the poles. During start-up the resistance is large and then reduced to zero at full speed. At start-up the resistance results in the stator's field strength being weakened less. As a result, the inrush current is reduced. Another important advantage is higher start-up torque. As well, the resistors generate a phase shift in the field resulting in the magnetic force acting on the rotor having a favorable angle.
5. Soft start:
The soft start is designed to apply an adjustable voltage to the motor and increase this voltage gradually over a user-selectable acceleration period. The acceleration time being dependent on the application and desired characteristics. The added advantage of this method of reduced voltage control is that the motor can also be stopped gradually by slowly reducing the output voltage to the. Soft Stop feature offers a smooth stop in many process industries such as pumps, where fast stops can result in water hammer and mechanical damage.
Advantages:
Reduced starting current Reduced starting torque Less mechanical stress Improved control of acceleration and deceleration
26
FS Department
Internship Report
2011
function of the current passing through it, it gradually reduces as the motor accelerates, and at 95 % speed the reactors are bypassed by a suitable bypass method which enables the motor run at full voltage and full speed. Air core series reactor starters or a series reactor soft starter is the most common and recommended method for fixed speed motor starting.
Comparison Overview
27
FS Department
Internship Report
2011
DC Shunt motor:
The speed controlling techniques of DC shunt motors are as follows:
DC Series motor:
The speed controlling techniques of DC series motors are as follows:
28
FS Department
Internship Report
2. Armature Divertor: Divertor across armature can be used for speed lower than normal speed. Variation in speed can be controlled by varying resistance. 3. Paralleling field coils: This method is used for fan motors. Several speeds can be obtained by regulating field coils.
2011
Compounded DC motors:
Changing field resistance. Changing armature voltage. Changing armature resistance
29
FS Department
Internship Report
Variable voltage speed control:
2011
These controllers vary the speed and torque of motor by varying stator voltage with the help of SCRs. The stator voltage is reduced by delaying the firing of thyristors. Power factor is low due to large lagging current hence these devices are feasible for motors rated below 15KW. Due to distortion of voltage power losses are much more.
Input Section - Consists of a rectifier and filter. Transforms the AC voltage into DC voltage. Control Section - The control board accepts real world inputs and performs the required operations. The tasks are performed by a microprocessor. Output Section - This section includes the base drive circuits and the inverter. The base drive signals are low level signals that tell the inverter to turn on. Motor.
30
FS Department
Internship Report
2011
31
FS Department
Internship Report
2011
32
FS Department
Internship Report
Scan Time of a PLC:
Input scan at which input terminals Are read and the input status table is updated. Program scan at which data in the input status table is applied to the user program, the program is executed and the output status table is executed. Output scan at which data associated with the output status table is transferred to output terminals.
2011
33
FS Department
Internship Report
Parts of PLC:
A PLC basically consists of two elements: The Central Processing Unit The Input/output System
2011
The rack is an enclosure with slots in it that is connected to the CPU. I/O modules are devices with connection terminals to which the field devices are wired.
34
FS Department
Internship Report
Discrete I/O Modules:
2011
The most common I/O interface module is the discrete type. This type of interface connects on/off type field input devices such as selector switches, push button and limit switches. Output control is limited to devices such as lights, small motors and solenoids and motor starters that require on/off switching. The central processing unit (CPU) is the part of a programmable controller that retrieves, decodes, stores, and processes information. It also executes the control program stored in the PLCs memory. In essence, the CPU is the brains of a programmable controller. The CPU has three parts: The processor The memory system The power supply
Parts of CPU:
Processor Unit:
The processor unit interprets the input signals and carries out the control actions, according to the program stored in its memory, communicating the decisions as action signals to the outputs.
Memory unit:
The memory system is the section of the CPU that Stores both the control program and data from the Equipment connected to the PLC.
Power Supply:
The Power Supply Unit is needed to convert the mains A.C. voltage to the low D.C. Voltage necessary for the processor and the circuits in the input and output interface modules.
35
FS Department
Internship Report
2011
S7-Simatic Manager
PLC Projects in Step7
A programming software for Siemens SIMATIC Step7 offers apart from the five programming Languages, defined in the standard Norm EN 61131 further programming languages. In Siemens S7 there are the following types of programs and programming languages:
Programming Languages:
Ladder Logic Sequential Function Chart (SFC) Function Block Diagram(FBD) Structural Text Programming Instruction List (IL) The languages can be mixed in any way within a PLC project. The unification and standardization of these five languages represent a compromise of historical, regional and branch-specific requirements. Provision has been made for future expansion, (such as the function block principle or the language Structured Text) plus necessary information
36
FS Department
Internship Report
2011
37
FS Department
Internship Report
2011
Structured text enables the formulation of numerous applications, beyond pure function technology, such as algorithmic problems (high order control algorithms etc.) and data handling (data analysis, processing of complex data structures etc.).
With regard to language philosophy, the ladder diagram, the function block diagram and instruction list have been defined in the way they are used in todays PLC technology. They are however limited to basic functions as far as their elements are concerned. This separates them essentially from the company dialects used today. The competitiveness of these languages is maintained due to the use of functions and function block.
38
FS Department
Internship Report
2011
The CPU has to know, which hardware is available Before a control with Sep7 can be projected and put into operation, the present hardware has to be configured in S7. Without the hardware configuration of the PLC and the connected blocks as for example, input- and output blocks, power supply and so on, the installation cannot be put into operation. In the hardware configuration the available hardware (power supply, CPU, blocks and profile rail) are listed in S7. After the blocks are addressed and parametered as required. Finally this configuration is loaded in the CPU. This is necessary because the CPU has to know which blocks are available, how they are addressed and parametered.
Create new project Process of the hardware configuration In order to carry out the hardware configuration a project is needed first. Either the project is available already or a new project, as in this example, is set up.
39
FS Department
Internship Report
2011
For doing so open the menu options FILE- NEW. Alternatively you could activate the assistant for a new project or, as long as you want to open an existing project click FILE- OPEN to open and edit an existing project.
Enter project name Assign a project name to the project. In this case our project is simply called "project name". The location in which this is filed can usually stay as it is in the pre-selection. Unless you would like to store the project in a different location. In this case choose a different file. Confirm the inputs with OK.
Insert station Subsequently the new project is generated and the SIMATIC Manager is started. First according to the SIEMENS block available (S7-300, S7-400 etc.), a station has to be included. In ours we would like to include a Siemens S7-300 station. First, mark the project in the left field. Via the menu options INSERT-STATION and the corresponding choice of the stations, eg. SIMATIC 300-station, you can insert a new station.
40
FS Department
Internship Report
Open hardware configuration
2011
The station is inserted below the project node. The next step is opening the hardware configurations. Here there are a variety of methods as it is often the case. Either, like in our example via the right mouse button and the menu option OPEN or with a double click on the symbol HARDWARE on the right side of the window. Subsequently the program HW configuration is opened in a new window. First the window is empty. In the right field you will find the hardware catalogue. Here all blocks are listed in various nodes which are available in the current hardware catalogue. Like in reality first a profile rail has to be included which the blocks can be mounted onto. Only then the power supply, the CPU and input- and output blocks can be inserted. For this open the node for the station, in this example SIMATIC 300, then the node rack-300 and drag the profile rail via drag and drop in the left field of the window. Subsequently the profile rail together with the various slots is shown in the left field of the window and the single components can be inserted also via drag and drop.
Basis for the set of the units is the profile rail The single components are now dragged via drag and drop on the profile rail. On each block there is an order number. In the lower field of the hardware catalogue the corresponding order number to the marked object is indicated, eg. 6ES7 322-1BL00-0AA0. Thus a description mistake is prevented, if, eg. various blocks have the same label. This is in particular tricky for input- and output blocks.
41
FS Department
Internship Report
2011
In our example we have inserted the power adaptor PS307 5A, the CPU 315, the input block DI 32xDC24V and the output block DO 32xDC24V/0.5A.
The components are drawn on the profile rail via drag and drop Before the configuration is loaded in the CPU the specifics of the single blocks can be read and partly be changed, for example the MPI-address of the CPU. For doing so open the corresponding block with a double click. In our example we have opened the specifics window of the CPU and can read and change the specifics in the corresponding register.
42
FS Department
Internship Report
Customizing of the properties
2011
Finally the configuration has to be loaded in the CPU. We advise you to save the configuration under STATION - SAVE before. In order to load the configurations in the CPU open the menu option PLC - DOWNLOAD and in the next window choose the CPU. Subsequently the hardware configuration is loaded in the CPU. The loading of the configuration data can also be made vice versa. The data can be loaded from the CPU in the program and after having made certain adjustments they can be loaded back again in the CPU. In order to read out the data from the CPU choose the menu option PLC - UPLOAD.
The CPU After the configuration have been saved and finished the hardware turns up in the Simatic Manager below the station. In our example we successfully inserted the CPU 315, the digital input- and output modules as well as the power supply. Only now it is possible to start with the installation of the S7 program, which can be inserted in the node below the CPU. Rehan Ahmad Baig (UMT) 43 FS Department
Internship Report
2011
Logical AND-operation An logical AND-operation consisting of two inputs I0.0 and I0.1 and an output Q0.0 is represented in the graphic programming language LD as follows. The logical OR-operation
Logical OR-operation
An logical OR-operation consisting of two inputs I0.0 and I0.1 and one output Q0.0 is represented in the graphic programming language LD as follows. The logical XOR (Exclusive-OR) operation
44
FS Department
Internship Report
2011
XOR-operation
In order to represent a logical XOR-operation (Exclusive-OR) in the graphic programming language LD, a network must be created with NC contacts and NO contacts.
Comparison instructions in LD
In the programming language ladder diagram LD the two inputs IN1 and IN2 can be compared as follows: == IN1 is equal IN2 <> IN1 is unequal IN2 > IN1 is greater than IN2 < IN1 is less than IN2 >= IN1 is greater or equal IN2 <= IN1 is less or equal IN2 The following symbol boxes are available in LD for comparing 16 bit integers
Comparing 16 bit integer The comparing operation comparing integers (16 bit) compares two 16 bit fixed point number with each other. The two inputs IN1and IN2 are compare with each other according to which comparison is to be carried out.
45
FS Department
Internship Report
2011
Set coil Via this symbol an output is set in the programming language LD. This operation is carried out if the RLO of the previous operation has the signal state "1" . If the RLO of the previous operation has the signal state "0", the operation setting an output is not affected. Resetting an output in the programming language LD
Reset coil Via the symbol an output is reset in the programming language LD. This operation is carried out if the RLO of the previous operation has the signal state "1". If the RLO of the previous operation has the signal value "0", the operation resetting an output is not affected. A time can be indicated as operand, the time value of which is to be cleared or a counter the counting value of which is to be cleared. Flip-flops in the programming language ladder diagram LD: SR flip-flop, dominant resetting
SR-flip-flop With the operand it is indicated in LD which bit is to be set or reset (eg. Q 2.1). The operand is set via the set input "S" (requirement: signal state at "S"="1" and at "R"="0"), the operand is reset via the reset input "R" (note: if the signal state at "R"="1" and if the signal state at "S" changes subsequently from "0" to "1", the operand has the signal state "0", reset domineering). RS flip-flop, dominant setting
RS-flip-flop With the operand it is indicated which bit in LD is to be set or reset (eg. Q 2.1). The operand is set via the set input "S" , via the reset input "R" the operand is reset (note: if the signal state at "R"="1" and if the signal state at "S" subsequently changes from "0" to "1", the operand has the signal state "1" set domineering)
46
FS Department
Internship Report
2011
Counter
Digital counters output in the form of a relay contact when a pre-assigned count value is reached.
Timer
A timer consists of an internal clock, a count value register, and an accumulator. It is used for some timing purpose.
47
FS Department
Internship Report
2011
Counter in LD The counters in Step7 have their own reserved memory range in the CPU. In this memory range 16 bit word are reserved for each counter. The programming language ladder diagram LD supports 256 counters. S_CU, S_CD and S_CUD indicate the counter function. S_CU is an incremental counter with an input for counting incremental . S_CDis a decremental counter with an input for decremental counting and S_CUD is a counter with an input for counting incremental and one input for counting decremental. The input of a counting value is defined with a word length (16 bit) in Step7 with the maximum value 999 by using the 8421-BCD-code. The bits 12 to 15 are not important for the entry of the counter value.
Further counter instructions Counter operation CU forward counting With the operation CU the counter indicated in the operand counts forward whenever there is a positive edge in the RLO. Then the value of the counter is increased by 1 on each edge. It can be counted to 999 at the maximum. This operation can only be programmed at the right end of a logic operation chain; however, several such operations can be set. Counter operation CD backward counting With the operation CD the counter indicated in the operand counts backward whenever there is a positive edge in the RLO. The value of counter is decreased by 1 on each edge. It can be counted down from 999 at the maximum. this operation can only be programmed at the right end of a logic operation chain, however, several such operations can be set.
48
FS Department
Internship Report
2011
Logical AND-operation Symbol of an logical AND-operation with two inputs in the programming language FBD: Example: Logical AND-operations of the inputs I0.1 and I0.5 and allocation to the output Q2.3 query of the signal state of the input I0.1 and storing in the RLO (the query for the signal state resulted in "1") Query of the signal state of the input I0.5 (the query of the signal state resulted in the value "1"), logic operation of the signal state with the value stored in the RLO, "1" AND "1")
49
FS Department
Internship Report
2011
the logic operation produces a result or the signal state "1" and the storage in the RLO is made as well as the allocation to the output variable Q2.3 The logical OR-operation in FBD The signal states of two or more operands can be queried via an logical OR-operation. The query made by the OR-operated operand results in a signal state , "1" orr "0", in the logic operation result. If one or all operands of an logical OR-operation (none of the operands must be negated) have the signal state "1", the logic operation result RLO also has the signal state "1".
Logical OR-operation Symbol of an logical OR-operation with two inputs in the programming language FBD Example: Logical OR-operation of the inputs I0.1 and I0.5 and allocation to the output Q2.3 query to the signal states of the inputs I0.1 and I0.5, storing in RLO (the query of the signal state at the input I0.1 resulted in the value "1", the query to the signal state at the input I0.5 resulted in the value "0") The logical operation produces the result, or the signal state "1" and the storing in the RLO is made and the allocation to the output variables Q2.3 The logical operation AND before OR in FBD
Logical AND before OR operation With the logical operation AND-before-OR the result of a signal state query can be queried corresponding to a OR-truth table. The signal state is "1", if at least one logical AND-operation has the signal state "1" at the output. The logical operation OR before AND in FBD
Logical OR before AND operation With the logical operation OR-before-AND the result of a signal state query can be queried corresponding to an AND truth table. The signal state is "1", if all logical ORoperations hold the signal state "1" at the output.
50
FS Department
Internship Report
S, setting of an output in function block diagram FBD
2011
SET of an output Via the symbol S, set output, an output can be set. However, the output is only set if the RLO has the state "1" . The operand of the operation is set to "1" . The signal state of the operand stays "0" if the RLO has the signal state "0". R, resetting of an output in FBD
Reset of an output Via the symbol R, reset output, an ouptut is reset. However the output is only reset if the RLO has the signal state "1" . The operand of the operation is reset to "0" . The signal state of the operand stays "0" if the RLO has the signal state "0". Flipflops in the programming language function block diagram FBD:
SR-flipflop The operand indicates which bit is set or reset (eg. Q 2.1). The operand is set via the set input "S" (provision: signal state at "S"="1" and at "R"="0"), the operand is reset via the reset input "R" (specific: if the signal state at "R"="1" and if the signal state changes at "S" from "0" to "1", then the operand has the signal stat "0", reset domineering). RS flipflop, set domineering
RS-flipflop The operand indicates which bit is to be set or reset (eg. Q 2.1). The operand is set via the set input "S" t, via the reset input "R" the operand is reset (specific: if the signal state is "R"="1" and if the signal state at "S" changes then from "0" to "1", the operand has the signal state "1", set domineering).
51
FS Department
Internship Report
2011
Counter in FBD Counters are reserved memory range in the CPU. In this memory range a 16 bit word is reserved for each counter. The programming language function block diagram FBD in Step7 supports 256 counters. S_CU, S_CD and S_CUD indicate the specific counter function. S_CU is a forward counter with an input for counting forward- or incremental, S_CD is a backward counter with an input for counting backwards- or decremental and S_CUDis a counter with an input to count forward and an input to count backwards.
52
FS Department
Internship Report
2011
Advantages of PLC:
Smaller physical size than hard-wire solutions PLCs have integrated diagnostics and override functions Applications can be immediately documented Applications can be duplicated faster and less expensively Increase in flexibility Faster implementation of changes and correction Easy visualization of process running Increased visual observations Increased operation speed Increased reliability and maintainability Increased security Reprogramming capability Elimination of wiring
53
FS Department
Internship Report
2011
SIMATIC S7-300
Features
Modular small control system for lower performance range. Performance graded range of CPUs. Extensive selection of modules. Expandable design up to 32 modules. Backplane bus integrated in modules. Can be networked with: Multipoint interface. PROFIBUS. Ethernet. Central PG\PC connection wit access to all modules. No slot restriction. Configuration & parameters setting with the help of HW config tool.
54
FS Department
Internship Report
2011
Modules
Signal Module: (SM)
Digital input modules: Digital output modules: Analogue input modules: 24VDC,120/230VAC 24VDC,Relay Voltage, Current, Resistance, Thermocouple. Analogue output modules: Voltage, Current
55
FS Department
Internship Report
2011
SIMATIC S7-300
SF
Group error, internal CPU fault or fault in module with diagnostics capability Battery fault, battery empty or non existent internal 5VDC voltage indicator Flashes when CPU is starting up, then a steady light in run mode FORCE; indicates that at least one input or output is forced. Shows a steady light in stop mode Flashes slowly for a memory reset request. Flashes quickly when memory reset is being carried out. Flashes slowly when a memory reset is necessary because a memory card has been inserted.
56
FS Department
Internship Report
2011
Memory Card:
A slot is provided for memory card. The memory card saves the memory contents in the event of power outage without need for a battery.
Battery Compartment:
There is a receptacle for a lithium battery under the cover. The battery provides backup power save the contents of RAM in the event of power outage.
MPI Connection:
Connections for a programming device or other device with MPI interface.
DP Interface:
Interface for direct connection of distributed I/Os to the CPU.
57
FS Department
Internship Report
2011
Power supply; this is the first slot by default. A power supply module is not absolutely essential. An S7-300 can also be supplied with 24V directly. Slot for the CPU. Logically reserved for an interface module for multi-tier configurations using expansion racks even if purposes. no IM is installed, it must be included for addressing
Slot 4-11:
Slot 4 is the first slot that can be used for I/O modules, communication processors or function modules. Addressing examples: A DI module in slot 4 begins with the byte address 0. The top LED of a DO module in slot 6 is called Q8.0.
58
FS Department
Internship Report
2011
Types of Blocks:
Organization blocks (OB):
OBs form an interface between the operating system and the user program.
Function (FC) :
Functions contains partial functionality of a program. It is possible program functions so that they can be assigned parameters. Functions are also useful for program reoccurring.
59
FS Department
Internship Report
2011
Types of Data:
They determine the properties of data, that is how the contents of one or more associated addresses are to be represented. Mainly there are three data types: Elementary data types Complex data types User defined data types Keyword BOOL BYTE WORD DWORD CHAR S5TIME INT DINT REAL TIME DATE Length(In bits) 1 8 16 32 8 16 16 32 32 32 16
Hardware Configuration:
The modules are supplied from the factory with preset parameters. If these default settings are OK, a hardware configuration is not necessary.
A configuration is necessary:
If you want to change the preset parameters or addresses of modules (such as to enable the hardware interrupt of the module). If you want to configure communication connections. With stations that have distributed peripherals (PROFIBUS-DP). With fault-tolerant programmable logic controller.
60
FS Department
Internship Report
2011
Actual Configuration
In an assembled system, the actual existing configuration and parameter assignment of the modules can be uploaded to the CPU. This creates a new HW station in the project.
Power PG:
A portable programming device, ideal for all applications in an automation project. It is also an extremely powerful, industry standard PC. Features: High level system performance. Excellent expansion facilities. TFT color display. Highly rugged design. Equipped with all necessary SIMATIC interface ports.
Field PG FS Department
Internship Report
2011
SIMATIC HMI, the leading Human Machine Interface solution With SIMATIC HMI, we offer a complete, integrated Human Machine Interface suite that includes best-in-class products and systems for all HMI tasks. Our systems range includes operating devices and visualization software for machine-level HMI as well as the SCADA system, which can be used for a broad range of process visualization requirements.
HMI (Human Machine Interface) The user interface in a manufacturing or process control
system. It provides a graphics-based visualization of an industrial control and monitoring system. Previously called an "MMI" (man machine interface), an HMI typically resides in an officebased Windows computer that communicates with a specialized computer in the plant such as a programmable automation controller (PAC), programmable logic controller (PLC) or distributed control system (DCS). Contrast with OI. See PAC, PLC, DCS, GUI and user interface. Human-machine interfaces (HMI) connect engineers and maintenance personnel to real-time factory information. Siemens offers a broad spectrum of both Touch Panel Units and Operator Panel Units. Available with total training & support solutions
62
FS Department
Internship Report
2011
SCADA SCADA (supervisory control and data acquisition) industrial control systems: computer systems that monitor and control industrial, infrastructure, or facility-based processes. Software used in SCADA are Sicam and Toolbox 2 to monitor the whole system and its nodes. Supervision tools or SCADA are aimed at all industries needing to pilot or see their equipment. Situated at Level II of CIM Computer Integrated Manufacturing, the main aim of these realtime tools is the graphics representation and the management of the advanced functions of the process. Supervision systems enable a global view of the equipment in order to see their physical/functional state. Situated in the command room or at the foot of the machine itself, Supervision systems offer the possibility of transmitting and of centralizing the vision and piloting of physical equipment (sensors, motors, valves...) which are otherwise very far. The implemented interface contracts are required to communicate with command control systems (API, SNCC, special machines) and are endorsed by industrial communication protocols. Being the primary technological or I.T. means of treating the process information, Supervision systems are dedicated to the operators.
WinCC flexible:
WinCC flexible is ideal for use as the HMI software in all applications in which operator control and monitoring is required on site - whether in production and process automation. WinCC flexible is designed on a non-industry specific basis and it offers Engineering Software for SIMATIC HMI operator control and monitoring devices from the smallest Micro Panel up to PCs as well as Runtime Visualization Software for single-user solutions under Windows XP and Vista. In this connection, you can transfer projects to different HMI platforms and run them there without needing to convert the projects.
63
FS Department
Internship Report
2011
WinCC flexible/Archives
Archiving process values and messages Overview Description Area of application Benefits Design and functions
Description Process value and message archiving using WinCC flexible/Archives is for acquiring and processing process data from an industrial plant/machine. Evaluating archived process data then gives you information about the operating status of the plant/machine in the course of the industrial process (production, machining, processing, etc.) In this context, you can document the course of the process; check the rate of utilization or quality of production; or verify repeated error status conditions. top of page Area of application Integrated in HMI devices from series 270 upwards and optional for PC-Systems under WinCC flexible Advanced top of page Benefits Early detection of danger and disturbances Avoidance of down times due to predictive diagnostics Increased product quality and productivity due to regular evaluation of archives top of page
Design and functions Trend and alarm displays To represent and evaluate archived process values, you can use a configurable trend display in your screens. A cursor line helps you to read off the values. There is also a configurable alarm display for chronologically displaying the acquired messages on the screen.
64
FS Department
Internship Report
2011
Archiving and evaluation You can export acquired process values and messages for long-term archiving either manually or on a process-controlled basis. Depending on the length of the archiving period, you can save the process data in sequence or cyclic archives either as CSV files or in ODBC databases (e.g. Microsoft Access). In this context, the system uses all the archiving media that Windows supports. Simatic WinCC flexible is the innovative HMI software under Windows for all machine level applications in machine, series machine and plant construction. The range of operator panels extends from Micro Panels, which are designed for applications with small Simatic S7-200 controllers, to plant-wide solutions with Simatic Panel PCs or IPCs.
65
FS Department
Internship Report
2011
Connectivity to SIMATIC S7 via PPI, MPI, PROFIBUS-DP and Industrial Ethernet, to SIMOTION and SINUMERIK plus multi-protocol drivers for controllers made by leading manufacturers and manufacturer-independent communication via OPC ensures that you always have the right connection for a wide variety of automation solutions. WinCC flexible supports PROFINET, the innovative standard for industrial communication from field level to plant management level. Time-critical inputs via direct keys or a hand wheel on the HMI devices can be performed in real time via PROFINET IO.
ASSIGNMENTS
During my internship my supervisor gave me different task to do on the SIMATIC MANAGER STEP7 and WINCC FLEXIBLE major tasks such as:
Parking control system (SIMATIC MANAGER STEP7) Traffic Signals (SIMATIC MANAGER STEP7) Fruit Juice Mixer (SIMATIC MANAGER STEP7) Home Automation (WINCC FLEXIBLE) Fluid level Indicator (WINCC FLEXIBLE) Motor Speed and direction Control System
66
FS Department
Internship Report
2011
SIEMENS EXPERIENCE
I always wanted to work in a good multinational organization to get professional knowledge and skill. I was fortunate enough to do internship in Siemens Pakistan, Lahore where I spent Four weeks and attained a lot of experience. I joined SIEMENS Lahore on 1st of July for my internship. My department was Field Services. On the very first day of my internship, I met Mr. Muneeb and Mr. Fahad Executive Engineers in BU-Field Services of Siemens Pakistan Lahore Division, they gave me a brief introduction of company and the working at Siemens Office, Lahore. He encouraged me to learn during my stay here in Siemens that Will help me in future. My supervisor Mr. Kamran Saeed gave me a brief introduction of the department and the overall working here. He provided me few booklets/broachers related to Siemens Field Services department.
INTERNSHIP ACCOMPLISHMENTS
Thorough understanding of the company (FS department) working, structure, procedures including its management. I also recognized the mutual cooperation between the technical and the commercial people and how they interacted with each other in sales, purchases and marketing of the companys product. During my internship, I also worked with my supervisor. My supervisor taught me the professional way of dealing with a customer. If a customer wants some product, first of all we should note down the specifications of the product, and this is what I practiced myself. Then if the product is available or if there are some alterations, then we have to contact the customer to inform him about the overall availability of the product. One other good opportunity for an internee is that you can get a lot of material to study. This enables you to get the in depth knowledge of many of the Siemens products. During my internship, I studied various booklets, broachers, manuals on all the equipments and those which are used in the Automation.
67
FS Department
Internship Report
2011
CONCLUSION
I believe working at Siemens facility was among the best technical working experiences that I have ever had in my life. I believe Siemens has a long way to go in its quest for the leading industry in terms of power innovation and the production of sound technical expertise in this country. However the work ethics practiced at Siemens were compelling evidence that their multinational company is on the rise. Names such as Mr. Shafqat, Mr. Mohammad Mohsin shall always be my guiding source. Without their strong advice, and sincere conviction I would have surely never learnt all this in Four weeks. Finally, I apologies all other unnamed people who helped me in my Internship.
68
FS Department