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
134
Manual, 09/2008, A5E02191071-01
FB P_SND_RK parameters
The table below lists the parameters of the FB P_SND_RK.
Note
The R_CPU_NO, R_TYP, R_NO, R_OFFSET, R_CF_BYT, and R_CF_BIT parameters are
irrelevant for the 3964(R) procedure and do not have to be assigned. The SF parameter also
does not have to be assigned since 'S' for sending is entered by default.
Table 6- 2
FB P_SND_RK parameters
Name
Sort
Data type
Comment
Permitted values, remark
REQ
INPUT
BOOL
Initiates request on positive
edge
R
INPUT
BOOL
Cancels request
Cancels the request in progress.
Transmission is disabled.
LADDR
INPUT
INT
CP 341 start address
The start 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 Send data starting from
data byte
LEN
INPUT
INT
Data length
1 ≤ LEN ≤ 4096, specified in number of bytes
DONE
1
OUTPUT
BOOL
Request completed without
errors
STATUS parameter == 16#00;
ERROR
1
OUTPUT
BOOL
Request completed with
errors
Error information is written to the STATUS
parameter.
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.
长沙工控帮教育科技有限公司
www.gkbpx.com