Technical data

Table Of Contents
SFBs for Compact CPUs
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
28-55
Parameters Declaration Data
type
Range of
values
Default Description
STATUS
OUTPUT WORD W#16#0000 to
W#16#FFFF
W#16#0000 Status parameter (This
parameter is only set for the
duration of one call): To
display the status, you should
copy STATUS to a free data
area)
STATUS has the following
meaning, dependent on the
ERROR bit:
ERROR=FALSE:
STATUS has the value
W#16#0000: Neither the
warning nor the error
STATUS have the value
<> W#16#0000:
Warning, STATUS
supplies detailed
information.
ERROR=TRUE:
An error has occurred,
STATUS supplies
detailed information on
the type of error.
RD_1
INPUT/
OUTPUT
ANY CPU specific 0 Receive parameter:
Here you declare:
1. The number of the DB in
which the fetched data
are to be stored.
2.
The data byte number
as of which the
fetched data are to be
stored.
For example: DB 10 as of
byte 2 -> DB10.DBB2
LEN
INPUT/
OUTPUT
INT 1 to 1024 1 Here you declare the byte
length of the data block that
is to be fetched.
You must declare two bytes
per time and per counter.
(Length is set here indirectly.)