VIPA CPU 312SC Manuel utilisateur

CPU-SC | 312-5BE13 | Manual
HB140 | CPU-SC | 312-5BE13 | GB | 15-50
VIPA System 300S
SPEED7 CPU 312SC

312-5BE13_000_CPU-SC 312SC,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 312-5BE13............................................................... 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 312-5BE13.................................. 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.................................................................. 34
5 Deployment CPU 312-5BE13................................................. 46
5.1 Assembly.......................................................................... 46
5.2 Start-up behavior.............................................................. 46
5.3 Addressing....................................................................... 47
5.3.1 Overview....................................................................... 47
5.3.2 Addressing Backplane bus I/O devices......................... 47
5.4 Address assignment......................................................... 48
5.5 Hardware configuration - CPU......................................... 49
5.6 Hardware configuration - I/O modules............................. 50
5.7 Hardware configuration - Ethernet PG/OP channel......... 50
5.8 CPU parametrization........................................................ 52
5.8.1 Parametrization via Siemens CPU................................ 52
5.8.2 CPU parameters........................................................... 52
5.9 Project transfer................................................................. 54
5.9.1 Transfer via MPI............................................................ 55
5.9.2 Transfer via Ethernet..................................................... 56
5.9.3 Transfer via MMC.......................................................... 56
5.10 Access to the internal Web page................................... 57
VIPA System 300S Table of contents
HB140 | CPU-SC | 312-5BE13 | GB | 15-50 3

5.11 Operating modes............................................................ 59
5.11.1 Overview..................................................................... 59
5.11.2 Function security......................................................... 61
5.12 Overall reset................................................................... 62
5.13 Firmware update............................................................ 63
5.14 Reset to factory setting.................................................. 66
5.15 Slot for storage media.................................................... 67
5.16 Memory extension with MCC......................................... 68
5.17 Extended know-how protection...................................... 69
5.18 MMC-Cmd - Auto commands......................................... 70
5.19 VIPA specific diagnostic entries..................................... 72
5.20 Control and monitoring of variables with test functions.. 88
6 Deployment I/O periphery..................................................... 90
6.1 Overview.......................................................................... 90
6.2 In-/Output area CPU 312-5BE13..................................... 91
6.3 Address assignment......................................................... 94
6.4 Digital part........................................................................ 95
6.4.1 Access to the I/O area................................................... 97
6.4.2 Parameterization - Digital part....................................... 98
6.5 Counter............................................................................ 98
6.5.1 Counter - Fast introduction............................................ 98
6.5.2 SFB 47 - COUNT - Counter controlling....................... 103
6.5.3 Counter - Functions..................................................... 108
6.5.4 Counter - Additional functions..................................... 113
6.6 Frequency measurement............................................... 120
6.6.1 Overview..................................................................... 120
6.6.2 Inputs for the frequency measurement....................... 121
6.6.3 Parameterization......................................................... 122
6.6.4 SFB 48 - FREQUENC - Frequency measurement...... 123
6.7 Pulse width modulation - PWM...................................... 126
6.7.1 Overview..................................................................... 126
6.7.2 Parameterization......................................................... 127
6.7.3 SFB 49 - PULSE - Pulse width modulation................. 129
6.8 Diagnostic and interrupt................................................. 132
6.8.1 Process interrupt......................................................... 132
6.8.2 Diagnostic interrupt..................................................... 134
7 Deployment PtP communication........................................ 141
7.1 Fast introduction............................................................. 141
7.2 Principle of the data transfer.......................................... 141
7.3 Deployment of RS485 interface for PtP ........................ 142
7.4 Parametrization.............................................................. 143
7.4.1 FC/SFC 216 - SER_CFG............................................ 143
7.5 Communication.............................................................. 146
7.5.1 Overview..................................................................... 146
7.5.2 FC/SFC 217 - SER_SND............................................ 147
7.5.3 FC/SFC 218 - SER_RCV............................................ 152
7.6 Protocols and procedures ............................................. 154
7.7 Modbus - Function codes .............................................. 158
7.8 Modbus - Example communication................................ 163
VIPA System 300STable of contents
HB140 | CPU-SC | 312-5BE13 | GB | 15-50 4

8 WinPLC7............................................................................... 166
8.1 System conception......................................................... 166
8.2 Installation...................................................................... 166
8.3 Example project engineering.......................................... 168
8.3.1 Job definition............................................................... 168
8.3.2 Project engineering..................................................... 168
8.3.3 Test the PLC program in the Simulator....................... 174
8.3.4 Transfer PLC program to CPU and its execution........ 175
9 Configuration with TIA Portal............................................. 177
9.1 TIA Portal - Work environment ...................................... 177
9.1.1 General....................................................................... 177
9.1.2 Work environment of the TIA Portal............................ 177
9.2 TIA Portal - Hardware configuration - CPU ................... 178
9.3 TIA Portal - Hardware configuration - I/O modules........ 179
9.4 TIA Portal - Hardware configuration - Ethernet PG/OP
channel........................................................................... 180
9.5 TIA Portal - Include VIPA library.................................... 183
9.6 TIA Portal - Project transfer............................................ 183
VIPA System 300S Table of contents
HB140 | CPU-SC | 312-5BE13 | 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 | 312-5BE13 | 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 312-5BE13 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
CPU 312SC 312-5BE13 02 V3.6.0
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 | 312-5BE13 | 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 | 312-5BE13 | 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 | 312-5BE13 | 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 | 312-5BE13 | GB | 15-50 10
Ce manuel convient aux modèles suivants
2
Table des matières
Autres manuels VIPA Contrôleurs

VIPA
VIPA System 300V Manuel utilisateur

VIPA
VIPA SPEED7 CPU 313SC Manuel utilisateur

VIPA
VIPA System 300S Manuel utilisateur

VIPA
VIPA System 300S SPEED7 - CPU 315-4NE12 Manuel utilisateur

VIPA
VIPA System 200V Series Manuel utilisateur

VIPA
VIPA System 100V Series Manuel utilisateur

VIPA
VIPA SLIO Manuel utilisateur

VIPA
VIPA System 300V Manuel utilisateur

VIPA
VIPA System 300S Manuel utilisateur

VIPA
VIPA System 100V Series Manuel utilisateur

















