EasyManuals Logo

Siemens SIMATIC CP 340 User Manual

Siemens SIMATIC CP 340
200 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #110 background imageLoading...
Page #110 background image
Communication using function blocks
6.3 Using the function blocks for connecting to a communications processor
PtP coupling and configuration of CP 340
110 Manual, 04/2011, A5E00369892-03
Block call
STL representation LAD representation
CALL P_RCV, I_RCV
EN_R : =
R : =
LADDR: =
DB_NO: =
DBB_NO: =
NDR : =
ERROR: =
LEN: =
STATUS: =
(1 (12
(1B5 1'5
5 (5525
/$''5 /(1
'%B12 67$786
'%%B12
3B5&9
,B5&9
Note
The parameters EN and ENO are only present in the graphical representation (LAD or FBD).
To process these parameters, the compiler uses the binary result BR. The binary result is set
to signal state "1" if the block was terminated without errors. If there was an error, the BR is
set to "0".
Assignment in the data area
The P_RCV FB works together with an Instance DB for I_RCV. The DB number is specified
in the call. The instance data block is 40 bytes long. Access to the data in the instance DB is
not permitted.
Note
Exception: If the error STATUS == W#16#1E0E occurs, you can consult the SFCERR or
SFCSTATUS variables for additional details (see the chapter titled "Diagnostics Messages of
the Function Blocks P_SEND, P_RCV a
nd P_PRINT (Page 134)"). For detailed information
refer to "Calling variable SFCERR or S
FCSTATUS".

Table of Contents

Other manuals for Siemens SIMATIC CP 340

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC CP 340 and is the answer not in the manual?

Siemens SIMATIC CP 340 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC CP 340
CategoryComputer Hardware
LanguageEnglish

Related product manuals