SIMATIC S7 S7-1200 Programmable Controller

3y ago
17 Views
2 Downloads
7.06 MB
341 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Madison Stoltz
Transcription

PrefaceSIMATIC S7 S7-1200 Programmable controllerSIMATICS7S7-1200 Programmable controllerSystem Manual1Product overview2Installation3PLC concepts4Device configuration5Programming concepts6Programming instructions7PROFINETPoint-to-Point (PtP)communications89Online and diagnostic toolsATechnical specificationsBCalculating a power budgetCOrder numbers04/2009A5E02486680-01

Legal informationLegal informationWarning notice systemThis manual contains notices you have to observe in order to ensure your personal safety, as well as to preventdamage to property. The notices referring to your personal safety are highlighted in the manual by a safety alertsymbol, notices referring only to property damage have no safety alert symbol. These notices shown below aregraded according to the degree of danger.DANGERindicates that death or severe personal injury will result if proper precautions are not taken.WARNINGindicates that death or severe personal injury may result if proper precautions are not taken.CAUTIONwith a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.CAUTIONwithout a safety alert symbol, indicates that property damage can result if proper precautions are not taken.NOTICEindicates that an unintended result or situation can occur if the corresponding information is not taken intoaccount.If more than one degree of danger is present, the warning notice representing the highest degree of danger willbe used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating toproperty damage.Qualified PersonnelThe device/system may only be set up and used in conjunction with this documentation. Commissioning andoperation of a device/system may only be performed by qualified personnel. Within the context of the safety notesin this documentation qualified persons are defined as persons who are authorized to commission, ground andlabel devices, systems and circuits in accordance with established safety practices and standards.Proper use of Siemens productsNote the following:WARNINGSiemens products may only be used for the applications described in the catalog and in the relevant technicaldocumentation. If products and components from other manufacturers are used, these must be recommendedor approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation andmaintenance are required to ensure that the products operate safely and without any problems. The permissibleambient conditions must be adhered to. The information in the relevant documentation must be observed.TrademarksAll names identified by are registered trademarks of the Siemens AG. The remaining trademarks in thispublication may be trademarks whose use by third parties for their own purposes could violate the rights of theowner.Disclaimer of LiabilityWe have reviewed the contents of this publication to ensure consistency with the hardware and softwaredescribed. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, theinformation in this publication is reviewed regularly and any necessary corrections are included in subsequenteditions.Siemens AGIndustry SectorPostfach 48 4890026 NÜRNBERGGERMANYOrdernumber: 6ES7 298 8FA30 8BH0 03/2009Copyright Siemens AG 2009.Technical data subject to change

PrefacePurpose of the manualThe S7-1200 series is a line of programmable logic controllers (PLCs) that can control avariety of automation applications. Compact design, low cost, and a powerful instruction setmake the S7-1200 a perfect solution for controlling a wide variety of applications. The S71200 models and the Windows-based programming tool give you the flexibility you need tosolve your automation problems.This manual provides information about installing and programming the S7-1200 PLCs andis designed for engineers, programmers, installers, and electricians who have a generalknowledge of programmable logic controllers.Required basic knowledgeTo understand this manual, it is necessary to have a general knowledge of automation andprogrammable logic controllers.Scope of the manualThis manual is valid for STEP 7 Basic V10.5 and the S7-1200 product family. For a completelist of the S7-1200 products described in this manual, refer to the technical specifications(Page 283).Certification, CE label, C-Tick, and other standardsRefer to the technical specifications (Page 283) for more information.Service and supportIn addition to our documentation, we offer our technical expertise on the Internet stContact your Siemens distributor or sales office for assistance in answering any technicalquestions, for training, or for ordering S7 products. Because your sales representatives aretechnically trained and have the most specific knowledge about your operations, processand industry, as well as about the individual Siemens products that you are using, they canprovide the fastest and most efficient answers to any problems you might encounter.S7-1200 Programmable controllerSystem Manual, 04/2009, A5E02486680-013

Preface4S7-1200 Programmable controllerSystem Manual, 04/2009, A5E02486680-01

Table of contentsPreface . 31234Product overview . 91.1Introducing the S7-1200 PLC.91.2Signal boards .111.3Signal modules .111.4Communication modules .121.51.5.11.5.2TIA Portal software .12Different views to make the work easier .13Help when you need it .141.6Display panels.17Installation . 192.12.1.12.1.22.1.32.1.42.1.5Installation and removal procedures.22Installing and removing the CPU .24Installing and removing a signal module.25Installing and removing a communication module.27Installing and removing a signal board .28Removing and reinstalling the S7-1200 terminal block connector.292.2Wiring guidelines.30PLC concepts . 353.13.1.13.1.23.1.33.1.4Execution of the user program.35Operating modes of the CPU.37Event execution priorities and queuing.40CPU memory.45Password protection for the S7-1200 CPU.483.2Data storage, memory areas and addressing.493.3Data types .543.43.4.13.4.23.4.3Saving and restoring memory .57Understanding how the S7-1200 saves and restores data.57Using the memory card as a "Program" card .58Using the memory card as a "Transfer" card.60Device configuration . 634.1Inserting a CPU.644.2Configuring the operation of the CPU.654.3Adding modules to the configuration .664.4Configuring the parameters of the modules.674.5Creating a network connection .694.6Configuring a permanent IP address .70S7-1200 Programmable controllerSystem Manual, 04/2009, A5E02486680-015

Table of contents566Programming concepts . idelines for program design. 73Structuring your user program . 74Using blocks to structure your program . 75Organization block (OB). 76Function (FC) . 78Function block (FB) . 78Data block (DB). 79Selecting the programming language . 805.2Copy protection . 825.3Debugging and testing the program. 83Programming instructions . sic instructions . 85Bit logic. 85Set and reset instructions. 87Positive and negative edge instructions. 89Timers . 91Counters. 94CTRL HSC instruction . 97Compare. 99Math . 101MOD instruction . 102Move. 108Swap instruction. 112Convert. 113Scale and normalize instructions . 115Program control. 116Logical operations . 118Shift and Rotate . 36.2.66.2.76.2.86.2.8.1Extended instructions. 124Clock and calendar instructions . 124String and character instructions . 128String conversion instructions . 128String operation instructions. 137Program control instructions . 146Reset scan cycle watchdog instruction . 146Stop scan cycle instruction. 147Get Error instructions . 147Communications instructions . 151Open Ethernet Communication. 151Point-to-Point instructions . 164Interrupt instructions. 165Attach and detach instructions. 165Start and cancel time delay interrupt instructions . 168Disable and Enable alarm interrupt instructions . 170PID control. 171Motion control instructions . 171Pulse instruction. 172CTRL PWM instruction. 1726.36.3.16.3.1.1Global library instructions. 175USS . 175Requirements for using the USS protocol. 175S7-1200 Programmable controllerSystem Manual, 04/2009, A5E02486680-01

Table of 3.2.16.3.2.26.3.2.378USS DRV instruction.177USS PORT instruction .179USS RPM instruction .180USS WPM instruction.182USS status codes .183MODBUS .184MB COMM LOAD.184MB MASTER .187MB SLAVE .198PROFINET . munication with a programming device.208Establishing the hardware communications connection.209Configuring the devices .209Assigning Internet Protocol (IP) addresses .210Assigning IP addresses to programming and network devices .

1200 models and the Windows-based programming tool give you the flexibility you need to solve your automation problems. This manual provides information about installing and programming the S7-1200 PLCs and is designed for engineers, programmers, installers, and electricians who have a general knowledge of programmable logic controllers.

Related Documents:

SITRAIN INDIA, KALWA. List of courses at SITRAIN-Kalwa & Authorized Training Centers (ATC) Sr. No. Title Days 1 PLC : SIMATIC S7-200 5 2 PLC : TIA Basic with SIMATIC S7-300 & Step7 8 3 PLC : TIA Advanced with SIMATIC S7-400 6 4 SIMATIC NET 5 5 SIMATIC WinCC 6 6 SIMATIC HMI Panels 3 7 DCS: SIMATIC PCS 7 Basic 8 8 DCS: SIMATIC PCS 7 Advanced 10

SIMATIC STEP 7 version 15 or higher The contents of the S7-1500 column also apply to SIMATIC S7-1500 Software Controller CPU 150xS SIMATIC S7-1200 firmware 4.2 or higher. SIMATIC S7-1200 only supports LAD, FBD and SCL. SIMATIC S7-1500 firmware 2.5 or hi

SIMATIC STEP 7-Micro/WIN V4.0 SP6 (or later) SIMATIC STEP 7 Basic V10.5 SP2 SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool The STEP 7-Micro/WIN program that you want to convert must have these properties: The program must have been created using STEP 7-Micr

Power supply Article No. PM 1207 6EP1332-1SH71 System accessories Article No. SIMATIC memory card SIMATIC memory card 4 MB 6ES7954-8LC02-0AA0 SIMATIC memory card 12 MB 6ES7954-8LE03-0AA0 SIMATIC memory card 24 MB 6ES7954-8LF03-0AA0 SIMATIC memory card 256 MB 6ES7954-8LL03-0AA0 SIMATIC memory card 2 GB 6ES7954-8LP02-0AA0 SIMATIC memory card 32 GB 6ES7954-8LT03-0AA0 .

SIMATIC S7-1200 S7-1200 1221, 1222, and 1223 Signal Boards Product Information Product Information New S7-1200 digital signal boards available The following S7-1200 digital signal boards have been added to the S7-1200 family. The order numbers for these

Les contenus de la colonne S7-1500 sont également valables pour l'automate logiciel SIMATIC S7-1500 CPU 150xS SIMATIC S7-1200 à partir du firmware 4.2; SIMATIC S7 -1200 ne prend en charge que CONT, LOG et SCL. SIMATIC S7-1500 à partir du firmware 2.5 LIST : Vous devez appeler certaines instructions avec CALL.

SIMATIC Technology - Motion Control Single axes with SIMATIC S7- 1500/1500 T-CPU (2/2) Technology Objects of the SIMATIC S7-1500(T) ( Entry-ID: 109743134 ) SIMATIC S7-1500 / S7-1500T: Standard application axis control ( Entry-ID: 109749348 ) Configuring Technology Objects with SIMATIC S7 1500 and SINAMICS S210 in TIA-Portal ( Entry-ID: 109749795 )

_SIMATIC Automation Tool _ SIMATIC S7/HMI SIMATIC Automation Tool V3.1 SP1 User Guide Manual V3.1 SP1, 05/2018 A5E43616265-AA Preface Downloading, licensing, and installing the SIMATIC Automation Tool 1 SIMATIC Automation Tool overview 2 Prerequisites and communication setup 3 Getting started with the SIMATIC Automation Tool 4