Siemens TOA portal module 040-020 manual Interface of the block calculatetankcontent FC140

Page 10

Industry Sector, IA&DT

4.4Interface of the block calculate_tankcontent [FC140]

The interface of the block must be declared before the program can be written. In the interface declaration, the local tags known only in this block are defined.

The tags or interface parameters are divided into two groups:

Block parameters that form the block interface for the call in the program.

Type

Designation Function

Available in

Input parameters

Output parameters

In/out parameters

Input

Output / Return

InOut

Parameters whose values are read by the block.

Parameters whose values are written by the block.

A parameter whose value is read by the block when it is called and is written back by the block to the same parameter after it is processed.

Functions, function blocks, and some types of organization blocks

Functions and function blocks

Functions and function blocks

Local data that is used for saving intermediate results.

Type

Designation Function

Available in

Temporary local data

Static local data

Temp

Static

Tags that are used to store temporary intermediate results. Temporary local data is retained for one cycle only.

Tags that are used for saving static intermediate results in the instance data block. Static data is retained until it is overwritten, which may be after several cycles.

Functions, function blocks, and organization blocks

Function blocks

SCE Training Curriculum

Page 10 of 30

To be used only at Educational and R&D Facilities

TIA Portal Module 040-020, Edition 03/2013

 

Unrestricted / © Siemens AG 2013. All Rights Reserved

SCE_EN_040-020_R1209_Startup Programming in High-Level Languages with S7-SCL and SIMATIC S7-300

 

 

 

 

Image 10
Contents TIA Portal Module Suitable SCE trainer packages for these training curriculums Industry Sector, IA&DT Learning objective RequirementsRequired hardware and software Industry Sector, IA&DT Editor / compiler S7-SCL for S7-300/400Debugger Description of task Default tag tableAssignment list / tag table Structure of the tank content sample task Program structureInterface of the block calculatetankcontent FC140 Type Designation FunctionInterface of the function FC140 Calculatetankcontent Function call Representation in FBDCreating a project and configuring hardware Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Creating a program Industry Sector, IA&DT Diagram Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Test program Industry Sector, IA&DT Mode on. → Expanding the program Expanding the assignment list / tag tableIndustry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT