EasyManuals Logo

Siemens SIMATIC NET S7-300 User Manual

Siemens SIMATIC NET S7-300
317 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
Page #201 background imageLoading...
Page #201 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-201
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
7.3.2 FC6 AG_RECV / FC60 AG_LRECV
Meaning of the Block
The AG_RECV / AG_LRECV function receives the data transferred on a
configured connection from the Ethernet CP.
The data area specified for the receive data can be a memory bit area or a data
block area.
Error-free execution is indicated when the data could be received from the
Ethernet CP.
Note:
Unless otherwise stated, all the following information applies to both the FCs
AG_RECV and AG_LRECV.
Call
Call interface in FBD representation
LADDR
AG_RECV / AG_LRECV
ID
RECV
LEN
ERROR
STATUS
INT
WORD
ANY INT
WORD
NDR
BOOL
BOOL
Example in STL representation
STL Explanation
call fc 6
ID := MW 40
LADDR := W#16#0100
RECV := P#M 0.0 BYTE 100
NDR := DB 110.DBX 0.6
ERROR := DB 110.DBX 0.7
STATUS := DB 110.DBW 2
LEN := DB 110.DBW 4
//AG_RECV/AG_LRECV block call
//Connection ID acc. to configuration
//=LADDR 256 dec. in hardware configuration
//Buffer for received data
//Received code
//Error code
//Status code
//Received data length

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC NET S7-300 and is the answer not in the manual?

Siemens SIMATIC NET S7-300 Specifications

General IconGeneral
Product Type DesignationSIMATIC NET S7-300
MountingDIN rail mounting
Protection ClassIP20
CPU ModelsVarious models available (e.g., CPU 312, CPU 314)
Communication InterfacesMPI, PROFIBUS DP
Power Supply24 V DC power supply required. Different power supply modules available.
I/O ModulesDigital input modules, digital output modules, analog input modules, analog output modules
ProgrammingSTEP 7 software
Supply Voltage24V DC or 120/230V AC (depending on model)
Digital InputsAvailable via digital input modules
Digital OutputsAvailable via digital output modules
Analog InputsAvailable via analog input modules
Analog OutputsAvailable via analog output modules
Communication FunctionsMPI, PROFIBUS DP, Ethernet (depending on model)
ProtocolsMPI, PROFIBUS DP, TCP/IP (depending on model)
Operating Temperature0°C to 60°C
Storage Temperature70 °C
MemoryDepends on CPU model (e.g., 32 KB to 1.5 MB)

Related product manuals