Similar documents




How to use a project file with an out of date firmware with actual firmware version



SIMATIC. Process Control System PCS 7 CFC Readme V9.0 (online) Security information 1. Overview 2. Notes on Installation 3. Notes on usage 4.

Firewall Settings for SIMATIC B.Data

How do you establish MODBUS-RTU communication?



SIMATIC. Process control system PCS 7 Operator Station (V9.0 SP1) Security information 1. Preface 2

How do you access an SQL database in WinCC Runtime Advanced using a script?

SIMATIC. PCS 7 Licenses and configuration limits (V9.0) Security information 1. Preface 2. Selecting the correct license keys 3

SIMATIC NET OPC Server Implementation



Determination of suitable hardware for the Process Historian 2014 with the PH-HWAdvisor tool

SIMATIC. PCS 7 Process Control System CFC Readme V9.0 SP2 Upd2 (Online) Security information 1. Overview 2. Notes on Installation 3.

Siemens Drives & PLCs


Automatic Visualization of the Sample Blocks in WinCC Advanced


View the most recent product information online

Configuration of an MRP ring with SIMOCODE and SIMATIC S SIMOCODE pro V PN, SIMATIC S Siemens Industry Online Support

Visualizing Energy Data of a SITOP PSU8600


How Do You Replace a CPU 41x with the CPU 410-5H Process Automation? SIMATIC PCS 7 FAQ 01/2016

Creating User-defined Block Icons with SIMATIC PCS 7


Integration of SIMATIC PCS 7 Asset Management into existing projects

SIMATIC. Process Control System PCS 7 SFC Visualization (V9.0 SP2) Security information 1. What's new in SFV? 2. SFC Visualization (SFV) 3


Industrial Controls. SIMOCODE pro SIMOCODE pro PCS 7 Library. Preface. Security information. Product specific security. information.

SIMATIC. Process Control System PCS 7 Advanced Process Functions Operator Manual. Preface. Security information 1. Overview 2. Material management 3

Configuration of an MRP Ring and a Topology with Two Projects



SINAMICS G/S: Integrating Warning and Error Messages into STEP 7 V5.x or WinCC flexible




Calculating the expected PH storage requirements of SIMATIC BATCH batches

Display of SINAMICS Fault Messages in WinCC V7.4


SIMATIC. Process Control System PCS 7 Configuration McAfee Endpoint Security Security information 1. Preface 2.


SIMATIC. PCS 7 Process Control System SIMATIC Logon Readme V1.6 (Online) Security information 1. Overview 2. Notes on installation 3.

Data Storage on Windows Server or NAS Hard Drives

APF report templates based on data from the WinCC User Archive


SIMATIC. Process Control System PCS 7 Compendium Part D - Operation and Maintenance (V8.2) Security information 1. Preface 2

Acyclic communication between S and V90PN via PROFINET. Application example 12/

SIMATIC. TIA-Portal SIMATIC Visualization Architect. Security information 1. Basics 2. Installation 3. Elements and basic settings 4

Display of SINAMICS Error Messages in Runtime Professional

Plant Automation Accelerator 2.1 Readme (Online)


SIMATIC PDM - Central access to MODBUS RTU devices


Encoder Configuration for the Positioning Axis Technology Function



Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Communication between HMI and Frequency Converter. Basic Panel, Comfort Panel, Runtime Advanced, SINAMICS G120. Application Example 04/2016

Single Message Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support


Message Cycle Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support

Position Control with SIMATIC S and SINAMICS V90 via IRT PROFINET SINAMICS V90 PROFINET. Application description 03/2016

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

House Control with Touch Panel

Application example 02/2017. SIMATIC IOT2000 Connection to IBM Watson IoT Platform SIMATIC IOT2040

SINAMICS G/S: Tool for transforming Warning and Error Messages in CSV format

STEP 7 Professional V14 SP1, Energy Suite V14 SP1, SENTRON PAC Measuring Devices, Modbus TCP

Integration of Process Historian / Information Server in a Domain

Application example 12/2016. SIMATIC IOT2000 OPC UA Client SIMATIC IOT2020, SIMATIC IOT2040



Plant Data Interface for the Food & Beverage Industry in SIMATIC PCS 7. Interface description based on Weihenstephan Standards

SIMATIC. Process Control System PCS 7 V7.0 SP1 Software Update With Utilization of New Functions (PCS 7 V6.x to V7.0 SP1) Preface.

SIMATIC Visualization Architect (SiVArc) Getting Started

SIMATIC. Process Control System PCS 7 Software update with utilization of new functions. Security information 1. Preface 2.

SIMATIC. Process Control System PCS 7 SIMATIC Management Console (V9.0) Security information 1. Preface 2. Basics 3

Multiproject / Multiuser engineering

Migration of a Process Historian database

FAQ about Drive Technology


Tabular SIMATIC BATCH report for the Information Server. SIMATIC PCS 7 / SIMATIC Information Server 2014 / Customized Reporting

SIMATIC. Process Control System PCS 7 Help for SIMATIC PDM (V9.1) Security information 1. Preface 2. Using SIMATIC PDM 3.

RAID systems within Industry

Multiproject / Multiuser engineering

SIMATIC. S7-1500, ET 200SP, ET 200pro Structure and Use of the CPU Memory. Preface. Documentation guide. Memory areas and retentive memory

Multiuser Engineering in the TIA Portal

Check List for Programming Styleguide for S7-1200/S7-1500


SINETPLAN Siemens Network Planner



TIA Portal Openness: Generating a Modular Machine with S TIA Portal Openness V14 SP1. Application Example 07/2017

Connecting a PC Station to an S using OPC

Transcription:

Block Solution for PLC Cycle Time Monitoring SIMATIC PCS 7 V6.0 SP3 and higher https://support.industry.siemens.com/cs/ww/en/view/22000962 Siemens Industry Online Support

This entry is from the Siemens Industry Online Support. The general terms of use (http://www.siemens.com/terms_of_use) apply. Security Information Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks. In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement and continuously maintain a holistic, state-of-the-art industrial security concept. Siemens products and solutions only form one element of such a concept. The customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place. Additionally, Siemens guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit http://www.siemens.com/industrialsecurity. Siemens products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase the customer s exposure to cyber threats. To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under http://www.siemens.com/industrialsecurity. Contents 1 Introduction... 4 2 Installation Notes... 5 2.1 Scope of delivery... 5 2.2 Installation... 5 3 Commissioning... 6 4 Operation and Monitoring from the OS... 7 5 Engineering... 8 5.1 FB1000 "OBSINGLE"... 8 5.2 FB1001 "OBTIME"... 9 5.3 Default Settings of the Runtime Groups... 11 Entry ID: 22000962, V 1.0, 01/2018 2

Entry ID: 22000962, V 1.0, 01/2018 3

1 Introduction 1 Introduction Based on the software calculation of a project with the tool "Protime PCS 7", the cycle of a standard PLC should not be loaded more than 70% so that the system can use free time slices for communication jobs, for example. 70% cycle load means that an S7 program takes 700ms of 1000ms in the PLC, provided that all OB interval times are standardized to 1000ms. For an H system the limit is 60% cycle load, because additional time slices are needed for the redundancy. On the basis of the standard TIME_BEGIN_TIME_END blocks the present block solution reads in the runtimes of the cyclic interrupts OB30 to OB38 and in the PLC calculates the overall cycle load based on the OB interval times set in the HW Config. The block solution is best used during the engineering phase of PCS 7 projects, but can also be implemented for service and maintenance purposes. The tool is the implementation of the Excel table published in the FAQ entitled "Calculation of the AS cycle load caused by OB30 to OB38" http://support.automation.siemens.com/ww/view/en/19688569 Similar tools available in Customer Support: FAQ "Display of the diagnostics buffer contents and the status LED of a CPU/H-CPU running on a PCS 7 / WinCC Operator Station" http://support.automation.siemens.com/ww/view/en/9985721 Expert Communication "Calculator for estimating the memory requirements of typical automation tasks in an S7 CPU (V4.0)" (not specially for PCS 7). Entry ID: 22000962, V 1.0, 01/2018 4

2 Installation Notes 2 Installation Notes 2.1 Scope of delivery The package contains 2 archive files: obinfo_lib.zip : the S7 library with the following objects Function blocks for calculating the OB cycle load in the PLC A hierarchy folder with ready-to-use CFC charts including runtime groups obinfo_lib.zip : OS faceplates and symbols for monitoring the library blocks 2.2 Installation The S7 library and the CFC charts have been created in PCS 7 V6.0 SP3. Use the SIMATIC Manager to unpack the compressed S7 library obinfo_lib.zip in a directory of your choice. As required unpack the obinfo_pdl.zip file in your OS project subdirectory \GRACS. The unpacked obinfo_typicals.pdl file contains the two symbols for copying into an existing standard picture @pcs7_typicals.pdl. Note The blocks contained without the CFC charts can also be used in versions of PCS 7 previous to V6.0 SP3. The CFC charts with interconnections must be created manually. Entry ID: 22000962, V 1.0, 01/2018 5

3 Commissioning 3 Commissioning Note If in the project the TIME_BEG and TIME_END blocks are already being used in CFC charts, it is recommended to delete these instances and then start with Step 1. 1. Open the S7 library with SIMATIC Manager in the Technology View. 2. Open in parallel the project to be measured with SIMATIC Manager in the Technology View. 3. Copy all the CFC charts from the "obinfo" library into the project (into the uppermost TH level, for example). Note When copying the CFC charts, make sure that all the CFC charts are copied in one copying process, because this is the only way for all the CFC charts to be copied automatically into the project along with all the runtime groups. Note If FB1000 or FB1001 are already available, then you have to rename them. More information on the topic of how to merge blocks with the same numbers is available under: https://support.industry.siemens.com/cs/ww/en/view/82525512 4. Check the PLC OS assignments of the new TH folder "obinfo" and change the project policies accordingly. 5. Delete the CFC charts "INF_OB3x" for the unused OBs. 6. Open the CFC chart "INF_OB". 7. In the runtime order, shift the "StartGroupOB3x" group to the beginning and the "EndGroupOB3X" group to the end of the OB concerned. 8. Compile the CFC charts. 9. Delete the empty runtime groups with "Edit > Delete empty runtime groups". 10. Download the CFC charts into the AS. 11. Start the CFC Test mode and monitor the outputs of the block instance "InfoOB". Entry ID: 22000962, V 1.0, 01/2018 6

4 Operation and Monitoring from the OS 4 Operation and Monitoring from the OS Optionally you can also have the OB3x cycle load and the OB3x start information displayed in the OS Runtime. For both function blocks there are faceplates available that are created automatically in the assigned pictures with the function "Create/update block symbols". The requirement for this is execution of the steps described in the chapters entitled Installation and Commissioning. Only the views "Standard" and "Trend" are created in each case. The faceplates have been created with the Faceplate Designer of PCS 7 V6 and can be adapted as required to meet special demands. Faceplate and symbol for FB1000 "OBSINGLE": Faceplate and symbol for FB1001 "OBTIME": Entry ID: 22000962, V 1.0, 01/2018 7

5 Engineering 5 Engineering 5.1 FB1000 "OBSINGLE" Use: Read out the start information of the OB3x using SFC6 "RD_INFO". Run sequence The block FB1000 has to be incorporated after "TIME_END" at the end of the runtime group of each used OB. Input parameters: Runtime of an OB3x in ms, determined with the blocks TIME_BEG and Time_END. Switch for saving the maximum runtime. Output parameter: Number of the OB Runtime of the OB in ms Interval time set Phase shift set Priority of the OB3x set OCM-capable parameters: Input switch "MODE" All output parameters Setup Entry ID: 22000962, V 1.0, 01/2018 8

5 Engineering 5.2 FB1001 "OBTIME" Use: Calculation of the CPU cycle load from the individual OB runtimes with and without correction. Run sequence The point of incorporation in the runtime order is arbitrary, but it is most practical point is in the slowest used OB after the OBtime. Input parameters: Runtime of the OB3x used Cycle intervals of the OB3x used Output parameter: Correction time for the cycle duration of the OB3x used, which can be caused by lower-level, higher-priority OB3x OB3x cycle load without taking into account the correction times OB3x cycle load taking into account the correction times OCM-capable parameters: All output parameters Entry ID: 22000962, V 1.0, 01/2018 9

5 Engineering Setup Entry ID: 22000962, V 1.0, 01/2018 10

5 Engineering 5.3 Default Settings of the Runtime Groups FB "TIME_BEG" is incorporated in a group at the beginning of each OB. FB "TIME_END" and FB1000 are incorporated in a group at the end of each OB. The calculation block FB1001 is incorporated in the OB30 in the runtime group "InfoGroup". Entry ID: 22000962, V 1.0, 01/2018 11