Siemens Simatic S7-300 CP 341 User Manual page 143

Point-to-point communication, installation and parameter assignment
Table of Contents

Advertisement

Special features for sending data
Note the following special features with regard to sending data:
● RK 512 allows only an even-numbered amount of data to be sent. If you specify an odd-
numbered amount of data for the length (LEN), an additional filler byte with a value of "0"
is sent at the end of the data.
● RK 512 allows only an even-numbered offset. If you specify an odd-numbered offset, the
data is stored in the partner starting from the next lower even-numbered offset.
Example: Offset is 7, data is stored from byte 6.
What is to be done?
Block call
STL representation
CALL
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".
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
www.gkbpx.com
6.4 Using the Function Blocks with the RK 512 Computer Connection
P_SND_RK, I_SND_RK
SF:
=
REQ:
=
R:
=
LADDR:
=
DB_NO:
=
DBB_NO:
=
LEN:
=
R_CPU_NO:
=
R_TYP:
=
R_NO:
=
R_OFFSET:
=
R_CF_BYT
=
R_CF_BIT
=
DONE:
=
ERROR:
=
STATUS:
=
Communication via Function Blocks
LAD representation
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents