hit counter script

Siemens SIMATIC CP 340 User Manual page 110

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

Advertisement

Communication using function blocks
6.3 Using the function blocks for connecting to a communications processor
Block call
STL representation
CALL P_RCV, I_RCV
EN_R : =
R : =
LADDR: =
DB_NO: =
DBB_NO: =
NDR : =
ERROR: =
LEN: =
STATUS: =
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 and P_PRINT (Page 134)"). For detailed information
refer to "Calling variable SFCERR or SFCSTATUS".
110
LAD representation
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents