Communication using function blocks
6.6 Delete receive buffer, FB12 "P_RESET"
PtP coupling and configuration of CP 340
122
Manual, 04/2011, A5E00369892-03
Assignment in the data area
The P_RESET function block works together with an I_P_RESET instance DB. The DB
number is specified in the call. The data in the instance DB cannot be accessed.
Note
Exception: In the event of an error, STATUS == W#16#1E0F, you will find more detailed
information in the SFCERR or SFCSTATUS variables. See "Calling the SFCERR or
SFCSTATUS variable" for more information.
P_RESET FB parameters
The table below lists the parameters of the P_RESET FB.
Table 6- 7
P_RESET FB parameters
Name
Type
Data type
Description
Permitted values, remark
REQ
INPUT
BOOL
Initiates job on positive edge
LADDR
INPUT
INT
CP 340 base address
The base address is taken from
STEP 7.
DONE
(1)
OUTPUT
BOOL
Job completed without errors
STATUS parameter == 16#00;
ERROR
(1)
OUTPUT
BOOL
Job 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.
Summary of Contents for SIMATIC CP 340
Page 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Page 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Page 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...