VIPA System 300S Manual
Hide thumbs Also See for System 300S:
Table of Contents

Advertisement

VIPA System 300S CPU
CPU | 315-2AG13 | Manual
HB140 | CPU | 315-2AG13 | GB | Rev. 14-40

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for VIPA System 300S

  • Page 1 VIPA System 300S CPU CPU | 315-2AG13 | Manual HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...
  • Page 2 VIPA GmbH Ohmstr. 4 91074 Herzogenaurach Telephone: +49 9132 744-0 Fax: +49 9132 744-1864 email: info@vipa.com Internet: www.vipa.com 315-2AG13_000_CPU 315SB/DPM,1,GB - © 2014...
  • Page 3: Table Of Contents

    VIPA System 300S CPU Table of contents Table of contents General..................6 1.1 Copyright © VIPA GmbH ........... 6 1.2 About this manual.............. 7 1.3 Safety information.............. 8 Basics..................10 2.1 Safety information for users..........10 2.2 Operating structure of a CPU........... 10 2.2.1 General.................
  • Page 4 5.17 Memory extension with MCC......... 67 5.18 Extended know-how protection........68 5.19 MMC-Cmd - Auto commands......... 69 5.20 VIPA specific diagnostic entries........71 5.21 Control and monitoring of variables with test functions.. 87 Deployment PtP communication.......... 89 6.1 Fast introduction............... 89 6.2 Principle of the data transfer..........
  • Page 5 9.3 TIA Portal - Hardware configuration - I/O modules..139 9.4 TIA Portal - Hardware configuration - Ethernet PG/OP channel................140 9.5 TIA Portal - Setting VIPA specific CPU parameters..143 9.6 TIA Portal - Include VIPA library........145 9.7 TIA Portal - Project transfer..........146...
  • Page 6: General

    General 1.1 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 agree- ments. This material is protected by the copyright laws. It may not be repro-...
  • Page 7: About This Manual

    Tel.: +49 9132 744-1150 (Hotline) EMail: support@vipa.de 1.2 About this manual Objective and contents This manual describes the SPEED7 CPU 315-2AG13 of the CPU from VIPA. It contains a description of the construction, project imple- mentation and usage. Product Order number as of state:...
  • Page 8: Safety Information

    General VIPA System 300S CPU Safety information Guide to the document The following guides are available in the manual: An overall table of contents at the beginning of the manual References with page numbers Availability The manual is available in:...
  • Page 9 VIPA System 300S CPU General Safety information CAUTION! The following conditions must be met before using or commissioning the components described in this manual: – Hardware modifications to the process control system should only be carried out when the system has been disconnected from power! –...
  • Page 10: Basics

    The CPU contains a standard processor with internal program memory. In combination with the integrated SPEED7 technology the unit provides a powerful solution for process automation applications within the System 300S family. A CPU supports the following modes of operation: cyclic operation...
  • Page 11: Applications

    VIPA System 300S CPU Basics Operating structure of a CPU > Operands Cyclic processing Cyclicprocessing represents the major portion of all the processes that are executed in the CPU. Identical sequences of operations are repeated in a never-ending cycle. Timer processing Where a process requires control signals at constant intervals you can initiate certain operations based upon a timer, e.g.
  • Page 12: Cpu 315-2Ag13

    SIMATIC Manager or TIA Portal from Siemens. 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 13 Access Please always use the CPU 317-2DP (6ES7 317-2AJ10-0AB0/V2.6) from Siemens of the hardware catalog to project this CPU from VIPA. For the project engineering, a thorough knowledge of the Siemens SIMATIC Manager and the hardware configurator from Siemens is required! Memory The CPU has an integrated memory.
  • Page 14: General Data

    PROFIBUS DP slave operation: Configuration via PROFIBUS sub module with ‘Operation mode’ Slave in the hardware configura- tion. PtP functionality: Configuration as virtual PROFIBUS master system by including the VIPA SPEEDBUS.GSD. Integrated Ethernet PG/ The CPU has an Ethernet interface for PG/OP communication. After OP channel assigning IP address parameters with your configuration tool, via the "PLC"...
  • Page 15 VIPA System 300S CPU Basics General data Conformity and approval others RoHS 2011/65/EU Product is lead-free; Restriction of the use of certain hazardous substances in electrical and electronic equipment Protection of persons and device protection Type of protection IP20 Electrical isolation...
  • Page 16 Basics VIPA System 300S CPU General data Standard Comment Emitted interfer- EN 61000-6-4 Class A (Industrial area) ence Noise immunity EN 61000-6-2 Industrial area zone B EN 61000-4-2 8kV at air discharge (degree of severity 3), 4kV at contact discharge (degree of severity...
  • Page 17: Assembly And Installation Guidelines

    VIPA System 300S CPU Assembly and installation guidelines Installation dimensions Assembly and installation guidelines 3.1 Installation dimensions Dimensions Basic 2tier width (WxHxD) in mm: 40 x 125 x 120 enclosure Dimensions Installation dimensions HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...
  • Page 18: Assembly Standard Bus

    *) Unit pack: 10 pieces Measures in mm Bus connector For the communication between the modules the System 300S uses a backplane bus connector. Backplane bus connectors are included in the delivering of the peripheral modules and are clipped at the module from the backside before installing it to the profile rail.
  • Page 19: Cabling

    VIPA System 300S CPU Assembly and installation guidelines Cabling Assembly possibilities Please regard the allowed environment temperatures: horizontal assembly: from 0 to 60°C vertical assembly: from 0 to 40°C lying assembly: from 0 to 40°C Approach Bolt the profile rail with the background (screw size: M6), so that you still have minimum 65mm space above and 40mm below the profile rail.
  • Page 20 Assembly and installation guidelines VIPA System 300S CPU Cabling CageClamp technology For the cabling of power supply of a CPU, a green plug with Cage- (green) Clamp technology is deployed. The connection clamp is realized as plug that may be clipped off carefully if it is still cabled.
  • Page 21 VIPA System 300S CPU Assembly and installation guidelines Cabling 20pole screw connec- tion 392-1AJ00 Open the front flap of your I/O module. Bring the front connector in cabling position. For this you plug the front connector on the module until it locks.
  • Page 22: Installation Guidelines

    Assembly and installation guidelines VIPA System 300S CPU Installation guidelines 40pole screw connec- tion 392-1AM00 Open the front flap of your I/O module. Bring the front connector in cabling position. For this you plug the front connector on the module until it locks.
  • Page 23 The components of VIPA are developed for the deployment in indus- trial environments and meets high demands on the EMC. Neverthe- less you should project an EMC planning before installing the compo- nents and take conceivable interference causes into account.
  • Page 24 Assembly and installation guidelines VIPA System 300S CPU Installation guidelines In special use cases you should appoint special EMC actions. – Consider to wire all inductivities with erase links. – Please consider luminescent lamps can influence signal lines. Create a homogeneous reference potential and ground all elec- trical operating supplies when possible.
  • Page 25: Hardware Description

    VIPA System 300S CPU Hardware description Properties Hardware description 4.1 Properties CPU 315-2AG13 SPEED7 technology integrated 1Mbyte work memory integrated (512kbyte code, 512kbyte data) Memory expandable to max. 2Mbyte (1Mbyte code, 1MByte data) Load memory 2Mbyte PROFIBUS DP master integrated (DP-V0, DP-V1)
  • Page 26: Structure

    Hardware description VIPA System 300S CPU Structure > Interfaces 4.2 Structure 4.2.1 General CPU 315-2AG13 1 LEDs of the integrated PROFIBUS DP master 2 Storage media slot (lockable) 3 LEDs of the CPU part 4 Operating mode switch CPU 5 Slot for DC 24V power supply...
  • Page 27 3964R, USS and 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 28: Memory Management

    As external storage medium for applications and firmware you may use a MMC storage module (Multimedia card). The VIPA storage media are pre-formatted with the PC format FAT16 and can be accessed via a card reader. After PowerON respectively an overall reset the CPU checks, if there is a storage medium with data valid for the CPU.
  • Page 29: Operating Mode Switch

    VIPA System 300S CPU Hardware description Structure > LEDs CAUTION! Please connect the CPU at least for 24 hours to the power supply, so that the internal accumulator/battery is loaded accordingly. After a power reset and with an empty battery the CPU starts with a BAT error and executes an overall reset.
  • Page 30 Hardware description VIPA System 300S CPU Structure > LEDs Meaning (RUN) (STOP) (SFAIL) (FRCE) (MMC) ● There is a system fault. More information may be found in the diagnostics buffer of the CPU. ● Variables are forced. ● Access to the memory card.
  • Page 31: Technical Data

    VIPA System 300S CPU Hardware description Technical data Meaning (RUN) (ERR) ● ○ ○ ○ Master has bus parameters and is in RUN without slaves. ● ○ ○ Master is in "clear" state (safety state). The inputs of the slaves may be read. The outputs are disabled.
  • Page 32 Hardware description VIPA System 300S CPU Technical data Order no. 315-2AG13 I²t 0.5 A²s Max. current drain at backplane bus 2.5 A Power loss Load and working memory Load memory, integrated 2 MB Load memory, maximum 2 MB Work memory, integrated...
  • Page 33 VIPA System 300S CPU Hardware description Technical data Order no. 315-2AG13 Max. data blocks size 64 KB Number range DBs 1 ... 4095 Max. local data size per execution level 1024 Byte Max. local data size per block 1024 Byte...
  • Page 34 Hardware description VIPA System 300S CPU Technical data Order no. 315-2AG13 Digital inputs 65536 Digital outputs 65536 Digital inputs central 1024 Digital outputs central 1024 Integrated digital inputs Integrated digital outputs Analog inputs 4096 Analog outputs 4096 Analog inputs, central...
  • Page 35 VIPA System 300S CPU Hardware description Technical data Order no. 315-2AG13 Type of interface RS485 Connector Sub-D, 9-pin, female Electrically isolated ü MP²I (MPI/RS232) DP master DP slave Point-to-point interface ü Functionality MPI Number of connections, max. PG/OP channel ü...
  • Page 36 Hardware description VIPA System 300S CPU Technical data Order no. 315-2AG13 User data outputs per slave, max. 244 Byte Functionality PROFIBUS slave PG/OP channel ü Routing ü S7 communication ü S7 communication as server ü S7 communication as client Direct data exchange (slave-to-slave communi-...
  • Page 37 VIPA System 300S CPU Hardware description Technical data Order no. 315-2AG13 Functionality RJ45 interfaces Type Type of interface Ethernet 10/100 MBit Connector RJ45 Electrically isolated ü PG/OP channel ü Number of connections, max. Productive connections Housing Material Mounting Rail System 300...
  • Page 38: Deployment Cpu 315-2Ag13

    Deployment CPU 315-2AG13 VIPA System 300S CPU Start-up behavior Deployment CPU 315-2AG13 5.1 Assembly Ä Chapter 3 Information about assembly and cabling: ‘Assembly and installation guidelines’ on page 17 5.2 Start-up behavior Turn on power supply After the power supply has been switched on, the CPU changes to the 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-2AG13 from VIPA up to 32 mod- ules may be arranged in a row. Here the installation of the line con- nections IM 360/361 from Siemens is not required.
  • Page 40: Hardware Configuration - Cpu

    Deployment CPU 315-2AG13 VIPA System 300S CPU Hardware configuration - CPU Automatic addressing If you do not like to use a hardware configuration, an automatic addressing comes into force. 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 - I/O Modules

    MOD, +R, -R, *R, /R) the content of ACCU 3 and ACCU 4 is loaded into ACCU 3 and 2. This may cause conflicts in applications that presume an unmodified ACCU 2. For more information may be found in the manual "VIPA Operation list SPEED7" at "Differences between SPEED7 and 300V programming".
  • Page 42: Hardware Configuration - Ethernet Pg/Op Channel

    Now you may extend your system with up to 3 profile rails by starting each with an 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 connec- tions IM 360/361 from Siemens is not required.
  • Page 43 VIPA System 300S CPU Deployment CPU 315-2AG13 Hardware configuration - Ethernet PG/OP channel Assign IP address You get valid IP address parameters from your system administrator. parameters The assignment of the IP address data happens online in the Sie- mens SIMATIC Manager starting with version V 5.3 & SP3 with the following proceeding: Start the Siemens SIMATIC Manager and set via ‘Options...
  • Page 44: Hardware Configuration - Communication

    CPU 317-2AJ10 317-2AJ10 V2.6) in the Siemens hardware configurator, the standard parameters of the VIPA CPU may be set with "Object properties" of the CPU 317-2 during hardware configuration. Via a double-click on the CPU 317-2 the parameter window of the CPU may be accessed.
  • Page 45 OB85 call up at I/O access error: The preset reaction of the CPU may be changed to an I/O access error that occurs during the update of the process image by the system. 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 46 Deployment CPU 315-2AG13 VIPA System 300S CPU Setting standard CPU parameters > Parameters CPU Number of S7 Counters from C0: Enter the number of retentive S7 counter from C0 onwards. Areas: This parameter is not supported. Interrupts Priority: Here the priorities are displayed, according to which the hardware interrupt OBs are processed (hardware interrupt, time- delay interrupt, async.
  • Page 47: Parameters For Dp

    Name: 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 48: Setting Vipa Specific Cpu Parameters

    Phase offset OB 33, OB 34 Requirements Since the VIPA specific CPU parameters may be set, the installation of the SPEEDBUS.GSD from VIPA in the hardware catalog is neces- sary. The CPU may be configured in a PROFIBUS master system and the appropriate parameters may be set after installation.
  • Page 49 (default) SPEEDBUS.GSG german SPEEDBUS.GSE english The GSD files may be found at www.vipa.com at the "Service" part. The integration of the SPEEDBUS.GSD takes place with the following proceeding: Browse to www.vipa.com Click to ‘Service è Download è GSD- and EDS-Files è...
  • Page 50: Vipa Specific Parameters

    "DP-Master". Connect the slave system "VIPA_SPEEDbus". After installing the SPEEDBUS.GSD this may be found in the hardware catalog at Profibus-DP / Additional field devices / I/O / VIPA / VIPA_SPEEDBUS. For the slave system set the PROFIBUS address 100.
  • Page 51 PROFIBUS DP SyncOut In this operating mode the cycle time of the VIPA DP master system depends on the CPU cycle time. After CPU start-up the DP master gets synchronized. As soon as their cycle is passed they wait for the next synchronization impulse with output data of the CPU.
  • Page 52 In the operating mode PROFIBUS DP SyncIn the CPU cycle is synchronized to the cycle of the VIPA PROFIBUS DP master system. 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 53: Project Transfer

    Please consider with the CPU 315-2AG13 that the total exten- sion of the MPI net does not exceed 50m. Per default the MPI net runs with 187.5kbaud. VIPA CPUs are delivered with MPI address 2. MPI programming cable The MPI programming cables are available at VIPA in different var- iants.
  • Page 54 Switch to the register Local connection. Set the COM port of the PCs and the transfer rate 38400Baud for the MPI programming cable from VIPA. Via ‘PLC è Load to module’ via MPI to the CPU and save it on a MMC via ‘PLC è...
  • Page 55: Transfer Via Ethernet

    Switch to the register Local connection. Set the COM port of the PCs and the transfer rate 38400baud for the MPI programming cable from VIPA. Transfer your project via ‘PLC è Load to module’ via PRO- FIBUS to the CPU and save it with ‘PLC è Copy RAM to ROM’...
  • Page 56: Transfer Via Mmc

    CPU. To monitor the diagnosis entries, you select ‘PLC è Module Information’ in the Siemens SIMATIC Manager. Via the register "Diagnostic Buffer" you reach the diagnosis window. Ä Chapter 5.20 ‘VIPA specific diag- Information about the event IDs nostic entries’ on page 71.
  • Page 57: Access To The Internal Web Page

    VIPA System 300S CPU Deployment CPU 315-2AG13 Access to the internal Web page 5.11 Access to the internal Web page Access to the web page The Ethernet PG/OP channel provides a web page that you may access via an Internet browser by its IP address. The web page con- tains information about firmware versions, current cycle times etc.
  • Page 58 Deployment CPU 315-2AG13 VIPA System 300S CPU Access to the internal Web page Slot 100 MCC-Trial-Time: 70:23 Remaining time in hh:mm for deactivation of the expansion memory if MCC is removed. ArmLoad [percent] : cur=67, max=70 Information for support PowerCycleHxRetries : 29, 0, 0, 0, 0...
  • Page 59: Operating Modes

    VIPA System 300S CPU Deployment CPU 315-2AG13 Operating modes > Overview 5.12 Operating modes 5.12.1 Overview The CPU can be in one of 4 operating modes: Operating mode STOP Operating mode START-UP Operating mode RUN Operating mode HALT Certain conditions in the operating modes START-UP and RUN require a specific reaction from the system program.
  • Page 60 Deployment CPU 315-2AG13 VIPA System 300S CPU Operating modes > Overview Testing in single step mode is possible with STL. If necessary switch the view via ‘View è STL’ to STL. The block must be opened online and must not be protected.
  • Page 61: Function Security

    (parametrizable min. 1ms) that 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:...
  • Page 62 Deployment CPU 315-2AG13 VIPA System 300S CPU Overall reset Overall reset by means Precondition of the operating mode The operating mode of the CPU is to be switched to STOP. For switch this switch the operating mode switch of the CPU to "STOP".
  • Page 63: Firmware Update

    Latest firmware at The latest firmware versions are to be found in the service area at www.vipa.com www.vipa.com. For example the following files are necessary for the firmware update of the CPU 315-2AG13and its components with hardware release 1: 315-2AG13, Hardware release 1: Px000166.pkg PROFIBUS-DP master: Px000062.pkg...
  • Page 64 MMC Click on ‘Service è Download è Firmware’. Navigate via ‘System 300S è CPU’ to your CPU and download the zip file to your PC. Extract the zip file and copy the extracted pkg files to your MMC.
  • Page 65: Reset To Factory Setting

    VIPA System 300S CPU Deployment CPU 315-2AG13 Reset to factory setting Turn Power OFF and ON. Now it is checked by the CPU, whether further current firmware versions are available at the MMC. If so, again the LEDs SF and FC flash after a short start- up period.
  • Page 66: Slot For Storage Media

    Deployment CPU 315-2AG13 VIPA System 300S CPU Slot for storage media The proceeding is shown in the following Illustration: After the firmware update you always should execute a Reset to factory setting. 5.16 Slot for storage media Overview At the front of the CPU there is a slot for storage media. As external storage medium for applications and firmware you may use a multi- media card (MMC).
  • Page 67: Memory Extension With Mcc

    Overview There is the possibility to extend the work memory of the 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 68: Extended Know-How Protection

    Extended know-how protection Overview Besides the "standard" Know-how protection the SPEED7-CPUs from VIPA provide an "extended" know-how protection that serves a secure block protection for accesses of 3. persons. Standard protection The standard protection from Siemens transfers also protected blocks to the PG but their content is not displayed.
  • Page 69: Mmc-Cmd - Auto Commands

    VIPA System 300S CPU Deployment CPU 315-2AG13 MMC-Cmd - Auto commands Protection behavior Protected blocks are overwritten by a new protect.wld. Using a PG 3. persons may access protected blocks but only the block header is transferred to the PG. The block code that is to be protected remains in the CPU and cannot be read.
  • Page 70 Deployment CPU 315-2AG13 VIPA System 300S CPU MMC-Cmd - Auto commands Command Description Diagnostics entry SAVE_PROJECT The recent project (blocks and hardware config- 0xE806 uration) is stored as "s7prog.wld" at the MMC.If the file just exists it is renamed to "s7prog.old".
  • Page 71: Vipa Specific Diagnostic Entries

    You may read the diagnostic buffer of the CPU via the Siemens nostic buffer SIMATIC Manager. Besides of the standard entries in the diagnostic buffer, the VIPA CPUs support some additional specific entries in form of event-IDs. The current content of the diagnostics buffer is stored at the memory card by means of the CMD DIAGBUF.
  • Page 72 The diagnosis is independent from the operating mode of the CPU. You may store a max. of 100 diagnostic entries in the CPU. The fol- lowing page shows an overview of the VIPA specific Event-IDs. Overview of the Event-IDs Event-ID...
  • Page 73 0xE020 Error - Interrupt information is not defined 0xE030 Error of the standard bus 0xE033 Internal error - Please contact the VIPA Hotline! 0xE0B0 SPEED7 is not stoppable (Probably undefined BCD value at timer) 0xE0C0 Not enough space in work memory for storing code block (block size...
  • Page 74 ZInfo1: Periphery address ZInfo3: 0: Periphery address is input, 1: Periphery address is output 0xE701 Internal error - Please contact the VIPA Hotline! 0xE703 Internal error - Please contact the VIPA Hotline! 0xE720 Internal error - Please contact the VIPA Hotline!
  • Page 75 CMD - Auto command: Error: Error while reading CMD file (memory card 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 76 ZInfo1: Periphery address ZInfo2: Slot ZInfo3: Data width 0xEA15 Internal error - Please contact the VIPA Hotline! 0xEA18 SBUS: Error at mapping of the master periphery ZInfo2: Slot of the master 0xEA19 Internal error - Please contact the VIPA Hotline!
  • Page 77 Error - PROFINET IO controller reports multiple parametrization of a periphery address ZInfo1: Periphery address ZInfo2: User slot of the PROFINET I/O controller ZInfo3: Data width 0xEA61 ... 0xEA63 Internal error - Please contact the VIPA Hotline! HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...
  • Page 78 Bit 14: CPU is configured as I device Bit 15: Obtain an IP address in a different way is not supported for the IP address of the controller 0xEA65 Internal error - Please contact the VIPA Hotline! 0xEA66 PROFINET IO controller Error in communication stack PK: Rackslot OBNr: StackError.Service...
  • Page 79 OBNo: PROFINET IO controller slot DatId: Device-No. ZInfo1: Record set number ZInfo2: Record set handle ZInfo3: Internal error code for service purposes 0xEA69 Internal error - Please contact the VIPA Hotline! 0xEA6A PROFINET IO controller Service error in communication stack PK: Rackslot OBNo: ServiceIdentifier DatId: 0 ZInfo1: ServiceError.Code...
  • Page 80 Deployment CPU 315-2AG13 VIPA System 300S CPU VIPA specific diagnostic entries Event-ID Description 0xEA6D PROFINET IO controller No empty name PK: Rackslot OBNo: PLC Mode DatId: 0 ZInfo1: Device ID ZInfo2: - ZInfo3: - 0xEA6E PROFINET IO controller RPC response missing...
  • Page 81 VIPA System 300S CPU Deployment CPU 315-2AG13 VIPA specific diagnostic entries Event-ID Description 0xEAA0 Emac Error occurred OBNo: Current PLC mode ZInfo1: Diagnostics address of the master / controller ZInfo2: 0: None Rx queue is full 1: No send buffer available 2: Send stream was cut off;...
  • Page 82 Deployment CPU 315-2AG13 VIPA System 300S CPU VIPA specific diagnostic entries Event-ID Description 0xEC03 EtherCAT: Configuration error ZInfo1: Errorcode 1: NUMBER_OF_SLAVES_NOT_SUPPORTED 2: SYSTEM_IO_NR_INVALID 3: INDEX_FROM_SLOT_ERROR 4: MASTER_CONFIG_INVALID 5: MASTER_TYPE_ERROR 6: SLAVE_DIAG_ADDR_INVALID 7: SLAVE_ADDR_INVALID 8: SLAVE_MODULE_IO_CONFIG_INVALID 9: LOG_ADDR_ALREADY_IN_USE 10: NULL_PTR_CHECK_ERROR 11: IO_MAPPING_ERROR...
  • Page 83 VIPA System 300S CPU Deployment CPU 315-2AG13 VIPA specific diagnostic entries Event-ID Description 0xEC11 EtherCAT: Restoration bus with missing slaves OB start Info (Local data) StartEvent and Eventclass: 0xEC11 DatID: 0xXXYY: XX=0x54 with input address in ZInfo1, XX=0x55 with output address.
  • Page 84 Deployment CPU 315-2AG13 VIPA System 300S CPU VIPA specific diagnostic entries Event-ID Description 0xED12 EtherCAT: Failure slave OB start Info (Local data) StartEvent and Eventclass: 0xED12 DatID: 0xXXYY: XX=0x54 with input address in ZInfo1, XX=0x55 with output address. YY=0x00 Station not available,...
  • Page 85 EtherCAT: Interrupt Queue Overflow OB start Info (Local data) StartEvent and Eventclass: 0xED31 ZInfo2: Diagnostics address of the master 0xED40 ... 0xED4F Internal error - Please contact the VIPA Hotline! 0xED50 EtherCAT: DC not in Sync ZInfo1: Diagnostics address of the master...
  • Page 86 Internal error - Please contact the VIPA Hotline! 0xEEEE CPU was completely overall reset, since after PowerON the start-up could not be finished. 0xEF11 ... 0xEF13 Internal error - Please contact the VIPA Hotline! HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...
  • Page 87: Control And Monitoring Of Variables With Test Functions

    Deployment CPU 315-2AG13 Control and monitoring of variables with test functions Event-ID Description 0xEFFF Internal error - Please contact the VIPA Hotline! PK: C-Source module number | DatID: Line number 5.21 Control and monitoring of variables with test functions Overview...
  • Page 88 Deployment CPU 315-2AG13 VIPA System 300S CPU Control and monitoring of variables with test functions It is possible to check the wiring and proper operation of output mod- ules. You can set outputs to any desired status with or without a control program.
  • Page 89: Deployment Ptp Communication

    – 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 90: Principle Of The Data Transfer

    Function RS485 of the Properties. Requirements Since the VIPA specific CPU parameters may be set, the installation of the SPEEDBUS.GSD from VIPA in the hardware catalog is neces- sary. The CPU may be configured in a PROFIBUS master system and the appropriate parameters may be set after installation.
  • Page 91 (default) SPEEDBUS.GSG german SPEEDBUS.GSE english The GSD files may be found at www.vipa.com at the "Service" part. The integration of the SPEEDBUS.GSD takes place with the following proceeding: Browse to www.vipa.com Click to ‘Service è Download è GSD- and EDS-Files è...
  • Page 92 "DP-Master". Connect the slave system "VIPA_SPEEDbus". After installing the SPEEDBUS.GSD this may be found in the hardware catalog at PROFIBUS DP / Additional field devices / I/O / VIPA / VIPA_SPEEDBUS. For the slave system set the PROFIBUS address 100.
  • Page 93: Parametrization

    VIPA System 300S CPU Deployment PtP communication Parametrization> FC/SFC 216 - SER_CFG RS485 9pin SubD jack RS485 n.c. M24V RxD/TxD-P (Line B) P24V RxD/TxD-N (Line A) n.c. Connection 6.4 Parametrization 6.4.1 FC/SFC 216 - SER_CFG Description The parametrization happens during runtime deploying the FC/SFC 216 (SER_CFG).
  • Page 94 Deployment PtP communication VIPA System 300S CPU Parametrization> FC/SFC 216 - SER_CFG Parameters Parameter Declaration Data type Description PROTOCOL BYTE 1=ASCII, 2=STX/ETX, 3=3964R PARAMETER Pointer to protocol-parameters BAUDRATE BYTE Number of baudrate CHARLEN BYTE 0=5bit, 1=6bit, 2=7bit, 3=8bit PARITY BYTE...
  • Page 95 VIPA System 300S CPU Deployment PtP communication Parametrization> FC/SFC 216 - SER_CFG < 20, oth- The start res. end sign should always be a value erwise the sign is ignored! With not used IDs please always enter FFh! Data block at 3964R...
  • Page 96: Communication

    809Ah Interface not found e. g. interface is used by PROFIBUS In the VIPA SLIO CPU with FeatureSet PTP_NO only the ASCII protocol is configurable. If another protocol is selected the FC/SFC216 also left with this error code.
  • Page 97: Fc/Sfc 217 - Ser_Snd

    VIPA System 300S CPU Deployment PtP communication Communication> FC/SFC 217 - SER_SND 6.5.2 FC/SFC 217 - SER_SND Description This block sends data via the serial interface. The repeated call of the FC/SFC 217 SER_SND delivers a return value for 3964R, USS and Modbus via RETVAL that contains, among other things, recent infor- mation about the acknowledgement of the partner station.
  • Page 98 Deployment PtP communication VIPA System 300S CPU Communication> FC/SFC 217 - SER_SND Error code Description 8x24h Error in FC/SFC parameter x, where x: 1: Error in DATAPTR 2: Error in DATALEN 8122h Error in parameter DATAPTR (e.g. DB too short)
  • Page 99 VIPA System 300S CPU Deployment PtP communication Communication> FC/SFC 217 - SER_SND Error code Description 80F0h Wrong checksum in respond 80FEh Wrong start sign in respond 80FFh Wrong slave address in respond 9000h Buffer overflow (no data send) 9001h Data too long (>1024byte) 9002h Data too short (<2byte)
  • Page 100 Deployment PtP communication VIPA System 300S CPU Communication> FC/SFC 217 - SER_SND Principles of program- The following text shortly illustrates the structure of programming a ming send command for the different protocols. 3964R HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...
  • Page 101 VIPA System 300S CPU Deployment PtP communication Communication> FC/SFC 217 - SER_SND USS / Modbus ASCII / STX/ETX HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...
  • Page 102: Fc/Sfc 218 - Ser_Rcv

    Deployment PtP communication VIPA System 300S CPU Communication> FC/SFC 218 - SER_RCV 6.5.3 FC/SFC 218 - SER_RCV Description This block receives data via the serial interface. Using the FC/SFC 218 SER_RCV after SER_SND with the protocols USS and Modbus the acknowledgement telegram can be read.
  • Page 103 VIPA System 300S CPU Deployment PtP communication Communication> FC/SFC 218 - SER_RCV STX/ETX Error Description overflow The received telegram exceeds the size of the receive buffer. char A sign outside the range 20h ... 7Fh has been received. overflow Buffer is full.
  • Page 104: Protocols And Procedures

    There is no reception acknowledgement. The communication procedure has to be controlled by the concerning user application. An according Receive_ASCII FB may be found within the VIPA library in the service area of www.vipa.com. STX/ETX STX/ETX is a simple protocol with start and end ID, where STX stands for Start of Text and ETX for End of Text.
  • Page 105 VIPA System 300S CPU Deployment PtP communication Protocols and procedures Any data transferred from the periphery must be preceded by a Start followed by the data characters and the end character. Depending of the byte width the following ASCII characters can be transferred: 5bit: not allowed: 6bit: 20...3Fh, 7bit: 20...7Fh, 8bit:...
  • Page 106 Deployment PtP communication VIPA System 300S CPU Protocols and procedures When a DLE is transferred as part of the information it is repeated to distinguish between data characters and DLE control characters that are used to establish and to termi- nate the connection (DLE duplication).
  • Page 107 VIPA System 300S CPU Deployment PtP communication Protocols and procedures with STX - Start sign STW - Control word LGE - Telegram length ZSW - State word ADR - Address HSW - Main set value PKE - Parameter ID HIW - Main effective value...
  • Page 108: 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: 0x - Bit area for master output data...
  • Page 109 VIPA System 300S CPU Deployment PtP communication Modbus - Function codes A description of the function codes follows below. Overview With the following Modbus function codes a Modbus master can access a Modbus slave: With the following Modbus function codes a Modbus master can access a Modbus slave.
  • Page 110 Deployment PtP communication VIPA System 300S CPU Modbus - Function codes Without an error, the function code is sent back. ® Error Slave answer: Function code OR 80h ® OK Function code Byte sequence in a 1 word word High-byte Low-byte...
  • Page 111 VIPA System 300S CPU Deployment PtP communication Modbus - Function codes 04h: Read n words master input area 3x Command telegram Slave address Function code Address 1. bit Number of Check sum CRC/ words 1byte 1byte 1word 1word 1word Respond telegram...
  • Page 112 Deployment PtP communication VIPA System 300S CPU Modbus - Function codes Write 1 word 06h Code 06h: Write 1 word to master output area 4x Command telegram Slave address Function code Address word Value word Check sum CRC/ 1byte 1byte...
  • Page 113: Modbus - Example Communication

    VIPA System 300S CPU Deployment PtP communication Modbus - Example communication Write n words 10h Code 10h: Write n words to master output area 4x Command telegram Slave Func- Address Number Number Data 1. Data 2. Check address tion 1. word...
  • Page 114 Deployment PtP communication VIPA System 300S CPU Modbus - Example communication Execute the project engineering of the slave! The PLC user application at the slave has the following structure: OB 100: Call SFC 216 (configuration as Modbus RTU slave) with timeout setting and Modbus address in the DB and error evaluation.
  • Page 115 VIPA System 300S CPU Deployment PtP communication Modbus - Example communication HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...
  • Page 116: Deployment Profibus Communication

    Deployment PROFIBUS communication VIPA System 300S CPU Fast introduction Deployment PROFIBUS communication 7.1 Overview PROFIBUS DP PROFIBUS is an international standard applicable to an open and serial field bus for building, manufacturing and process automa- tion that can be used to create a low (sensor-/actuator level) or medium (process level) performance network of programmable logic controllers.
  • Page 117: Hardware Configuration - Cpu

    MOD, +R, -R, *R, /R) the content of ACCU 3 and ACCU 4 is loaded into ACCU 3 and 2. This may cause conflicts in applications that presume an unmodified ACCU 2. For more information may be found in the manual "VIPA Operation list SPEED7" at "Differences between SPEED7 and 300V programming".
  • Page 118: Deployment As Profibus Dp Master

    Deployment PROFIBUS communication VIPA System 300S CPU Deployment as PROFIBUS DP master 7.4 Deployment as PROFIBUS DP master Precondition The hardware configuration described before was established. Proceeding Open the properties dialog of the DP interface of the CPU by means of a double-click at ‘MPI/DP’ .
  • Page 119: Deployment As Profibus Dp Slave

    VIPA System 300S CPU Deployment PROFIBUS communication Deployment as PROFIBUS DP slave 7.5 Deployment as PROFIBUS DP slave Fast introduction In the following the deployment of the PROFIBUS section as "intelli- gent" DP slave on master system is described, which exclusively may be configured in the Siemens SIMATIC Manager.
  • Page 120 Deployment PROFIBUS communication VIPA System 300S CPU Deployment as PROFIBUS DP slave Set Interface: type to "PROFIBUS". Connect to PROFIBUS and preset an address (e.g. 2) and con- firm with [OK]. Switch at Operating mode to "DP master" and confirm the dialog with [OK].
  • Page 121: Profibus Installation Guidelines

    VIPA System 300S CPU Deployment PROFIBUS communication PROFIBUS installation guidelines 7.6 PROFIBUS installation guidelines PROFIBUS in general A PROFIBUS DP network may only be built up in linear structure. PROFIBUS DP consists of minimum one segment with at least one master and one slave.
  • Page 122 Deployment PROFIBUS communication VIPA System 300S CPU PROFIBUS installation guidelines The PROFIBUS line has to be terminated with its ripple resistor. Please make sure to terminate the last partici- pants on the bus at both ends by activating the terminating resistor.
  • Page 123 PROFIBUS cable type 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 Easy- Conn much easier.
  • Page 124: Commissioning And Start-Up Behavior

    Deployment PROFIBUS communication VIPA System 300S CPU Commissioning and Start-up behavior Assembly Loosen the screw. Lift contact-cover. Insert both wires into the ducts provided (watch for the correct line colour as below!) Please take care not to cause a short circuit between screen and data lines! Close the contact cover.
  • Page 125 VIPA System 300S CPU Deployment PROFIBUS communication Commissioning and Start-up behavior Master behavior at CPU The global control command "Operate" is sent to the slaves by the master. Here the DE-LED is on. Every connected DP slave is cyclically attended with an output telegram containing recent output data.
  • Page 126: Winplc7

    Source You may receive a demo version from VIPA. Without any activation with 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. This may be online be received from VIPA and activated.
  • Page 127 VIPA System 300S CPU WinPLC7 Installation Installation WinPLC7 The installation and the registration of WinPLC7 has the following Demo approach: For installation of WinPLC7 start the setup program of the corre- sponding CD respectively execute the online received exe file.
  • Page 128: Example Project Engineering

    WinPLC7 VIPA System 300S CPU Example project engineering > Project engineering Installation of WinPCAP To find a station via Ethernet (accessible nodes) you have to install for station search via the WinPCAP driver. This driver may be found on your PC in the Ethernet installation directory at WinSPS-S7-V5/WinPcap_...
  • Page 129 Enter a station name. Please consider that the name does not contain any spaces. After the load animation choose in the register Select PLC- System the system "VIPA SPEED7" and click to [Create]. A new station is created. Save the empty station with [Strg]+[S].
  • Page 130 WinPLC7 VIPA System 300S CPU Example project engineering > Project engineering Transfer hardware configuration Choose your network card and click to [Send configuration]. ð After a short time a message is displayed concerning the transfer of the configuration is finished.
  • Page 131 VIPA System 300S CPU WinPLC7 Example project engineering > Project engineering Here enter "1. compare value" and press the [Return] key. à ’ row is created and the cursor jumps to ‘Name’ . ð A new ‘in Proceed for value2 in the same way as described for value1.
  • Page 132 WinPLC7 VIPA System 300S CPU Example project engineering > Project engineering Proceed in the same way with the parameter value2. 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.
  • Page 133 VIPA System 300S CPU WinPLC7 Example project engineering > Project engineering Save the FC 1 with ‘File è Save content of focused window’ respectively press [Strg]+[S]. ð After you have programmed the still missing networks, the FC 1 has the following structure: Creating the block OB 1 The FC 1 is to be called from the cycle OB 1.
  • Page 134: Test The Plc Program In The Simulator

    WinPLC7 VIPA System 300S CPU Example project engineering > Test the PLC program in the Simulator Type in "Call FC 1" and press the [Return] key. ð The FC parameters are automatically displayed and the fol- lowing parameters are assigned: Save the OB 1 with respectively press [Strg]+[S].
  • Page 135: Transfer Plc Program To Cpu And Its Execution

    VIPA System 300S CPU WinPLC7 Example project engineering > Transfer PLC program to CPU and its execution Change the value of one variable, save the OB 1 and transfer it to the simulator. ð According to your settings the process image changes immediately.
  • Page 136 WinPLC7 VIPA System 300S CPU Example project engineering > Transfer PLC program to CPU and its execution Click at [Determining accessible nodes]. ð After a waiting time every accessible station is listed. Choose your CPU, which was provided with TCP/IP address parameters during the hardware configuration and click to [Con- firm].
  • Page 137: Configuration With Tia Portal

    9.1.1 General General In this chapter the project engineering of the VIPA CPU in the Sie- mens TIA Portal is shown. Here only the basic usage of the Siemens TIA Portal together with a VIPA CPU is shown. TIA means Totally integrated Automation from Siemens.
  • Page 138: Tia Portal - Hardware Configuration - Cpu

    8 Jump to Portal or Project view 9.2 TIA Portal - Hardware configuration - CPU Configuration Siemens With the Siemens TIA Portal the CPU from VIPA is to be configured as CPU 317-2DP (6ES7 317-2AJ10-0AB0 V2.6) from Siemens. Start the Siemens TIA Portal.
  • Page 139: Tia Portal - Hardware Configuration - I/O Modules

    2 X2 DP interface Setting standard CPU Since the CPU from VIPA is configured as Siemens CPU, so the set- parameters ting of the parameters takes place via the Siemens CPU. For para- metrization click in the Project arearespectively in the Device over- view at the CPU part.
  • Page 140: Tia Portal - Hardware Configuration - Ethernet Pg/Op Channel

    Configuration with TIA Portal VIPA System 300S CPU TIA Portal - Hardware configuration - Ethernet PG/OP channel Device overview Module Slot Type PLC... CPU ... DI... DI... DO... DO... DIO... DIO... AI... AI... AO... AO... Parametrization For parametrization click in the Project area respectively in the Device overview on the module you want to parameterize.
  • Page 141 VIPA System 300S CPU Configuration with TIA Portal TIA Portal - Hardware configuration - Ethernet PG/OP channel Assembly and commis- Install your System 300S with your CPU. sioning Wire the system by connecting cables for voltage supply and signals. Connect the Ethernet jack of the Ethernet PG/OP channel to Ethernet.
  • Page 142 Configuration with TIA Portal VIPA System 300S CPU TIA Portal - Hardware configuration - Ethernet PG/OP channel Due to the system you may get a message that the IP address could not be assigned. This message can be ignored. Take IP address param- Open your project.
  • Page 143: Tia Portal - Setting Vipa Specific Cpu Parameters

    (default) SPEEDBUS.GSG german SPEEDBUS.GSE english The GSD files may be found at www.vipa.com at the "Service" part. The integration of the SPEEDBUS.GSD takes place with the following proceeding: Browse to www.vipa.com Click to ‘Service è Download è GSD- and EDS-Files è...
  • Page 144 Connect the slave system "VIPA_SPEEDbus". After installing the SPEEDBUS.GSD this may be found in the hardware catalog at: Other field devices > PROFIBUS DP > I/O > VIPA GmbH > VIPA_SPEEDbus. For the SPEEDbus slave system set the PROFIBUS address 100.
  • Page 145: Tia Portal - Include Vipa Library

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

    Transfer via Ethernet Transfer via memory card Transfer via MPI Currently the VIPA programming cables for transfer via MPI are not supported. This is only possible with the programming cable from Sie- mens. Establish a connection to the CPU via MPI with an appropriate programming cable.
  • Page 147 VIPA System 300S CPU Configuration with TIA Portal TIA Portal - Project transfer Transfer via Ethernet For transfer via Ethernet the CPU has the following interface: X5: Ethernet PG/OP channel Initialization So that you may the according Ethernet interface, you have to assign IP address parameters by means of the "initialization".
  • Page 148 CPU. To monitor the diagnostics entries, you select Online & Diagnostics in the Siemens TIA Portal. Here you can access the Ä Chapter 5.20 ‘VIPA specific diagnostic entries’ "Diagnostics buffer". on page 71 HB140 | CPU | 315-2AG13 | GB | Rev. 14-40...

This manual is also suitable for:

315-2ag13315sb/dpm

Table of Contents