Siemens SIMATIC S7-1500 Function Manual

Siemens SIMATIC S7-1500 Function Manual

Isochronous mode
Hide thumbs Also See for SIMATIC S7-1500:

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-1500

  • Page 2 ___________________ Preface ___________________ Documentation guide ___________________ SIMATIC What is isochronous mode? ___________________ Use of isochronous mode S7-1500 Isochronous mode ___________________ Time sequence of synchronization ___________________ Configuring isochronous mode Function Manual ___________________ Programming isochronous mode 10/2018 A5E43884988-AA...
  • Page 3 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 recommended 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.
  • Page 4: Preface

    ● Knowledge about how to use STEP 7 (TIA Portal) Scope This documentation is the basic documentation for the SIMATIC S7-1500 automation system and all SIMATIC products from the PROFINET and PROFIBUS environments. The product documentation is based on this documentation.
  • Page 5 Siemens' products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customers' exposure to cyber threats.
  • Page 6 This information is provided by the Siemens Industry Online Support in the Internet (https://support.industry.siemens.com). Industry Mall The Industry Mall is the catalog and order system of Siemens AG for automation and drive solutions on the basis of Totally Integrated Automation (TIA) and Totally Integrated Power (TIP).
  • Page 7: Table Of Contents

    Table of contents Preface ..............................3 Documentation guide ..........................7 What is isochronous mode? ........................12 Use of isochronous mode........................15 Time sequence of synchronization ......................17 Time sequence of synchronization on PROFINET IO and PROFIBUS DP......17 Time sequence of synchronization in the central configuration ..........19 Configuring isochronous mode ......................
  • Page 8: Documentation Guide

    Documentation guide The documentation for the SIMATIC S7-1500 automation system, for CPU 1516pro-2 PN based on SIMATIC S7-1500, and for the distributed I/O systems SIMATIC ET 200MP, ET 200SP and ET 200AL is divided into three areas. This division allows you easier access to the specific information you require.
  • Page 9 You must register once to use the full functionality of "mySupport". You can find "mySupport" on the Internet (https://support.industry.siemens.com/My/ww/en). "mySupport" - Documentation In the Documentation area in "mySupport" you can combine entire manuals or only parts of these to your own manual.
  • Page 10 ● Manuals, characteristics, operating manuals, certificates ● Product master data You can find "mySupport" - CAx data on the Internet (https://support.industry.siemens.com/my/ww/en/CAxOnline). Application examples The application examples support you with various tools and examples for solving your automation tasks. Solutions are shown in interplay with multiple components in the system - separated from the focus on individual products.
  • Page 11 You can find the SIMATIC Automation Tool on the Internet (https://support.industry.siemens.com/cs/ww/en/view/98161300). PRONETA With SIEMENS PRONETA (PROFINET network analysis), you analyze the plant network during commissioning. PRONETA features two core functions: ● The topology overview independently scans PROFINET and all connected components.
  • Page 12 Documentation guide SINETPLAN SINETPLAN, the Siemens Network Planner, supports you in planning automation systems and networks based on PROFINET. The tool facilitates professional and predictive dimensioning of your PROFINET installation as early as in the planning stage. In addition, SINETPLAN supports you during network optimization and helps you to exploit network resources optimally and to plan reserves.
  • Page 13: What Is Isochronous Mode

    What is isochronous mode? Objectives of isochronous operation The advantages of the isochronous mode function in automation engineering can be seen in an example from everyday life. The transmission of data corresponds to the transport of people on public transport. Assuming public transport were to operate at maximum speed while reducing stop times at the passenger terminals to absolute minimum, the last thing many potential passengers would notice of the departing contraption are its red tail lights.
  • Page 14 What is isochronous mode? Just-In-Time Figure 2-1 System cycle The fast and reliable reaction time of a system operating in isochronous mode is based on the fact that all data are provided just-in-time. The basis for this is a constant bus cycle. The isochronous mode function guarantees synchronization of the following at constant time intervals: ●...
  • Page 15 What is isochronous mode? Advantages of isochronous mode The use of isochronous mode enables high-precision control loops. ● Optimized control loops through constant, calculable dead times ● Determinism, reliable reproducibility of reaction times ● Consistent (simultaneous) reading in of input data ●...
  • Page 16: Use Of Isochronous Mode

    Use of isochronous mode An isochronous system acquires measured values and process data within a fixed system cycle, processes the signals and outputs them synchronously to the process. Isochronous mode contributes to a high control quality and increased production accuracy. With isochronous mode, the possible fluctuations of process reaction times are drastically reduced.
  • Page 17 Use of isochronous mode Example: Measuring at multiple measurement points with isochronous mode Automation task A camshaft production process requires precise measurement of the camshafts for quality assurance purposes. Feature For this purpose, a component is needed that can synchronously measure the positions and displacements of the cam during a rotation of the camshaft.
  • Page 18: Time Sequence Of Synchronization

    Time sequence of synchronization Introduction The basic time sequence of all components involved in the synchronization is explained in the following sections: The synchronization is differentiated according to distributed configuration and central configuration in an S7-1500. You can combine isochronous I/O with non-isochronous I/O in the configuration.
  • Page 19 Time sequence of synchronization 4.1 Time sequence of synchronization on PROFINET IO and PROFIBUS DP From reading-in of input data to outputting of output data The basic time sequence of all components involved in synchronization is explained in the following: ①...
  • Page 20: Time Sequence Of Synchronization In The Central Configuration

    Time sequence of synchronization 4.2 Time sequence of synchronization in the central configuration The subnet transports the input data to the IO controller/DP master. The application is started synchronized to the cycle. That is, the isochronous mode interrupt OB is called after a configurable delay time T .
  • Page 21 Time sequence of synchronization 4.2 Time sequence of synchronization in the central configuration From reading-in of input data to outputting of output data The basic time sequence of all components involved in synchronization is explained in the following: ① Measured value acquisition in the process ②...
  • Page 22 Time sequence of synchronization 4.2 Time sequence of synchronization in the central configuration The backplane bus transports the input data to the CPU. The application is started synchronized to the cycle. That is, the isochronous mode interrupt OB is called after a configurable delay time T .
  • Page 23: Configuring Isochronous Mode

    Configuring isochronous mode You can operate I/O modules isochronously both as central I/O in SIMATIC S7-1500 and as distributed I/O in a distributed I/O system. You can also jointly operate central and distributed I/O on PROFINET IO isochronously. The following sections describe the procedure for configuring this using examples.
  • Page 24 Configuring isochronous mode Setting the delay time The delay time is the time between the start of the send clock and the start of the isochronous mode interrupt OB. During this time, the IO controller/DP master performs the cyclic data exchange with the IO devices/DP slaves. STEP 7 sets the default delay time in such a way that the isochronous update of the process image partition automatically falls within the execution window of the application cycle.
  • Page 25: Configuring Isochronous Mode For Distributed I/O On Profinet Io

    Configuring isochronous mode 5.1 Configuring isochronous mode for distributed I/O on PROFINET IO Configuring isochronous mode for distributed I/O on PROFINET IO Introduction The configuring of isochronous mode for a module is described in the following for an IO device based on the ET 200MP distributed I/O system. The procedure described also applies to other distributed I/O systems (e.g., ET 200S or ET 200SP).
  • Page 26 Configuring isochronous mode 5.1 Configuring isochronous mode for distributed I/O on PROFINET IO Procedure To create an isochronous connection between the I/O and user program, follow these steps: 1. Select the "IM 155-5 PN HF" in the network view of STEP 7. Change to the device view. 2.
  • Page 27: Configuring Isochronous Mode For Central I/O In S7-1500

    Reference You can find more information on PROFINET functions, such as IRT, in the PROFINET (http://support.automation.siemens.com/WW/view/en/49948856) function manual. You can find examples of parameter assignment and possible settings of isochronous mode for distributed I/O and drives in STEP 7 as FAQs on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109480489).
  • Page 28 Configuring isochronous mode 5.2 Configuring isochronous mode for central I/O in S7-1500 Procedure To create an isochronous connection between the I/O and user program, follow these steps: 1. Select the CPU 1516-3 PN/DP in the network view of STEP 7. Change to the device view.
  • Page 29 Configuring isochronous mode 5.2 Configuring isochronous mode for central I/O in S7-1500 4. Make the following settings in the I/O addresses area: – Select the "Isochronous mode" option. – Select a process image partition, e.g., process image partition 1. – Click on the "Organization block" drop-down list and click the "Add new" button or select an already existing OB.
  • Page 30 Configuring isochronous mode 5.2 Configuring isochronous mode for central I/O in S7-1500 9. In the "Isochronous mode for local modules" area, check to determine if: – Isochronous mode is selected – "Local send clock" is selected as the synchronization type If necessary, you can adapt the send clock and times T for the isochronous read- in/output of data.
  • Page 31: Configuring Joint Isochronous Operation Of Central And Distributed I/O

    Configuring isochronous mode 5.3 Configuring joint isochronous operation of central and distributed I/O Configuring joint isochronous operation of central and distributed I/O Introduction You can jointly operate central I/O in S7-1500 and distributed I/O on PROFINET IO isochronously. For the coordination and synchronization of the processing cycles of the central and distributed I/O, you set the same send clock and isochronous mode interrupt OB in STEP 7.
  • Page 32 Configuring isochronous mode 5.3 Configuring joint isochronous operation of central and distributed I/O Procedure 1. Navigate to the "Isochronous mode" area in the properties of the CPU. 2. In the "Isochronous mode for local modules" area, use "Use send clock of PROFINET interface [X1]"...
  • Page 33: Configuring Isochronous Mode For Distributed I/O On Profibus Dp

    Configuring isochronous mode 5.4 Configuring isochronous mode for distributed I/O on PROFIBUS DP Configuring isochronous mode for distributed I/O on PROFIBUS DP Introduction The configuring of isochronous mode is described in the following for a DP slave based on the ET 200S distributed I/O system. The procedure described also applies to other distributed I/O systems, e.g.
  • Page 34 Configuring isochronous mode 5.4 Configuring isochronous mode for distributed I/O on PROFIBUS DP Procedure for configuring isochronous mode on the DP slave 1. Select the DP slave in the network view. Navigate to the "Isochronous mode" area in the Inspector window. 2.
  • Page 35: Configuring Isochronous Mode For A Motion Control Application

    Follow these configuration steps: 1. Insert a SINAMICS V90 drive from the hardware catalog in the network view (Additional Field Devices > PROFINET IO > Drives > SIEMENS AG > SINAMICS > SINAMICS V90 PN). 2. Connect the PROFINET interface of the V90 to the PROFINET interface X1 of the CPU in the network view.
  • Page 36 Configuring isochronous mode 5.5 Configuring isochronous mode for a Motion Control application 7. In the hardware catalog, double-click on Standard Frame 3, ... Figure 5-7 Assigning Standard Frame 3 to the V90 Isochronous mode Function Manual, 10/2018, A5E43884988-AA...
  • Page 37 Configuring isochronous mode 5.5 Configuring isochronous mode for a Motion Control application 8. In the properties of the V90, select the "Isochronous mode" option for Standard Frame 3 in the detail overview. Figure 5-8 Assigning isochronous mode to Standard Frame 3 Isochronous mode Function Manual, 10/2018, A5E43884988-AA...
  • Page 38 Configuring isochronous mode 5.5 Configuring isochronous mode for a Motion Control application 9. In the project tree, navigate in the folder of the CPU to "Technology objects". 10.Insert a "Positioning axis" technology object. Figure 5-9 Creating a positioning axis technology object Isochronous mode Function Manual, 10/2018, A5E43884988-AA...
  • Page 39 Configuring isochronous mode 5.5 Configuring isochronous mode for a Motion Control application 11.Assign the drive V90 to the positioning axis. Figure 5-10 Assigning the drive to the positioning axis Results: – As soon as an axis was created for the CPU, the MC Servo OB is automatically created and set synchronous to the PROFINET IO.
  • Page 40 Configuring isochronous mode 5.5 Configuring isochronous mode for a Motion Control application Procedure for configuring isochronous mode for a cam controller using a Timer technology module For isochronous operation of a cam controller on a CPU, you configure a TM Timer technology module as an isochronous technology module.
  • Page 41 You can find additional information on the above-mentioned OBs and their use in the STEP 7 online help. You can find examples of parameter assignment and possible settings of isochronous mode for distributed I/O and drives in STEP 7 as FAQs on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109480489). Isochronous mode Function Manual, 10/2018, A5E43884988-AA...
  • Page 42: Setting The Application Cycle And Delay Time

    Configuring isochronous mode 5.6 Setting the application cycle and delay time Setting the application cycle and delay time Requirements ● You have created an isochronous mode configuration in STEP 7. ● You have created an isochronous mode interrupt OB Synchronous Cycle (OB 6x). ●...
  • Page 43 Configuring isochronous mode 5.6 Setting the application cycle and delay time Setting the delay time The delay time is the time between the start of the send clock and the start of the isochronous mode interrupt OB. STEP 7 sets the delay time automatically to the start of the execution window by default.
  • Page 44: Programming Isochronous Mode

    Programming isochronous mode Programming in the isochronous mode interrupt OBs You program the isochronous section of the program exclusively in the isochronous mode interrupt OBs Synchronous Cycle (OB 6x) and, for Motion Control applications, in the OBs MC-PreServo and MC-PostServo. The isochronous mode interrupt OBs Synchronous Cycle (OB 6x) apply to the isochronous operation of modules centrally in S7-1500 and in the assigned distributed I/O systems.
  • Page 45: Program Execution According To The Ipo Model

    Programming isochronous mode 6.1 Program execution according to the IPO model Program execution according to the IPO model If the execution time of the isochronous mode interrupt OB is significantly shorter than one data cycle T_DC, use the IPO model. In the IPO model, you do not reduce the data cycle. That is, the application cycle of the isochronous mode interrupt OB is equal to data cycle T_DC.
  • Page 46 Programming isochronous mode 6.1 Program execution according to the IPO model Signal sequence in the IPO model The following figure shows the signal sequence in the IPO model from the acquisition and the processing in the CPU to the output of the process values: ①...
  • Page 47: Program Execution According To The Oip Model

    Programming isochronous mode 6.2 Program execution according to the OIP model Program execution according to the OIP model Use the OIP model in the case of execution cycles of the isochronous mode interrupt OB of different lengths, if the application cycle is greater than data cycle T_DC. The data exchange with the process is always deterministic also in the OIP model, which means it takes place at a precisely specified time.
  • Page 48 Programming isochronous mode 6.2 Program execution according to the OIP model Signal sequence in the OIP model The following figure shows the signal sequence in the OIP model from the acquisition of process values and the processing in the CPU to the output of the process values: The application cycle is twice as long as data cycle T_DC in this example.
  • Page 49: Programming Of Isochronous Mode For Motion Control Applications

    You can find additional information on the above-mentioned OBs and their use in the STEP 7 online help. You can find examples of parameter assignment and possible settings of isochronous mode for distributed I/O and drives in STEP 7 as FAQs on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109480489). Isochronous mode Function Manual, 10/2018, A5E43884988-AA...
  • Page 50: Glossary

    Glossary Analog-to-digital conversion Conversion of analog input signals into digital signals for processing in the CPU. Application, isochronous User program in the isochronous mode interrupt OB. The user program in the isochronous mode interrupt OB ensures the isochronous and consistent updating of the assigned process image participation.
  • Page 51 Glossary Direct access, direct data access As an alternative to access via the process image, you also have direct read and write access to the I/O, if this is necessary for programming reasons. A direct (write) I/O access also writes to the process image. This prevents a subsequent output of the process image from overwriting the value written by direct access.
  • Page 52 Glossary IO controller, PROFINET IO controller Central device in a PROFINET system, usually a classic programmable logic controller or PC. The IO controller sets up connections to the IO devices, exchanges data with them and thus controls and monitors the system. IO device, PROFINET IO device Distributed I/O device of a PROFINET system that is monitored and controlled by an IO controller (e.g.
  • Page 53 Glossary Parameter assignment Parameter assignment is the transfer of parameters from the IO controller/DP master to the IO device/DP slave. Process image (I/O) The CPU transfers the values from the input and output modules to this memory area. At the start of the cyclic program, the CPU transfers the process image output as a signal state to the output modules.
  • Page 54 Glossary Reaction time The reaction time in the case of cyclic or time-controlled program execution is the time between the detection of an input signal and the change of a connected output signal. PROFINET IO with Real Time communication (RT) is the optimal transmission method for time-critical applications in factory automation.
  • Page 55: Index

    Index Application cycle, 22 Motion Control application, 34 Setting, 41 Axis Isochronous, 39 OB MC PostServo, 48 OB MC PreServo, 48 OB MC Servo, 43, 48 OIP model, 43, 46 Isochronous, 39 Oversampling, 27 Data cycle, 18, 20 Process image partition, 31 Delay time, 22 Setting, 41 DP cycle time, 18, 22...

This manual is also suitable for:

Simatic s7-1500r/hSimatic et 200proSimatic et 200sp

Table of Contents