Communication Using Function Blocks
6-8
Point-to-point connection CP 440 Installation and Parameter Assignment
A5E00057742-02
Assignment in the Data Area
The SEND_440 FB works with an instance DB (I_SEND_440). The DB number is
specified in the call. The data in the instance DB cannot be accessed.
Note
Exception: If the error STATUS == W#16#1E0F occurs, you can consult the
SFCERR variable for more details of the error (see Section 8.3). This error
variable can only be loaded via symbolic access to the instance DB.
Parameters of the SEND_440 FB
The following table lists the parameters of the SEND_440 FB.
Table 6-2
Parameters of the SEND_440 FB
Name
Type
Data Type
Comment
Permitted Values,
Comment
REQ
INPUT
BOOL
Initiates job at positive
edge
R
INPUT
BOOL
Aborts job
Current job is aborted. Sending
is blocked.
LADDR
INPUT
INT
Basic address of the CP
440
The basic address is taken from
STEP 7.
DB_NO
INPUT
INT
Data block number
Send DB no.:CPU-specific,
zero is not allowed
DBB_NO
INPUT
INT
Data byte number
0
DBB_NO
8190
transmitted data as of data byte;
offset is CPU-specific
LEN
INPUT
INT
Data length
1
LEN
200, specified
in number of bytes
DONE
1
OUTPUT
BOOL
Job completed without
errors
STATUS parameter == 16#00;
ERROR
1
OUTPUT
BOOL
Job completed with errors
STATUS parameter contains
error information
STATUS
1
OUTPUT
WORD
Error specification
If ERROR == 1, STATUS
parameter contains error
information
1
The parameter is available until the next call of the FB.
Содержание SIMATIC CP 440
Страница 10: ...Contents x Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...
Страница 134: ...Diagnostics with the CP 440 8 16 Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...
Страница 164: ...Accessories and Order Numbers D 2 Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...