STEP 7. Function. Page 1791 Mar 2008 Siemens ITS

Similar documents
STEP 7 PROFESSIONAL. Function STEP 7

CPU 412H. Function. Parameterizable properties

CPU 317F-2 DP. Page 1603 Mar 2008 Siemens ITS

Product type designation. General information. Supply voltage. Input current. Power loss

General information. Supply voltage. Input current

Programming package STEP 7 V5.2 SP1 or higher with HSP 0126

SIMATIC S7-400, CPU KB WORKING MEMORY (384 KB CODE, 384 KB DATA) 1. INTERFACE MPI/DP 12 MBIT/S 2.IF PROFIBUS DP, 3.

SIPLUS CPU 313C-2DP. Function

Product type designation. General information. Supply voltage. Input current. Power losses

Product type designation. General information. Supply voltage. Input current

64 kbyte ; 64 KB / 21K instructions RAM (integrated) Yes ; 4 KB: bit memory, counter, times and data

Multi Panel options. SIMATIC WinAC MP 2/169

Product type designation. General information. CiR - Configuration in RUN. Input current. Power loss. Memory

CPU 224. The compact high-performance CPU With 24 inputs/outputs on board Expandable with up to 7 expansion modules Design

CPU 319F-3 PN/DP. Page 1682 Mar 2008 Siemens ITS

Supply voltage. Input current. Encoder supply. Memory

General information. Engineering with. Supply voltage. Load voltage L+ Input current. Power losses. Memory. Work memory.

General information. Supply voltage. Input current

General information. Supply voltage. Input current

Automating with STEP 7 in STL

General information. Supply voltage. Input current

General information. Supply voltage

General information. Display. Supply voltage. Input current. Encoder supply. Output current

Product type designation. General information. Supply voltage

Supply voltage. Input current. Encoder supply. Memory SIMATIC S7-200, CPU 221 COMPACT UNIT, DC POWER SUPPLY 6 DI DC/4 DO DC, 4 KB CODE/2 KB DATA,

Product type designation. General information. CiR - Configuration in RUN. Supply voltage. Input current. Power loss. Memory

Parameterizable properties The S7 configuration as well as the properties and response of the CPUs can be parameterized using STEP 7:

Product type designation. General information. CiR - Configuration in RUN. Supply voltage. Input current. Power loss. Memory

General information. Display. Supply voltage. Input current. Encoder supply. Output current

General information. Supply voltage. Input current

General information. Supply voltage. Input current. Encoder supply. Power loss. Memory

General information. Display. Supply voltage. Input current. Encoder supply. Output current

General information. Display. Supply voltage. Input current. Encoder supply. Power losses

General information. Display. Supply voltage. Input current

Display. Supply voltage. Input current. Encoder supply. Output current. Power losses. Memory

General information. Display. Supply voltage

General information. Display. Supply voltage. Input current. Encoder supply. Output current

Supply voltage. Input current. Power loss. Memory. Battery. CPU processing times

General information Engineering with Programming package. Display with display. Supply voltage 24 V DC Yes. Input current

General information. Display. Supply voltage. Input current

General information Engineering with Programming package. Display with display. Supply voltage 24 V DC Yes

General information. Display. Supply voltage

General information. Display. Supply voltage. Input current. Encoder supply. Output current

General information. Display. Supply voltage. Input current

General information. Configuration control. Display. Control elements. Supply voltage

Display. Supply voltage. Input current. Encoder supply. Output current. Power losses. Memory

Totally Integrated Automation (T I A) MODULE A3 Startup PLC- Programming with STEP 7

General information. Display. Supply voltage. Input current. Encoder supply. Output current

General information. Configuration control. Display. Control elements. Supply voltage

General information. Display. Supply voltage. Input current. Encoder supply. Output current

100 ms. 30 µs; Time per I/O byte. 24 V DC No; Power supply via system power supply. Not relevant for 400 series (300 series set)

CPU 412. Function. Programmable properties

General information. Display. Supply voltage. Input current

General information. Display. Supply voltage. Input current. Encoder supply. Output current

General information. Display. Supply voltage. Input current

General information. Display. Control elements. Supply voltage

General information. Display. Supply voltage

Totally Integrated Automation (T I A) MODULE C2 High Level Language Programming with S7-SCL

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE E09. PROFINET with 2x CPU 315F-2 PN/DP

Product type designation

General information Engineering with Programming package. Display with display

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss

General information. Display. Supply voltage. Input current

General information. Display. Supply voltage. Input current

PLC COURSE LIST NMU TRAINING CENTRE

General information Engineering with Programming package. Display with display. Supply voltage 24 V DC Yes. Input current

General information. Display. Control elements. Supply voltage

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE B5 Structured programming with function blocks

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE D3

General information. Configuration control. Control elements. Supply voltage. Input current. Power. Power loss. Memory

General information. CiR - Configuration in RUN. Supply voltage. Input current. Power loss. Memory

General information. Display. Control elements. Supply voltage

SIMATIC S /2 Introduction

Data sheet CC 03, Commander Compact (603-1CC21)

Central processing units CPU 221, CPU 222, CPU 224, CPU 224 XP, CPU 224 XPsi, CPU 226

SIMATIC. S7 and Profibus- DP Configuration Guide G1026

SIMATIC. Working with STEP 7. Introduction to STEP 1. The SIMATIC Manager 2. Programming with Symbols. Creating a Program in 4

CPU 1214C. Overview. Design. The compact CPU 1214C has:

6ES7151-8AB01-0AB0. 5/18/2011 Siemens Industry IA/DT/BT Service&S. siemens.com/ww/llisapi.dll?func=csl 1/10 ET200S, IM151-8 PN/DP CPU, 192 KB

CFC. Special functions from SIMATIC S7 CFC V7.0 SP1 onwards

6ES7212-1BD30-0XB0. permissible range, lower limit (DC) permissible range, upper limit (DC)

General information. Display. Supply voltage. Input current. Encoder supply. Output current. Power loss. Memory

Commander compact. Commander compact Lines displays. System SLIO. System 100V. Lines displays Commander compact 603-1CC CC21.

SIMATIC. STEP 7 From S5 to S7. Preface, Contents Part 1: Planning Your Conversion. Introduction. Hardware. Software. Part 2: Converting Programs

Startup High-Level Language Programming with SCL and SIMATIC S7

SCE Training Curriculum for Integrated Automation Solutions Totally Integrated Automation (TIA)

SIMATIC S /2 3/4 3/22 SIPLUS 3/26 3/33 SIPLUS

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE C1 Sequencer programming with S7-GRAPH

Data sheet CPU 115 (115-6BL02)

SIMATIC. ET 200S IM CPU Interface Module. Introduction. New features 2. Technical specifications 3. Product Information 06/2007 A5E

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE D5

Data sheet VIPA CPU 115DP (115-6BL22)

Training Document for Integrated Automation Solutions Totally Integrated Automation (TIA) MODULE M2. SIMATIC S Block Types

SIMATIC NET. S7-CPs for PROFIBUS. CP Extended for PROFIBUS. Manual Part B4

Aotewell SIMATIC S7-PDIAG for S7-300 and S Configuring Process Diagnostic Getting St

Iris Demo V3. for use with a Siemens PLC

1 1 Introduction Basics New Functions in DPV Example: Evaluation of Interrupt Information from OB 40 with SFB

First Steps with S7-PDIAG and ProAgent

Transcription:

STEP 7 Function STEP 7 blocks STEP 7 files all user-written programs and all the data required by those programs in blocks. The possibility of calling other blocks within one block, as though they were subroutines, enables the structuring of the user program. This increases considerably the organizational clarity, the comprehensibility and the ease of maintenance of PLC programs. The following types of blocks are available: Organization blocks (OBs) control program execution. OBs are divided into classes (e.g., time-driven, alarm-driven), independently of the triggering event. These classes have levels of priority. Depending on their respective priority levels, one can interrupt another. When an OB is started, detailed information about the event initiating the start is provided. This information can be evaluated in the user-written program. Function blocks (FBs) contain the actual user program. Function blocks can be supplied with different data each time they are called (he so-called instance). These data, as well as internal variables (e.g., for intermediate values) and results are stored in the assigned instance-data block and are automatically managed by the system. When an FB/SFB is called, instance data blocks (instance DBs) are assigned to the block. They are automatically generated when these blocks are compiled. The user can access these instance data (symbolically as well, of course) from any point in his user program or from an HMI system. Functions (FCs) contain program routines for frequently used functions. Every function has a fixed function value (a number of initial parameters are possible, in addition to the IEC standard). The output parameters must be processed immediately after the call. Thus functions do not require any instance-data blocks. Page 1791 Mar 2008 Siemens ITS

Data blocks (DBs) are data areas for storing user data. In addition to the data that is assigned in each case to a function block (instance data), global data can be defined and can be used by any of the software modules (e.g., for recipes). An elementary or structured data type can be assigned to the components of a data block. Elementary data types are, for example, BOOL, REAL or INTEGER. Structured data types (fields and structures) comprise elementary data types (e.g. a recipe). The data in a data block can be addressed symbolically. This facilitates the programming and the readability of the program. System function blocks (SFBs); function blocks (see above) that are integrated in the CPU's operating system, e.g. SEND, RECEIVE, controller. The variables of the SFBs are also filed in IDBs. System functions (SFCs); functions (see above) that are integrated in the CPU's operating system, e.g., time functions, block transfer. System data blocks (SDBs) are data for the CPU's operating system containing the system settings, e.g., module parameters. Tools SIMATIC Manager The SIMATIC Manager manages all data belonging to an automation project, regardless of the target system (SIMATIC S7, SIMATIC C7 or SIMATIC WinAC) on which they are implemented. Page 1792 Mar 2008 Siemens ITS

It provides a common entry point for all SIMATIC S7, C7 or WinAC tools. The SIMATIC software tools that are necessary for processing the selected data are automatically started by SIMATIC Manager. Symbol Editor With the tool Symbol Editor all global variables (in contrast to the local formal parameters that are declared when the blocks are programmed) are managed. The following functions are available: Definition of symbolic designations and comments for the process signals (inputs/outputs), flags and blocks Sorting functions Data exchange with other Windows programs. The symbol charts that are generated when this tool is used are available to all applications. Changes to a symbol parameter are therefore automatically recognized by all tools. Hardware configuration The tool Hardware Configuration is used for configuring and parameterizing the hardware used for an automation project. The following functions are available: Configuration of the automation system Racks are selected from an electronic catalog and the selected modules are assigned to the Page 1793 Mar 2008 Siemens ITS

required slots in the racks. The configuration of the distributed I/Os is done in the same way as the configuration of the non-distributed I/Os; channel-granular I/O modules are also supported. CPU parameter assignment: Properties such as restart characteristics and cycle-time monitoring can be set menu-driven. multicomputing is supported. The entered data are filed in system data blocks in the CPU. Module parameter assignment: The user can specify all the adjustable parameters of the modules in input screen forms. Adjustments via DIP switches become unnecessary. Parameterization of hardware modules occurs automatically during the CPU's acceleration. Thus, a change of a module can be made without another parameterization. Function module (FM) and communications processor (CP) parameter assignment: This parameterization also occurs within the hardware configuration in the same way as the parameterization of the other modules. For this parameterization hardware-module-specific screen forms and rules are provided for each FM and CP (is included in the FM/CP functions package). The system prevents faulty inputs by offering only allowed entry options on the parameter assignment screen forms. System diagnostics System diagnostics offer the user an overview of the status of the automation system. The display can be in two different forms: Page 1794 Mar 2008 Siemens ITS

Display of text messages, which can be output directly and quickly Pixel-graphics display within the Hardware Config display, offering the following options: Display of general module information (e.g., order number, version, designation) and module status (e.g., faulty) Display of module faults (e.g., channel faults) of the central I/O and DP slaves Display of alarms from the diagnostics buffer For CPUs, additional information is displayed: Causes of malfunction during user program execution Display of cycle duration (longest, shortest and last cycle) Display of the reserved and free memory Capabilities and usage of MPI communication Display of the performance data (number of possible inputs/outputs, flags, counters, timers and blocks) Communication configuration Configuring and display of communication links Time-driven cyclic data transmission via MPI Selection of communication partners Entering of data source and data destination in a table. Generation of all system data blocks (SDBs) to be loaded and their complete transmission to all CPUs take place automatically. Event-driven data transmission: Definition of the communication links Selection of the communication function blocks (CFBs) from the integrated block Page 1795 Mar 2008 Siemens ITS

library Parameterization of the selected communication blocks in the customary programming language (e.g., LAD). Programming languages The well-proven programming languages Ladder (LAD), Function Block Diagram (FBD) and Instruction List (IL) are available for programming. Programs that comply with DIN EN 6.1131-3 can be created in the classical PLC programming languages Ladder Diagram (LAD) and Function Block Diagram (FBD). The user-friendly, pixel-graphics LAD and FBD editors support the programmer with: Uncomplicated and intuitive operation: The creation of ladder diagrams/function block diagrams is characterized by the user-friendliness familiar from PCs, such as drag and drop, cut and paste. Library of predefined complex functions (such as PID controllers) or user-specific standard solutions The Statement List (STL) textual programming language makes it possible for the user to create programs in which operating time and memory location are optimized and which are close to the hardware. When creating these programs, the programmer is supported by the following user-friendly editing functions: Page 1796 Mar 2008 Siemens ITS

Entry option in incremental mode and free text mode: the user can either have each input immediately checked incrementally for correctness, or create the complete program using only symbols in a text editor and subsequently have it translated by means of the appropriate symbol chart. Operation set The STEP 7 programming languages have a comprehensive set of instructions, similar to STEP 5. This allows even complex functions to be programmed easily (i.e., without having great programming knowledge) and quickly The following functions are provided: Binary logic (incl. edge evaluation) Word operation Timers/counters Comparison functions Conversion functions Shift/rotate Mathematical functions (incl. trigonometry, exponents, logarithms) Program control (branches, branch distribution, calls, Master Control Relays). Page 1797 Mar 2008 Siemens ITS

In addition, improved testing and service functions make programming easier: Setting breakpoints (only S7-400) Forcing of inputs/outputs (only S7-400) Rewiring Display of cross-references STEP 7 supports multicomputing with the S7-400 Status functions: Download and testing of blocks directly from the editor Status of several blocks at the same time Search functions: Specific locations within the program can be found quickly using search criteria (such as symbolic name, operand) (XRef). Online Help (F1) is available for all functions and blocks. Note: Screenshot views are available for the individual tools. Technical specifications Page 1798 Mar 2008 Siemens ITS

Storage/transport, min. 5 % Storage/transport, max. 95 %; At 25 C (no condensation) Vibrations Operation, checked according to IEC 60068-2-6 Yes; 10 to 58 Hz: Amplitude 0.075 mm; 58 to 500 Hz: Acceleration 9.8 m/s2 Transport tested checked to IEC 60068-2-6 Yes; (packed) 5 to 9 Hz, amplitude 3.5 mm; 9 to 500 Hz, acceleration 9.8 m/s2 Shock test Shock test Dimensions Width Height Depth Weight Weight, approx. Tested to DIN IEC 60068-2-2; Operation: 950 m/s2 (10 g), 30 ms, 100 Shocks; Transport (packaged): 250 m/s2 (25 g), 6 ms, 1000 shocks 105 mm 58 mm 26 mm 100 g Page 1799 Mar 2008 Siemens ITS