VIPA SPEED7 CPU 312-5BE13 Manual

Hide thumbs Also See for SPEED7 CPU 312-5BE13:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPEED7 CPU 312-5BE13 and is the answer not in the manual?

Questions and answers

Summary of Contents for VIPA SPEED7 CPU 312-5BE13

  • Page 1 VIPA System 300S SPEED7 - CPU SC | 312-5BE13 | Manual HB140E_CPU-SC | RE_312-5BE13 | Rev. 12/50 December 2012...
  • 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

    Memory extension with MCC.............. 4-28 Extended know-how protection............4-29 MMC-Cmd - Auto commands ............. 4-31 VIPA specific diagnostic entries ............4-33 Using test functions for control and monitoring of variables....4-38 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 4 TIA Portal - Hardware configuration - I/O modules ....... 8-5 TIA Portal - Hardware configuration - Ethernet PG/OP channel ... 8-6 TIA Portal - Include VIPA library............8-9 TIA Portal - Project transfer..............8-10 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 5: About This Manual

    Manual VIPA System 300S SPEED7 About this manual About this manual This manual describes the SPEED7 CPU 312-5BE13 from the System 300S. Here you may find every information for commissioning and operation. Overview Chapter 1: Basics This Basics contain hints for the usage and information about the project engineering of a SPEED7 system from VIPA.
  • Page 6 Chapter 8: Configuration with TIA Portal In this chapter the project engineering of the VIPA CPU in the Siemens TIA Portal is shown. The chapter only describes the basic usage of the Siemens TIA Portal together with a VIPA CPU.
  • Page 7 Manual VIPA System 300S SPEED7 About this manual The manual describes the SPEED7 CPU 312-5BE13 from VIPA. It contains Objective and a description of the construction, project implementation and usage. contents This manual is part of the documentation package with order number...
  • Page 8: Safety Information

    Safety information Safety information The SPEED7 CPU is constructed and produced for: Applications conforming with • all VIPA System 300S 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 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 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: 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 12 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 13 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 14: Cpu 312-5Be13

    The CPU is programmed in STEP 7 from Siemens. For this you may use WinPLC7 from VIPA, the SIMATIC manager or TIA Portal from Siemens. Due to the SPEED7 chipset the CPU behaves like a CPU 318. Here the instruction set of the S7-400 from Siemens is used.
  • Page 15 80x125x120 Weight • Available lengths of the profile rail in mm: 160, 482, 530, 830 and 2000 Modules and CPUs of the System 300S from VIPA and Siemens may be Compatibility used at the "Standard" bus as a mixed configuration.
  • Page 16 Manual VIPA System 300S SPEED7 Chapter 1 Basics HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • 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 300S and the CPU 312-5BE13.
  • Page 18: 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_312-5BE13 - Rev. 12/50...
  • Page 19: Assembly

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Assembly 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 20 Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Assembly possibilities horizontal assembly vertical Please regard the allowed environment temperatures: assembly • horizontal assembly: from 0 to 60°C • vertical assembly: from 0 to 40°C SLOT2 SLOT1 DCDC •...
  • 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 a 40pole front connector. 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 front connector is shown: Front connectors of the in-/output periphery • Open the front flap of the in-/output periphery of the CPU.
  • Page 23: 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 300S 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 24 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 25 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 26 Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines 2-10 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 27: Chapter 3 Hardware Description

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Chapter 3 Hardware description In this chapter the hardware components of the CPU 312-5BE13 are Overview described. The technical data are at the end of the chapter. Content Topic Page Chapter 3 Hardware description .............
  • Page 28: Properties

    Order number Description CPU 312SC VIPA 312-5BE13 MPI interface, card slot, Real-time clock, Ethernet interface for PG/OP, PtP via RS485, DI 16xDC24V / DO 8xDC 24V, 0.5A, 2 channels technological function HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 29: Structure

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Structure CPU 312SC 312-5BE13 LEDs of the CPU part CPU312SC AI5x DI8x DI16x DO8x AO2x DC24V DC24V DC24V 12Bit 0,5A 1L+ 2L+ MCC slot (lockable) LEDs of the I/O part Operating mode switch CPU...
  • Page 30 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description The CPU has an integrated power supply. The power supply has to be Power supply provided with DC 24V. For this serves the DC 24V slot, that is underneath the flap.
  • Page 31 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 32 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description A rechargeable battery is installed on every CPU 31xSC to safeguard the Battery backup for contents of the RAM when power is removed. This battery is also used to clock and RAM buffer the internal clock.
  • Page 33 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description The CPU has got LEDs on its front side. In the following the usage and the LEDs according colors of the LEDs is described. As soon as the CPU is supplied with 5V, the green PW-LED (Power) is on.
  • Page 34: In-/Output Range Cpu 312-5Be13

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

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Technical Data Note! Please consider with the configuration with the Siemens TIA Portal the number of timer and counters is limited to the maximum possible number of the corresponding Siemens CPU.
  • Page 37 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 312-5BE13 Output voltage signal "1" at min. current L+ (-0.8 V) Output voltage signal "1" at max. current L+ (-0.8 V) Output current at signal "1", rated value 0.5 A Output current, permitted range to 40°C...
  • Page 38 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 312-5BE13 Noise suppression for frequency Initial data size Technical data analog outputs Number of outputs Cable length, shielded Rated load voltage Reverse polarity protection of rated load voltage Current consumption from load voltage L+ (without load) -...
  • Page 39 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 312-5BE13 Operable communication modules LAN Status information, alarms, diagnostics Status display Interrupts Process alarm Diagnostic interrupt Diagnostic functions Diagnostics information read-out possible Supply voltage display green LED Group error display...
  • Page 40 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 312-5BE13 Global data communication Number of GD circuits, max. Size of GD packets, max. 22 Byte S7 basic communication S7 basic communication, user data per job 76 Byte S7 communication...
  • Page 41 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 312-5BE13 Number of DP slaves, max. Address range inputs, max. Address range outputs, max. User data inputs per slave, max. User data outputs per slave, max. Functionality PROFIBUS slave...
  • Page 42 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description 3-16 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 43: Chapter 4 Deployment Cpu 312-5Be13

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Chapter 4 Deployment CPU 312-5BE13 This chapter describes the deployment of the CPU 312-5BE13 with Overview 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 standard bus.
  • Page 44: Assembly

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Assembly Note! Information about assembly and cabling may be found at chapter "Assembly and installation guidelines". 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.
  • Page 45: Addressing

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Addressing To provide specific addressing of the integrated in-/output periphery and the Overview 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 46 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 47: Address Assignment

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Address assignment Input range Sub module Default- Access Assignment Address Byte Digital Input I+0.0 ... I+0.7 DI10/DO6 Byte Digital Input I+1.0 ... I+1.7 DInt Channel 0: Count value / Frequency value...
  • Page 48: Hardware Configuration - Cpu

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Hardware configuration - CPU The hardware configuration of the VIPA CPU takes place at the Siemens Requirements hardware configurator. The hardware configurator is a part of the Siemens SIMATIC Manager. It serves the project engineering.
  • Page 49: Hardware Configuration - I/O Modules

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Hardware configuration - I/O modules After the hardware configuration place the System 300 modules in the Hardware plugged sequence starting with slot 4. configuration of the modules Slot Module Parameter DIO Param : ..
  • Page 50: Hardware Configuration - Ethernet Pg/Op Channel

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Hardware configuration - Ethernet PG/OP channel The CPU 312-5BE13 has an integrated Ethernet PG/OP channel. This Overview channel allows you to program and remote control your CPU. The PG/OP channel also gives you access to the internal web page that contains information about firmware version, connected I/O devices, current cycle times etc.
  • Page 51 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Assign IP address You get valid IP address parameters from your system administrator. The parameters assignment of the IP address data happens online in the Siemens SIMATIC manager starting with version V 5.3 & SP3 with the following proceeding: •...
  • Page 52: Cpu Parameterization

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 CPU parameterization Since the CPU 312-5BE13 of VIPA is to be configured as Siemens CPU Overview 312C in the Siemens hardware configurator, the parameters of the CPU 312-5BE13 may be set with "Object properties" during hardware configuration.
  • Page 53 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Startup Startup when If the checkbox for "Startup when expected/actual configuration differ" is expected/actual deselected and at least one module is not located at its configured slot or if configuration differ another type of module is inserted there instead, then the CPU does not switch to RUN mode and remains in STOP mode.
  • Page 54 Access Error The VIPA CPU is preset such that OB 85 is not called if an I/O access error occurs and no entry is made in the diagnostic buffer either.
  • Page 55 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Cyclic interrupts Priority Here the priorities may be specified according to which the corresponding cyclic interrupt is processed. With priority "0" the corresponding interrupt is deactivated. Execution Enter the time intervals in ms, in which the watchdog interrupt OBs should be processed.
  • Page 56: Project Transfer

    PROFIBUS net. This means the same rules are valid and you use the same components for the build-up. The single participants are connected with each other via bus interface plugs and PROFIBUS cables. Per default the MPI net runs with 187.5kbaud. VIPA CPUs are delivered with MPI address 2. MPI programming The MPI programming cables are available at VIPA in different variants.
  • Page 57 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Approach transfer A maximum of 32 PG/OP connections is supported by MPI. The transfer via via MPI MPI takes place with the following proceeding: • Connect your PC to the MPI jack of your CPU via a MPI programming cable.
  • Page 58 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 The MMC (Memory Card) serves as external transfer and storage medium. Transfer via There may be stored several projects and sub-directories on a MMC storage module. Please regard that your current project is stored in the root directory and has one of the following file names: •...
  • Page 59: Access To The Internal Web Page

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Access to the internal web page The Ethernet PG/OP channel provides a web page that you may access via Access to the an Internet browser by its IP address. The web page contains information web page about firmware versions, current cycle times etc.
  • Page 60: Operating Modes

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 61 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 The CPU offers up to 3 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.
  • Page 62 (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 63: Overall Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 64 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 If there is a project S7PROG.WLD on the MMC, the CPU attempts to Automatic reload reload this project from MMC → the MCC LED is on. 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 65: 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 is different to the existing firmware otherwise no update is executed.
  • Page 66 Internal hardware version (00) Firmware version (V360) 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. • Go to www.vipa.com.
  • Page 67 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 Attention! With a firmware update an overall reset is automatically executed. If your program is only available in the load memory of the CPU it is deleted! Save your program before executing a firmware update! After the firmware update you should execute a "Set back to factory settings"...
  • Page 68: Factory Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 69: Slot For Storage Media

    Overview storage medium for applications and firmware you may use a multimedia card (MMC) or a VIPA MCC memory extension card. The MCC can additionally be used as an external storage medium. It has the PC compatible FAT16 file format.
  • Page 70: Memory Extension With Mcc

    With the SC CPU there is the possibility to extend the work memory of your 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 71: Extended Know-How Protection

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 72 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 3 Sec.
  • Page 73: Mmc-Cmd - Auto Commands

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 MMC-Cmd - Auto commands A command file at a MMC is once executed until the next PowerON under Overview the following conditions: • CPU is in STOP and MMC is stuck •...
  • Page 74 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 75: 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 76 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 77 0xE8FF MMC-Cmd: Error: Error while reading CMD file (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 78 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 79 Pk : CPU or PROFINET-IO-Controller Zinfo1: Service ID, with which the error arose Zinfo2: Command, with which the error arose 0xEA66 Internal error - Please contact the VIPA-Hotline! 0xEA67 Error - PROFINET-IO-Controller - reading record set Pk: Error type 0: DATA_RECORD_ERROR_LOCAL...
  • Page 80: Using Test Functions For Control And Monitoring Of Variables

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 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 81 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 PLC > This test function returns the condition of a selected operand (inputs, 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 82 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 312-5BE13 4-40 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 83 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 312-5BE13. It describes functionality, project engineering and diagnostic of the analog and digital part.
  • Page 84: Overview

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Overview At the CPU 312-5BE13 the connectors for digital in-/output and Hardware technological functions are integrated to a 2tier casing. The project engineering takes place in the Siemens SIMATIC manager as Project CPU 312C from Siemens (6ES7 312-5BE03-0AB0 V2.6).
  • Page 85: In-/Output Range Cpu 312-5Be13

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery In-/Output range CPU 312-5BE13 The CPU 312-5BE13 has the following analog and digital in- and output Overview ranges integrated in one casing: CPU 312-5BE13 • Digital Input: 16xDC 24V • Digital Output: 8xDC 24V, 0.5A...
  • Page 86 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery CPU 312-5BE13: Pin assignment and status indicator Assignment Connection LEDs Power supply +DC 24V DI16x DO8x DC24V DC24V 1L1+ I+0.0 / Channel 0 (A)/Pulse 0,5A 1L+ 2L+ LED (green) I+0.1 / Channel 0 (B)/Direction Supply voltage I+0.2 / Channel 0 HW gate...
  • Page 87: 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 DI10/DO6 Byte Digital Input I+1.0 ... I+1.7 DInt Channel 0: Count value / Frequency value...
  • Page 88: Digital Part

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Digital part The digital part consists of 16 input -, 8 output channels and 2 channels for Digital part technological functions. Each of these digital input- respectively output CPU 312-5BE13 channels show its state via a LED.
  • Page 89 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery CPU 312-5BE13: Pin assignment and status indicator Assignment Connection LEDs Power supply +DC 24V DI16x DO8x DC24V DC24V 2L2+ Q+0.0 / Channel 0 Output 0,5A 1L+ 2L+ LED (green) Q+0.1 / Channel 1 Output Supply voltage Q+0.2...
  • Page 90: 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 DI10/DO6 Parameter data submodule of the CPU 312C 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 91: Counter - Fast Introduction

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Counter - Fast introduction The CPU 312-5BE13 has in-/outputs, which may be used for technological Overview functions respectively as standard periphery. Technological functions and standard I/O may be used simultaneously with appropriate hardware.
  • Page 92: Chapter 5 Deployment I/O Periphery

    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 93 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 94: Overview

    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 95 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 10, 5, 2, 1kHz 10kHz frequency: signal in fixed steps. Latch Signal The count and direction signals are connected to the •...
  • Page 96: 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 97 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 98 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 99 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 100: 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 101 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 102 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 103 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 104 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 105 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 106: 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 107 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 108 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 109 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 110 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 111 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 (1) Counter value = comparison value → output is set and hysteresis activated (2) Leave hysteresis range →...
  • Page 112 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 (1) Counter value = comparison value → pulse of the parameterized duration is put out, the hysteresis is activated and the counting direction stored (2) Leaving the hysteresis range contrary to the stored counting direction →...
  • Page 113: Frequency Measurement

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Frequency measurement In this operating mode the CPU counts the incoming pulses during a Overview specified integration time and outputs them as frequency value. You can set a value for the integration time between 10ms an 10000ms, in steps of 1 ms.
  • Page 114 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery For frequency measurement, connect your signal to be measured at input B. Inputs for the frequency Channel 0: Pin 3 measurement Channel 1: Pin 6 CPU 312-5BE13: Pin assignment and status indicator...
  • Page 115 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery In the following the parameters are listed which may be used for frequency Parameter measurement configuration during hardware configuration. overview Parameters, which are not listed here, are ignored by the CPU.
  • Page 116 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery The SFB FREQUENC (SFB 48) should cyclically be called (e.g. OB 1) for Controlling the controlling the frequency measurement. The SFB is to be called with the frequency corresponding instance DB. Here the parameters of the SFB are stored.
  • Page 117 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery To read/write the registers of the frequency meter the request interface of Frequency meter the SFB 48 may be used. request interface So that a new job may be executed, the previous job must have be finished with JOB_DONE = TRUE.
  • Page 118: Pulse Width Modulation - Pwm

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Pulse width modulation - PWM With the pulse width modulation (PWM) by presetting of time parameters Overview the CPU evaluates a pulse sequence with according pulse/break ratio and issues it via the according output channel.
  • Page 119 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery • Start the Siemens SIMATIC Manager with your project and open the Parameterization hardware configurator. • Place a profile rail. • Configure at slot 2 the Siemens CPU 312C (6ES7 312-5BE03-0AB0 V2.6).
  • Page 120 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Pulse width The following parameters are relevant for pulse width modulation. modulation Parameters, which are not listed here, are ignored by the CPU. Period duration ON delay Pulse duration Pulse pause Output format Here select the range of values of the output value.
  • Page 121 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery The SFB PULSE (SFB 49) should cyclically be called (e.g. OB 1) for Controlling the controlling the frequency measurement. The SFB is to be called with the pulse width corresponding instance DB. Here the parameters of the SFB are stored.
  • Page 122 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery To read/write the registers of the pulse width modulation the request Pulse width interface of the SFB 49 may be used. modulation So that a new job may be executed, the previous job must have be finished Request interface with JOB_DONE = TRUE.
  • Page 123 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Channel no. not If you have preset a CHANNEL number greater than 3, the error "Channel valid (8009h) and no. not valid" (8009h) is reported. if you have preset a CHANNEL number Parameter error greater than the maximum channel number of the CPU, "Parameter error"...
  • Page 124: Diagnostic And Interrupt

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Diagnostic and interrupt The parameterization allows you to define the following trigger for a Overview hardware interrupt that may initialize a diagnostic interrupt • Edge at a digital input Counter function •...
  • Page 125 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Local double word 8 Local byte Bit 7 ... Bit 0 of OB 40 Bit 0: Edge at I+0.0 Bit 1: Edge at I+0.1 at frequency Bit 2: Edge at I+0.2 measurement Bit 3: Edge at I+0.3...
  • Page 126 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. interrupt A diagnostic interrupt occurs when during a hardware interrupt execution in OB 40 another hardware interrupt is thrown for the same event. The...
  • Page 127 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 128 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. at counter function The diagnostic bytes have the following assignment: Byte Bit 7 ...
  • Page 129 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Byte Bit 7 ... Bit 0 Diagnostic interrupt due to hardware interrupt lost at... Bit 0: ... Gate Counter 0 closed Bit 1: 0 (fix) Bit 2: ... Gate Counter 0 open Bit 3: 0 (fix) Bit 4: ...
  • Page 130 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery Byte Bit 7 ... Bit 0 Diagnostic interrupt due to hardware interrupt lost at... Bit 0: ... input I+0.0 Bit 1: 0 (fix) Bit 2: ... input I+0.1 Bit 3: 0 (fix) Bit 4: ...
  • Page 131 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. at pulse width The diagnostic bytes have the following assignment:...
  • Page 132 Manual VIPA System 300S SPEED7 Chapter 5 Deployment I/O periphery 5-50 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 133 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 134: Fast Introduction

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication Fast introduction The CPU 312-5BE13 has a RS485 interface X3, which is fix set to PtP General communication (point-to-point). This supports serial process connection to different source or destination systems.
  • Page 135: 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 136: Deployment Rs485 Interface

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication Deployment RS485 interface The RS485 interface from the CPU is fix set to PtP communication. Overview Parameterization and communication happens by means of SFCs. The following characteristics distinguish the RS485 interface:...
  • Page 137: Chapter 6 Deployment Ptp Communication

    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 138 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 139 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 140: 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 141 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 142 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 143 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 144 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 145 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 146: Protocols And Procedures

    The communication procedure has to be controlled by the concerning user application. An according Receive_ASCII FB may be found in the service area of www.vipa.com. 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 147 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 148 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 149 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 150: 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 151 Manual VIPA System 300S SPEED7 Chapter 6 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 152 Manual VIPA System 300S SPEED7 Chapter 6 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 153 Manual VIPA System 300S SPEED7 Chapter 6 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 1Byte 1Byte 1Word 1Word...
  • Page 154: Modbus - Example Communication

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication Modbus - Example communication The example establishes a communication between a master and a slave Overview via Modbus. The following combination options are shown: Modbus master (M) Modbus slave (S)
  • Page 155 Manual VIPA System 300S SPEED7 Chapter 6 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 156 Manual VIPA System 300S SPEED7 Chapter 6 Deployment PtP communication 6-24 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 157: Chapter 7 Winplc7

    In this chapter the programming and simulation software WinPLC7 from Overview ® 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 158: 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 159: 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 160: Example Project Engineering

    "VIPA SPEED7" and click to [Create]. A new station is created. • Save the empty station. • By double click or drag&drop the according VIPA CPU in the hardware catalog at CPU SPEED7 the CPU is inserted to your configuration.
  • Page 161 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 162 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 163 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 Enter the program As requested in the job definition, the corresponding output is activated depending on the comparison of value1 and value2. For each comparison operation a separate network is to be created.
  • Page 164 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 The allocation to the corresponding output, here Q 124.0, takes place with the following proceeding: • Click to the output at the right side of the operator. • Open in the catalog the category "Bit logic" and select the function "--[=]".
  • Page 165 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 After you have programmed the still missing networks, the FC 1 has the following structure: HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 166 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 The FC 1 is to be called from the cycle OB 1. Creating the block • Go to OB1, which was automatically created with starting the project. OB 1 • Go to "Project content" or to "Solution" and open the OB1 by a double click.
  • Page 167 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 168 Manual VIPA System 300S SPEED7 Chapter 7 WinPLC7 7-12 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...
  • Page 169 Chapter 8 Configuration with TIA Portal Chapter 8 Configuration with TIA Portal In this chapter the project engineering of the VIPA CPU in the Siemens TIA Overview Portal is shown. The chapter only describes the basic usage of the Siemens TIA Portal together with a VIPA CPU.
  • Page 170: Chapter 8 Configuration With Tia Portal

    TIA Portal - Work environment TIA is the abbreviation for Totally integrated Automation from Siemens. General Here your VIPA PLCs may be configured and linked. For diagnostics online tools are available. Note! Information about the Siemens TIA Portal may be found in the online help respectively in the according online documentation.
  • Page 171 Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal Basically, the TIA Portal has the following 2 views. With the button on the Work environment left below you can switch between these views: of the TIA Portal The Portal view provides a "task oriented" view of the tools for processing Portal view your project.
  • Page 172: Tia Portal - Hardware Configuration - Cpu

    Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal TIA Portal - Hardware configuration - CPU To be compatible with the Siemens TIA Portal the VIPA CPU is to be General configured as CPU 312C (6ES7 312-5BE03-0AB0 V2.6) from Siemens.
  • Page 173: Tia Portal - Hardware Configuration - I/O Modules

    Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal TIA Portal - Hardware configuration - I/O modules After the hardware configuration of the CPU place the System 300 Hardware modules at the bus in the plugged sequence. For this drag&drop the...
  • Page 174: Tia Portal - Hardware Configuration - Ethernet Pg/Op Channel

    Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal TIA Portal - Hardware configuration - Ethernet PG/OP channel The CPU has an integrated Ethernet PG/OP channel. This channel allows Overview you to program and remote control your CPU.
  • Page 175 Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal Assign IP address You get valid IP address parameters from your system administrator. The parameters assignment of the IP address data happens online in the Siemens TIA Portal with the following proceeding: •...
  • Page 176 Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal • Start the Siemens TIA Portal. Take IP address parameters in • Configure in the Device configuration the according Siemens CPU. project • Configure the system 300 modules. • For the Ethernet PG/OP channel you have to configure a Siemens CP 343-1 (6GK7 343-1EX11 0XE0) always as last module after the really plugged modules.
  • Page 177: Tia Portal - Include Vipa Library

    Overview library at the service area with Downloads > VIPA LIB. The library is available as packed zip-file. If you want to use VIPA specific blocks, you have to import the library into your project. Execute the following steps: • Extract FX000016_Vxxx.zip •...
  • Page 178: Tia Portal - Project Transfer

    • Transfer via MPI • Transfer via Ethernet • Transfer via MMC Currently the VIPA programming cables for transfer via MPI are not Transfer via MPI supported. This is only possible with the programming cable from Siemens. Information may be found in the corresponding documentation.
  • Page 179 Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal The MMC (Memory Card) serves as external transfer and storage medium. Transfer via There may be stored several projects and sub-directories on a MMC storage module. Please regard that your current project is stored in the root directory and has one of the following file names: •...
  • Page 180 Manual VIPA System 300S SPEED7 Chapter 8 Configuration with TIA Portal 8-12 HB140E - CPU SC - RE_312-5BE13 - Rev. 12/50...

This manual is also suitable for:

System 300s

Table of Contents