Download Print this page

Advertisement

Quick Links

VIPA System 300S
SPEED7 - CPU | 315-4NE12 | Manual
HB140E_CPU | RE_315-4NE12 | Rev. 12/06
February 2012

Advertisement

loading
Need help?

Need help?

Do you have a question about the System 300S SPEED7 - CPU 315-4NE12 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 315-4NE12

  • Page 1 VIPA System 300S SPEED7 - CPU | 315-4NE12 | Manual HB140E_CPU | RE_315-4NE12 | Rev. 12/06 February 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

    Hardware configuration - CPU.............. 4-5 Hardware configuration - I/O modules ..........4-6 Hardware configuration - Ethernet PG/OP channel ......4-7 Setting standard CPU parameters............4-9 Setting VIPA specific CPU parameters..........4-16 Project transfer................... 4-21 Access to the internal Web page............4-25 Operating modes................4-27 Overall reset..................
  • Page 4 Manual VIPA System 300S SPEED7 Contents Chapter 6 Deployment PROFIBUS communication ....... 6-1 Overview ....................6-2 Fast introduction................... 6-3 Hardware configuration - CPU.............. 6-4 Deployment as PROFIBUS DP master ..........6-5 Deployment as PROFIBUS DP slave ........... 6-6 PROFIBUS installation guidelines ............6-8 Commissioning and Start-up behavior..........
  • Page 5: About This Manual

    PROFIBUS. After a short overview the project engineering and parameterization of a CPU 315-4NE12 with integrated PROFIBUS-Part from VIPA is shown. Further you get information about usage as DP master and DP slave of the PROFIBUS part. The chapter is ending with notes to Commissioning and Start-up behavior.
  • Page 6 Manual VIPA System 300S SPEED7 About this manual This manual describes the System 300S SPEED7 CPU 315-4NE12 from Objective and VIPA. It contains a description of the construction, project implementation contents and usage. This manual is part of the documentation package with order number...
  • Page 7: Safety Information

    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 8 Manual VIPA System 300S SPEED7 Safety information HB140E - CPU - RE_315-4NE12 - Rev. 12/06...
  • Page 9: Chapter 1 Basics

    Chapter 1 Basics These 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 315-4Ne12

    WinPLC7 from VIPA or via the Siemens SIMATIC Manager. Here the instruction set of the S7-400 from Siemens is used. Modules and CPUs of the System 300S from VIPA and Siemens may be used at the bus as a mixed configuration.
  • Page 15 Manual VIPA System 300S SPEED7 Chapter 1 Basics The CPU has an integrated memory. Information about the capacity Memory (min. capacity ... max capacity) of the memory may be found at the front of management the CPU. The memory is divided into the following 3 parts: •...
  • Page 16 Manual VIPA System 300S SPEED7 Chapter 1 Basics HB140E - CPU - RE_315-4NE12 - Rev. 12/06...
  • 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 every information, required for the installation Overview and the cabling of a process control with the components of the System 300S with a CPU 315-4NE12.
  • 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 - RE_315-4NE12 - Rev. 12/06...
  • Page 19: Assembly Standard Bus

    Manual VIPA System 300S SPEED7 Chapter 2 Assembly and installation guidelines Assembly standard bus 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 waagrechter Aufbau senkrechter Please regard the allowed environment temperatures: Aufbau • 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 Danger! • The power supplies must be released before installation and repair tasks, i.e. before handling with the power supply or with the cabling you must disconnect current/voltage (pull plug, at fixed connection switch off the concerning fuse)! •...
  • Page 22: 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 23 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 24 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 25: Chapter 3 Hardware Description

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Chapter 3 Hardware description Here the hardware components of the CPU 315-4NE12 are described. Overview The technical data are at the end of the chapter. Content Topic Page Chapter 3 Hardware description............3-1 Properties.....................
  • Page 26: Properties

    FRCE STOP MRES VIPA 315-4NE12 DC 24V Ordering data Type Order number Description 315SN/NET VIPA 315-4NE12 MPI interface, card slot, real time clock, Ethernet interface for PG/OP, PROFIBUS DP master, CP 343 HB140E - CPU - RE_315-4NE12 - Rev. 12/06...
  • Page 27: Structure

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Structure CPU 315SN/NET 315-4NE12 LEDs of the integrated PB-M CPU 315SN PROFIBUS DP master Storage media slot STOP LEDs of the CPU part Operating mode switch CPU FRCE The following components...
  • Page 28 Modbus-Master (ASCII, RTU) . The activation of the PtP functionality happens by embedding the SPEEDBUS.GSD from VIPA in the hardware catalog. After the installation the CPU may be configured in a PROFIBUS master system and here the interface may be switched to PtP communication.
  • Page 29 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 30 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 PWR-LED is on.
  • Page 31 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Dependent on the mode of operation the LEDs show information about the LEDs state of operation of the PROFIBUS part according to the following pattern: PROFIBUS/PtP interface X3 Master operation Meaning...
  • Page 32: Technical Data

    Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Technical Data Order number 315-4NE12 Type CPU 315SN/NET SPEED-Bus Technical data power supply Power supply (rated value) DC 24 V Power supply (permitted range) DC 20.4...28.8 V Reverse polarity protection Current consumption (no-load operation)
  • Page 33 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 315-4NE12 Time Real-time clock buffered Clock buffered period (min.) Accuracy (max. deviation per day) 10 s Number of operating hours counter Clock synchronization Synchronization via MPI Master/Slave Synchronization via Ethernet (NTP)
  • Page 34 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 315-4NE12 Functionality PROFIBUS master PG/OP channel Routing S7 basic communication S7 communication S7 communication as server S7 communication as client Equidistance support Isochronous mode SYNC/FREEZE Activation/deactivation of DP slaves...
  • Page 35 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description Order number 315-4NE12 Functionality RJ45 interfaces Type Type of interface Ethernet 10/100 MBit Connector RJ45 Electrically isolated PG/OP channel Productive connections Type Type of interface Ethernet 10/100 MBit Connector RJ45 Electrically isolated...
  • Page 36 Manual VIPA System 300S SPEED7 Chapter 3 Hardware description 3-12 HB140E - CPU - RE_315-4NE12 - Rev. 12/06...
  • Page 37: Chapter 4 Deployment Cpu 315-4Ne12

    Hardware configuration - I/O modules ..........4-6 Hardware configuration - Ethernet PG/OP channel ......4-7 Setting standard CPU parameters............4-9 Setting VIPA specific CPU parameters..........4-16 Project transfer................... 4-21 Access to the internal Web page ............4-25 Operating modes................4-27 Overall reset..................
  • Page 38: Assembly

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 39: Addressing

    IM 361 from Siemens at slot 3. Considering the max total current with the CPU 315-4NE12 from VIPA up to 32 modules may be arranged in a row. Here the installation of the line connections IM 360/361 from Siemens is not required.
  • Page 40 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 41: Hardware Configuration - Cpu

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 42: Hardware Configuration - I/O Modules

    IM 361 from Siemens at slot 3. Considering the max total current with the VIPA SPEED7 CPUs up to 32 modules may be arranged in a row. Here the installation of the line connections IM 360/361 from Siemens is not required.
  • Page 43: Hardware Configuration - Ethernet Pg/Op Channel

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 Hardware configuration - Ethernet PG/OP channel The CPU 315-4NE12 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 44 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 45: Setting Standard Cpu Parameters

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 Setting standard CPU parameters Since the CPU from VIPA is to be configured as Siemens CPU 318-2 (CPU Parameterization 318-2AJ00 V3.0) in the Siemens hardware configurator, the standard via Siemens parameters of the VIPA CPU may be set with "Object properties"...
  • Page 46 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 differs another type of module is inserted there instead, then the CPU does not switch to RUN mode and remains in STOP mode.
  • Page 47 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 48 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 Time-of-day interrupts Priority Here the priorities may be specified according to which the time-of-day interrupt is processed. With priority "0" the corresponding OB is deactivated. Active Activate the check box of the time-of-day interrupt OBs if these are to be automatically started on complete restart.
  • Page 49 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 Diagnostics/Clock Report cause of Activate this parameter, if the CPU should report the cause of STOP to PG STOP respectively OP on transition to STOP. Number of Here the number of diagnostics are displayed, which may be stored in the messages in the diagnostics buffer (circular buffer).
  • Page 50 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 The properties dialog of the PROFIBUS part is opened via a double click to Parameter for DP the sub module DP. General Short description Here the short description "DP" for PROFIBUS DP is specified.
  • Page 51 At Name "MPI/DP" for the MPI interface is shown. If you change the name, the new name appears in the Siemens SIMATIC manager. Type Please regard only the type "MPI" is supported by the VIPA CPU. Interface Here the MPI address is shown.
  • Page 52: Setting Vipa Specific Cpu Parameters

    • Priority OB 28, OB 29, OB 33, OB 34 • Execution OB 33, OB 34 • Phase offset OB 33, OB 34 Since the VIPA specific CPU parameters may be set, the installation of the Requirements SPEEDBUS.GSD from VIPA in the hardware catalog is necessary.
  • Page 53 343-1EX11 • For the slave system set the PROFIBUS address 100. Ethernet-PG/OP 343-1EX11 • Configure at slot 0 the VIPA CPU 315-4NE12 of the (interner CP) hardware catalog from VIPA_SPEEDbus. • By double clicking the placed CPU 315-4NE12 the always as last module properties dialog of the CPU may be opened.
  • Page 54 Due to the asynchronism of CPU and DP master the whole system gets relatively high response times. The synchronization behavior between every VIPA PROFIBUS DP master and the CPU may be configured by means of a hardware configuration as shown above.
  • Page 55 VIPA PROFIBUS DP master system. SyncIn Here the CPU cycle depends on the VIPA DP master with the longest cycle time. If the CPU gets into RUN it is synchronized with each PROFIBUS DP master.
  • Page 56 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 By presetting the PROFIBUS bus parameters within the hardware Token Watch configuration a token time for the PROFIBUS results. The token time defines the duration until the token reaches the DP master again.
  • Page 57: 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 58 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 • Connect your PC to the MPI jack of your CPU via a MPI programming Approach transfer via MPI interface cable. • Load your project in the SIMATIC Manager from Siemens.
  • Page 59 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 For transfer via Ethernet the CPU has the following interface: Transfer via • X5: Ethernet PG/OP channel Ethernet So that you may access the Ethernet PG/OP channel you have to assign IP Initialization address parameters by means of the "initialization"(see "hardware...
  • Page 60 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 61: Access To The Internal Web Page

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 62 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 ... continue Slot 206 (CP 343): Slot 206 Name, firmware version, package VIPA 343-1EX71 V2.2.7 Px000058.pkg, Information for support SUPPORTDATA : Bb000165 V2270, AB000060 V0320 PRODUCT V2270, Hx000003 V1400 ModuleType ACDB0000 Address Input 1024...1039...
  • Page 63: Operating Modes

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 64 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 65 (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 66: Overall Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 67 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 68: Firmware Update

    CPU, for example if the voltage supply is interrupted during transfer or if the firmware file is defective. In this case, please call the VIPA-Hotline! Please regard that the version of the update firmware has to be different from the existing firmware otherwise no update is executed.
  • Page 69 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 The CPU has an integrated website that monitors information about Display the firmware version of the SPEED7 components. The Ethernet PG/OP Firmware version of the SPEED7 system channel provides the access to this web site.
  • Page 70 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 1. Switch the operating mode switch of your CPU in position STOP. Transfer firmware Turn off the voltage supply. Plug the MMC with the firmware files from MMC into into the CPU. Please take care of the correct plug-in direction of the MMC.
  • Page 71: Factory Reset

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 Factory reset With the following proceeding the internal RAM of the CPU is completely Proceeding deleted and the CPU is reset to delivery state. Please note that here also the IP address of the Ethernet PG/OP channel is set to 0.0.0.0 and the MPI...
  • Page 72: Slot For Storage Media

    Overview As external 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 73: Memory Extension With Mcc

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

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 Extended know-how protection Besides the "standard" Know-how protection the SPEED7-CPUs from VIPA Overview provide an "extended" know-how protection that serves a secure block protection for accesses of 3. persons. Standard protection The standard protection from Siemens transfers also protected blocks to the PG but their content is not displayed.
  • Page 75 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 76: Mmc-Cmd - Auto Commands

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 MMC-Cmd - Auto commands A command file at a MMC is automatically executed under the following Overview conditions: • CPU is in STOP and MMC is stuck • After each PowerON...
  • Page 77 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 78: 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 79 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 80 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 81 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 82 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 83: Using Test Functions For Control And Monitoring Of Variables

    Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 84 Manual VIPA System 300S SPEED7 Chapter 4 Deployment CPU 315-4NE12 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 85: Chapter 5 Deployment Ptp Communication

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

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for PtP communication Fast introduction Via a hardware configuration you may de-activate the PROFIBUS part General integrated to the SPEED7 CPU and thus release the RS485 interface for PtP (point-to-point) communication.
  • Page 87: Principle Of The Data Transfer

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

    RS485 X3 of the Properties. For this a hardware configuration of the CPU is required, which is described below. Since the VIPA specific CPU parameters may be set, the installation of the Requirements SPEEDBUS.GSD from VIPA in the hardware catalog is necessary.
  • Page 89 / I/O / VIPA / VIPA_SPEEDBUS. • For the slave system set the PROFIBUS address 100. Ethernet-PG/OP 343-1EX11 • Configure at slot 0 the VIPA CPU 315-4NE12 of the (interner CP) hardware catalog from VIPA_SPEEDbus. • By double clicking the placed CPU 315-4NE12 the always as last module properties dialog of the CPU may be opened.
  • Page 90 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for PtP communication • Logical states represented by voltage differences between the two cores Properties RS485 of a twisted pair cable • Serial bus connection in two-wire technology using half duplex mode •...
  • Page 91: Parameterization

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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.
  • Page 92 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 93 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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"...
  • Page 94: Communication

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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.
  • Page 95 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 96 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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...
  • Page 97 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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...
  • Page 98 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 99 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 100: Protocols And Procedures

    The communication procedure has to be controlled by the concerning user application. An according Receive_ASCII FB may be found within the VIPA library in the service area of www.vipa.de. STX/ETX is a simple protocol with start and end ID, where STX stands for STX/ETX Start of Text and ETX for End of Text.
  • Page 101 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 102 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 103 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 104: 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 105 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 106 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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...
  • Page 107 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for PtP communication Code 06h: Write 1 Word to master output area 4x Write 1 Word Command telegram Slave address Function Address Value Check sum code word word CRC/LRC 1Byte 1Byte...
  • Page 108: Modbus - Example Communication

    Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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 109 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for 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...
  • Page 110 Manual VIPA System 300S SPEED7 Chapter 5 Deployment RS485 for PtP communication 5-26 HB140E - CPU - RE_315-4NE12 - Rev. 12/06...
  • Page 111 Content of this chapter is the deployment of the CPU 315-4NE12 with Overview PROFIBUS. After a short overview the project engineering and parameteri- zation of a CPU 315-4NE12 with integrated PROFIBUS-Part from VIPA is shown. Further you get information about usage as DP master and DP slave of the PROFIBUS part.
  • Page 112 Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication Overview PROFIBUS is an international standard applicable to an open and serial PROFIBUS DP field bus for building, manufacturing and process automation that can be used to create a low (sensor-/actuator level) or medium (process level) performance network of programmable logic controllers.
  • Page 113: Chapter 6 Deployment Profibus Communication

    Information about transferring a project may be found at chapter "Deployment CPU ..." at "Project transfer". Note To be compatible to the Siemens SIMATIC manager, the CPU 315-4NE12 from VIPA is to be configured as CPU 318-2 (318-2AJ00-0AB00 V3.0) The integrated PROFIBUS DP master (X3) is to be configured and connected via the sub module X2 (DP).
  • Page 114 Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication 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 115: Deployment As Profibus Dp Master

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication Deployment as PROFIBUS DP master • The hardware configuration described before was established. Precondition • Open the properties dialog of the DP interface of the CPU by means of Proceeding a double-click at DP.
  • Page 116: Deployment As Profibus Dp Slave

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication Deployment as PROFIBUS DP slave In the following the deployment of the PROFIBUS section as "intelligent" Fast introduction DP slave on master system is described, which exclusively may be configured in the Siemens SIMATIC manager.
  • Page 117 Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication • Insert another station and configure a CPU. Project engineering of the • Designate the station as "...DP master". master section • Add your modules according to the real hardware assembly.
  • Page 118: Profibus Installation Guidelines

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication PROFIBUS installation guidelines • A PROFIBUS DP network may only be built up in linear structure. PROFIBUS in general • PROFIBUS DP consists of minimum one segment with at least one master and one slave.
  • Page 119 In PROFIBUS all participants are wired parallel. For that purpose, the bus bus connector cable must be feed-through. 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 120 A (EN50170). Starting with release 5 you also can use highly flexible bus cable: Lapp Kabel order no.: 2170222, 2170822, 2170322. With the order no. 905-6AA00 VIPA offers the "EasyStrip" de-isolating tool that makes the connection of the EasyConn much easier.
  • Page 121: Commissioning And Start-Up Behavior

    Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication Commissioning and Start-up behavior In delivery the CPU is overall reset. The PROFIBUS part is deactivated and Start-up on its 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 122 Manual VIPA System 300S SPEED7 Chapter 6 Deployment PROFIBUS communication Dependent on the mode of operation the LEDs show information about the LEDs state of operation of the PROFIBUS part according to the following pattern: PROFIBUS/PtP interface X3 Master operation...
  • Page 123 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Chapter 7 Deployment Ethernet communication In this chapter the communication via Ethernet is described. Please regard Overview the chapter "Fast introduction" where you will find every information compressed required for the project engineering of the CPU 315-4NE12 with CP 343.
  • Page 124 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Basics - Industrial Ethernet in automation The flow of information in a company presents a vast spectrum of Overview requirements that must be met by the communication systems. Depending on the area of business the bus system or LAN must support a different number of users, different volumes of data must be transferred and the intervals between transfers may vary, etc.
  • Page 125 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Basics - ISO/OSI reference model The ISO/OSI reference model is based on a proposal that was developed Overview by the International Standards Organization (ISO). This represents the first step towards an international standard for the different protocols. It is referred to as the ISO-OSI layer model.
  • Page 126 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Bit communication layer (physical layer) Layers Layer 1 The bit communication layer (physical layer) is concerned with the transfer of data bits via the communication channel. This layer is therefore...
  • Page 127 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Session layer Layers Layer 5 continued... The session layer is also called the communication control layer. It relieves the communication between service deliverer and the requestor by establishing and holding the connection if the transport system has a short time fail out.
  • Page 128 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Basics - Terms A network res. LAN (Local Area Network) provides a link between different Network (LAN) stations that enables them to communicate with each other. Network stations consist of PCs, IPCs, TCP/IP adapters, etc.
  • Page 129 • The acknowledgement of the data transfer is established from the partner station at level 7 of the ISO/OSI reference model. • At the PLC side FB/SFB VIPA handling blocks are necessary for data transfer for the Siemens S7 connections.
  • Page 130 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication TCP/IP protocols are available on all major systems. At the bottom end this TCP/IP applies to simple PCs, through to the typical mini-computer up to mainframes. For the wide spread of Internet accesses and connections, TCP/IP is often used to assemble heterogeneous system pools.
  • Page 131 2000...65535. Partner and local ports may only be identical at one connection. • Not depending on the used protocol, the PLC needs the VIPA handling blocks AG_SEND (FC 5) and AG_RECV (FC 6) for data transfer.
  • Page 132 TSAPs (Transport Service Access Point). • The data transfer is made by the services SEND/RECEIVE and FETCH/WRITE. • Independent on the used protocol, the PLC needs the VIPA handling blocks AG_SEND (FC 5) and AG_RECV (FC 6) for data transfer. Deployment of ISO...
  • Page 133 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication In the open communication the communication takes place via the user Open program by means of handling blocks. These blocks are part of the communication Siemens SIMATIC Manager. You will find these in the "Standard Library" at "Communication Blocks".
  • Page 134 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Basics - IP address and subnet Industrial Ethernet exclusively supports IPv4. At IPv4 the IP address is a IP address 32Bit address that must be unique within the network and consists of 4 structure numbers that are separated by a dot.
  • Page 135 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication For IPv4 addresses there are five address formats (class A to class E) that Address classes are all of a length of 4byte = 32bit. Class A 0 Network-ID Host-ID (24bit)
  • Page 136 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Basics - MAC address and TSAP There is a unique MAC address (Media Access Control) necessary for MAC address each CP. Usually a module is labeled with its MAC address by the manufacturer.
  • Page 137: Fast Introduction

    Information about transferring a project may be found at chapter "Deployment CPU ..." at "Project transfer". Note To be compatible to the Siemens SIMATIC manager, the CPU 315-4NE12 from VIPA is to be configured as CPU 318-2 (6ES7 318-2AJ00-0AB0)! The integrated PROFIBUS DP master (X3) is to be configured and connected via the sub module X2 (DP).
  • Page 138: Commissioning And Initialization

    Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Commissioning and Initialization • Install your System 300S with your CPU. Assembly and commissioning • Wire the system by connecting cables for voltage supply and signals • Connect your CP 343 with Ethernet.
  • Page 139: Hardware Configuration - Cpu

    Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication 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 140 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication For the internal Ethernet PG/OP channel you have to configure a Siemens Project engineering CP 343-1 (SIMATIC 300 \ CP 300 \ Industrial Ethernet \CP 343-1 \ 6GK7 Ethernet PG/OP 343-1EX11 0XE0) always as 1.
  • Page 141: Configure Connections

    "In unknown project" or via deputy objects like "Other stations" or Siemens "SIMATIC S5 Station". The communication is controlled by the user program with VIPA handling blocks. To use this blocks, configured communication connections are always necessary in the active station.
  • Page 142 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Note! Every station outside of the recent project must be configured as replacement objects like e.g. Siemens "SIMATIC S5" or "other station" or with the object "In unknown project". When creating a connection you may also choose the partner type "unspecified"...
  • Page 143 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication You receive the following graphical display for every PLC station and their PLC stations component. By selecting the single components, the context menu offers you several functions: Station This includes a PLC station with rack, CPU and communication Station 1 components.
  • Page 144 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication For the project engineering of connections, open the connection list by Projecting selecting the according CPU. Choose Insert new connection in the context connections menu: Station 1 MPI CP 318-2...
  • Page 145 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication The following connection types are available for communication: Connection types • Siemens S7 connections, Send/Receive connections (TCP, ISO-on- TCP and ISO transport) for secured data transfer of data blocks between two Ethernet stations •...
  • Page 146 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication For data transfer with Siemens S7 connections the FB/SFB VIPA handling Siemens S7 blocks are necessary; the deployment is described in the manual connection "Operation list" of your CPU. At Siemens S7 connections the communication connections are specified by a connection ID for each communication partner.
  • Page 147 Local ID The ID is the link to your PLC program. The ID must be identical to the ID of the call interface of the FB/SFB VIPA handling block. [Default] As soon as you click at [Default], the ID is reset to system generated ID.
  • Page 148 • Siemens S7-300 communication functions By integration of the function blocks FB 8 ... FB 55 from VIPA you may access the Siemens S7-300 communication functions. • Siemens S7-400 communication functions For the Siemens S7-400 communication functions the SFB 8 ... SFB 15 are to be used, which were integrated to the operating system of the CPU.
  • Page 149 More information about the deployment of the blocks may be found in the manual "Operation list" of the CPU. More about the usage of the handling blocks may be found in the manual Operation list HB00_OPL_SP7 in chapter "VIPA specific blocks". FB/SFB Label...
  • Page 150 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication At the PLC side for data transfer with these connections the VIPA handling Send/Receive blocks AG_SEND (FC 5) and AG_RECV (FC 6) are to be used. connections The following connections are Send/Receive connections: •...
  • Page 151 Block parameters Both are parameters, which are to be preset if you use the FC 5 and FC 6 (AG_SEND, AG_RECEIVE). Please always use the VIPA FCs, which you may receive from VIPA. The Addresses tab displays the relevant local and remote address Addresses information as proposed values.
  • Page 152 Here the data transfer happens by a call from your user application. The FC5 and FC6 that are part of the VIPA block library are serving as interface. This enables your control to send messages depending on process events.
  • Page 153 When the data area has been transferred without errors, "order ready without error” is returned. Note! Please regard that you may only use the SEND/RECV-FCs from VIPA in your user application for the communication with VIPA-CPs. At a change to VIPA-CPs in an already existing project, the present AG_SEND/ AG_LSEND res.
  • Page 154 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication If a block is called a second time in the user application before the data of FC call is faster the last time is already completely send res. received, the FC block...
  • Page 155 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication By means of AG_SEND the data to send are transferred to the CP. AG_SEND (FC 5) Parameter Parameter Declaration Type Description Input BOOL Activation of the sender 0: Updates DONE, ERROR and STATUS...
  • Page 156 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication The following table shows all messages that can be returned by the CP DONE, ERROR, after a SEND res. RECV command. STATUS A "-" means that this message is not available for the concerning SEND res.
  • Page 157 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication ... continue DONE ERROR STATUS Description (SEND) (RECV) 8F42h Acknowledgement delay at reading a parameter from peripheral area. 8F43h Acknowledgement delay at writing a parameter from peripheral area. 8F44h Address of the parameter to read locked in access...
  • Page 158: Configure Open Communication

    Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Configure Open Communication Connection-oriented protocols establish a (logical) connection to the Connection- communication partner before data transmission is started. And if oriented necessary they terminate the connection after the data transfer was protocols finished.
  • Page 159 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication There is thus no establishment and termination of a connection with a Connection-less remote partner. Connection-less protocols transmit data with protocol acknowledge and with no reliable guaranteed delivery to the remote partner.
  • Page 160 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Those in the following listed UTDs and FBs serve for "open Handling blocks communication" with other Ethernet capable communication partners via your user program. These blocks are part of the Siemens SIMATIC Manager. You will find these in the "Standard Library"...
  • Page 161: Ncm Diagnostic - Help For Error Diagnostic

    Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication NCM diagnostic - Help for error diagnostic This page shall help you with the error diagnostic. The following page lists Check list for a number of typical problems and their probable causes:...
  • Page 162 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication The diagnostic tool is started by Windows-START menu > SIMATIC ... Start NCM NCM S7 > Diagnostic . diagnostic The working surface of the diagnostic tool has the following structure:...
  • Page 163 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication The CP has a diagnostic buffer. This has the architecture of a ring memory Read diagnostic and may store up to 100 diagnostic messages. The NCM diagnostic allows buffer you to monitor and evaluate the CP diagnostic messages via the diagnostic object Diagnostic buffer .
  • Page 164: Coupling To Other Systems

    Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Coupling to other systems The operating mode FETCH/WRITE supported at TCP res. ISO-on-TCP Overview can be used for accesses of partner devices to the PLC system memory. To be able to use this access also for example for implementation in PC applications you have to know the telegram structure for orders.
  • Page 165 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication Note! Information about the valid range can be found at Chapter "Hardware description of the CPU". ORG identifier 05h-0Ah CPU area ORG identifier Description source/destination data source/destination data Source/destination data from/into peripheral from/into counter cells.
  • Page 166 Manual VIPA System 300S SPEED7 Chapter 7 Deployment Ethernet communication For every FETCH and WRITE the CP generates PLC header for request Structure of PLC- and acknowledgment messages. Normally the length of these headers is Header 16Bytes and have the following structure:...
  • Page 167 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 168: 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 169: Installation

    Manual VIPA System 300S SPEED7 Chapter 8 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 170: 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 171 Manual VIPA System 300S SPEED7 Chapter 8 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 172 Manual VIPA System 300S SPEED7 Chapter 8 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 173 Manual VIPA System 300S SPEED7 Chapter 8 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 174 Manual VIPA System 300S SPEED7 Chapter 8 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 175 Manual VIPA System 300S SPEED7 Chapter 8 WinPLC7 After you have programmed the still missing networks, the FC 1 has the following structure: HB140E - CPU - RE_315-4NE12 - Rev. 12/06...
  • Page 176 Manual VIPA System 300S SPEED7 Chapter 8 WinPLC7 The FC 1 is to be called from the cycle OB 1. Creating the block • Go to OB 1, which was automatically created with starting the project. OB 1 • Go to "Project content" or to "Solution" and open the OB 1 by a double click.
  • Page 177 Manual VIPA System 300S SPEED7 Chapter 8 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 178 Manual VIPA System 300S SPEED7 Chapter 8 WinPLC7 8-12 HB140E - CPU - RE_315-4NE12 - Rev. 12/06...