VIPA SPEED7 CPU 313SCDPM Manuale utente

CPU-SC | 313-6CF13 | Manual
HB140 | CPU-SC | 313-6CF13 | GB | 15-50
VIPA System 300S
SPEED7 CPU 313SC/DPM

313-6CF13_000_CPU 313SC/DPM,1,GB - © 2015
VIPA GmbH
Ohmstr. 4
91074 Herzogenaurach
Telephone: +49 9132 744-0
Fax: +49 9132 744-1864
Email: [email protected]
Internet: www.vipa.com

Table of contents
1 General...................................................................................... 6
1.1 Copyright © VIPA GmbH ................................................... 6
1.2 About this manual.............................................................. 7
1.3 Safety information.............................................................. 8
2 Basics..................................................................................... 10
2.1 Safety information for users............................................. 10
2.2 Operating structure of a CPU........................................... 10
2.2.1 General......................................................................... 10
2.2.2 Applications .................................................................. 11
2.2.3 Operands...................................................................... 11
2.3 CPU 313-6CF13............................................................... 12
2.4 General data.................................................................... 13
3 Assembly and installation guidelines.................................. 16
3.1 Installation dimensions..................................................... 16
3.2 Assembly standard bus.................................................... 17
3.3 Cabling............................................................................. 18
3.4 Installation guidelines....................................................... 21
4 Hardware description............................................................ 24
4.1 Properties......................................................................... 24
4.2 Structure........................................................................... 25
4.2.1 General......................................................................... 25
4.2.2 Interfaces...................................................................... 26
4.2.3 In-/Output area CPU 313-6CF13.................................. 28
4.2.4 Memory management................................................... 31
4.2.5 Storage media slot ....................................................... 31
4.2.6 Battery backup for clock and RAM................................ 32
4.2.7 Operating mode switch................................................. 32
4.2.8 LEDs............................................................................. 33
4.3 Technical data.................................................................. 35
5 Deployment CPU 313-6CF13................................................. 47
5.1 Assembly.......................................................................... 47
5.2 Start-up behavior.............................................................. 47
5.3 Addressing....................................................................... 48
5.3.1 Overview....................................................................... 48
5.3.2 Addressing Backplane bus I/O devices......................... 48
5.4 Address assignment......................................................... 49
5.5 Hardware configuration - CPU......................................... 50
5.6 Hardware configuration - I/O modules............................. 51
5.7 Hardware configuration - Ethernet PG/OP channel......... 51
5.8 CPU parametrization........................................................ 53
5.8.1 Parametrization via Siemens CPU................................ 53
5.8.2 CPU parameters........................................................... 53
5.9 Setting VIPA specific CPU parameters............................ 56
5.9.1 Proceeding.................................................................... 56
5.9.2 VIPA specific parameters.............................................. 58
5.10 Project transfer............................................................... 60
5.10.1 Transfer via MPI/PROFIBUS...................................... 60
VIPA System 300S Table of contents
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 3

5.10.2 Transfer via Ethernet................................................... 62
5.10.3 Transfer via MMC........................................................ 63
5.11 Access to the internal Web page................................... 64
5.12 Operating modes............................................................ 66
5.12.1 Overview..................................................................... 66
5.12.2 Function security......................................................... 68
5.13 Overall reset................................................................... 68
5.14 Firmware update............................................................ 70
5.15 Reset to factory setting.................................................. 73
5.16 Slot for storage media.................................................... 73
5.17 Memory extension with MCC......................................... 74
5.18 Extended know-how protection...................................... 75
5.19 MMC-Cmd - Auto commands......................................... 77
5.20 VIPA specific diagnostic entries..................................... 79
5.21 Control and monitoring of variables with test functions.. 94
6 Deployment I/O periphery..................................................... 96
6.1 Overview.......................................................................... 96
6.2 In-/Output area CPU 313-6CF13..................................... 97
6.3 Address assignment....................................................... 100
6.4 Digital part...................................................................... 101
6.4.1 Access to the I/O area................................................. 103
6.4.2 Parameterization - Digital part..................................... 104
6.5 Counter.......................................................................... 104
6.5.1 Counter - Fast introduction.......................................... 104
6.5.2 SFB 47 - COUNT - Counter controlling....................... 109
6.5.3 Counter - Functions..................................................... 114
6.5.4 Counter - Additional functions..................................... 119
6.6 Frequency measurement............................................... 126
6.6.1 Overview..................................................................... 126
6.6.2 Inputs for the frequency measurement....................... 127
6.6.3 Parameterization......................................................... 128
6.6.4 SFB 48 - FREQUENC - Frequency measurement...... 129
6.7 Pulse width modulation - PWM...................................... 132
6.7.1 Overview..................................................................... 132
6.7.2 Parameterization......................................................... 134
6.7.3 SFB 49 - PULSE - Pulse width modulation................. 136
6.8 Diagnostic and interrupt................................................. 139
6.8.1 Process interrupt......................................................... 139
6.8.2 Diagnostic interrupt..................................................... 141
7 Deployment PtP communication........................................ 149
7.1 Fast introduction............................................................. 149
7.2 Principle of the data transfer.......................................... 149
7.3 Deployment of RS485 interface for PtP ........................ 150
7.4 Parametrization.............................................................. 153
7.4.1 FC/SFC 216 - SER_CFG............................................ 153
7.5 Communication.............................................................. 156
7.5.1 Overview..................................................................... 156
7.5.2 FC/SFC 217 - SER_SND............................................ 157
7.5.3 FC/SFC 218 - SER_RCV............................................ 162
VIPA System 300STable of contents
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 4

7.6 Protocols and procedures ............................................. 164
7.7 Modbus - Function codes .............................................. 168
7.8 Modbus - Example communication................................ 173
8 Deployment PROFIBUS communication........................... 176
8.1 Overview........................................................................ 176
8.2 Fast introduction............................................................. 176
8.3 Hardware configuration - CPU....................................... 177
8.4 Deployment as PROFIBUS DP master.......................... 178
8.5 Deployment as PROFIBUS DP slave............................ 179
8.6 PROFIBUS installation guidelines.................................. 181
8.7 Commissioning and Start-up behavior........................... 184
9 WinPLC7............................................................................... 186
9.1 System conception......................................................... 186
9.2 Installation...................................................................... 186
9.3 Example project engineering.......................................... 188
9.3.1 Job definition............................................................... 188
9.3.2 Project engineering..................................................... 188
9.3.3 Test the PLC program in the Simulator....................... 194
9.3.4 Transfer PLC program to CPU and its execution........ 195
10 Configuration with TIA Portal............................................. 197
10.1 TIA Portal - Work environment .................................... 197
10.1.1 General..................................................................... 197
10.1.2 Work environment of the TIA Portal.......................... 197
10.2 TIA Portal - Hardware configuration - CPU ................. 198
10.3 TIA Portal - Hardware configuration - I/O modules...... 199
10.4 TIA Portal - Hardware configuration - Ethernet PG/OP
channel......................................................................... 200
10.5 TIA Portal - Include VIPA library.................................. 203
10.6 TIA Portal - Project transfer.......................................... 203
VIPA System 300S Table of contents
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 5

1 General
1.1 Copyright © VIPA GmbH
This document contains proprietary information of VIPA and is not to
be disclosed or used except in accordance with applicable agree-
ments.
This material is protected by the copyright laws. It may not be repro-
duced, distributed, or altered in any fashion by any entity (either
internal or external to VIPA), except in accordance with applicable
agreements, contracts or licensing, without the express written con-
sent of VIPA and the business management owner of the material.
For permission to reproduce or distribute, please contact: VIPA,
Gesellschaft für Visualisierung und Prozessautomatisierung mbH
Ohmstraße 4, D-91074 Herzogenaurach, Germany
Tel.: +49 9132 744 -0
Fax.: +49 9132 744-1864
EMail: [email protected]
http://www.vipa.com
Every effort has been made to ensure that the information
contained in this document was complete and accurate at
the time of publishing. Nevertheless, the authors retain the
right to modify the information.
This customer document describes all the hardware units
and functions known at the present time. Descriptions may
be included for units which are not present at the customer
site. The exact scope of delivery is described in the
respective purchase contract.
Hereby, VIPA GmbH declares that the products and systems are in
compliance with the essential requirements and other relevant provi-
sions. Conformity is indicated by the CE marking affixed to the
product.
For more information regarding CE marking and Declaration of Con-
formity (DoC), please contact your local VIPA customer service
organization.
All Rights Reserved
CE Conformity Declara-
tion
Conformity Information
VIPA System 300SGeneral
Copyright © VIPA GmbH
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 6

VIPA, SLIO, System 100V, System 200V, System 300V, System
300S, System 400V, System 500S and Commander Compact are
registered trademarks of VIPA Gesellschaft für Visualisierung und
Prozessautomatisierung mbH.
SPEED7 is a registered trademark of profichip GmbH.
SIMATIC, STEP, SINEC, TIA Portal, S7-300 and S7-400 are regis-
tered trademarks of Siemens AG.
Microsoft and Windows are registered trademarks of Microsoft Inc.,
USA.
Portable Document Format (PDF) and Postscript are registered trade-
marks of Adobe Systems, Inc.
All other trademarks, logos and service or product marks specified
herein are owned by their respective companies.
Contact your local VIPA Customer Service Organization representa-
tive if you wish to report errors or questions regarding the contents of
this document. If you are unable to locate a customer service centre,
contact VIPA as follows:
VIPA GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany
Telefax: +49 9132 744-1204
EMail: [email protected]
Contact your local VIPA Customer Service Organization representa-
tive if you encounter problems with the product or have questions
regarding the product. If you are unable to locate a customer service
centre, contact VIPA as follows:
VIPA GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany
Tel.: +49 9132 744-1150 (Hotline)
EMail: [email protected]
1.2 About this manual
This manual describes the SPEED7 CPU-SC 313-6CF13 of the
System 300S from VIPA. It contains a description of the construction,
project implementation and usage.
Product Order number as of state:
CPU-HW CPU-FW DPM-FW
CPU 313SC/DPM 313-6CF13 02 V3.6.0 V3.2.8
The manual is targeted at users who have a background in automa-
tion technology.
The manual consists of chapters. Every chapter provides a self-con-
tained description of a specific topic.
Trademarks
Information product
support
Technical support
Objective and contents
Target audience
Structure of the manual
VIPA System 300S General
About this manual
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 7

The following guides are available in the manual:
nAn overall table of contents at the beginning of the manual
nReferences with page numbers
The manual is available in:
nprinted form, on paper
nin electronic form as PDF-file (Adobe Acrobat Reader)
Important passages in the text are highlighted by following icons and
headings:
DANGER!
Immediate or likely danger. Personal injury is possible.
CAUTION!
Damages to property is likely if these warnings are not
heeded.
Supplementary information and useful tips.
1.3 Safety information
The system is constructed and produced for:
ncommunication and process control
nindustrial applications
noperation within the environmental conditions specified in the
technical data
ninstallation into a cubicle
DANGER!
This device is not certified for applications in
–in explosive environments (EX-zone)
The manual must be available to all personnel in the
nproject design department
ninstallation department
ncommissioning
noperation
Guide to the document
Availability
Icons Headings
Applications con-
forming with specifica-
tions
Documentation
VIPA System 300SGeneral
Safety information
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 8

CAUTION!
The following conditions must be met before using or
commissioning the components described in this
manual:
– Hardware modifications to the process control system
should only be carried out when the system has been
disconnected from power!
–Installation and hardware modifications only by prop-
erly trained personnel.
– The national rules and regulations of the respective
country must be satisfied (installation, safety, EMC ...)
National rules and regulations apply to the disposal of the unit!Disposal
VIPA System 300S General
Safety information
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 9

2 Basics
2.1 Safety information for users
VIPA modules make use of highly integrated components in MOS-
Technology. These components are extremely sensitive to over-vol-
tages that can occur during electrostatic discharges. The following
symbol is attached to modules that can be destroyed by electrostatic
discharges.
The Symbol is located on the module, the module rack or on packing
material and it indicates the presence of electrostatic sensitive equip-
ment. It is possible that electrostatic sensitive equipment is destroyed
by energies and voltages that are far less than the human threshold
of perception. These voltages can occur where persons do not dis-
charge themselves before handling electrostatic sensitive modules
and they can damage components thereby, causing the module to
become inoperable or unusable. Modules that have been damaged
by electrostatic discharges can fail after a temperature change,
mechanical shock or changes in the electrical load. Only the conse-
quent implementation of protection devices and meticulous attention
to the applicable rules and regulations for handling the respective
equipment can prevent failures of electrostatic sensitive modules.
Modules must be shipped in the original packing material.
When you are conducting measurements on electrostatic sensitive
modules you should take the following precautions:
nFloating instruments must be discharged before use.
nInstruments must be grounded.
Modifying electrostatic sensitive modules you should only use sol-
dering irons with grounded tips.
CAUTION!
Personnel and instruments should be grounded when
working on electrostatic sensitive modules.
2.2 Operating structure of a CPU
2.2.1 General
The CPU contains a standard processor with internal program
memory. In combination with the integrated SPEED7 technology the
unit provides a powerful solution for process automation applications
within the System 300S family. A CPU supports the following modes
of operation:
ncyclic operation
ntimer processing
nalarm controlled operation
npriority based processing
Handling of electro-
static sensitive modules
Shipping of modules
Measurements and
alterations on electro-
static sensitive modules
VIPA System 300SBasics
Operating structure of a CPU > General
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 10
Altri manuali per SPEED7 CPU 313SCDPM
1
Questo manuale è adatto per i seguenti modelli
1
Indice

















