7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-189
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Connection
Ethernet CPCPU
STEP 7
user
program
receive
send
User data areas
AG_RECV
AG_SEND
CPU
STEP 7
user program
User data areas
AG_RECV
AG_SEND
Ethernet CP
send
receive
Note
Unless specifically stated otherwise, the information on this and the following
pages refers to AG_SEND / AG_LSEND or AG_RECV / AG_LRECV.
Sample Programs
Please note that the following sample programs are also available on the Internet.
Sample program for the Send-Receive interface with the blocks FC5
(AG_SEND) and FC6 (AG_RECV) for S7-300:
http://support.automation.siemens.com/WW/view/en/17853532
Sample program for the Send-Receive interface with the blocks FC50
(AG_LSEND) and FC60 (AG_LRECV) for S7-400:
http://support.automation.siemens.com/WW/view/en/18513371