EasyManua.ls Logo

Siemens S5-100U - Page 132

Siemens S5-100U
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Introduction to STEP 5 S5-100U
Block Header
Besides the block header, function blocks have organizational information that other blocks do not
have.
A function block's memory requirements consist of the following:
Block header (five words) as for other blocks
Block name (five words)
Block parameter for parameter assignment (three words per parameter)
Creating a Function Block, for CPU 103 and Higher
In contrast to other blocks, parameters can be assigned to FBs.
To assign parameters, you must program the following block parameter information.
Block Parameter Name (formal operand)
Each block parameter as a formal operand is given a designation (DES). Under this designation
it is replaced by an actual parameter when the function block is called.
The name can be up to four characters long and must begin with an alpha character. You can
program up to 40 block parameters per function block.
Block Parameter Type
You can enter the following parameter types:
- I input parameters
- Q output parameters
- D data
- B blocks
- T timers
- C counters
In graphic representation, output parameters appear to the right of the function symbol. Other
parameters appear to the left.
Block Parameter Data Type
You can specify the following data types:
- BI for operands with a bit address
- BY for operands with a byte address
- W for operands with a word address
- K for constants
7-12
EWA 4NEB 812 6120-02

Table of Contents

Related product manuals