Professional Documents
Culture Documents
You dont need the information contained in this chapter if you configure and parameterize the CPU 31x-2 with STEP 7 or with COM PROFIBUS. You dont need the information contained in this chapter if you integrate the device master file of the CPU 31-x in your configuration tool, and then configure and parameterize the CPU 31x-2 using the configuration tool. You need the information only in the following cases: S S If you dont use a configuration tool to create the configuration and parameter assignment frame. If you want to monitor the configuration and parameter assignment frame with a bus monitor.
In This Chapter
In this chapter you will find all the information you need to configure and parameterize the address areas of the intermediate memory with a software tool.
Section 1.1 1.2 1.3 Subject Structure of the Parameter Assignment Frame Structure of the Configuration Frame (S7 Format) Structure of the Configuration Frame for Non-S7 DP Masters Page 1-2 1-4 1-6
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999
1-1
1.1
Standard Part
The first 7 bytes of the parameter assignment frame are standardized to EN 50170 and can, for example, have the following contents for the CPU 315-2:
Station status WD factor 1 WD factor 2 minTsdr Manufacturer ID, high byte; Manufacturer ID, low byte Group ID
Figure 1-1
1-2
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999
7 Byte 7 0 0 0
2 0 0
Bit no.
Watchdog basis 0: 10 ms (other DP master) 1: 1 ms (S7/M7 DP master) Fail Save mode: is set by STEP 7 or COM PROFIBUS, depending on the DP master 0: Other DP master 1: S7/M7 DP master 6 5 Byte 8 0 0 0 0 0 0 Enable diagnostic interrupt Enable process interrupt Byte 9 Figure 1-2 0 0 0 0 0 0 0 0 Parameters for the CPU 31x-2
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999
1-3
1.2
1-4
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999
Byte 0
7 6 5 4 3 2 1 0 0 0
Bit no.
0011: Number of manufacturer-specific data items (bytes 2,3,4 in Table 1-2) 00: Empty slot 01: Followed by 1 byte length byte for inputs 10: Followed by 1 byte length byte for outputs
Figure 1-3
7 6 5 4 3 2 1 0 Byte 1
Bit no.
( 0: 1:
1 byte/word 2 byte/word)
Figure 1-4
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999
1-5
The configuration frame thus consists of 20 bytes and has the following structure:
04 00 00 AD C4 04 00 00 8B 41 04 00 00 8F C0 43 81 00 83 40 Fixed Fixed Fixed 1st configured input address area of the intermediate memory of the CPU
1.3
1-6
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999
: 0: 1: 32nd
Length of the inputs/outputs in bytes or words 01: Inputs 10: Outputs Length in bytes Length in words
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999
1-7
1-8
Configuration and Parameter Assignment Frame for the CPU 31x-2 A5E00053269 01, 27.09.1999