[PDF] [PDF] Siemens S7-1200 Easy Book

Both the system manual and the Easy Book are available as electronic (PDF) manuals SCL instructions use standard programming operators, such as for 



Previous PDF Next PDF





[PDF] (SCL) for S7-300/S7-400 Programming SIMATIC - Siemens Industry

This manual is valid for release 3 0 of the STEP 7 standard programming software package SCL corresponds to the Structured Control Language defined in the



[PDF] High-Level Language Programming with SCL and - Startup SCL_S7

(SCE) From Version V14 SP1 siemens com/sce TIA Portal Module 051-201 High-Level Language Programming with SCL and SIMATIC S7-1200 



[PDF] SIMATIC S7-SCL V53 for S7-300/400 - Siemens Industry Online

The manual is intended for programmers writing S7-SCL programs and people involved described in the "Programming with STEP 7 V5 3" manual Scope of 



[PDF] SCL - Professional Control Corporation

2 oct 2019 · PLC programming > SCL (Structured Control Language) STEP 7 Basic/ Professional V15 1 and SIMATIC WinCC V15 1 System Manual



[PDF] SCL pour S7-300/400 Programmation de blocs SIMATIC - Free

SCL vous permet de programmer les blocs suivants : Blocs STEP 7 OB FC FB DB UDT Vous n'êtes pas obligés de programmer vous-même chaque fonction



[PDF] Programming Guideline for S7-1200/S7-1500 - Automation24

Application Examples and other Siemens publications – e g Catalogs – the contents of tags and block names right up to clear programming in SCL You can 



[PDF] Startup High-Level Language Programming with SCL and SIMATIC S7

Accordingly, S7-SCL blocks can also be called in STL, LAD and FBD programs The S7-SCL test functions make it possible to search for logical programming 



[PDF] Automating with STEP 7 in STL and SCL

The programming examples concentrate on describing the STL and SCL functions and providing SIMATIC S7 users with programming tips for solving specific 



[PDF] Siemens S7-1200 Easy Book

Both the system manual and the Easy Book are available as electronic (PDF) manuals SCL instructions use standard programming operators, such as for 



[PDF] Siemens S7 SCL cheat sheet - plc4good

Conversion Class B BOOL_TO_INT BOOL_TO_DINT BYTE_TO_BOOL BYTE_TO_CHAR BYTE_TO_INT BYTE_TO_DINT CHAR_TO_BYTE

[PDF] scoop flutter

[PDF] scope of environmental microbiology ppt

[PDF] scope of sociology

[PDF] scotland euro 2020

[PDF] scotusblog burwell v. hobby lobby

[PDF] scratch online editor

[PDF] script analysis activities

[PDF] sdanf

[PDF] sdg 4

[PDF] sds's for 30% hydrogen peroxide

[PDF] seated chair exercises

[PDF] secher les cours en allemand

[PDF] secher les cours en alternance

[PDF] sécher les cours en arabe

[PDF] sécher les cours en espagnol

Easy Book

___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________

SIMATIC

S7-1200

Easy Book

Manual

01/2015

A5E02486774-AG

Preface

Introducing the powerful and

flexible S7-1200 1

STEP 7 makes the work

easy 2

Getting started

3

PLC concepts made easy

4

Easy to create the device

configuration 5

Programming made easy

6

Easy to communicate

between devices 7

PID is easy

8

Web server for easy Internet

connectivity 9

Motion control is easy

10

Easy to use the online tools

11

IO-Link is easy

12

Technical specifications

A

Exchanging a V3.0 CPU for

a V4.1 CPU B

Siemens AG

Division Digital Factory

Postfach 48 48

90026 NÜRNBERG

GERMANY

A5E02486774-AG

࿕ 12/2014 Subject to change

Copyright © Siemens AG 2015.

All rights reserved

Legal information

Warning notice system

This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent

damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert

symbol, notices referring only to property damage have no safety alert symbol. These notices sho wn below are graded according to the degree of danger.

DANGER

indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING

indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION

indicates that minor personal injury can result if proper precautions are not taken.

NOTICE

indicates that property damage can result if proper precautions are not taken.

If more than one degree of danger is present, the warning notice representing the highest degree of danger will

be used.

A notice warning of injury to persons with a safety alert symbol may also include a warning relating to

property damage.

Qualified Personnel

The product/system described in this documentation may be operated only by personnel qualified for the specific

task in accordance with the relevant documentation, in particular its warning notices and safety instructions.

Qualified personnel are those who, based on their training and experience, are capable of identifying risks and

avoiding potential hazards when working with these products/systems.

Proper use of Siemens products

Note the following:

WARNING

Siemens products may only be used for the applications described in the catalog and in the relevant technical

documentation. If products and components from other manufacturers are used, these must be recommend ed or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and

maintenance are required to ensure that the products operate safely and without any problems. The permissible

ambient conditions must be complied with. The information in the relevant documentation must be observed.

Trademarks

All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

Disclaimer of Liability

We have reviewed the contents of this publication to ensure consistency with the hardware and software

described. Since variance ca nnot be precluded entirely, we cannot guarantee full consistency. However, the

information in this publication is reviewed regularly and any necessary corrections are included in subsequent

editions.

Easy Book

Manual, 01/2015, A5E02486774-AG

3

Preface

Welcome to the world of S7-1200. The SIMATIC S7-1200 compact controller is the modular, space -saving controller for small automation systems that require either simple or advanced functionality for logic, HMI and networking. The compact design, low cost, and powerful features make the S7 -1200 a perfect solution for controlling small applications. As part of the SIMATIC commitment to "totally integrated automation" (TIA), the S7 -1200 product family and the TIA Portal programming software give you the flexibility you need to solve your automation need s. The S7-1200 helps to make the most challenging tasks easy! The SIMATIC S7-1200 controller solution, designed for the "compact" controller class, is comprised of the SIMATIC S7 -1200 controller and SIMATIC HMI Basic panels that can both be programmed with the TIA Portal engineering software. The ability to program both devices using the same engineering software significantly reduces development costs. The TIA Portal includes STEP 7 for S7-1200 programming and WinCC for designing Basic panel projects.

The S7-1200 compact controller includes:

Built-in PROFINET

High-speed I/O capable of motion control, onboard

analog inputs to minimize space requirements and the need for additional I/O, 4 pulse generators for pulse -train and pulse-width applications (Page 70), and up to 6 high-speed counters (Page 129)

On-board I/O points built into the CPU modules

provide from 6 to 14 input points and from 4 to 10 output points.

Signal modules for DC, relay, or analog I/O

expand the number of I/O points, and inno- vative signal boards snap onto the front of the CPU to provide additional I/O (Page 18).

The SIMATIC HMI Basic panels (Page 20)

were designed specifically for the S7-1200.

This Easy Book provides an introduction to

the S7-1200 PLC. The following pages offer an overview of the many features and capa- bilities of the devices.

For additional information, refer to the

S7-1200 Programmable Controller System Manual.

For information about UL and FM certification, CE labeling, C-Tick and other standards, refer to the

Technical specifications (Page 361).

Preface

Easy Book

4 Manual, 01/2015, A5E02486774-AG

This manual describes the following products:

Ⴠ STEP 7 V13 SP1 Basic and Professional Ⴠ S7-1200 CPU firmware release V4.1

Documentation and information

S7-1200 and STEP 7 provide a variety of documentation and other resources for finding the technical information that you require. Ⴠ The S7-1200 Programmable Controller System Manual provides specific information about the operation, programming, and the specifications for the complete S7 -1200 product family. In addition to the system manual, the S7-1200 Easy Book provides a more general overview to the capabilities of the S7 -1200 family. Both the system manual and the Easy Book are available as electronic (PDF) manuals.

The electronic manuals can be downlo

aded from the customer support web site and can also be found on the documentation disk that ships with every S7 -1200 CPU. Ⴠ The online STEP 7 information system provides immediate access to the conceptual information and specific instructions that describe the operation and functionality of the programming package and basic operation of SIMATIC CPUs. Ⴠ My Documentation Manager accesses the electronic (PDF) versions of the SIMATIC documentation set, including the system manual, the Easy Book, and the STEP 7 information system. With My Documentation Manager, you can drag and drop topics from various documents to create your own custom manual. The customer support entry portal (http://support.automation.siemens.com) provides a link to My Documentation Manager under mySupport. Ⴠ The customer support web site also provides podcasts, FAQs, and other helpful documents for S7 -1200 and STEP 7. The podcasts utilize short educational video presentations that focus on spe cific features or scenarios in order to demonstrate the interactions, convenience, and efficiency provided by STEP 7. Visit the following web sites to access the collection of podcasts: - STEP 7 Basic web page (http://www.automation.siemens.com/mcms/simatic- - STEP 7 Professional web page (http://www.automation.siemens.com/mcms/simatic- Ⴠ You can also follow or join product discussions on the Service & Support technical forum d0=34612486 ). These forums allow you to interact with various product experts. - Forum for S7-1200 lse) - Forum for STEP 7 Basic lse)

Preface

Easy Book

Manual, 01/2015, A5E02486774-AG

5

Service and support

In addition to our documentation, Siemens offers technical expertise on the Internet and on the customer support web site (http://www.siemens.com/tiaportal). Contact your Siemens distributor or sales office for assistance in answering any technical questions, for training, or for ordering S7 products. Because you r sales representatives are technically trained and have the most specific knowledge about your operations, process and industry, as well as about the individual Siemens products that you are using, they can provide the fastest and most efficient answers to any problems you might encounter.

Security information

Siemens provides products and solutions with industrial security functions that support the secure operation of plants, solutions, machines, equipment and/or networks. They are important components in a holistic industrial security concept. With this in mind, Siemens' products and solutions undergo continuous development. Siemens recommends strongly that you regularly check for product updates. For the secure operation of Siemens products and solutions, it is necessary to take suitable preventive action (e.g. cell protection concept) and integrate each component into a holistic, state-of-the-art industrial security concept. Third-party products that may be in use should also be considered. You can find more information about industrial security on the Internet To stay informed about product updates as they occur, sign up for a product-specific newsletter. You can find more information on the Internet (http://support.automation.siemens.com).

Preface

Easy Book

6 Manual, 01/2015, A5E02486774-AG

Easy Book

Manual, 01/2015, A5E02486774-AG

7

Table of contents

Preface ................................................................................................................................................... 3

1 Introducing the powerful and flexible S7-1200 ....................................................................................... 15

1.1 Introducing the S7-1200 PLC ................................................................................................. 15

1.2 Expansion capability of the CPU ............................................................................................ 18

1.3 S7-1200 modules .................................................................................................................... 19

1.4 Basic HMI panels .................................................................................................................... 20

1.5 Mounting dimensions and clearance requirements ................................................................ 21

1.6 New features ........................................................................................................................... 26

2 STEP 7 makes the work easy ............................................................................................................... 29

2.1 Easy to insert instructions into your user program ................................................................. 30

2.2 Easy access to your favorite instructions from a toolbar ........................................................ 30

2.3 Easy to add inputs or outputs to LAD and FBD instructions................................................... 31

2.4 Expandable instructions .......................................................................................................... 31

2.5 Easy to change the operating mode of the CPU .................................................................... 32

2.6 Easy to modify the appearance and configuration of STEP 7 ................................................ 32

2.7 Project and global libraries for easy access ........................................................................... 33

2.8 Easy to select a version of an instruction ............................................................................... 33

2.9 Easy to drag and drop between editors .................................................................................. 34

2.10 Changing the call type for a DB .............................................................................................. 35

2.11 Temporarily disconnecting devices from a network ................................................................ 36

2.12 Easy to virtually "unplug" modules without losing the configuration ....................................... 37

3 Getting started ...................................................................................................................................... 39

3.1 Create a project ...................................................................................................................... 39

3.2 Create tags for the I/O of the CPU .......................................................................................... 40

3.3 Create a simple network in your user program ....................................................................... 42

3.4 Use the PLC tags in the tag table for addressing the instructions .......................................... 44

3.5 Add a "box" instruction ............................................................................................................ 45

3.6 Use the CALCULATE instruction for a complex mathematical equation ................................ 46

3.7 Add an HMI device to the project ............................................................................................ 48

3.8 Create a network connection between the CPU and HMI device .......................................... 49

3.9 Create an HMI connection to share tags ................................................................................ 49

Table of contents

Easy Book

8 Manual, 01/2015, A5E02486774-AG

3.10 Create an HMI screen ............................................................................................................ 50

3.11 Select a PLC tag for the HMI element ................................................................................... 51

4 PLC concepts made easy ..................................................................................................................... 53

4.1 Tasks performed every scan cycle ........................................................................................ 53

4.2 Operating modes of the CPU ................................................................................................. 55

4.3 Execution of the user program ............................................................................................... 56

4.3.1 Processing the scan cycle in RUN mode ............................................................................... 56

4.3.2 OBs help you structure your user program ............................................................................ 57

4.3.3 Event execution priorities and queuing .................................................................................. 58

4.4 Memory areas, addressing and data types ............................................................................ 61

4.4.1 Data types supported by the S7-1200 ................................................................................... 62

4.4.2 Addressing memory areas ..................................................................................................... 64

4.4.3 Accessing a "slice" of a tagged data type .............................................................................. 67

4.4.4 Accessing a tag with an AT overlay ....................................................................................... 68

4.5 Pulse outputs ......................................................................................................................... 70

5 Easy to create the device configuration ................................................................................................. 73

5.1 Uploading the configuration of a connected CPU .................................................................. 74

5.2 Adding a CPU to the configuration......................................................................................... 76

5.3 Changing a device ................................................................................................................. 77

5.4 Adding modules to the configuration ..................................................................................... 78

5.5 Configuration control .............................................................................................................. 79

5.6 Configuring the operation of the CPU and modules .............................................................. 80

5.6.1 System memory and clock memory provide standard functionality ....................................... 82

5.7 Configuring the IP address of the CPU .................................................................................. 85

5.8 Protecting access to the CPU or code block is easy ............................................................. 87

5.8.1 Know-how protection ............................................................................................................. 89

5.8.2 Copy protection ...................................................................................................................... 90

6 Programming made easy ...................................................................................................................... 93

6.1 Easy to design your user program ......................................................................................... 93

6.1.1 Use OBs for organizing your user program ........................................................................... 95

6.1.2 FBs and FCs make programming the modular tasks easy .................................................... 97

6.1.3 Data blocks provide easy storage for program data .............................................................. 98

6.1.4 Creating a new code block ..................................................................................................... 99

6.1.5 Creating reusable code blocks ............................................................................................. 100

6.1.6 Calling a code block from another code block ..................................................................... 101

6.2 Easy-to-use programming languages .................................................................................. 101

6.2.1 Ladder logic (LAD) ............................................................................................................... 102

6.2.2 Function Block Diagram (FBD) ............................................................................................ 103

6.2.3 SCL overview ....................................................................................................................... 103

6.2.4 SCL program editor .............................................................................................................. 104

6.3 Powerful instructions make programming easy ................................................................... 105

6.3.1 Providing the basic instructions you expect ......................................................................... 105

Table of contents

Easy Book

Manual, 01/2015, A5E02486774-AG

9

6.3.2 Comparator and Move instructions ....................................................................................... 108

6.3.3 Conversion operations .......................................................................................................... 109

6.3.4 Math made easy with the Calculate instruction .................................................................... 111

6.3.5 Timer operations ................................................................................................................... 113

6.3.6 Counter operations ............................................................................................................... 118

6.3.7 Pulse-width modulation (PWM) ............................................................................................ 121

6.4 Easy to create data logs ....................................................................................................... 122

6.5 Easy to monitor and test your user program ........................................................................ 124

6.5.1 Watch tables and force tables .............................................................................................. 124

6.5.2 Cross reference to show usage ............................................................................................ 125

6.5.3 Call structure to examine the calling hierarchy ..................................................................... 126

6.5.4 Diagnostic instructions to monitor the hardware ................................................................... 127

quotesdbs_dbs17.pdfusesText_23