Siemens SIMATIC S5-100U System Manual page 136

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

Introduction to STEP 5
Table 7-4.
Block Parameter Types and Data Types with Permissible Actual
Parameters, for CPU 103 and Higher
Parameter
Data Type
Type
I, Q
BI
BY
W
D
KM
KY
KH
KS
KT
KC
KF
B
Type designation not permitted
T
Type designation not permitted
C
Type designation not permitted
*
Not permitted for integral FBs
Calling a Function Block
Like other blocks, function blocks are stored under a specific number in the program memory (e.g.,
FB47). The numbers 240 to 255 are reserved for the integral function blocks (in CPU 103 version
8MA02 and higher).
You can program function block calls in all blocks except data blocks.
7-14
for an operand with bit address
for an operand with byte address
for an operand with word address
for a binary pattern (16 digits)
for two absolute numbers, one byte each,
each in the range from 0 to 255
for a hexadecimal pattern (maximum 4
digits)
for a character (maximum 2
alphanumeric characters)
for a time (BCD-coded time) with time
base 1.0 to 999.3
for a count (BCD-coded) 0 to 999
for a fixed-point number in the range
from -32768 to +32767
Permissible Actual Parameters
I
x.y Inputs
Q
x.y Outputs
F
x.y Flags
IB
x
Input bytes
QB x
Output bytes
FY x
Flag bytes
DL x
Data bytes left
DR x
Data bytes right
*
PY x
Peripheral bytes
IW x
Input words
QW x
Output words
FW x
Flag words
DW x
Data words
*
PW x
Peripheral words
Constants
DBx
Data blocks. The C DBx operation is
executed.
OBx
Organization blocks are called
unconditionally (JU ... x).
FBx
Function blocks (permissible without
parameters only) are called
unconditionally (JU..x).
PBx
Program blocks are called
unconditionally (JU..x).
SBx
Sequence blocks are called
unconditionally (JU..x).
T
Timer. The time should be assigned
parameters as data or be programmed
as a constant in the function block.
C
Counter. The count should be
assigned parameters as data or be
programmed as a constant in the
function block.
EWA 4NEB 812 6120-02b
S5-100U

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents