Versioning A Block - Siemens SIMATIC S7-1500 Getting Started

Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

3.2.9

Versioning a block

Introduction
The use of block types ensures a high degree of standardization in your projects. You can
easily integrate function extensions to the block type into existing projects. Change tracking
is ensured by versioning. In this example, you create a "LAD_Tanks_Filling" block as a type
in the project library. As a function extension, replace the three instructions for the level
calculation with CalculateBox, which performs all arithmetic functions. This optimization
means that fewer temporary tags are required and that the switch between blocks with
various programming languages is no longer necessary.
Procedure
1. Compile the "LAD_Tanks_Filling" block and then insert it in the project library under
2. Create a new block version with "Edit type".
3. Insert the CALCULATE instruction from the "Basic instructions > Mathematical functions"
4. Delete the MUL, DIV and SUB instructions from the block.
S7-1500
Getting Started, 05/2014, A5E03981761-AC
"Types".
library.
Software section
3.2 Creating the program
65

Advertisement

Table of Contents
loading

Table of Contents