Table 6- 6 Fb 7 P_Rcv_Rk Parameters For "Receive Data" Request - Siemens Simatic S7-300 CP 341 User Manual

Point-to-point communication, installation and parameter assignment
Table of Contents

Advertisement

FB P_RCV_RK parameters
The table below lists the parameters of the FB 7 P_RCV_RK for the "Receive data" request.
Table 6- 6
FB 7 P_RCV_RK parameters for "Receive data" request
Name
Sort
EN_R
INPUT
R
INPUT
LADDR
INPUT
DB_NO
INPUT
DBB_NO
INPUT
L_TYP
OUTPUT CHAR
1
L_NO
OUTPUT INT
1
L_OFFSET
OUTPUT INT
1
L_CF_BYT
OUTPUT INT
1
L_CF_BIT
OUTPUT INT
1
NDR
OUTPUT BOOL
1
ERROR
OUTPUT BOOL
1
LEN
OUTPUT INT
1
STATUS
OUTPUT WORD
1
The parameter is available until the next time the FB is called.
1
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
www.gkbpx.com
6.4 Using the Function Blocks with the RK 512 Computer Connection
Data type
Comment
BOOL
Enables data receipt
BOOL
Cancels request
INT
CP 341 start address
INT
Data block number of the
receive data (destination)
INT
Data byte number of the
receive data (destination)
Type of area on local CPU
(destination)
Data block number on local
CPU (destination)
Data byte number on local
CPU (destination)
Interprocessor
communication flag byte on
local CPU
Interprocessor
communication flag bit on
local CPU
Request completed without
errors, data accepted
Request completed with
errors
Length of the message
frame received
Specification of error
Communication via Function Blocks
Permitted values, remark
Cancels the request in progress. Receiving is
disabled. Default: 0
The start address is taken from STEP 7.
Receive DB no.: CPU-specific, zero is not allowed
(Relevant only for DX data destination)
0 ≤ DBB_NO ≤ 8190 Receive data starting from
data byte
(Relevant only for DX data destination)
'D': Data block
0 ≤ L_NO ≤ 255
0 ≤ L_OFFSET ≤ 510
0 ≤ L_CF_BYTE ≤ 255255 means: without
interprocessor communication flag
0 ≤ L_CF_BIT ≤ 7
STATUS parameter == 16#00;
Error information is written to the STATUS
parameter.
0 ≤ LEN ≤ 4096, specified in number of bytes
If ERROR == 1, the STATUS parameter will
contain error information.
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents