Overview Of The Function Blocks; Table 6- 1 Function Blocks / Functions Of The Cp 341 - Siemens Simatic S7-300 CP 341 User Manual

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

Advertisement

Communication via Function Blocks

6.1 Overview of the Function Blocks

6.1
Overview of the Function Blocks
The S7-300 programmable controller provides you with a number of function blocks which
initiate and control communication between the CPU and the CP 341 in the user program.
Function blocks/functions
The table below lists the function blocks/functions of the CP 341 and describes their
purpose.
Table 6- 1
Function blocks / functions of the CP 341
FB/FC
Meaning
FC 5 V24_STAT
The V24_STAT function allows you to read the signal states at the
(Version 2.0)
RS 232C interface of the CP 341-RS 232C.
FC 6 V24_SET
The V24_SET function allows you to set/reset the outputs at the
(Version 2.0)
RS 232C interface of the CP 341-RS 232C.
FB 7 P_RCV_RK
The P_RCV_RK function block allows you to receive data from a
communication partner and place it in a data block or to provide data to
the communication partner.
FB 8 P_SND_RK
The P_SND_RK function block allows you to send an entire area or
subarea of a data block to a communication partner or fetch data from
the communication partner.
FB 13 P_PRINT_RK
The P_PRINT_RK function block enables you to output a message text
with up to 4 variables to a printer.
Scope of supply and installation
The function blocks of the CP 341, together with the parameter assignment interface and the
programming example, are supplied on CD which comes with this manual.
The function blocks are installed together with the parameter assignment interface. After
installation, the function blocks can be found in the library:
● CP 341: FC 5 V24_STAT (Version 2.0), FC 6 V24_SET (Version 2.0), FB 7 P_RCV_RK,
FB 8 P_SND_RK and FB 13 P_PRINT_RK
You open the library under "CP PTP\CP 341\Blocks" in the STEP 7 SIMATIC Manager by
selecting the File > Open > Library menu command.
When working with the function blocks, you only have to copy each function block to your
project.
128
www.gkbpx.com
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
Protocol
ASCII driver
ASCII driver
3964(R) procedure,
ASCII driver, RK 512
computer link
3964(R) procedure,
ASCII driver, RK 512
computer link
Printer driver
Manual, 09/2008, A5E02191071-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents