VIPA System 300S Manual

Speed7 - cpu, 314-2bg03
Hide thumbs Also See for System 300S:

Advertisement

Quick Links

VIPA System 300S
SPEED7 - CPU | 314-2BG03 | Manual
HB140E_CPU | RE_314-2BG03 | Rev. 09/45
November 2009

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the System 300S and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for VIPA System 300S

  • Page 1 VIPA System 300S SPEED7 - CPU | 314-2BG03 | Manual HB140E_CPU | RE_314-2BG03 | Rev. 09/45 November 2009...
  • Page 2 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.
  • Page 3: Table Of Contents

    Manual VIPA System 300S SPEED7 Contents Contents About this manual ..................1 Safety information ..................2 Chapter 1 Basics ................1-1 Safety Information for Users..............1-2 General description of the System 300..........1-3 Operating structure of a CPU ............... 1-4 CPU 314SE/DPS..................
  • Page 4 Manual VIPA System 300S SPEED7 Contents Chapter 6 Deployment Profibus communication ......6-1 Overview ....................6-2 Deployment as Profibus DP slave ............6-3 Profibus installation guidelines ............. 6-5 Chapter 7 WinPLC7 ................7-1 System presentation................7-2 Installation .................... 7-3 Example project engineering ..............7-4 Appendix ....................A-1...
  • Page 5: About This Manual

    Manual VIPA System 300S SPEED7 About this manual About this manual This manual describes the System 300S SPEED7 CPU 314SE/DPS from VIPA. Here you may find every information for commissioning and operation. Overview Chapter 1: Principles This Basics contain hints for the usage and information about the project engineering of a SPEED7 system from VIPA.
  • Page 6 Manual VIPA System 300S SPEED7 About this manual This manual describes the System 300S SPEED7 CPU 314SE/DPS from Objective and VIPA. It contains a description of the construction, project implementation contents and usage. This manual is part of the documentation package with order number...
  • Page 7: Safety Information

    Manual VIPA System 300S SPEED7 Safety information Safety information The SPEED7 CPU is constructed and produced for: Applications conforming with • all VIPA System 300 components specifications • communication and process control • general control and automation applications • industrial applications •...
  • Page 8 Manual VIPA System 300S SPEED7 Safety information HB140E - CPU - RE_314-2BG03 - Rev. 09/45...
  • Page 9: Chapter 1 Basics

    Chapter 1 Basics This Basics contain hints for the usage and information about the project Overview engineering of a SPEED7 system from VIPA. General information about the System 300S like dimensions and environment conditions will also be found. Content Topic Page Chapter 1 Basics ................
  • Page 10: Safety Information For Users

    Manual VIPA System 300S SPEED7 Chapter 1 Basics Safety Information for Users VIPA modules make use of highly integrated components in MOS- Handling of Technology. These components are extremely sensitive to over-voltages electrostatic that can occur during electrostatic discharges. sensitive modules The following symbol is attached to modules that can be destroyed by electrostatic discharges.
  • Page 11: General Description Of The System 300

    VIPA and Siemens can be mixed. • System 300S The System 300S extends the central area with high-speed CPUs that have the integrated SPEED7 chip. Additionally some CPU's have got a parallel SPEED-Bus that allows the modular connection of fast peripheral modules like IOs or bus master.
  • Page 12: Operating Structure Of A Cpu

    Manual VIPA System 300S SPEED7 Chapter 1 Basics Operating structure of a CPU The CPU contains a standard processor with internal program memory. In General combination with the integrated SPEED7 technology the unit provides a powerful solution for process automation applications within the System 300S family.
  • Page 13 Manual VIPA System 300S SPEED7 Chapter 1 Basics The program that is present in every CPU is divided as follows: Applications • System routine • User application The system routine organizes all those functions and procedures of the System routine CPU that are not related to a specific control application.
  • Page 14 Manual VIPA System 300S SPEED7 Chapter 1 Basics The bit memory is an area of memory that is accessible by means of Bit Memory certain operations. Bit memory is intended to store frequently used working data. You may access the following types of data: •...
  • Page 15: Cpu 314Se/Dps

    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 300 from VIPA and Siemens may be used at the "Standard" bus as a mixed configuration.
  • Page 16 By switching the Profibus part to "Master" operation without linking, the interface may be used for point-to-point (PtP) communication. Here the communication communication happens by means of VIPA handling blocks. The CPU has an Ethernet interface for PG/OP communication. Via the Integrated "PLC"...
  • Page 17: Chapter 2 Assembly And Installation Guidelines

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Chapter 2 Assembly and installation guidelines In this chapter you will find all information, required for the installation and Overview the cabling of a process control with the components of a CPU 314SE/DPS in the System 300.
  • Page 18: Overview

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Overview The single modules are directly installed on a profile rail and connected via General the backplane bus connector. Before installing the modules you have to clip the backplane bus connector to the module from the backside.
  • Page 19: Installation Dimensions

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Installation dimensions 1tier width (WxHxD) in mm: 40 x 125 x 120 Dimensions Basic enclosure Dimensions Installation 125mm dimensions 120mm 175mm HB140E - CPU - RE_314-2BG03 - Rev. 09/45...
  • Page 20: Assembly Standard-Bus

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Assembly Standard-Bus horizontal assembly vertical Assembly possibilities assembly Please regard the allowed environment temperatures: • horizontal assembly: from 0 to 60°C SLOT2 SLOT1 DCDC • vertical assembly: from 0 to 40°C •...
  • Page 21: Cabling

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Cabling The CPUs are exclusively delivered with CageClamp contacts. The Overview connection of the I/O periphery happens by 40pole front screw connection. Danger! • The power supplies must be released before installation and repair tasks, i.e.
  • Page 22 Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines In the following the cabling of the two variants are shown: Front connectors of the in-/output modules 20pole screw connection 40pole screw connection VIPA 392-1AJ00 VIPA 392-1AM00 Open the front flap of your I/O module.
  • Page 23 Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines ... continue 20pole screw connection 40pole screw connection VIPA 392-1AJ00 VIPA 392-1AM00 Push the release key at the front connector on Bolt the fixing screw of the front connector.
  • Page 24: Installation Guidelines

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Installation guidelines The installation guidelines contain information about the interference free General deployment of System 300 systems. There is the description of the ways, interference may occur in your control, how you can make sure the electromagnetic digestibility (EMC), and how you manage the isolation.
  • Page 25 Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines In the most times it is enough to take care of some elementary rules to Basic rules for guarantee the EMC. Please regard the following basic rules when installing your PLC.
  • Page 26 Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Electrical, magnetically and electromagnetic interference fields are Isolation of weakened by means of an isolation, one talks of absorption. conductors Via the isolation rail, that is connected conductive with the rack, interference currents are shunt via cable isolation to the ground.
  • Page 27: Structure

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Chapter 3 Hardware description Here the hardware components of the CPU 314SE/DPS are more Overview described. The technical data are at the end of the chapter. Content Topic Page Chapter 3 Hardware description .............
  • Page 28 CPU 314SE STOP FRCE STOP MRES VIPA 314-2BG03 128/512KByte Ordering data Type Order number Description 314SE/DPS VIPA 314-2BG03 MPI interface, card slot, real time clock, Ethernet interface for PG/OP, Profibus DP slave HB140E - CPU - RE_314-2BG03 - Rev. 09/45...
  • Page 29 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Structure CPU 314SE/DPS 314-2BG03 CPU314 SE LEDs (deactivated) Storage media slot LEDs of the CPU part STOP Operating mode switch CPU FRCE The following components are under the front flap Slot for DC 24V power supply...
  • Page 30: Components

    Chapter 3 Hardware description Manual VIPA System 300S SPEED7 Components With the operating mode switch you may switch the CPU between STOP Operating mode and RUN. The operating mode START-UP is driven automatically from the switch CPU between STOP and RUN.
  • Page 31 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description LEDs The CPU has got one row of LEDs on the front side. The following table shows you the usage of the LEDs and the according colors: Label Color Meaning green...
  • Page 32 MMC storage module (Multimedia card) or a MCC memory extension card. The MCC can additionally be used as an external storage medium. Both VIPA storage media are pre-formatted with the PC format FAT16 and can be accessed via a card reader. An access to the storage media always happens after an overall reset and PowerON.
  • Page 33: Technical Data

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Technical Data Module name 314-2BG03 Dimensions and weight Dimensions W x H x D 40 x 125 x 120mm Weight 235g Voltages, Currents, Potentials Power supply (rated value) DC 24V - Permitted range 20.4 ...
  • Page 34 Chapter 3 Hardware description Manual VIPA System 300S SPEED7 ... continue Module name 314-2BG03 Data areas and their retentive characteristics Bit memories 8192byte - Adjustable retentivity adjustable 0 up to 2048 - Preset MB0 to MB15 Clock memories 8 (1 flag byte)
  • Page 35 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description ... continue Module name 314-2BG03 Testing and commissioning functions Status/Modify Variables - Variable I, Q, M, DB, T, C - Number of variables of those as status variable of those as control variable...
  • Page 36 Chapter 3 Hardware description Manual VIPA System 300S SPEED7 ... continue Module name 314-2BG03 Hardware description 3. interface Physics Ethernet RJ 45 Functionality 3. interface Services - PG/OP communication - S7 communication as server as client Programming Programming language KOP/FUP/AWL...
  • Page 37 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Chapter 4 Deployment CPU 314SE/DPS This chapter describes the employment of a 314SE/DPS with SPEED7 Overview 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 the standard bus.
  • Page 38: Assembly Standard-Bus

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Assembly Standard-Bus horizontal assembly vertical Assembly possibilities assembly Please regard the allowed environment temperatures: • horizontal assembly: from 0 to 60°C SLOT2 SLOT1 DCDC • vertical assembly: from 0 to 40°C •...
  • Page 39: Chapter 4 Deployment Cpu 314Se/Dps

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Start-up behavior After the power supply has been switched on, the CPU changes to the Turn on power operating mode the operating mode lever shows. supply Now you may transfer your project to the CPU via MPI from your configuration tool res.
  • Page 40: Addressing

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Addressing To provide specific addressing of the installed peripheral modules, certain Overview addresses must be allocated in the CPU. At the start-up of the CPU, this assigns automatically peripheral addresses for digital in-/output modules starting with 0 and ascending depending on the slot location.
  • Page 41 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS If you do not like to use a hardware configuration, an automatic addressing Automatic comes into force. addressing At the automatic address allocation DIOs occupy depending on the slot location always 4byte and AIOs, FMs, CPs always 16byte at the bus.
  • Page 42: Initialization Ethernet Pg/Op Channel

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Initialization Ethernet PG/OP channel The CPU 314SE/DPS has an integrated Ethernet PG/OP channel. This Overview channel allows you to program and remote control your CPU with up to 4 connections.
  • Page 43 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS • Establish a network connection between Ethernet PG/OP channel of the CPU and PC. • Start the Siemens SIMATIC manager at the PC • Set via Options > Set PG/PC Interface the Access Path to "TCP/IP ->...
  • Page 44 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS • Establish a network connection between Ethernet PG/OP channel of the Initialization via CPU and PC. minimal project • Start the SIMATIC Manager from Siemens and create a new project.
  • Page 45: Access To The Internal Web Page

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Access to the internal Web page The Ethernet PG/OP channel provides a web page that you may access Access to the via an Internet browser by its IP address. The web page contains web page information about firmware versions, current cycle times etc.
  • Page 46: Project Engineering

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Project engineering The project engineering of the CPU 314SE/DPS takes place at the Overview Siemens hardware configurator and is divided into the following parts: • Project engineering CPU 314SE/DPS as CPU 315-2DP from Siemens (315-2AG10-0AB00 V2.6) and if needed Profibus DP slave.
  • Page 47 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS The project engineering is separated into 3 parts: Steps of the • Project engineering of the CPU project • Project engineering of the plugged modules engineering • Project engineering of the PG/OP channel •...
  • Page 48 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Below the System 300 modules configure for the internal Ethernet PG/OP Project engineering channel a Siemens CP 343-1 (343-1EX11). This may be found at the of Ethernet PG/OP hardware catalog at SIMATIC 300 \ CP 300 \ Industrial Ethernet \ CP 343-1...
  • Page 49: Setting Cpu Parameters

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Setting CPU parameters Since the CPU 314-2BG03 of VIPA is to be configured as Siemens CPU Parameterization 315-2DP (CPU 315-2AG10 V2.6) in the Siemens hardware configurator, via Siemens the parameters of the VIPA CPU may be set with "Object properties"...
  • Page 50 The following parameters are supported at this time: General Short description Since the VIPA CPU 314-2BG03 is configured as CPU 315-2AG10 from Siemens, here the short description CPU 315-2DP stands. Order No. / Order number and firmware are identical to the details in the "Hardware Firmware catalog"...
  • Page 51 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Cycle/Clock memory Scan Cycle Here the scan cycle monitoring time in milliseconds may be set. If the scan Monitoring Time cycle time exceeds the scan cycle monitoring time, the CPU enters the STOP mode.
  • Page 52 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Interrupts Hardware Interrupts Currently, the default priority may not be modified. Time-of-Day interrupts Priority The priority may not be modified. Active Activate the check box of the time-of-day interrupt OBs if these are to be automatically started on complete restart.
  • Page 53: Setting Module Parameters

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Setting module parameters By using the SIMATIC Manager from Siemens you may set parameters for Approach configurable System 300 modules at any time. For this, double-click during the project engineering at the slot overview on the module you want to parameterize In the appearing dialog window you may set the wanted parameters.
  • Page 54: Project Transfer

    32 PG/OP channels. For the connection to your PC, a MPI programming cable is to be used. The MPI programming cables are available at VIPA in different variants. The deployment of the cables is identical. The cables provide a bus enabled RS485 plug for the MPI jack of the CPU and a RS232 res.
  • Page 55 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS • Connect your PC to the MPI jack of your CPU via a MPI programming Approach transfer via MPI interface cable. • Load your project in the SIMATIC Manager from Siemens.
  • Page 56 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS The transfer of the application program from the MMC into the CPU takes Transfer → → → → CPU place depending on the file name after overall reset or PowerON. The blinking of the LED "MCC"...
  • Page 57 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS For transfer via Ethernet the CPU has an Ethernet PG/OP channel. The Transfer via Ethernet PG/OP channel supports maximally 4 PG/OP connections. Ethernet So that you may access the Ethernet PG/OP channel you have to assign Initialization IP address parameters by means of the "initialization".
  • Page 58: Operating Modes

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Operating modes The CPU can be in one of 4 operating modes: Overview • Operating mode STOP • Operating mode START-UP • Operating mode RUN • Operating mode HOLD Certain conditions in the operating modes START-UP and RUN require a specific reaction from the system program.
  • Page 59 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS The CPU gives you the opportunity to define up to 4 breakpoints for Operating mode program diagnosis. Setting and deletion of breakpoints happens in your HOLD programming environment. As soon as a breakpoint is reached, you may process your program step by step and in- and outputs can be activated.
  • Page 60 (parameterizable min. 1ms) that security stop res. execute a RESET at the CPU in case of an error and set it into a defined STOP state. The VIPA CPUs are developed function secure and have the following system properties: Event concerns Effect RUN →...
  • Page 61: Overall Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Overall reset During the overall reset the entire user memory (RAM) is erased. Data Overview located in the memory card is not affected. You have 2 options to initiate an overall reset: •...
  • Page 62 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS At this point the CPU attempts to reload the parameters and the program Automatic reload from the memory card. → The MCC-LED blinks. When the reload has been completed the LED expires. The operating mode of the CPU will be STOP or RUN, depending on the position of the function selector.
  • Page 63: Firmware Update

    CPU, for example if the voltage supply is interrupted during transfer or if the firmware file is defective. In this case, please call the VIPA-Hotline! Please regard that the version of the update firmware has to be different from the existing firmware otherwise no update is executed.
  • Page 64 MMC • Click on Service > Download > Firmware Updates. • Click on "Firmware for System 300S" • Choose the CPU and download the firmware Px..zip to your PC. • Extract the zip-file and copy the extracted file to your •...
  • Page 65 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS 1. Get the RUN-STOP lever of your CPU in position STOP. Turn off the Transfer firmware voltage supply. Plug the MMC with the firmware files into the CPU. from MMC into Please take care of the correct plug-in direction of the MMC.
  • Page 66: Factory Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Factory reset With the following proceeding the internal RAM of the CPU is completely Proceeding deleted and the CPU is reset to delivery state. Please note that here also the IP address of the Ethernet PG/OP channel is set to 0.0.0.0 and the MPI...
  • Page 67: Memory Extension With Mcc

    There is the possibility to extend the work memory of the CPU. Overview For this, a MCC memory extension card is available from VIPA. The MCC is a specially prepared MMC (Multimedia Card). By plugging the MCC into the MCC slot and then an overall reset the according memory expansion is released.
  • Page 68: Extended Know-How Protection

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Extended know-how protection Besides the "standard" Know-how protection the SPEED7-CPUs from VIPA Overview provide an "extended" know-how protection that serves a secure block protection for accesses of 3. persons. Standard protection The standard protection from Siemens transfers also protected blocks to the PG but their content is not displayed.
  • Page 69 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Transfer the file protect.wld to a MMC storage module, plug the MMC into Transfer the CPU and execute an overall reset with the following approach: protect.wld to CPU with overall reset...
  • Page 70: Mmc-Cmd - Auto Commands

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS MMC-Cmd - Auto commands A command file at a MMC may be started a utomatically when the MMC is Overview stuck and the CPU is in STOP. As soon as the MMC is stuck the command file is once executed at CPU STOP up to the next PowerON.
  • Page 71 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS The structure of a command file is shown in the following. The Examples corresponding diagnostics entry is put in parenthesizes. Example 1 Marks the start of the command sequence (0xE801) CMD_START Execute an overall reset and load "proj.wld"...
  • Page 72: Vipa Specific Diagnostic Entries

    You may read the diagnostic buffer of the CPU via the Siemens SIMATIC Entries in the Manager. Besides of the standard entries in the diagnostic buffer, the VIPA diagnostic buffer CPUs support some additional specific entries in form of event-IDs.
  • Page 73 Zinfo2: Slot 0xE004 Multiple parameterization of a I/O address Zinfo1: I/O address Zinfo2: Slot 0xE005 Internal error - Please contact the VIPA-Hotline! 0xE006 Internal error - Please contact the VIPA-Hotline! 0xE007 Configured in-/output bytes do not fit into I/O area 0xE008...
  • Page 74 MMC-Cmd: Error: Reading the CMD file is faulty (MMC error) 0xE901 Check sum error 0xEA00 Internal error - Please contact the VIPA-Hotline! 0xEA01 Internal error - Please contact the VIPA-Hotline! 0xEA02 SBUS: Internal error (internal plugged sub module not recognized)
  • Page 75 SBUS: Multiple parameterization of a I/O address (Diagnostic address) Zinfo1: I/O address Zinfo2: Slot Zinfo3: Data width 0xEA15 Internal error - Please contact the VIPA-Hotline! 0xEA18 SBUS: Error at mapping of the master I/O devices Zinfo2: Master slot 0xEA19 Internal error - Please contact the VIPA-Hotline!
  • Page 76: Using Test Functions For Control And Monitoring Of Variables

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS Using test functions for control and monitoring of variables For troubleshooting purposes and to display the status of certain variables Overview you can access certain test functions via the menu item Debug of the Siemens SIMATIC Manager.
  • Page 77 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS This test function returns the condition of a selected operand (inputs, PLC > outputs, flags, data word, counters or timers) at the end of program- Monitor/Modify execution. Variables This information is obtained from the process image of the selected operands.
  • Page 78 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 314SE/DPS 4-42 HB140E - CPU - RE_314-2BG03 - Rev. 09/45...
  • Page 79: Chapter 5 Deployment Ptp Communication

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Chapter 5 Deployment PtP communication Content of this chapter is the deployment of the RS485 interface for serial Overview PtP communication. Here you’ll find every information about the protocols, the activation and project engineering of the interface, which are necessary for the serial communication using the RS485 interface.
  • Page 80: Fast Introduction

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Fast introduction The CPU has an integrated RS485 interface. The functionality of this General interface may be configured during hardware configuration by setting the operating mode of the Profibus part of the Siemens CPU (315-2AG10- 0AB00 V2.6).
  • Page 81: Principle Of The Data Transfer

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Principle of the data transfer The data transfer is handled during runtime by using SFCs. The principle of Overview data transfer is the same for all protocols and is shortly illustrated in the following.
  • Page 82: Deployment Of Rs485 Interface For Ptp

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Deployment of RS485 interface for PtP The functionality of the RS485 interface may be configured during Switch to PtP hardware configuration by setting the operating mode of the Profibus part operation of the Siemens CPU (315-2AG10-0AB00 V2.6).
  • Page 83 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Connection CPU - RS485 Periphery RxD/TxD-P (B) RxD/TxD-P (B) RxD/TxD-N (A) RxD/TxD-N (A) shield Periphery RxD/TxD-P (B) RxD/TxD-N (A) Periphery RxD/TxD-P (B) RxD/TxD-N (A) HB140E - CPU - RE_314-2BG03 - Rev. 09/45...
  • Page 84: Parameterization

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Parameterization The parameterization happens during runtime deploying the SFC 216 SFC 216 (SER_CFG). You have to store the parameters for STX/ETX, 3964R, USS (SER_CFG) and Modbus in a DB. Name...
  • Page 85 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication At ASCII protocol, this parameter is ignored. Parameter (as DB) At STX/ETX, 3964R, USS and Modbus you fix here a DB that contains the communication parameters and has the following structure for the...
  • Page 86 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication The parity is -depending on the value- even or odd. For parity control, the Parity information bits are extended with the parity bit that amends via its value ("0" or "1") the value of all bits to a defined status. If no parity is set, the parity bit is set to "1", but not evaluated.
  • Page 87: Communication

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Communication The communication happens via the send and receive blocks SFC 217 Overview (SER_SND) and SFC 218 (SER_RCV). The SFCs are included in the consignment of the CPU. This block sends data via the serial interface.
  • Page 88 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Return values of the block: RetVal SFC 217 (Error message SER_SND) Error code Description 0000h Send data - ready 1000h Nothing sent (data length 0) 20xxh Protocol executed error free with xx bit pattern for...
  • Page 89 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication ... Continue RetVal SFC 217 Error code Description SER_SND 2000h Send ready without error 8080h Receive buffer overflow (no space for receipt) 8090h Acknowledgement delay time exceeded 80F0h Wrong checksum in respond...
  • Page 90 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication The following text shortly illustrates the structure of programming a send Principles of command for the different protocols. programming 3964R USS / Modbus SFC 217 SFC 217 SER_SND SER_SND Busy ?
  • Page 91 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication This block receives data via the serial interface. SFC 218 Using the SFC 218 SER_RCV after SER_SND with the protocols USS and (SER_RCV) Modbus the acknowledgement telegram can be read.
  • Page 92 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Return values of the block: RetVal SFC 218 (Error message SER_RCV) Error code Description 0000h no error 1000h Receive buffer too small (data loss) 8x24h Error at SFC-Parameter x, with x: 1: Error at "DataPtr"...
  • Page 93: Protocols And Procedures

    The communication procedure has to be controlled by the concerning user application. An according Receive_ASCII FB may be found within the VIPA library in the service area of www.vipa.de. STX/ETX is a simple protocol with start and end ID, where STX stands for STX/ETX Start of Text and ETX for End of Text.
  • Page 94 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication The 3964R procedure controls the data transfer of a point-to-point link 3964R between the CPU and a communication partner. The procedure adds control characters to the message data during data transfer. These control characters may be used by the communication partner to verify the complete and error free receipt.
  • Page 95 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication The USS protocol (Universelle serielle Schnittstelle = universal serial interface) is a serial transfer protocol defined by Siemens for the drive and system components. This allows to build-up a serial bus connection between a superordinated master and several slave systems.
  • Page 96 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication The Modbus protocol is a communication protocol that fixes a hierarchic Modbus structure with one master and several slaves. Physically, Modbus works with a serial half-duplex connection. There are no bus conflicts occurring, because the master can only communicate with one slave at a time.
  • Page 97: Modbus - Function Codes

    0x and 1x gives you access to digital Bit areas and 3x and 4x to analog word areas. For the CPs from VIPA is not differentiating digital and analog data, the following assignment is valid: Bit area for master output data...
  • Page 98 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication With the following Modbus function codes a Modbus master can access a Overview Modbus slave: With the following Modbus function codes a Modbus master can access a Modbus slave. The description always takes place from the...
  • Page 99 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Code 01h: Read n Bits of master output area 0x Read n Bits 01h, 02h Code 02h: Read n Bits of master input area 1x Command telegram Slave address Function code...
  • Page 100 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Code 06h: Write 1 Word to master output area 4x Write 1 Word Command telegram Slave address Function code Address Value Check sum word word CRC/LRC 1 Byte 1 Byte...
  • Page 101: Modbus - Example Communication

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Modbus – Example communication The example establishes a communication between a master and a slave Outline via Modbus. The following combination options are shown: Modbus master (M) Modbus slave (S)
  • Page 102 Manual VIPA System 300S SPEED7 Chapter 5 Deployment PtP communication Master Slave CPU 31xS CPU 21xSER-1 Master Slave code/data SER_SND SER_RCV SER_RCV RetVal RetVal code SER_SND SER_SND SER_RCV data RetVal OB100: Start Start SFC 216 SFC 216 SER_CFG SER_CFG (DB: Timeout)
  • Page 103 Manual VIPA System 300S SPEED7 Chapter 6 Deployment Profibus communication Chapter 6 Deployment Profibus communication Content of this chapter is the deployment of the CPU 314SE/DPS with Overview Profibus. After short overview project engineering parameterization of the Profibus DP slave of the CPU 314SE/DPS from VIPA is shown.
  • Page 104: Chapter 6 Deployment Profibus Communication

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment Profibus communication Overview Profibus is an international standard applicable to an open and serial field Profibus-DP bus for building, manufacturing and process automation that can be used to create a low (sensor-/actuator level) or medium (process level) performance network of programmable logic controllers.
  • Page 105: Deployment As Profibus Dp Slave

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment Profibus communication Deployment as Profibus DP slave The deployment of the Profibus section as "intelligent" DP slave happens Fast introduction exclusively at master systems that may be configured in the Siemens SIMATIC manager. The following steps are required: •...
  • Page 106 Manual VIPA System 300S SPEED7 Chapter 6 Deployment Profibus communication • Insert another SIMATIC 300 station and name it as "...DP master". Project engineering of the • Open the hardware configurator and insert a profile rail from the master section hardware catalog.
  • Page 107: Profibus Installation Guidelines

    You are able to configure the network as well linear as in a tree structure. Your VIPA CPU includes a 9pin slot where you connect the Profibus coupler into the Profibus network as a slave.
  • Page 108 In systems with more than two stations all partners are wired in parallel. bus connector For that purpose, the bus cable must be feed-through uninterrupted. Via the order number VIPA 972-0DP10 you may order the bus connector "EasyConn". This is a bus connector with switchable terminating resistor and integrated bus diagnostic.
  • Page 109 A (EN50170). Starting with release 5 you also can use highly flexible bus cable: Lapp Kabel order no.: 2170222, 2170822, 2170322. With the order no. 905-6AA00 VIPA offers the "EasyStrip" de-isolating tool that makes the connection of the EasyConn much easier.
  • Page 110 Manual VIPA System 300S SPEED7 Chapter 6 Deployment Profibus communication HB140E - CPU - RE_314-2BG03 - Rev. 09/45...
  • Page 111 In this chapter the programming and simulation software WinPLC7 from Outline ® VIPA is presented. WinPLC7 is suited for every with Siemens STEP programmable PLC. Besides the system presentation and installation here the basics for using the software is explained with a sample project.
  • Page 112: Winplc7

    You may receive a demo version from VIPA. Without any activation with Source the demo version the CPUs 11x of the System 100V from VIPA may be configured. To configure the SPEED7 CPUs a license for the "profi" version is necessary.
  • Page 113: Installation

    Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 Installation The project engineering of a SPEED7 CPU from VIPA with WinPLC7 is Preconditions only possible using an activated "Profi" version of WinPLC7. The installation and the registration of WinPLC7 has the following...
  • Page 114: Example Project Engineering

    • Save the empty station. A station name and a comment may be entered before saving. • By double click choose the according VIPA CPU in the hardware catalog at CPU SPEED7. • For output place a digital output module and assign the start address 124.
  • Page 115 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 • Open the CPU-Properties, by double clicking to the CPU at slot 2 in the Online access via Ethernet PG/OP hardware configurator. channel • Click to the button [Ethernet CP-Properties (PG/OP-channel)]. The Properties CP343 is opened.
  • Page 116 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 The PLC programming happens by WinPLC7. Close the hardware Programming of configurator and return to your project in WinPLC7. the FC 1 The PLC program is to be created in the FC 1.
  • Page 117 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 • Open in the catalog the category "Comparator" and add the operation "CMP==I" to your network. • Click to the input left above and insert value1. Since these are block parameters a selection list of block parameters may be viewed by entering "#".
  • Page 118 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 Adding a new For further comparisons the operations "CMP>I" at Q 124.1 and "CMP<I" network at Q 124.2 are necessary. Create a network for both operations with the following proceeding: • Move your mouse at an arbitrary position on the editor window and press the right mouse key.
  • Page 119 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 The FC 1 is to be called from the cycle OB 1. Creating the block • To create the OB 1 either you select File > Create new block or click to OB 1 button [Display OB 1] and create the OB 1.
  • Page 120 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 Visualization via A further component of the simulator is the PLC mask. Here a CPU is PLC mask graphically displayed, which may be expanded by digital and analog peripheral modules. As soon as the CPU of the simulator is switched to RUN state, inputs may be activated by mouse and outputs may be displayed.
  • Page 121: Appendix

    Manual VIPA System 300S SPEED7 Index Appendix A Index Firmware Info by Web page ....4-28 3964R ........... 5-16 transfer ........4-29 Update........4-27 Access options ....... 1-7 Addressing........4-4 Hardware configuration....4-10 automatically......4-5 Hardware description...... 3-1 Example........4-5 ASCII ..........
  • Page 122 Manual VIPA System 300S SPEED7 Index Error messages ..5-8, 5-10, 5-13 Fast introduction....... 5-2 Parameterization Modbus........5-18 CPU parameters..... 4-13 Parameterization ...... 5-6 Modules ........4-17 Principle data transfer ....5-3 PG/OP channel ..... 4-6, 4-21 Protocols ........ 5-15 pkg-files ........4-27 RS485 interface......

Table of Contents