Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
21-16
A5E00739858-01
Due to the asynchronous data transmission, a new transmission can only be
initiated if the previous data have been retrieved by the call of the partner SFB/FB.
Until the data are retrieved, the status value 7 (see below) will be given when the
SFB/FB "BSEND" is called.
Parameter Declaration Data Type Memory Area Description
REQ INPUT BOOL I, Q, M, D, L Control parameter request, activates the
data exchange at a rising edge.
R INPUT BOOL I, Q, M, D, L,
constant
Control parameter reset, activates an
abort at a rising edge while data are still
being exchanged.
ID INPUT WORD M, D, constant Addressing parameter ID, refer to
Common Parameters of the SFBs/FBs
and SFCs/FCs for S7 Communication
R_ID INPUT DWORD I, Q, M, D, L,
constant
Addressing parameter R_ID, refer to
Common Parameters of the SFBs/FBs
and SFCs/FCs for S7 Communication
With a connection via the CP 441 to S5
or auxiliary devices, R_ID contains the
address information of the remote
device. For further information, refer to
the description of the CP 441.
DONE OUTPUT BOOL I, Q, M, D, L DONE status parameter:
0: Job not started or still running
1: Job has been executed error-free
ERROR
STATUS
OUTPUT
OUTPUT
BOOL
WORD
I, Q, M, D, L
I, Q, M, D, L
ERROR and STATUS state parameters,
error display:
ERROR=0
STATUS has the value:
0000H: neither warning nor error
<> 0000H: Warning, STATUS
supplies detailed information
ERROR=1
There is an error. STATUS supplies
detailed information on the type of
error.
SD_1 IN_OUT ANY S7-300: M, D
S7-400: I, Q, M,
D, T, Z
Pointer to the send area.
Only the following data types are
permissible: BOOL (not allowed: Bit
field), BYTE, CHAR, WORD, INT,
DWORD, DINT, REAL, DATE, TOD,
TIME, S5TIME, DATE_AND_TIME,
COUNTER, TIMER.
Note:
If the ANY pointer accesses a DB, the
DB must always be specified (for
example: p# DB10.DBX5.0 Byte 10).
LEN IN_OUT WORD I, Q, M, D, L Length of the data field to be sent in
bytes.