VIPA System 300S SPEED7 CPU 313SC/DPM Manual

VIPA System 300S SPEED7 CPU 313SC/DPM Manual

Hide thumbs Also See for System 300S SPEED7 CPU 313SC/DPM:
Table of Contents

Advertisement

This manual is part of the documentation package
with order number VIPA HB140E_CPU_SC and relevant for:
Product
Order number
CPU 313SC/DPM
VIPA 313-6CF03
Manual
VIPA System 300S
SPEED7 - CPU SC
313-6CF03
Order No.: VIPA HB140E_CPU_SC
Reference: RE_313-6CF03
Rev. 07/45
as of state:
CPU HW
CPU FW
01
V328
DPM FW
V312

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the System 300S SPEED7 CPU 313SC/DPM and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for VIPA System 300S SPEED7 CPU 313SC/DPM

  • Page 1 SPEED7 - CPU SC 313-6CF03 Order No.: VIPA HB140E_CPU_SC Reference: RE_313-6CF03 Rev. 07/45 This manual is part of the documentation package with order number VIPA HB140E_CPU_SC and relevant for: Product Order number as of state: CPU HW CPU FW DPM FW...
  • Page 2 Lerrzeichen...
  • Page 3 Manual VIPA System 300S SPEED7 About this manual The information contained in this manual is supplied without warranties. The information is subject to change without notice. © Copyright 2007 VIPA, Gesellschaft für Visualisierung und Prozess- automatisierung mbH Ohmstraße 4, D-91074 Herzogenaurach, Tel.: +49 (91 32) 744 -0 Fax.: +49 (91 32) 744-144...
  • Page 4 Outline Chapter 1: Principles This chapter contains hints for the usage and information about the project engineering of a System 300 with the CPU 313SC/DPM from VIPA. General information like dimensions and environment conditions will also be found. Chapter 2:...
  • Page 5: Table Of Contents

    Memory extension with MCC.............. 4-36 Extended know-how protection............4-37 MMC-Cmd - Auto commands ............. 4-39 VIPA specific diagnostic entries ............4-41 Using test functions for control and monitoring of variables....4-45 HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45...
  • Page 6 Manual VIPA System 300S SPEED7 Contents Chapter 5 Deployment I/O periphery..........5-1 Overview ....................5-2 In-/Output range CPU 313SC/DPM ............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................
  • Page 7: User Considerations

    Manual VIPA System 300S SPEED7 User considerations User considerations This manual describes the SPEED7 CPU 313SC/DPM from VIPA. It Objective and contains a description of the construction, project implementation and contents usage. The manual is targeted at users who have a background in automation Target audience technology.
  • Page 8: Safety Information

    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 • operation within the environmental conditions specified in the technical data •...
  • Page 9: Chapter 1 Basics

    Chapter 1 Basics This chapter contains hints for the usage and information about the project Overview engineering of a System 300 with the CPU 313SC/DPM from VIPA. General information like dimensions and environment conditions will also be found. Content Topic...
  • 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

    • System 300V The System 300V allows you to resolve automation tasks central and decentralized. The single modules of the System 300V from VIPA are similar in construction to Siemens. Due to the compatible backplane bus, the modules from VIPA and Siemens may be mixed.
  • 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 System 300S peripherals the unit provides a powerful solution for process automation applications within the System 300 family.
  • Page 13: Cpu Applications

    Manual VIPA System 300S SPEED7 Chapter 1 Basics CPU Applications The program that is present in every CPU is divided as follows: Overview • 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 313Sc/Dpm

    1kByte for in- and output up to 125 DP slaves may be Profibus DP addressed. The project engineering takes place in WinPLC7 from VIPA or master in the hardware configurator from Siemens. Please regard there may be a delimitation of the maximum number of configurable DP slaves by the use of the Siemens SIMATIC manager.
  • Page 16 80x125x120 Weight • Available lengths of the profile rail in mm: 160, 482, 530, 830 and 2000 Modules and CPUs of the System 300 from VIPA and Siemens may be Compatibility used at the "Standard" bus as a mixed configuration.
  • 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 the System 300 and the CPU313SC/DPM.
  • 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 2tier width (WxHxD) in mm: 80 x 125 x 120 Dimensions Basic enclosure Dimensions Installation 125mm dimensions 120mm 175mm HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45...
  • Page 20: Installation

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Installation 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 System 300 there are 20- and 40pole front connectors. The Front connectors connection of the in/output periphery of the CPU happens by means of the of the in-/output 40pole front connector.
  • Page 23 Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines ... continued 20pole screw connection 40pole screw connection Push the release key at the front connector on Bolt the fixing screw of the front connector. the upper side of the module and at the same time push the front connector into the module until it locks.
  • 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 300V 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, magnetic and electromagnetic interference fields are weakened Isolation of 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: Chapter 3 Hardware Description

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Chapter 3 Hardware description Here the hardware components of the CPU 313SC/DPM are described. Overview The technical data are at the end of the chapter. Content Topic Page Chapter 3 Hardware description ............. 3-1 Properties.....................
  • Page 28: Properties

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Properties • SPEED7 technology integrated CPU 313SC/DPM 313-6CF03 ® • Instruction set compatible to STEP 7 from Siemens with access to the peripheral modules of the System 300V for the standard bus •...
  • Page 29: Structure

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Structure CPU 313SC/DPM 313-6CF03 AI5x DI8x LEDs of the integrated CPU313SC/DPM DI16x DO16x AO2x DC24V DC24V DC24V 12Bit 0,5A 1L+ 2L+ Profibus DP master LEDs of the CPU part STOP MCC slot...
  • Page 30 MMC (multimedia card) or a MMC for memory extension. The MCC can additionally be used as an external storage medium. Both VIPA storage media are pre-formatted with the PC format FAT and may be accessed via a card reader. An access to the storage media always happens after an overall reset and PowerON.
  • Page 31 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description There are 2 RS485 interfaces X2 and X3 integrated to the CPU. The RS485 interface X2 is fix set to MPI communication. interfaces X2 / X3 The functionality of the interface X3 may freely be configured. Here the functionality of this interface may be configured at the virtual SPEED-Bus by means of the parameter "Function RS485 ..."...
  • Page 32 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Profibus Using the Profibus functionality the integrated Profibus DP master is functionality connected to Profibus via RS485 interface. At master operation there is access to up to 125 DP slaves. For this the project engineering happens in the hardware configurator from Siemens.
  • Page 33: In-/Output Range Cpu 313Sc/Dpm

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description In-/Output range CPU 313SC/DPM The CPU 313SC/DPM has the following digital in- and output ranges Overview integrated in one casing: CPU 313SC/DPM • Digital Input: 16xDC 24V • Digital Output: 16xDC 24V, 0.5A •...
  • Page 34 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description CPU 313SC/DPM: Pin assignment and status indicator Assignment Connection LEDs Power supply +DC 24V DI16x DO16x DC24V DC24V LED (green) I+0.0 / Channel 0 (A)/Pulse 0,5A 1L+ 2L+ Supply voltage I+0.1 / Channel 0 (B)/Direction available for DI I+0.2 / Channel 0 HW gate...
  • Page 35: Technical Data

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Technical Data CPU 313SC/DPM Module name 313-6CF03 Dimensions and weight Dimensions W x H x D 80 x 125 x 120mm Weight 420g Voltages, Currents, Potentials Power supply (rated value) DC 24V - Permitted range 20.4 ...
  • Page 36 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description ... continue Module name 313-6CF03 Blocks see the instruction list - Size 64kByte Nesting dept - per priority class - additional levels within an error OB 2048 - Size 64kByte 2048...
  • Page 37 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description ... continue Module name 313-6CF03 Communication functions PG/OP communication Global Data communication - Number of GD circuit - Number of GD circuit Sending stations Receiving stations - Length of GD packets...
  • Page 38 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description ... continue Integrated functions Number of counters - Counter frequency max. 30kHz Programming Programming language KOP/FUP/AWL Instruction set see the instruction list Nesting levels System functions (SFC) see the instruction list...
  • Page 39 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description ... continue Digital Output 313-6CF03 Data for specific module Number of outputs Length of cable - unshielded 600m - shielded 1000m Voltages, Currents, Potentials Rated load voltage L+ DC 24V Reverse polarity protection Total current of the outputs - horizontal configuration up to 40°C...
  • Page 40 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description 3-14 HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45...
  • Page 41: Chapter 4 Deployment Cpu 313Sc/Dpm

    Memory extension with MCC.............. 4-36 Extended know-how protection............4-37 MMC-Cmd - Auto commands ............. 4-39 VIPA specific diagnostic entries ............4-41 Using test functions for control and monitoring of variables....4-45 HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45...
  • Page 42: Installation

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Installation 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 43: Start-Up Behavior

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 44: Addressing

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Addressing To provide specific addressing of the integrated in-/output periphery and Overview the installed peripheral modules, certain 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 45 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM You may access the modules with read res. write accesses to the Define addresses peripheral bytes or the process image. by hardware configuration To define addresses a hardware configuration may be used. For this, click on the properties of the according module and set the wanted address.
  • Page 46: Address Assignment

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Address assignment Input range Sub module Default Access Assignment address Byte Digital Input I+0.0 ... I+0.7 DI16/DO16 Byte Digital Input I+1.0 ... I+1.7 DInt Channel 0: Count value / Frequency value...
  • Page 47: Initialization Ethernet Pg/Op Channel

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Initialization Ethernet PG/OP channel The CPU 313SC/DPM has an integrated Ethernet PG/OP channel. This Overview channel allows you to program and remote control your CPU with up to 2 connections.
  • Page 48 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM • 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 49 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM • 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 50: Access To The Internal Web Page

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 51: Project Engineering As Cpu 313C-2Dp

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Project engineering as CPU 313C-2DP The project engineering of the CPU 313SC/DPM takes place at the Overview Siemens hardware configurator and is divided into the following parts: • Project engineering CPU 313SC/DPM as CPU 313C-2DP from Siemens (6ES7 313-6CF03-0AB0 V2.0).
  • Page 52 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM The project engineering is separated into 3 parts: Steps of the • Project engineering of the CPU project engineering • Project engineering of the plugged modules • Project engineering of the PG/OP channel •...
  • Page 53 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM For the internal Ethernet PG/OP channel you have to configure a Siemens Project engineering CP 343-1 (343-1EX11) always as last module. This may be found at the of Ethernet PG/OP...
  • Page 54: Cpu Parameterization

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM CPU parameterization Since the CPU 313SC/DPM of VIPA is to be configured as Siemens CPU Overview 313C-2DP in the Siemens hardware configurator, the parameters of the CPU 313SC/DPM may be set with "Object properties" during hardware configuration.
  • Page 55 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM The CPU does not evaluate all parameters that may be set at the hardware Supported configuration. parameters The following parameters are supported at this time: General Short description Since the CPU 313SC/DPM is configured as CPU 313C-2DP from Siemens, here the short description CPU 313C-2DP stands.
  • Page 56 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 57 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 58: Parameterization Of The Rs 485 Interface X3

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Parameterization of the RS 485 interface X3 The RS485 interface X3 of the CPU 313-6CF03 may be configured by Overview including the speedbus.gsd file. Per default the interface is preset to "Profibus DP async".
  • Page 59 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM The RS485 interfaces may be set to PtP- (point to point) or Profibus DP Function master communication respectively the behavior of synchronization RS485 X3 between DP master system and CPU may be set:...
  • Page 60 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Profibus-DP In Profibus-DP SyncInOut mode CPU and DP-Master-System are waiting SyncInOut on each other and form thereby a cycle. Here the whole cycle is the sum of the longest DP master cycle and CPU cycle.
  • Page 61: Parameterization Of Modules

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Parameterization of modules 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 62: Project Transfer

    • Transfer via MPI • Transfer via MMC • Transfer via integrated Ethernet PG/OP channel (Initialization necessary) The MPI programming cables are available at VIPA in different variants. Transfer with MPI The deployment of the cables is identical. The cables provide a bus Programming enabled RS485 plug for the MPI jack of the CPU and a RS232 res.
  • Page 63 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Approach transfer A maximum of 32 PG/OP connections is supported by MPI. The transfer via MPI via MPI takes place with the following proceeding: • Connect your PC to the MPI jack of your CPU via a MPI programming cable.
  • Page 64 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Process control After a write process on the MMC, an according ID event is written into the diagnostic buffer of the CPU. To monitor the diagnosis entries, you select PLC > Module Information in the Siemens SIMATIC Manager. Via the register "Diagnostic Buffer"...
  • Page 65 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM For the on-line access to the Ethernet PG/OP channel you have to assign Transfer via Ether- IP address parameters by means of the "initialization". net PG/OP channel (initialization After allocation the Ethernet PG/OP canal may be accessed by the IP necessary) address parameters.
  • Page 66: Operating Modes

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 67 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM The CPU offers up to 4 breakpoints to be defined for program diagnosis. Operating mode Setting and deletion of breakpoints happens in your programming HOLD environment. As soon as a breakpoint is reached, you may process your program step by step and in- and outputs can be activated.
  • Page 68 (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 69: Overall Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 70 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 71: Firmware Update

    2. Profibus DP master The latest 2 firmware versions may be found in the service area at Latest Firmware at www.vipa.de and at the ftp server at ftp.vipa.de/support/firmware. ftp.vipa.de For example the following files are necessary for the firmware update of the CPU 313-6CF03 and its components with hardware release 1: •...
  • Page 72 Sub version Firmware: Version Note! Every register of the module information dialog is supported by the VIPA CPUs. More about these registers may be found in the online help of the Siemens SIMATIC manager. 4-32 HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45...
  • Page 73 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM • Go to www.vipa.de. Load firmware and transfer it to MMC • Click on Service > Download > Firmware Updates. • Click on "Firmware for System 300S CPUs" • Choose the according modules (CPU, DPM, CP...) and download the firmware Px..zip to your PC.
  • Page 74 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 75: Factory Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 address is reset to the address 2!
  • Page 76: Memory Extension With Mcc

    Overview CPU. 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 77: Extended Know-How Protection

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM Extended know-how protection Besides the "standard" Know-how protection the CPU from VIPA provide Overview 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 78 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 79: Mmc-Cmd - Auto Commands

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM MMC-Cmd - Auto commands A command file at a MMC may be started a utomatically when the MMC is Overview plugged 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 80 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 81: 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 82 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 Internal error –...
  • Page 83 0xE8FF 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! 0xEA04 SBUS: Multiple parameterization of a I/O address Zinfo1: I/O address...
  • Page 84 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 85: Using Test Functions For Control And Monitoring Of Variables

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 86 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 313SC/DPM 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 87: Chapter 5 Deployment I/O Periphery

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Chapter 5 Deployment I/O periphery This chapter contains all information necessary for the employment of the Overview in-/output periphery of the CPU 313SC. It describes functionality, project engineering and diagnostic of the analog and digital part.
  • Page 88: Overview

    For parameterization of the digital I/O periphery and the technological functions the corresponding submodule of the CPU 313C-2DP may be used. By including the speedbus.gsd the VIPA specific parameters of the SPEED7 CPU may be set during hardware configuration. So for example the integrated RS485 interface may be parameterized.
  • Page 89: In-/Output Range Cpu 313Sc/Dpm

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery In-/Output range CPU 313SC/DPM The CPU 313SC/DPM has the following digital in- and output ranges Overview integrated in one casing: CPU 313SC/DPM • Digital Input: 16xDC 24V • Digital Output: 16xDC 24V, 0.5A...
  • Page 90 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery CPU 313SC/DPM: Pin assignment and status indicator Assignment Connection LEDs Power supply +DC 24V DI16x DO16x DC24V DC24V LED (green) I+0.0 / Channel 0 (A)/Pulse 0,5A 1L+ 2L+ Supply voltage I+0.1 / Channel 0 (B)/Direction...
  • Page 91: Address Assignment

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Address assignment Input range Sub module Default Access Assignment address Byte Digital Input I+0.0 ... I+0.7 DI16/DO16 Byte Digital Input I+1.0 ... I+1.7 DInt Channel 0: Count value / Frequency value...
  • Page 92: Digital Part

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Digital part The digital part consists of 16 input -, 16 output and 3 channels for Digital part technological functions. CPU 313SC/DPM Each of these digital input- respectively output channels shows its state via a LED.
  • Page 93 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery CPU 313SC/DPM: Pin assignment and status indicator Assignment Connection LEDs Power supply +DC 24V DI16x DO16x DC24V DC24V L2+, L3+ LED (green) Q+0.0 / Channel 0 Output 0,5A 1L+ 2L+ Supply voltage Q+0.1 / Channel 1 Output...
  • Page 94: Digital Part - Parameterization

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Digital part - Parameterization Parameters of the digital part may be set by means of the DI16/DO16 Parameter data submodule of the CPU 313C-2DP from Siemens during hardware configuration. In the following all parameters are specified, which may be used with the hardware configuration of the digital periphery.
  • Page 95: Counter - Fast Introduction

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Counter - Fast introduction The CPU 313SC/DPM has in-/outputs, which may be used for Overview technological functions respectively as standard periphery. Technological functions and standard I/O may be used simultaneously with appropriate hardware.
  • Page 96 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery The counter signal is detected and evaluated during counting operation. Preset respectively Every counter occupies one double word in the input range for the counter parameterize register. In the operating modes "single count" and "periodical count" an...
  • Page 97 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery The counter values may be read by the output parameter COUNTVAL of Read counter the SFB 47. There is also the possibility for direct access to the counter values by means of the input address of the Count submodule.
  • Page 98 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery In the following the parameters are listed which may be used for counter Parameter configuration during hardware configuration. overview Here the short description of the counter function may be found. At General Comment information about the module such as purpose may be entered.
  • Page 99 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery ... continued Parameters Description Range of value Default max. You can set the maximum frequency of the latch 30, 10, 5, 2, 1kHz 10kHz frequency: signal in fixed steps. Latch...
  • Page 100: Counter - Controlling

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Counter - Controlling The controlling of the appropriate counter is made from the user program Overview by the SFB COUNT (SFB 47). The SFB is to be called with the corresponding instance DB.
  • Page 101 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Local data only in instance DB Name Data type Address Default Comment (Instance DB) value RES00 BOOL 26.0 FALSE reserved RES01 BOOL 26.1 FALSE reserved RES02 BOOL 26.2 FALSE reserved...
  • Page 102 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery To read/write counter registers the request interface of the SFB 47 may be Counter request used. interface So that a new job may be executed, the previous job must have be finished with JOB_DONE = TRUE.
  • Page 103 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Continuous count: Permitted value range for Valid range JOB_VAL Writing counter directly -2147483647 (-2 +1) to +2147483646 (2 Writing the load value -2147483647 (-2 +1) to +2147483646 (2 Writing comparison value -2147483648 (-2...
  • Page 104: Counter - Functions

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Counter - Functions • Start the Siemens SIMATIC Manager with your project and open the Parameterization hardware configurator. • Place a profile rail. • Configure at slot 2 the corresponding CPU from Siemens CPU 31xC.
  • Page 105 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery In this operating mode, the counter counts from 0 res. from the load value. Count When the counter counts forward and reaches the upper count limit and Continuously another counting pulse in positive direction arrives, it jumps to the lower count limit and counts from there on.
  • Page 106 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery No main counting direction Count Once • The counter counts once starting with the load value. • You may count forward or backwards. • The count limits are set to the maximum count range.
  • Page 107 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Main counting direction forward • The counter counts starting with the load value. • When the counter reaches the end value –1 in positive direction, it jumps to the load value at the next positive count pulse and the gate is automatically closed.
  • Page 108 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery No main counting direction Count • The counter counts forward or backwards starting with the load value. Periodically • At over- or underrun at the count limits, the counter jumps to the according other count limit and counts from there on.
  • Page 109 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Main counting direction backwards • The counter counts backwards starting with the load value. • When the counter reaches the end value+1 in negative direction, it jumps to the load value at the next negative count pulse.
  • Page 110: Counter - Additional Functions

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Counter - Additional functions The following additional functions may be set via the parameterization for Overview every counter: • Gate function The gate function serves the start, stop and interrupt of a count function.
  • Page 111 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery The counter is controlled by the internal gate (i gate). The i gate is the Gate function result of logic operation of hardware gate (HW gate) and software gate (SW gate), where the HW gate evaluation may be deactivated by the parameterization.
  • Page 112 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Gate control How the CPU should react at opening of the SW gate may be set with the abort, parameter Gate function. The usage of the HW gate may be determined by interruption the parameter Hardware gate.
  • Page 113 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery In the CPU a comparison value may be stored that is assigned to the digital Comparator output, to the status bit "Status Comparator" STS_CMP and to the hardware interrupt. The digital output may be activated depending on the count value and comparison value.
  • Page 114 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery The hysteresis serves e.g. the avoidance of many toggle processes of the Hysteresis output and the interrupt, if the counter value is in the range of the comparison value. You may set a range of 0 to 255. The settings 0 and 1 deactivate the hysteresis.
  • Page 115 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Effect at pulse at comparison value with pulse duration Zero Counter value Hysteresis Comparison value Output: Hysteresis = 0 Hysteresis = 3 Counter value = comparison value → output is set and hysteresis activated Leave hysteresis range →...
  • Page 116 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Effect at pulse at comparison value with pulse duration not zero Counter value Hysteresis Comparison value Output: Hysteresis = 0 Hysteresis = 3 Counter value = comparison value → pulse of the parameterized duration is put out, the hysteresis is activated and the counting direction stored Leaving the hysteresis range contrary to the stored counting direction →...
  • Page 117: Counter - Diagnostic And Interrupt

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Counter - Diagnostic and interrupt The parameterization allows you to define the following trigger for a Overview hardware interrupt that may initialize a diagnostic interrupt: • Status changes at an input (at opened SW gate) •...
  • Page 118 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Via the parameterization (record set 7Fh) you may activate a global Diagnostic diagnostic interrupt for the analog and digital part. interrupt A diagnostic interrupt occurs when during a hardware interrupt execution in OB 40 another hardware interrupt is thrown for the same event.
  • Page 119 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Diagnostic interrupt Every OB 82 call causes an entry in the diagnostic buffer of the CPU processing containing error cause and module address. By using the SFC 59 you may read the diagnostic bytes.
  • Page 120 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Diagnostic The record set 1 contains the 4Byte of the record set 0 and additionally Record set 1 12Byte module specific diagnostic data. (Byte 0 ... 15) The diagnostic bytes have the following assignment: Byte Bit 7 ...
  • Page 121 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery ... continue Record set 1 Byte Bit 7 ... 0 Diagnostic interrupt due to hardware interrupt lost at... Bit 0: ... input I+1.4 Bit 1: 0 (fix) Bit 2: ... input I+1.5 Bit 3: 0 (fix) Bit 4: ...
  • Page 122 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery 5-36 HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45...
  • Page 123: Chapter 6 Deployment Ptp Communication

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication Chapter 6 Deployment PtP communication Content of this chapter is the deployment of the RS485 slot for serial PtP Overview 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.
  • Page 124: Fast Introduction

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication Fast introduction The RS485 interface X3 of the CPU 313SC/DPM may be set to PtP General communication (point-to-point) by means of a hardware configuration. The RS485 interface in PtP operation supports the serial process connection to different source or destination systems.
  • Page 125: Protocols And Procedures

    There is no reception acknowledgement. The communication procedure has to be controlled by the concerning user application. An according Receive_ASCII-FB is to find at ftp.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 126 Manual VIPA System 300S SPEED7 Chapter 6 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 127 Manual VIPA System 300S SPEED7 Chapter 6 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 128 Manual VIPA System 300S SPEED7 Chapter 6 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 129: Principals Of The Data Transfer

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication Principals of the data transfer The data transfer is handled during runtime by using SFCs. The principles Overview of data transfer are the same for all protocols and is shortly illustrated in the following.
  • Page 130: Deployment Rs485 Interface

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication Deployment RS485 interface The RS485 interface X3 of the CPU 313SC/DPM may be set to PtP Properties RS485 communication (point-to-point) by means of a hardware configuration. Parameterization and communication happens by means of SFCs. The following characteristics distinguish the RS485 interface: •...
  • Page 131: Parameterization

    Manual VIPA System 300S SPEED7 Chapter 6 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 132 Manual VIPA System 300S SPEED7 Chapter 6 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 133 Manual VIPA System 300S SPEED7 Chapter 6 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 134: Communication

    Manual VIPA System 300S SPEED7 Chapter 6 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 135 Manual VIPA System 300S SPEED7 Chapter 6 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 136 Manual VIPA System 300S SPEED7 Chapter 6 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 137 Manual VIPA System 300S SPEED7 Chapter 6 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 138 Manual VIPA System 300S SPEED7 Chapter 6 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 139 Manual VIPA System 300S SPEED7 Chapter 6 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 140 Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication 6-18 HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45...
  • Page 141 CPU 313SC 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 ended with notes to commissioning and start-up.
  • Page 142: Chapter 7 Deployment Profibus Communication

    Chapter 7 Deployment Profibus communication Manual VIPA System 300S SPEED7 Overview Profibus is an international standard applicable to an open and serial Profibus-DP fieldbus 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 143: Project Engineering Cpu With Integrated Profibus Dp Master

    For the deployment of the Profibus DP slaves of the Systems 100V, 200V and 300V from VIPA you have to include the modules into the hardware catalog by means of the GSD file from VIPA. • Create a new project System 300.
  • Page 144 "Deployment CPU 313SC/DPM". Note! If you deploy an IM153 from Siemens under a VIPA CPU 313SC/DPM, please use the "compatible" DP slave modules. These are listed in the hardware catalog under PROFIBUS-DP/Additional Field Devices/ Compatible Profibus-DP-Slaves.
  • Page 145: Deployment As Profibus Dp Slave

    Manual VIPA System 300S SPEED7 Chapter 7 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 146 Manual VIPA System 300S SPEED7 Chapter 7 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 147: Profibus Installation Guidelines

    You are able to configure the network as well linear as in a tree structure. Your VIPA CPU 31xSC includes a 9pin slot where you connect the Profibus coupler into the Profibus network as a slave.
  • Page 148 In systems with more than two stations all partners are wired in parallel. 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 149 A (EN50170). Starting with release 5 you also can use highly flexible bus cable: Lapp Kabel order no.: 2170222, 2170822, 2170322. Under the order no. 905-6AA00 VIPA offers the "EasyStrip" de-isolating tool, that makes the connection of the EasyConn much easier.
  • Page 150: Commissioning And Start-Up Behavior

    Manual VIPA System 300S SPEED7 Chapter 7 Deployment Profibus communication Commissioning and Start-up behavior In delivery the CPU is overall reset. The Profibus part is deactivated and its Start-up on LEDs are off after Power ON. delivery The DP master can be served with bus parameters by means of a Online with bus hardware configuration.
  • Page 151 Manual VIPA System 300S SPEED7 Index Appendix A Index SFB 47 ........5-14 Value ranges ......5-17 3964R ........... 6-4 Cycle time surveillance....4-28 Address assignment ....4-6, 5-5 Deployment Addressing........4-4 CPU 313SC/DPM..... 4-1 automatically......4-5 I/O periphery......5-1 Example........4-5 Profibus ........
  • Page 152 Manual VIPA System 300S SPEED7 Index Start-up behavior ....7-10 Synchronization ...... 4-19 Know-how protection ....4-37 Transfer medium ...... 7-7 Profile rail........2-2 LEDs ..........3-3 Project engineering..... 4-11 Bus extension......4-4 MCC........3-4, 4-36 Fast introduction..... 4-11 Memory extension ...... 4-36 Profibus DP master ....

This manual is also suitable for:

313-6cf03

Table of Contents