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 #204 background imageLoading...
Page #204 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-204
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Case b: Sequence with newer CP types (S7-300 only!)
When the FC is called, the user program prepares the buffer for the received
data and instructs the CP to enter the received data there.
In contrast to case a, the protocol used here to transfer the data to the receive
buffer requires the FC to be called again for each data segment (240 bytes of
user data).
Depending on the length of the user data, you must therefore continue to call
the FC until transfer of the entire data record is indicated by the parameter NDR
= 1.
The status code in the output parameters NDR, ERROR, and STATUS is
updated in each block call and can be evaluated.
Accept / evaluate
received data “A
User program (CPU cycle) Ethernet CP Communications Partner
Job completed without error
1)
AG_RECV
AG_RECV
AG_RECV
No data available yet.
1)
Job completed without error
1)
AG_RECV
AG_RECV
Transfer
of ’A’ (e.g. 520
bytes)
active over
Ethernet
Transfer
of ’A’ (e.g. 240
bytes)
active over
Ethernet
Transfer
C
active over
Ethernet
Legend:
1)
Parameter transfer NDR, ERROR, STATUS
Time Time Time
Accept / evaluate
received data “B
.
.
.
Data record A is
entered segment by
segment in the
buffer.
No data available yet.
1)
AG_RECV
Data record B is
entered in the
buffer.
Data record C is
entered segment by
segment in the
buffer.
No data available yet.
1)
FC6 AG_RECV / FC60 AG_LRECV - continued

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