EasyManua.ls Logo

Siemens S7-300 - 4 SEND;RECEIVE Interface in the User Program; How the SEND;RECEIVE Interface Works on the CPU

Siemens S7-300
246 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
Loading...
Configuring and commissioning S7 CPs for Industrial Ethernet
Configuration Manual, 09/2013, C79000-G8976-C182-13
83
SEND/RECEIVE interface in the user program
4
This section explains the following topics:
How is data sent and received for the open communication services?
Which data areas can be used on the S7 CPU?
How do you program the SEND/RECEIVE interface in the user program?
There, you will find further information:
The program blocks for programming the connections are described in /10/ (Page 230).
Configuration and program examples are available for the SEND/RECEIVE interface
described here:
Program examples with the program blocks FC5 (AG_SEND) and FC6 (AG_RECV) for
S7-300 can be found under the following entry ID:
17853532 (http://support.automation.siemens.com/WW/view/en/17853532)
Program examples with the program blocks FC50 (AG_LSEND) and FC60 (AG_LRECV)
for S7-400 can be found under the following entry ID:
18513371 (http://support.automation.siemens.com/WW/view/en/18513371)
There, you will also find a collection of further entries as well as project and programming
examples for S7 CPs for Industrial Ethernet.
You will find sample programs and configurations in the Quick Start Collection on the
Internet under the following entry ID:
21827955 (http://support.automation.siemens.com/WW/view/en/21827955)
4.1
How the SEND/RECEIVE interface works on the CPU
Program blocks
To handle communication via connections, the following program blocks of the type FC are
available:
AG_SEND (FC 5) / AG_LSEND (FC 50) / AG_SSEND (FC 53)
The program block transfers the user data from the specified user data area for transfer
to the Ethernet CP.
AG_RECV (FC 6) / AG_LRECV (FC 60) / AG_SRECV (FC 63)
The program block enters the received user data in the user data area specified in the
call.

Table of Contents

Other manuals for Siemens S7-300

Related product manuals