VIPA SPEED7 CPU 313SC User manual

VIPA System 300S
SPEED7 - CPU SC | 312-5BE13 | Manual
HB140E_CPU-SC | RE_312-5BE13 | Rev. 12/50
December 2012

Copyright © VIPA GmbH. All Rights Reserved.
This document contains proprietary information of VIPA and is not to be disclosed or used except in accordance with applicable
agreements.
This material is protected by the copyright laws. It may not be reproduced, 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
consent 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 (91 32) 744 -0
Fax.: +49 9132 744 1864
http://www.vipa.com
Note
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.
CE Conformity Declaration
Hereby, VIPA GmbH declares that the products and systems are in compliance with the essential requirements and other relevant
provisions.
Conformity is indicated by the CE marking affixed to the product.
Conformity Information
For more information regarding CE marking and Declaration of Conformity (DoC), please contact your local VIPA customer service
organization.
Trademarks
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 registered trademarks of Siemens AG.
Microsoft und Windows are registered trademarks of Microsoft Inc., USA.
Portable Document Format (PDF) and Postscript are registered trademarks of Adobe Systems, Inc.
All other trademarks, logos and service or product marks specified herein are owned by their respective companies.
Information product support
Contact your local VIPA Customer Service Organization representative if you wish to report errors or questions regarding the contents
of this document. If you are unable to locate a customer service center, contact VIPA as follows:
VIPA GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany
Telefax:+49 9132 744 1204
EMail: documentation@vipa.de
Technical support
Contact your local VIPA Customer Service Organization representative if you encounter problems with the product or have questions
regarding the product. If you are unable to locate a customer service center, contact VIPA as follows:
VIPA GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany
Telephone: +49 9132 744 1150 (Hotline)

Manual VIPA System 300S SPEED7 Contents
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 i
Contents
About this manual....................................................................................1
Safety information....................................................................................2
Chapter 1 Basics..............................................................................1-1
Safety Information for Users................................................................. 1-2
Operating structure of a CPU ............................................................... 1-3
CPU 312-5BE13................................................................................... 1-6
Chapter 2 Assembly and installation guidelines............................2-1
Installation dimensions ......................................................................... 2-2
Assembly.............................................................................................. 2-3
Cabling................................................................................................. 2-5
Installation guidelines ........................................................................... 2-7
Chapter 3 Hardware description .....................................................3-1
Properties............................................................................................. 3-2
Structure .............................................................................................. 3-3
In-/Output range CPU 312-5BE13........................................................ 3-7
Technical Data ..................................................................................... 3-9
Chapter 4 Deployment CPU 312-5BE13..........................................4-1
Assembly.............................................................................................. 4-2
Start-up behavior.................................................................................. 4-2
Addressing ........................................................................................... 4-3
Address assignment............................................................................. 4-5
Hardware configuration - CPU.............................................................. 4-6
Hardware configuration - I/O modules.................................................. 4-7
Hardware configuration - Ethernet PG/OP channel .............................. 4-8
CPU parameterization ........................................................................ 4-10
Project transfer................................................................................... 4-14
Access to the internal web page......................................................... 4-17
Operating modes................................................................................ 4-18
Overall reset....................................................................................... 4-21
Firmware update ................................................................................ 4-23
Factory reset ...................................................................................... 4-26
Slot for storage media ........................................................................ 4-27
Memory extension with MCC.............................................................. 4-28
Extended know-how protection........................................................... 4-29
MMC-Cmd - Auto commands ............................................................. 4-31
VIPA specific diagnostic entries ......................................................... 4-33
Using test functions for control and monitoring of variables................ 4-38

Contents Manual VIPA System 300S SPEED7
ii HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
Chapter 5 Deployment I/O periphery...............................................5-1
Overview .............................................................................................. 5-2
In-/Output range CPU 312-5BE13........................................................ 5-3
Address assignment............................................................................. 5-5
Digital part............................................................................................ 5-6
Digital part - Parameterization.............................................................. 5-8
Counter - Fast introduction................................................................... 5-9
Counter - Controlling .......................................................................... 5-14
Counter - Functions............................................................................ 5-18
Counter - Additional functions ............................................................ 5-24
Frequency measurement ................................................................... 5-31
Pulse width modulation - PWM........................................................... 5-36
Diagnostic and interrupt ..................................................................... 5-42
Chapter 6 Deployment PtP communication ...................................6-1
Fast introduction................................................................................... 6-2
Principals of the data transfer............................................................... 6-3
Deployment RS485 interface................................................................ 6-4
Parameterization .................................................................................. 6-5
Communication .................................................................................... 6-8
Protocols and procedures .................................................................. 6-14
Modbus - Function codes ................................................................... 6-18
Modbus - Example communication..................................................... 6-22
Chapter 7 WinPLC7..........................................................................7-1
System presentation............................................................................. 7-2
Installation............................................................................................ 7-3
Example project engineering ................................................................ 7-4
Chapter 8 Configuration with TIA Portal.........................................8-1
TIA Portal - Work environment ............................................................. 8-2
TIA Portal - Hardware configuration - CPU........................................... 8-4
TIA Portal - Hardware configuration - I/O modules............................... 8-5
TIA Portal - Hardware configuration - Ethernet PG/OP channel ........... 8-6
TIA Portal - Include VIPA library........................................................... 8-9
TIA Portal - Project transfer................................................................ 8-10

Manual VIPA System 300S SPEED7 About this manual
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 1
About this manual
This manual describes the SPEED7 CPU 312-5BE13 from the System
300S. Here you may find every information for commissioning and
operation.
Chapter 1: Basics
This Basics contain hints for the usage and information about the project
engineering of a SPEED7 system from VIPA. General information about
the System 300S like dimensions and environment conditions will also be
found.
Chapter 2: Assembly and installation guidelines
In this chapter you will find all information, required for the installation and
the cabling of a process control with the components of the System 300
and the CPU 312-5BE13.
Chapter 3: Hardware description
In this chapter the hardware components of the CPU 312-5BE13 are
described. The technical data are at the end of the chapter.
Chapter 4: Deployment CPU 312-5BE13
This chapter describes the deployment of the CPU 312-5BE13 with
SPEED7 technology in the System 300. The description refers directly to
the CPU and to the employment in connection with peripheral modules that
are mounted on a profile rail together with the CPU at standard bus.
Chapter 5: Deployment I/O periphery
This chapter contains all information necessary for the deployment of the
in-/output periphery of the CPU 312-5BE13. It describes functionality,
project engineering and diagnostic of the analog and digital part.
Chapter 6: Deployment PtP communication
Content of this chapter is the deployment of the RS485 slot for serial PtP
communication.
Here you’ll find all information about the protocols and project engineering
of the interface, which are necessary for the serial communication using
the RS485 interface.
Overview

About this manual Manual VIPA System 300S SPEED7
2 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
Chapter 7: WinPLC7
In this chapter the programming and simulation software WinPLC7 from
VIPA is presented. WinPLC7 is suited for every with Siemens STEP®7
programmable PLC.
Besides the system presentation and installation here the basics for using
the software is explained with a sample project.
More information concerning the usage of WinPLC7 may be found in the
online help respectively in the online documentation of WinPLC7.
Chapter 8: Configuration with TIA Portal
In this chapter the project engineering of the VIPA CPU in the Siemens TIA
Portal is shown. The chapter only describes the basic usage of the
Siemens TIA Portal together with a VIPA CPU.
More detailed information about the Siemens TIA Portal is to be found in
the according online manual respectively documentation.

Manual VIPA System 300S SPEED7 About this manual
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 3
The manual describes the SPEED7 CPU 312-5BE13 from VIPA. It contains
a description of the construction, project implementation and usage.
This manual is part of the documentation package with order number
HB140E_CPU-SC and relevant for:
Product Order number as of state:
CPU-HW CPU-FW
CPU 312SC VIPA 312-5BE13 02 V360
The manual is targeted at users who have a background in automation
technology.
The manual consists of chapters. Every chapter provides a self-contained
description of a specific topic.
The following guides are available in the manual:
• an overall table of contents at the beginning of the manual
• an overview of the topics for every chapter
The manual is available in:
• printed form, on paper
• in 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.
Attention!
Damages to property is likely if these warnings are not heeded.
Note!
Supplementary information and useful tips.
Objective and
contents
Target audience
Structure of the
manual
Guide to the
document
Availability
Icons
Headings

Safety information Manual VIPA System 300S SPEED7
4 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
Safety information
The SPEED7 CPU is constructed and produced for:
• all VIPA System 300S components
• communication and process control
• general control and automation applications
• industrial applications
• operation within the environmental conditions specified in the technical
data
• installation 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
• project design department
• installation department
• commissioning
• operation
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 properly 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!
Applications
conforming with
specifications
Documentation
Disposal

Manual VIPA System 300S SPEED7 Chapter 1 Basics
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 1-1
Chapter 1 Basics
This Basics contain hints for the usage and information about the project
engineering of a SPEED7 system from VIPA.
General information about the System 300S like dimensions and
environment conditions will also be found.
Topic Page
Chapter 1 Basics..............................................................................1-1
Safety Information for Users................................................................. 1-2
Operating structure of a CPU ............................................................... 1-3
CPU 312-5BE13................................................................................... 1-6
Overview
Content

Chapter 1 Basics Manual VIPA System 300S SPEED7
1-2 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
Safety Information for Users
VIPA modules make use of highly integrated components in MOS-
Technology. These components are extremely sensitive to over-voltages
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 equipment.
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 discharge 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 consequent 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:
• Floating instruments must be discharged before use.
• Instruments must be grounded.
Modifying electrostatic sensitive modules you should only use soldering
irons with grounded tips.
Attention!
Personnel and instruments should be grounded when working on
electrostatic sensitive modules.
Handling of
electrostatic
sensitive modules
Shipping of
modules
Measurements and
alterations on
electrostatic
sensitive modules

Manual VIPA System 300S SPEED7 Chapter 1 Basics
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 1-3
Operating structure of a CPU
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:
• cyclic operation
• timer processing
• alarm controlled operation
• priority based processing
Cyclic processing represents the major portion of all the processes that
are executed in the CPU. Identical sequences of operations are repeated in
a never-ending cycle.
Where a process requires control signals at constant intervals you can
initiate certain operations based upon a timer, e.g. not critical monitoring
functions at one-second intervals.
If a process signal requires a quick response you would allocate this signal
to an alarm controlled procedure. An alarm can activate a procedure in
your program.
The above processes are handled by the CPU in accordance with their
priority. Since a timer or an alarm event requires a quick reaction, the
CPU will interrupt the cyclic processing when these high-priority events
occur to react to the event. Cyclic processing will resume, once the
reaction has been processed. This means that cyclic processing has the
lowest priority.
General
Cyclic processing
Timer processing
Alarm controlled
processing
Priority based
processing

Chapter 1 Basics Manual VIPA System 300S SPEED7
1-4 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
The program that is present in every CPU is divided as follows:
• System routine
• User application
The system routine organizes all those functions and procedures of the
CPU that are not related to a specific control application.
This consists of all the functions that are required for the processing of a
specific control application. The operating modules provide the interfaces
to the system routines.
The following series of operands is available for programming the CPU:
• Process image and periphery
• Bit memory
• Timers and counters
• Data blocks
The user application can quickly access the process image of the inputs
and outputs PAA/PAE. You may manipulate the following types of data:
• individual Bits
• Bytes
• Words
• Double words
You may also gain direct access to peripheral modules via the bus from
user application. The following types of data are available:
• Bytes
• Words
• Blocks
Applications
System routine
User application
Operands
Process image
and periphery

Manual VIPA System 300S SPEED7 Chapter 1 Basics
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 1-5
The bit memory is an area of memory that is accessible by means of
certain operations. Bit memory is intended to store frequently used working
data.
You may access the following types of data:
• individual Bits
• Bytes
• Words
• Double words
In your program you may load cells of the timer with a value between 10ms
and 9990s. As soon as the user application executes a start-operation, the
value of this timer is decremented by the interval that you have specified
until it reaches zero.
You may load counter cells with an initial value (max. 999) and increment
or decrement these when required.
A data block contains constants or variables in the form of bytes, words or
double words. You may always access the current data block by means of
operands.
You may access the following types of data:
• individual Bits
• Bytes
• Words
• Double words
Bit Memory
Timers and
counters
Data Blocks

Chapter 1 Basics Manual VIPA System 300S SPEED7
1-6 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
CPU 312-5BE13
The CPU 312-5BE13 bases upon the SPEED7 technology. This supports
the CPU at programming and communication by means of co-processors
that causes a power improvement for highest needs.
The CPU is programmed in STEP7 from Siemens. For this you may use
WinPLC7 from VIPA, the SIMATIC manager or TIA Portal from Siemens.
Due to the SPEED7 chipset the CPU behaves like a CPU 318. Here the
instruction set of the S7-400 from Siemens is used.
The CPU with integrated Ethernet-PG/OP channel, a MPI- and RS485-slot
simplifies the integration of the CPU into an existing network or the
connection of additional peripheral equipment.
The user application is stored in the battery buffered RAM or on an
additionally pluggable MMC storage module.
The CPU has an integrated memory. Information about the capacity
(min. capacity ... max capacity) of the memory may be found at the front of
the CPU.
The memory is divided into the following 3 parts:
• Load memory 512kbyte
• Code memory (50% of the work memory)
• Data memory (50% of the work memory)
The work memory has 64kbyte. There is the possibility to extend the work
memory to its maximum printed capacity 512kbyte by means of a MCC
memory extension card.
The CPU has an Ethernet interface for PG/OP communication. After the
assignment of IP address parameters by "Assign Ethernet Address"
respectively by a "minimum project" the Ethernet PG/OP channel may
directly be addressed by means of the "PLC" functions to program and
remote control the CPU. A max. of 4 PG/OP connections is available.
You may also access the CPU with a visualization software via these
connections.
• Wiring by CageClamps at the front connector
• Core cross-section 0.08...2.5mm2
• Total isolation of the wiring at module change
• Potential separation of all modules to the backplane bus
• ESD/Burst acc. IEC 61000-4-2/IEC 61000-4-4 (up to level 3)
• Shock resistance acc. IEC 60068-2-6 / IEC 60068-2-27 (1G/12G)
Overview
Memory
management
Integrated
Ethernet-PG/OP-
channel
Operation Security

Manual VIPA System 300S SPEED7 Chapter 1 Basics
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 1-7
• Operating temperature: 0 ... +60°C
• Storage temperature: -25 ... +70°C
• Relative humidity: 5 ... 95% without condensation
• Ventilation by means of a fan is not required
• Dimensions of the basic enclosure: 2tier width: (HxWxD) in mm:
80x125x120
• Available lengths of the profile rail in mm: 160, 482, 530, 830 and 2000
Modules and CPUs of the System 300S from VIPA and Siemens may be
used at the "Standard" bus as a mixed configuration.
The SPEED7 CPUs from VIPA are instruction compatible to the
programming language STEP®7 from Siemens. For programming and
hardware configuration WinPLC7 from VIPA, the SIMATIC manager or TIA
Portal from Siemens can be used. Here the instruction set of the S7-400
from Siemens is used.
Note!
Please do always use the CPU 312C (6ES7 312-5BE03-0AB0 V2.6) from
Siemens of the hardware catalog to project a CPU 312-5BE13 from VIPA.
For the project engineering, a thorough knowledge of the according
Siemens configuration tool is required!
The CPU comes with an integrated power supply. The power supply has to
be supplied with DC 24V. By means of the supply voltage, the internal
electronic is supplied as well as the backplane bus for the peripherals
modules. The power supply is protected against inverse polarity and
overcurrent.
Environmental
conditions
Dimensions/
Weight
Compatibility
Integrated
power supply

Chapter 1 Basics Manual VIPA System 300S SPEED7
1-8 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50

Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 2-1
Chapter 2 Assembly and installation guidelines
In this chapter you will find all information, required for the installation and
the cabling of a process control with the components of the System 300S
and the CPU 312-5BE13.
Topic Page
Chapter 2 Assembly and installation guidelines............................2-1
Installation dimensions ......................................................................... 2-2
Assembly.............................................................................................. 2-3
Cabling................................................................................................. 2-5
Installation guidelines ........................................................................... 2-7
Overview
Content

Chapter 2 Assembly and installation guidelines Manual VIPA System 300S SPEED7
2-2 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
Installation dimensions
2tier width (WxHxD) in mm: 80 x 125 x 120
65mm
40mm 122mm
125 mm
125mm
120mm
175mm
Dimensions Basic
enclosure
Dimensions
Installation
dimensions

Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines
HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50 2-3
Assembly
The single modules are directly installed on a profile rail and connected via
the backplane bus connector. Before installing the modules you have to
clip the backplane bus connector to the module from the backside.
The backplane bus connector is delivered together with the peripheral
modules.
Order number A B C
VIPA 390-1AB60 160 140 10
VIPA 390-1AE80 482 466 8.3
VIPA 390-1AF30 530 500 15
VIPA 390-1AJ30 830 800 15
VIPA 390-9BC00* 2000 Drillings only left 15
* Unit pack: 10 pieces
Measures in mm
A
B
10
7
57.2
32.5
M6
15
122
C
For the communication between the modules the System 300S uses a
backplane bus connector. Backplane bus connectors are included in the
delivering of the peripheral modules and are clipped at the module from the
backside before installing it to the profile rail.
General
Profile rail
Bus connector

Chapter 2 Assembly and installation guidelines Manual VIPA System 300S SPEED7
2-4 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50
SLOT1
DCDC
SLOT2
horizontal assembly
lying assembly
vertical
assembly
Please regard the allowed environment temperatures:
• horizontal assembly: from 0 to 60°C
• vertical assembly: from 0 to 40°C
• lying assembly: from 0 to 40°C
Approach
• Bolt the profile rail with the background (screw size: M6),
so that you still have minimum 65mm space above and
40mm below the profile rail.
• If the background is a grounded metal or device plate,
please look for a low-impedance connection between
profile rail and background.
• Connect the profile rail with the protected earth conductor.
For this purpose there is a bolt with M6-thread.
• The minimum cross-section of the cable to the protected
earth conductor has to be 10mm2.
• Stick the power supply to the profile rail and pull it to the
left side to the grounding bolt of the profile rail.
• Fix the power supply by screwing.
• Take a backplane bus connector and click it at the CPU
from the backside like shown in the picture.
• Stick the CPU to the profile rail right from the power supply
and pull it to the power supply.
• Click the CPU downwards and bolt it like shown.
• Repeat this procedure with the peripheral modules, by
clicking a backplane bus connector, stick the module right
from the modules you've already fixed, click it downwards
and connect it with the backplane bus connector of the last
module and bolt it.
Danger!
• The power supplies must be released before installation and repair
tasks, i.e. before handling with the power supply or with the cabling you
must disconnect current/voltage (pull plug, at fixed connection switch off
the concerning fuse)!
• Installation and modifications only by properly trained personnel!
Assembly
possibilities
This manual suits for next models
1
Table of contents
Other VIPA Controllers manuals

VIPA
VIPA System 100V Series User manual

VIPA
VIPA System 300S User manual

VIPA
VIPA System 300S User manual

VIPA
VIPA CPU 312SC User manual

VIPA
VIPA System 300V User manual

VIPA
VIPA System 100V Series User manual

VIPA
VIPA System 300S SPEED7 - CPU 315-4NE12 User manual

VIPA
VIPA System 200V Series User manual

VIPA
VIPA SLIO User manual

VIPA
VIPA System 300V User manual