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 |
| Unrestricted / © Siemens AG 2013. All Rights Reserved |
| ||
|
|
|