Siemens Simatic S7-300 CP 341 User Manual page 156

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

Advertisement

Communication via Function Blocks
6.4 Using the Function Blocks with the RK 512 Computer Connection
Special features for (expanded) data blocks
Note the following special features with regard to fetching data from data blocks and
expanded data blocks:
● RK 512 allows only an even-numbered amount of data to be fetched. If you specify an
odd-numbered amount for the length (LEN), an extra byte is always transmitted. In the
destination DB, however, the correct amount of data is entered.
● RK 512 allows only an even-numbered offset. If you specify an odd-numbered offset, the
data is fetched from the partner starting from the next lower even-numbered offset.
Example: Offset is 7, data is fetched as of byte 6.
Special features for timers and counters
If you fetch timers or counters from the communication partner, remember that 2 bytes are
fetched for each timer or counter. For example, if you want to fetch 10 counters, you must
enter 20 as the length.
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".
156
www.gkbpx.com
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:
=
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
LAD representation
Manual, 09/2008, A5E02191071-01
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents