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 #191 background imageLoading...
Page #191 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-191
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Working with the Job Header
Free UDP connections require a job header in the user data area.
The following schematic illustrates the structure of the job buffer and the meaning
and location of the parameters in the job header.
Job header
User data
User data area
Job buffer
EB
H
(low byte)03
H
(high byte)
0B
H
8E
H
23
H
28
H
Data byte 2041Data byte 2040
Bytes 0,1
Bytes 2,3
Bytes 4,5
Bytes
2046,2047
Data byte 1Data byte 0
Bytes 6,7
Port
IP address
Figure 7-1 Sending and Receiving on a Free UDP Connection with Programmed Addresses
In the diagram (entries in hexadecimal) the following IP address is assumed:
142.11.40.35 (example only);
For the port address 1003, the following would be entered: for high byte: 03
H
;
for low byte: EB
H.
The user data area can be up to 2048 bytes long. Up to 2042 bytes of user data
can be transferred. 6 bytes are reserved for the job header.
Please note that the data length specified in the block call (LEN parameter)
must include the header and the user data!
Change Call Parameters only after Job Confirmation
Notice
Once the job has been triggered, you can only change the call parameters of the
FC call interface of the FCs AG_SEND or AG_RECV after the FC has confirmed
completion of the job with DONE=1 or with ERROR=1.
If you do not keep to this rule, it is possible that the job will be aborted with an
error.

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