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

VIPA System 300S
SPEED7 - CPU | 315-4NE12 | Manual
HB140E_CPU | RE_315-4NE12 | Rev. 12/06
February 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.de
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
Hereby, VIPA GmbH declares that the products and systems are in compliance with the essential requirements and other relevant
provisions of the following directives:
• 2004/108/EC Electromagnetic Compatibility Directive
• 2006/95/EC Low Voltage Directive
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, 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 - RE_315-4NE12 - Rev. 12/06 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 315-4NE12................................................................................... 1-6
Chapter 2 Assembly and installation guidelines............................2-1
Installation dimensions ......................................................................... 2-2
Assembly standard bus ........................................................................ 2-3
Cabling................................................................................................. 2-5
Installation guidelines ........................................................................... 2-6
Chapter 3 Hardware description .....................................................3-1
Properties............................................................................................. 3-2
Structure .............................................................................................. 3-3
Technical Data ..................................................................................... 3-8
Chapter 4 Deployment CPU 315-4NE12..........................................4-1
Assembly.............................................................................................. 4-2
Start-up behavior.................................................................................. 4-2
Addressing ........................................................................................... 4-3
Hardware configuration - CPU.............................................................. 4-5
Hardware configuration - I/O modules.................................................. 4-6
Hardware configuration - Ethernet PG/OP channel .............................. 4-7
Setting standard CPU parameters........................................................ 4-9
Setting VIPA specific CPU parameters............................................... 4-16
Project transfer................................................................................... 4-21
Access to the internal Web page........................................................ 4-25
Operating modes................................................................................ 4-27
Overall reset....................................................................................... 4-30
Firmware update ................................................................................ 4-32
Factory reset ...................................................................................... 4-35
Slot for storage media ........................................................................ 4-36
Memory extension with MCC.............................................................. 4-37
Extended know-how protection........................................................... 4-38
MMC-Cmd - Auto commands ............................................................. 4-40
VIPA specific diagnostic entries ......................................................... 4-42
Using test functions for control and monitoring of variables................ 4-47
Chapter 5 Deployment PtP communication ...................................5-1
Fast introduction................................................................................... 5-2
Principle of the data transfer ................................................................ 5-3
Deployment of RS485 interface for PtP................................................ 5-4
Parameterization .................................................................................. 5-7
Communication .................................................................................. 5-10
Protocols and procedures .................................................................. 5-16
Modbus - Function codes ................................................................... 5-20
Modbus - Example communication..................................................... 5-24

Contents Manual VIPA System 300S SPEED7
ii HB140E - CPU - RE_315-4NE12 - Rev. 12/06
Chapter 6 Deployment PROFIBUS communication.......................6-1
Overview .............................................................................................. 6-2
Fast introduction................................................................................... 6-3
Hardware configuration - CPU.............................................................. 6-4
Deployment as PROFIBUS DP master ................................................ 6-5
Deployment as PROFIBUS DP slave ................................................... 6-6
PROFIBUS installation guidelines ........................................................ 6-8
Commissioning and Start-up behavior................................................ 6-11
Chapter 7 Deployment Ethernet communication...........................7-1
Basics - Industrial Ethernet in automation ............................................ 7-2
Basics - ISO/OSI reference model ....................................................... 7-3
Basics - Terms ..................................................................................... 7-6
Basics - Protocols ................................................................................ 7-7
Basics - IP address and subnet.......................................................... 7-12
Basics - MAC address and TSAP....................................................... 7-14
Fast introduction................................................................................. 7-15
Commissioning and Initialization ........................................................ 7-16
Hardware configuration - CPU............................................................ 7-17
Configure connections........................................................................ 7-19
Configure Open Communication ........................................................ 7-36
NCM diagnostic - Help for error diagnostic......................................... 7-39
Coupling to other systems.................................................................. 7-42
Chapter 8 WinPLC7..........................................................................8-1
System presentation............................................................................. 8-2
Installation............................................................................................ 8-3
Example project engineering ................................................................ 8-4

Manual VIPA System 300S SPEED7 About this manual
HB140E - CPU - RE_315-4NE12 - Rev. 12/06 1
About this manual
This manual describes the System 300S SPEED7 CPU 315-4NE12 from
VIPA. Here you may find every information for commissioning and
operation.
Chapter 1: Principles
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 300S
with a CPU 315-4NE12.
Chapter 3: Hardware description
Here the hardware components of the CPU 315-4NE12 are described.
The technical data are at the end of the chapter.
Chapter 4: Deployment CPU 315-4NE12
This chapter describes the employment of a CPU 315-4NE12 with SPEED7
technology in the System 300S. 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 the standard bus.
Chapter 5: Deployment PtP communication
Content of this chapter is the employment of the RS485 slot for serial PtP
communication. Here you’ll find all information about the protocols, the
activation and project engineering of the interface which are necessary for
the serial communication using the RS485 interface.
Chapter 6: Deployment PROFIBUS communication
Content of this chapter is the deployment of the CPU 315-4NE12 with
PROFIBUS. After a short overview the project engineering and
parameterization of a CPU 315-4NE12 with integrated PROFIBUS-Part
from VIPA is shown. Further you get information about usage as DP
master and DP slave of the PROFIBUS part. The chapter is ending with
notes to Commissioning and Start-up behavior.
Chapter 7: Deployment Ethernet communication
In this chapter the communication via Ethernet is described. Please regard
the chapter "Fast introduction" where you find all information compressed
required for the project engineering of the CPU 315-4NE12 with CP 343.
After the fast introduction, the mentioned steps are described in detail.
Chapter 8: 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.
Outline

About this manual Manual VIPA System 300S SPEED7
2 HB140E - CPU - RE_315-4NE12 - Rev. 12/06
This manual describes the System 300S SPEED7 CPU 315-4NE12 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 and relevant for:
Product Order number as of state:
CPU-HW CPU-FW DPM-FW CP-FW
CPU 315SN/NET VIPA 315-4NE12 01 V343 V312 V217
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

Manual VIPA System 300S SPEED7 Safety information
HB140E - CPU - RE_315-4NE12 - Rev. 12/06 3
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

Safety information Manual VIPA System 300S SPEED7
4 HB140E - CPU - RE_315-4NE12 - Rev. 12/06

Manual VIPA System 300S SPEED7 Chapter 1 Basics
HB140E - CPU - RE_315-4NE12 - Rev. 12/06 1-1
Chapter 1 Basics
These 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 315-4NE12................................................................................... 1-6
Overview
Content

Chapter 1 Basics Manual VIPA System 300S SPEED7
1-2 HB140E - CPU - RE_315-4NE12 - Rev. 12/06
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
electrostatic
sensitive modules
Measurements and
alterations on
electrostatic
sensitive modules

Manual VIPA System 300S SPEED7 Chapter 1 Basics
HB140E - CPU - RE_315-4NE12 - Rev. 12/06 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 - RE_315-4NE12 - Rev. 12/06
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 - RE_315-4NE12 - Rev. 12/06 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 - RE_315-4NE12 - Rev. 12/06
CPU 315-4NE12
The CPU 315-4NE12 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 SPEED7 CPUs from VIPA are instruction compatible to the
programming language STEP®7 from Siemens and may be programmed
via WinPLC7 from VIPA or via the Siemens SIMATIC Manager. Here the
instruction set of the S7-400 from Siemens is used.
Modules and CPUs of the System 300S from VIPA and Siemens may be
used at the bus as a mixed configuration.
The user application is stored in the battery buffered RAM or on an
additionally pluggable MMC storage module.
The CPU is configured as CPU 318-2 (6ES7 318-2AJ00-0AB0/V3.0) from
Siemens.
PC
CPU
DP master
MMC
DP
MMC
RN
ST
MR
Tip
3Sec.
MPI Adapter
wld file
System data
RAM
PG/OP
Power ON
RN
CPU
TP
firmware
Flash
Firmw.Proj.
RAM
Ethernet
MPI
Proj.
Proj./Firmw.
RS232
DP Adapter
RAM Flash
Firmw.Proj.
Web-Browser
WinPLC7 from VIPA
SIMATIC Manager
from Siemens
RJ45
Web
TP
RAM Flash
Firmw.Proj.
Web
CP 343
NCS
overall reset
Note!
Please do always use the CPU 318-2 (6ES7 318-2AJ00-0AB0/V3.0) from
Siemens of the hardware catalog to project this CPU from VIPA.
For the project engineering, a thorough knowledge of the Siemens
SIMATIC Manager and the hardware configurator from Siemens is
required!
Overview
Access

Manual VIPA System 300S SPEED7 Chapter 1 Basics
HB140E - CPU - RE_315-4NE12 - Rev. 12/06 1-7
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 2Mbyte
• Code memory (50% of the work memory)
• Data memory (50% of the work memory)
The work memory has1Mbyte. There is the possibility to extend the work
memory to its maximum printed capacity 2Mbyte by means of a MCC
memory extension card.
The CPU has an integrated PROFIBUS DP master, which also may be
used as PROFIBUS DP salve.
The project engineering takes place or in the hardware configurator from
Siemens in WinPLC7 from VIPA.
The integrated CP 343 offers you a communication processor. This serves
32 PG/OP channels and 8 configurable productive connections.
The CPU has an Ethernet interface for PG/OP communication. Via the
"PLC" functions you may directly access the Ethernet PG/OP channel and
program res. remote control your 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 means of spring pressure connections (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)
• 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: (WxHxD) in mm: 80x125x120
The CPU comes with an integrated power supply. The power supply is to
be supplied with DC 24V. By means of the supply voltage, the internal
electronic is supplied as well as the connected modules via backplane bus.
The power supply is protected against inverse polarity and overcurrent.
Memory
management
Integrated
PROFIBUS
DP master
Integrated
CP 343
Integrated
Ethernet PG/OP
channel
Operation Securit
y
Environmental
conditions
Dimensions/
Weight
Integrated
power supply

Chapter 1 Basics Manual VIPA System 300S SPEED7
1-8 HB140E - CPU - RE_315-4NE12 - Rev. 12/06

Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines
HB140E - CPU - RE_315-4NE12 - Rev. 12/06 2-1
Chapter 2 Assembly and installation guidelines
In this chapter you will find every information, required for the installation
and the cabling of a process control with the components of the System
300S with a CPU 315-4NE12.
Topic Page
Chapter 2 Assembly and installation guidelines............................2-1
Installation dimensions ......................................................................... 2-2
Assembly standard bus ........................................................................ 2-3
Cabling................................................................................................. 2-5
Installation guidelines ........................................................................... 2-6
Overview
Content

Chapter 2 Assembly and installation guidelines Manual VIPA System 300S SPEED7
2-2 HB140E - CPU - RE_315-4NE12 - Rev. 12/06
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 - RE_315-4NE12 - Rev. 12/06 2-3
Assembly standard bus
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 - RE_315-4NE12 - Rev. 12/06
waagrechter Aufbau
liegender Aufbau
senkrechter
Aufbau
SLOT1
DCDC
SLOT2
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
Table of contents
Other VIPA Controllers manuals

VIPA
VIPA System 300S User manual

VIPA
VIPA System 200V Series User manual

VIPA
VIPA SPEED7 CPU 313SC User manual

VIPA
VIPA System 100V Series User manual

VIPA
VIPA System 300S User manual

VIPA
VIPA System 300V User manual

VIPA
VIPA SLIO User manual

VIPA
VIPA System 300V User manual

VIPA
VIPA System 100V Series User manual

VIPA
VIPA CPU 312SC User manual
Popular Controllers manuals by other brands

HNC Electric
HNC Electric HRS Series Operation manual

Swagelok
Swagelok RHPS Series user manual

Mitsubishi Electric
Mitsubishi Electric MELSEC-F FX-16E-TB user guide

SMC Networks
SMC Networks ITV1000-IL Series Operation manual

Xylem
Xylem CentriPro MP PLUS Installation, operation and maintenance manual

zeeltronic
zeeltronic PDCI-24VT Programming manual