Communication via Function Blocks
6.3 Using the Function Blocks
Point-to-point connection CP 440 Installation and Parameter Assignment
Manual, 09/2007, A5E00057742-03
99
Assignment in the Data Area
The RES_RECV FB works with an instance DB (I_RES_RECV). 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 RES_RECV FB
The following table lists the parameters of the RES_RECV FB.
Table 6-7 Parameters of the RES_RECV 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.
DONE
1
OUTPUT BOOL Request completed without
errors
STATUS parameter == 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/