Table 6- 4 Fb 8 P_Snd_Rk Parameters For "Send Data" Request - Siemens Simatic S7-300 CP 341 User Manual

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

Advertisement

Communication via Function Blocks
6.4 Using the Function Blocks with the RK 512 Computer Connection
Assignment in the data area
The FB P_SND_RK works together with an I_SND_RK instance DB. The DB number is
passed on with the call. The instance data block is 62 bytes long. Access to the data in the
instance DB is not allowed.
FB P_SND_RK parameters
The table below lists the parameters of the FB 8 P_SND_RK for the "Send data" request.
Table 6- 4
FB 8 P_SND_RK parameters for "Send data" request
Name
Sort
SF
INPUT
REQ
INPUT
R
INPUT
LADDR
INPUT
DB_NO
INPUT
DBB_NO
INPUT
LEN
INPUT
R_CPU_NO
INPUT
R_TYP
INPUT
R_NO
INPUT
R_OFFSET
INPUT
R_CF_BYT
INPUT
R_CF_BIT
INPUT
DONE
OUTPUT
1
ERROR
OUTPUT
1
STATUS
OUTPUT
1
The parameter is available until the next time the FB is called.
1
144
www.gkbpx.com
Data type
Comment
CHAR
Selection for Send data or Fetch
data
BOOL
Initiates request on positive edge
BOOL
Cancels request
INT
CP 341 start address
INT
Data block number of source
INT
Data byte number of source
INT
Data length of the message frame
to be sent
INT
CPU number of the partner CPU
CHAR
Address type on the partner CPU
INT
Data block number on the partner
CPU
INT
Data byte number on the partner
CPU
INT
Interprocessor communication flag
byte on partner CPU
INT
Interprocessor communication flag
bit on the partner CPU
BOOL
Request completed without errors
BOOL
Request completed with errors
WORD
Specification of error
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Permitted values, remark
SF = 'S' (Send)
Default: 'S'
Cancels the request in progress.
Transmission is disabled. Default: 0
The start address is taken from
STEP 7.
Send DB no.: CPU-specific, zero is not
allowed
0 ≤ DBB_NO ≤ 8190 Send data
starting from data byte
1 ≤ LEN ≤ 4096, specified in number
of bytes; only even-numbered values
are appropriate
0 ≤ R_CPU_NO ≤ 4,
only with multiprocessor mode; default
value: 1
'D': Data block
'X': Expanded data block
0 ≤ R_NO ≤ 255
0 ≤ R_OFFSET ≤ 510, even-numbered
values only
0 ≤ R_CF_BYTE ≤ 255
Default: 255 (means: without
interprocessor communication flag)
0 ≤ R_CF_BIT ≤ 7
STATUS parameter == 16#00;
Error information is written to the
STATUS parameter.
If ERROR == 1, the STATUS
parameter will contain error
information.
Manual, 09/2008, A5E02191071-01
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents