Communication via Function Blocks
6.3 Using the Function Blocks with the 3964(R) Procedure
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
138 Manual, 09/2008, A5E02191071-01
FB P_RCV_RK parameters
The table below lists the parameters of the FB P_RCV_RK.
Note
The L_TYP, L_NO, L_OFFSET, L_CF_BYT, and L_CF_BIT parameters are irrelevant for the
3964(R) procedure and do not have to be assigned.
Table 6- 3 FB P_RCV_RK parameters
Name Sort Data type Comment Permitted values, remark
EN_R INPUT BOOL Enables data reading
R INPUT BOOL Cancels request Cancels the request in progress. Receiving is
disabled.
LADDR INPUT INT CP 341 start address The start address is taken from STEP 7.
DB_NO INPUT INT Data block number Receive DB No.:
CPU-specific, zero is not allowed
DBB_NO INPUT INT Data byte number 0 ≤ DBB_NO ≤ 8190 Receive data starting
from data byte
NDR OUTPUT BOOL Request completed without
errors, data accepted
STATUS parameter == 16#00;
ERROR
1
OUTPUT BOOL Request completed with
errors
Error information is written to the STATUS
parameter.
LEN
1
OUTPUT INT Length of the message
frame received
1 ≤ LEN ≤ 4096, specified in number of bytes
STATUS
1
OUTPUT WORD Specification of error If ERROR == 1, the STATUS parameter will
contain error information.
1
The parameter is available until the next time the FB is called.
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/