EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 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 #392 background imageLoading...
Page #392 background image
Communication
8.5 PROFIBUS
S7-200 SMART
392 System Manual, 09/2015, A5E03822230-AC
Table 8- 11 Module Definition List
Parameters
Values
Module
20
EndModule
= " 4 Bytes In/Out" 0xF1
Module
21
EndModule
= " 8 Bytes In/Out" 0xF3
Module
22
EndModule
= " 16 Bytes In/Out" 0xF7
Module
23
EndModule
= " 32 Bytes In/Out" 0xFF
Module
24
EndModule
= " 64 Bytes In/Out" 0xC0, 0xDF, 0xDF
Module
25
EndModule
= "122 Bytes In/Out" 0xC0, 0xFC, 0xFC
Module
26
EndModule
= "128 Bytes In/Out" 0xC0, 0xFF, 0xFF
8.5.1.13
PROFIBUS DP communications to a CPU example program
An example program for the PROFIBUS DP module in slot 0 for a CPU that uses the DP port
information in SM memory is shown below. The program determines the location of the DP
buffers from SMW1402 and the sizes of the buffers from SMB1404 and SMB1405. This
information is used to copy the data in the DP output buffer to the process image output
register of the CPU. Similarly, the data in the process image input register of the CPU are
copied into the V memory input buffer.
In the following example program for a DP module in position 0, the DP configuration data in
the SM memory area provides the configuration of the DP device. The program uses the
following data:
SMB1406
DP Status
SMB1401
Master Address
SMW1402
V memory offset of outputs
SMB1404
Number of bytes of output data
SMB1405
Number of bytes of input data
VD1000
Output Data Pointer
VD1004
Input Data Pointer

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals