S7-300C_man_e.pdf

(1015 KB) Pobierz
CPUs312C to 314C-2DP/PtP
Contents
Preface
1
SIMATIC
Quick Guide:
selecting and arranging
2
Structure and communication
functions of a CPU 31xC
3
S7-300 Programmable Controller
CPU Specifications,
CPUs 312C to 314C-2DP/PtP
Memory Conception
4
Cycle and Response Times
5
Technical Data of CPUs 31xC
6
Reference Manual
Technical Data of the
Integrated I/O
7
Migration from CPU 31x to
CPU 31xC
8
Glossary
9
Index
This manual is part of the documentation
package with the order number:
6ES7398-8FA10-8BA0
Edition 10/2001
A5E00105475-01
95267520.002.png
Safety Guidelines
This manual contains notices intended to ensure personal safety, as well as to protect the products and
connected equipment against damage. These notices are highlighted by the symbols shown below and
graded according to severity by the following texts:
!
Danger
indicates that death, severe personal injury or substantial property damage will result if proper
precautions are not taken.
!
Warning
indicates that death, severe personal injury or substantial property damage can result if proper
precautions are not taken.
!
Caution
indicates that minor personal injury can result if proper precautions are not taken.
Caution
indicates that property damage can result if proper precautions are not taken.
Note
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are
defined as persons who are authorized to commission, to ground and to tag circuits, equipment, and
systems in accordance with established safety practices and standards.
Correct Usage
Note the following:
!
Warning
This device and its components may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other manufacturers
which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed
correctly, and operated and maintained as recommended.
Trademarks
SIMATIC®, SIMATIC HMI® and SIMATIC NET® are registered trademarks of SIEMENS AG.
Third parties using for their own purposes any other names in this document which refer to trademarks might
infringe upon the rights of the trademark owners.
Copyright © Siemens AG 2001 All rights reserved
The reproduction, transmission or use of this document or its
contents is not permitted without express written authority.
Offenders will be liable for damages. All rights, including rights
created by patent grant or registration of a utility model or design,
are reserved.
Disclaimer of Liability
We have checked the contents of this manual for agreement with
the hardware and software described. Since deviations cannot be
precluded entirely, we cannot guarantee full agreement. However,
the data in this manual are reviewed regularly and any necessary
corrections included in subsequent editions. Suggestions for
improvement are welcomed.
Siemens AG
Bereich Automatisierungs- und Antriebstechnik
Geschaeftsgebiet Industrie-Automatisierungssysteme
Postfach 4848, D- 90327 Nuernberg
©Siemens AG 2001
Technical data subject to change.
Siemens Aktiengesellschaft
A5E00105475
95267520.003.png
Contents
1 Preface
1-1
2 Quick Guide: selecting and arranging
2-1
3 Structure and communication functions of a CPU 31xC
3-1
3.1
Control and Display Elements.......................................................................... .3-1
3.2
SIMATIC Micro Memory Card (MMC) .............................................................. .3-5
3.3
Interfaces.......................................................................................................... .3-7
3.4
Realtime clock .................................................................................................. .3-9
3.5
Communications ............................................................................................ .3-10
3.6
S7 Connections .............................................................................................. .3-13
3.7
Routing ........................................................................................................... .3-17
3.8
Data Consistency ........................................................................................... .3-19
4 Memory Conception
4-1
4.1
Memory Areas of CPUs 31xC .......................................................................... .4-1
4.1.1
Distribution ....................................................................................................... .4-1
4.1.2
Retentivity......................................................................................................... .4-2
4.2
Memory functions ............................................................................................. .4-4
4.3
Address areas .................................................................................................. .4-8
4.4
Handling of DB Data ...................................................................................... .4-10
4.4.1
Recipes .......................................................................................................... .4-10
4.4.2
Measurement Value Archive .......................................................................... .4-12
4.5
Description of SFC 82 to SFC 84................................................................... .4-14
4.5.1
Creating a DB in load memory with SFC 82 "CREA_DBL" ........................... .4-14
4.5.2
Reading from a DB in load memory using SFC 83 "READ_DBL" .................. 4-17
4.5.3
Writing to a data block in load memory, using SFC 84 "WRIT_DBL" ............ .4-19
4.6
Saving/retrieving complete projects to/from Micro Memory Card .................. .4-21
5 Cycle and Response Times
5-1
5.1
Introduction....................................................................................................... .5-1
5.2
Cycle Time ....................................................................................................... .5-2
5.2.1
Overview .......................................................................................................... .5-2
5.2.2
Calculating the cycle time ................................................................................ .5-4
5.2.3
Differing Cycle Times ....................................................................................... .5-6
5.2.4
Communication load ........................................................................................ .5-7
5.2.5
Extension as a result of testing and commissioning functions......................... .5-9
5.3
Response Time .............................................................................................. .5-10
5.3.1
Overview ........................................................................................................ .5-10
5.3.2
Shortest Response Time................................................................................ .5-12
5.3.3
Longest Response Time ................................................................................ .5-13
5.3.4
Reducing Response Time by Accessing the I/O............................................ .5-14
5.4
How to Calculate Cycle/ Response Time....................................................... .5-15
5.5
Interrupt Response Time................................................................................ .5-16
5.5.1
Overview ........................................................................................................ .5-16
5.5.2
Reproducibility of Delay/Watchdog Interrupts................................................ .5-18
S7-300 Programmable Controller CPU Specifications, CPUs 312C to 314C-2DP/PtP
A5E00105475-01
iii
95267520.004.png
Contents
5.6
Sample calculations ....................................................................................... .5-19
5.6.1
Example of cycle time calculation .................................................................. .5-19
5.6.2
Sample of response time calculation ............................................................. .5-20
5.6.3
Example of Interrupt Response Time Calculation.......................................... .5-22
6 Technical Data of CPUs 31xC
6-1
6.1
CPU 312C ........................................................................................................ .6-1
6.2
CPU 313C ........................................................................................................ .6-6
6.3
CPU 313C-2 PtP and CPU 313C-2 DP ......................................................... .6-11
6.4
CPU 314C-2 PtP and CPU 314C-2 DP ......................................................... .6-18
7 Technical Data of the Integrated I/O
7-1
7.1
Arrangement and Usage of Integrated I/Os ..................................................... .7-1
7.2
Analog I/O ........................................................................................................ .7-6
7.3
Configuration .................................................................................................... .7-9
7.4
Interrupts ........................................................................................................ .7-15
7.5
Diagnostics..................................................................................................... .7-17
7.6
Digital Inputs of CPUs 31xC........................................................................... .7-17
7.7
Digital outputs of CPUs 31xC......................................................................... .7-19
7.8
Analog Inputs of CPUs 31xC ......................................................................... .7-21
7.9
Analog outputs of CPUs 31xC ....................................................................... .7-23
8 Migration from CPU 31x to CPU 31xC
8-1
9 Glossary
9-1
Index
S7-300 Programmable Controller CPU Specifications, CPUs 312C to 314C-2DP/PtP
iv
A5E00105475-01
95267520.005.png
Contents
Figures
1-1
Information environment of S7-300.................................................................. .1-3
1-2
Additional Documentation ................................................................................ .1-4
1-3
SIMATIC Customer Support Hotline ................................................................ .1-5
3-1
Elements and assembly of a CPU 31xC, for example, a CPU 314C-2 PtP...... 3-1
3-2
Integrated I/O of the CPU 31xC, for example, a CPU 314C-2 PtP.................. .3-2
3-3
Status and Error Displays ................................................................................ .3-3
3-4
Routing - Network transition........................................................................... .3-17
3-5
Routing - Sample application TeleService ..................................................... .3-18
4-1
Memory Areas of a CPU 31xC......................................................................... .4-1
4-2
Load/Work memory.......................................................................................... .4-4
4-3
Sequence of operation within a cycle .............................................................. .4-9
4-4
Handling of Recipe Data ................................................................................ .4-11
4-5
Handling of Measurement Value Archives..................................................... .4-12
5-1
Time-sharing Model ......................................................................................... .5-3
5-2
Formula for calculating the process image (PI) transfer time .......................... .5-4
5-3
Differing Cycle Times ....................................................................................... .5-6
5-4
Formula for calculating communication load.................................................... .5-7
5-5
Splitting a time share........................................................................................ .5-7
5-6
Dependence of the cycle time on communication load ................................... .5-8
5-7
DP Cycle Times in the PROFIBUS-DP Network............................................ .5-11
5-8
Shortest Response Time................................................................................ .5-12
5-9
Longest Response Time ................................................................................ .5-13
5-10
Formula for calculating communication load.................................................. .5-15
5-11
Formula for calculating the interrupt response time....................................... .5-16
7-1
CPU 312C: Pin-out of the integrated DI/DO (Connector X1)........................... .7-1
7-2
Basic Circuit Diagram of the Integrated Digital I/O of the CPU 312 C .............. 7-2
7-3
CPU 313C/313C-2/314C-2: Pin-out of the integrated DI/DO
(Connector X2) ................................................................................................. .7-3
7-4
Basic Circuit Diagram of the Integrated Digital I/O of the
CPUs 313C/313C-2/314C-2............................................................................. .7-4
7-5
CPU 313C/314C-2: Pin-out of the integrated AI/AO and DI (Connector X1).... 7-4
7-6
Basic Circuit Diagram of the Integrated Digital/Analog I/O of the
CPUs 313C/314C-2 ......................................................................................... .7-5
7-7
Wiring of an analog current/voltage input of CPU 313C/314C-2 with
2-wire measuring transducer............................................................................ .7-6
7-8
Wiring of an analog current/voltage input of CPU 313C/314C-2 with
4-wire measuring transducer............................................................................ .7-6
7-9
Conductive characteristics of the integrated low-pass filter............................. .7-7
7-10
Structure of Data Record 1 for Standard DI and Interrupt Inputs
(length is 10 bytes)......................................................................................... .7-11
7-11
Structure of Data Record 1 for Standard AI/AO (length is 13 bytes) .............. 7-14
7-12
Display of the Status of the Interrupt Inputs of CPU 31xC............................. .7-16
S7-300 Programmable Controller CPU Specifications, CPUs 312C to 314C-2DP/PtP
A5E00105475-01
v
95267520.001.png
Zgłoś jeśli naruszono regulamin