Siemens SIMATIC CP 340 User Manual page 111

Ptp coupling and configuration
Hide thumbs Also See for SIMATIC CP 340:
Table of Contents

Advertisement

P_RCV (FB 2) parameters
The table below lists the parameters of P_RCV (FB 2).
Table 6- 3
P_RCV (FB 2) parameters
Name
EN_R
R
LADDR
DB_NO
DBB_NO
NDR
1)
ERROR
1)
LEN
1)
STATUS
1)
The parameter is available for a single CPU cycle after the send request has been completed correctly.
1)
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
6.3 Using the function blocks for connecting to a communications processor
Type
Data type
INPUT
BOOL
INPUT
BOOL
INPUT
INT
INPUT
INT
INPUT
INT
OUTPUT
BOOL
OUTPUT
BOOL
OUTPUT
INT
OUTPUT
WORD
Comment
Enables data read
Cancels request
Basic address of CP 340
Data block number
Data byte number
Request completed without
errors, data accepted
Request completed with
errors
Length of message frame
received
Specification of error
Communication using function blocks
Permitted values, comment
Current request is aborted. Receiving
locked
The start address is taken from STEP
7.
Receive DB No.:
CPU-specific, zero is not permitted
0 ≤ DBB_NO ≤ 8190 Received data as
of data byte
STATUS parameter == 16#00;
Error information is written to the
STATUS parameter.
1 ≤ LEN ≤ 1024, specified in number
of bytes
If ERROR == 1, the STATUS
parameter contains the error
information.
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents