Communication via Function Blocks   
6.3 Using the Function Blocks 
  Point-to-point connection CP 440 Installation and Parameter Assignment 
92  Manual, 09/2007, A5E00057742-03 
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. This error variable can only be loaded via a 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-3  Parameters of the SEND_440 FB 
Name  Type  Data type  Description  Permitted Values 
Comment 
REQ  INPUT  BOOL  Initiates request with 
positive edge 
 
R  INPUT  BOOL  Aborts request  Current request is aborted. 
Sending is blocked. 
LADDR   INPUT  INT  Basic address of 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 word; 
Offset is CPU-specific 
LEN  INPUT  INT  Data length  1 ≤ LEN ≤ 400 (Page 86),  
specified in number of bytes 
DONE 
1
  OUTPUT  BOOL  Request completed without 
errors 
Parameters  
STATUS == 16#00; 
ERROR 
1
  OUTPUT  BOOL  Request completed with 
errors 
STATUS parameter contains error 
details 
STATUS 
1
  OUTPUT  WORD  Error specification  If ERROR == 1, STATUS 
parameter contains error details 
1 
The parameter is available until the next call of the FB! 
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/