YASKAWA CPU 013C Manual

YASKAWA CPU 013C Manual

For vipa system slio
Table of Contents

Advertisement

Quick Links

VIPA System SLIO
CPU | 013-CCF0R00 | Manual
HB300 | CPU | 013-CCF0R00 | en | 16-40
SPEED7 CPU 013C
www.vipa.com/en/service-support/manual

Advertisement

Table of Contents
loading

Summary of Contents for YASKAWA CPU 013C

  • Page 1 VIPA System SLIO CPU | 013-CCF0R00 | Manual HB300 | CPU | 013-CCF0R00 | en | 16-40 SPEED7 CPU 013C www.vipa.com/en/service-support/manual...
  • Page 2 VIPA GmbH Ohmstr. 4 91074 Herzogenaurach Telephone: 09132-744-0 Fax: 09132-744-1864 Email: info@vipa.com Internet: www.vipa.com 013-CCF0R0_000_CPU 013C,2,EN - © 2016...
  • Page 3: Table Of Contents

    VIPA System SLIO Table of contents Table of contents General........................7 1.1 Copyright © VIPA GmbH ................. 7 1.2 About this manual..................... 8 1.3 Safety information..................... 9 Basics and mounting................... 10 2.1 Safety information for users................10 2.2 System conception..................11 2.2.1 Overview......................
  • Page 4 VIPA System SLIO Table of contents 4.7.3 Parameter for MPI/DP ................69 4.8 Setting VIPA specific CPU parameters............70 4.9 Project transfer....................72 4.9.1 Transfer via MPI..................72 4.9.2 Transfer via Ethernet................... 73 4.9.3 Transfer via memory card................73 4.10 Accessing the web server................74 4.10.1 Access via the Ethernet PG/OP channel...........
  • Page 5 VIPA System SLIO Table of contents 5.6.6 Counter operating modes................115 5.6.7 Counter - Additional functions..............122 5.6.8 Diagnostics and interrupt................128 5.7 Frequency measurement................128 5.7.1 Properties....................128 5.7.2 Wiring......................129 5.7.3 Proceeding....................131 5.7.4 SFB 48 - FREQUENC - Frequency measurement........131 5.7.5 Parametrization..................
  • Page 6 VIPA System SLIO Table of contents 8.6 PROFIBUS installation guidelines..............191 8.7 Commissioning and Start-up behavior............193 Configuration with VIPA SPEED7 Studio............195 9.1 SPEED7 Studio - Overview................195 9.2 SPEED7 Studio - Work environment............196 9.2.1 Project tree ....................198 9.2.2 Catalog .....................
  • Page 7: General

    VIPA System SLIO General Copyright © VIPA GmbH 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 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 accord- ance with applicable agreements, contracts or licensing, without the express written con- sent of VIPA and the business management owner of the material.
  • Page 8: About This Manual

    Product Order number as of state: CPU-HW CPU-FW CPU 013C 013-CCF0R00 V1.4.4 Target audience The manual is targeted at users who have a background in automation technology. Structure of the manual The manual consists of chapters.
  • Page 9: Safety Information

    VIPA System SLIO General Safety information Supplementary information and useful tips. 1.3 Safety information Applications conforming The system is constructed and produced for: with specifications communication and process control general control and automation tasks industrial applications operation within the environmental conditions specified in the technical data installation into a cubicle DANGER! This device is not certified for applications in...
  • Page 10: Basics And Mounting

    VIPA System SLIO Basics and mounting Safety information for users Basics and mounting 2.1 Safety information for users Handling of electrostatic VIPA modules make use of highly integrated components in MOS-Technology. These sensitive modules components are extremely sensitive to over-voltages that can occur during electrostatic discharges.
  • Page 11: System Conception

    VIPA System SLIO Basics and mounting System conception > Components 2.2 System conception 2.2.1 Overview System SLIO is a modular automation system for assembly on a 35mm mounting rail. By means of the peripheral modules with 2, 4 or 8 channels this system may properly be adapted matching to your automation tasks.
  • Page 12 VIPA System SLIO Basics and mounting System conception > Components CAUTION! Only modules of VIPA may be combined. A mixed operation with third- party modules is not allowed! CPU 01xC With this CPU 01xC, the CPU electronic, input/output components and power supply are integrated to one casing.
  • Page 13 VIPA System SLIO Basics and mounting System conception > Components Line extension In the System SLIO there is the possibility to place up to 64 modules in on line. By means of the line extension you can divide this line into several lines. Here you have to place a line extension master at each end of a line and the subsequent line has to start with a line extension slave.
  • Page 14: Accessories

    VIPA System SLIO Basics and mounting System conception > Accessories 2.2.3 Accessories Shield bus carrier The shield bus carrier (order no.: 000-0AB00) serves to carry the shield bus (10mm x 3mm) to connect cable shields. Shield bus carriers, shield bus and shield fixings are not in the scope of delivery.
  • Page 15: Dimensions

    VIPA System SLIO Basics and mounting Dimensions 2.3 Dimensions Dimensions CPU 01xC Dimensions CPU 01x HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 16 VIPA System SLIO Basics and mounting Dimensions Dimensions bus coupler and line extension slave Dimensions line extension master HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 17: Mounting

    VIPA System SLIO Basics and mounting Mounting > Mounting CPU 01xC Dimension periphery module Dimensions electronic module Dimensions in mm 2.4 Mounting 2.4.1 Mounting CPU 01xC There are locking lever at the top side of the CPU. For mounting and demounting these locking lever are to be turned upwards until these engage.
  • Page 18 VIPA System SLIO Basics and mounting Mounting > Mounting CPU 01xC Proceeding Mount the mounting rail! Please consider that a clearance from the middle of the mounting rail of at least 80mm above and 60mm below, respectively 80mm by deployment of shield bus carriers, exist. Turn the locking lever upwards, place the CPU at the mounting rail and turn the lever downward.
  • Page 19 VIPA System SLIO Basics and mounting Mounting > Mounting CPU 01xC Mounting periphery modules Before mounting the periphery modules you have to remove the bus cover at the right side of the CPU by pulling it forward. Keep the cover for later mounting. Mount the periphery modules you want.
  • Page 20: Wiring

    VIPA System SLIO Basics and mounting Wiring > Wiring CPU 01xC 2.5 Wiring 2.5.1 Wiring CPU 01xC CPU connector For wiring the CPU 01xC has removable connectors. With the wiring of the connectors a "push-in" spring-clip technique is used. This allows a quick and easy connection of your signal and supply lines.
  • Page 21 VIPA System SLIO Basics and mounting Wiring > Wiring CPU 01xC Remove connectors By means of a screwdriver there is the possibility to remove the connectors e.g. for (module replacement) module exchange with a fix wiring. For this each connector has a release lever centrally on its top side.
  • Page 22: Wiring Periphery Modules

    VIPA System SLIO Basics and mounting Wiring > Wiring periphery modules Fusing It is recommended to externally protect the electronic power supply for CPU and SLIO bus with a 3A fuse (fast) respectively by a line circuit breaker 3A characteristics Z. The power section supply of the internal I/Os is to be externally protected with a 6A fuse (fast) respectively by a line circuit breaker 6A characteristics Z! The power section supply of the SLIO bus is to be externally protected with a 6A fuse...
  • Page 23 VIPA System SLIO Basics and mounting Wiring > Wiring periphery modules With wiring the terminal modules, terminals with spring clamp technology are used for wiring. The spring clamp technology allows quick and easy connection of your signal and supply lines. In contrast to screw terminal connections this type of connection is vibration proof.
  • Page 24: Wiring Power Modules

    VIPA System SLIO Basics and mounting Wiring > Wiring power modules Attach the cables with the accordingly stripped cable screen and fix it by the shield clamp with the shield bus. 2.5.3 Wiring power modules Terminal module terminals Power modules are either integrated to the head module or may be installed between the periphery modules.
  • Page 25 VIPA System SLIO Basics and mounting Wiring > Wiring power modules Insert a suited screwdriver at an angel into the square opening as shown. Press and hold the screwdriver in the opposite direction to open the contact spring. Insert the stripped end of wire into the round opening. You can use wires with a cross section of 0.08mm up to 1.5mm By removing the screwdriver, the wire is securely fixed via the spring contact to the...
  • Page 26 VIPA System SLIO Basics and mounting Wiring > Wiring power modules PM - Power module For wires with a core cross-section of 0.08mm up to 1.5mm Pos. Function Type Description not connected DC 24V DC 24V for power section supply GND for power section supply Sys DC 24V DC 24V for electronic section supply...
  • Page 27 VIPA System SLIO Basics and mounting Wiring > Wiring power modules Deployment of the power If the 10A for the power section supply is no longer sufficient, you may use the power modules module from VIPA with the order number 007-1AB00. So you have also the possibility to define isolated groups.
  • Page 28: Demounting

    VIPA System SLIO Basics and mounting Demounting > Demounting CPU 01xC Shield attachment Shield bus carrier Shield bus (10mm x 3mm) Shield clamp Cable shield To attach the shield the mounting of shield bus carriers are necessary. The shield bus carrier (available as accessory) serves to carry the shield bus to connect cable shields.
  • Page 29 VIPA System SLIO Basics and mounting Demounting > Demounting CPU 01xC Push the screwdriver down ð The connector is unlocked and can be removed by turning downwards. CAUTION! Via wrong operation such as pressing, the screwdriver upward the release lever may be damaged. CPU replacement For demounting and exchange of a (head) module or a group of modules, due to mounting reasons you always have to remove the...
  • Page 30: Demounting Periphery Modules

    VIPA System SLIO Basics and mounting Demounting > Demounting periphery modules Plug connector Put the connector on the bottom edge and push it, as shown in the figure, with a rotation upwards into the release lever until it engages. ð Now you can bring your system back into operation. 2.6.2 Demounting periphery modules Proceeding Exchange of an electronic...
  • Page 31 VIPA System SLIO Basics and mounting Demounting > Demounting periphery modules Pull the module. For mounting turn the locking lever of the module to be mounted upwards. To mount the module put it to the gap between the both modules and push it, guided by the stripes at both sides, to the mounting rail.
  • Page 32: Trouble Shooting - Leds

    VIPA System SLIO Basics and mounting Trouble shooting - LEDs Pull the module group forward. For mounting turn all the locking lever of the module group to be mounted upwards. To mount the module group put it to the gap between the both modules and push it, guided by the stripes at both sides, to the mounting rail.
  • Page 33: Installation Guidelines

    VIPA System SLIO Basics and mounting Installation guidelines Reason: At this position a module is placed, which does not correspond to the configured module. Remedy: Match configuration and hardware structure. Module failure Behaviour: After PowerON all of the RUN LEDs up to the defective module are flashing. With all following modules the MF LED is on and the RUN LED is off.
  • Page 34 VIPA System SLIO Basics and mounting Installation guidelines Basic rules for EMC In the most times it is enough to take care of some elementary rules to guarantee the EMC. Please regard the following basic rules when installing your PLC. Take care of a correct area-wide grounding of the inactive metal parts when installing your components.
  • Page 35: General Data

    VIPA System SLIO Basics and mounting General data At stationary operation it is convenient to strip the insulated cable interruption free and lay it on the isolation/protected earth conductor line. To fix the isolation tangles use cable clamps out of metal. The clamps must clasp the isolation extensively and have well contact.
  • Page 36 VIPA System SLIO Basics and mounting General data Environmental conditions to EN 61131-2 Horizontal installation lying EN 61131-2 0…+60°C Vertical installation EN 61131-2 0…+60°C Air humidity EN 60068-2-30 RH1 (without condensation, rel. humidity 10…95%) Pollution EN 61131-2 Degree of pollution 2 Installation altitude max.
  • Page 37: Hardware Description

    Description CPU 013C 013-CCF0R00 Compact CPU 013C with options to extend work memory and field bus inter- face with DI 16xDC24V, DO 12xDC24V 0.5A, AI 2x12Bit and 4 channels technological function HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 38: Structure

    VIPA System SLIO Hardware description Structure > Interfaces 3.2 Structure 3.2.1 Compact CPU CPU 013C Locking lever X1: Ethernet PG/OP channel 1 X3: MPI(PtP) interface LEDs integrated IO periphery X2: Ethernet PG/OP channel 2 X4, X5: Connector IO part LED status indication CPU part...
  • Page 39 VIPA System SLIO Hardware description Structure > Interfaces X1/X2: Ethernet PG/OP 8pin RJ45 jack: channel The RJ45 jack serves as interface to the Ethernet PG/OP channel. This interface allows you to program respectively remote control your CPU and to access the internal web server. Configurable connections are possible.
  • Page 40 VIPA System SLIO Hardware description Structure > Interfaces X4: Connector Pos. Function Type Description AI 0 AI0: Analog input AI 0 AI 1 AI1: Analog input AI 1 Analog 0V 4M: GND for analog inputs DI 0 +0.0: Digital input DI 0 / Counter 0 (A) * DI 1 +0.1: Digital input DI 1 / Counter 0 (B) / Frequency 0 * DI 2...
  • Page 41 VIPA System SLIO Hardware description Structure > Interfaces X5: Connector Pos. Function Type Description Sys DC 24V 1L+: DC 24V for electronic section supply Sys 0V 1M: GND for electronic section supply reserved DC 24V S+: DC 24V for sensor 1M: GND for sensor DO 0 +0.0: Digital output DO 0 / PWM 0 / Output channel counter 0...
  • Page 42: Memory Management

    VIPA System SLIO Hardware description Structure > Buffering mechanisms X5: Electronic power supply The CPU has an integrated power supply. The power supply has to be provided with DC 24V. Via the power supply not only the internal electronic of the CPU is provided with voltage, but also the electronic from the integrated IO modules and the sensor output.
  • Page 43: Operating Mode Switch

    VIPA System SLIO Hardware description Structure > LEDs CAUTION! Please connect the CPU for approximately 1 hour to the power supply, so that the internal buffering mechanism is loaded accordingly. In case of failure of the buffer mechanism Date and Time 01.09.2009 00:00:00 set.
  • Page 44 VIPA System SLIO Hardware description Structure > LEDs Meaning ● ○ ○ CPU is in state RUN without error. ● There is a system fault. More information can be found in the diagnostics buffer of the CPU. ● Variables are forced. ●...
  • Page 45 VIPA System SLIO Hardware description Structure > LEDs LEDs PROFIBUS Dependent on the mode of operation the LEDs show information about the state of oper- ation of the PROFIBUS part according to the following pattern: Master operation Meaning (Data Exchange) (Bus error) green ○...
  • Page 46 VIPA System SLIO Hardware description Structure > LEDs I/O periphery Digital input Description green DI +0.0 DI +0.7 ● Digital I+0.0 ... 0.7 has "1" signal ○ Digital I+0.0 ... 0.7 has "0" signal DI +1.0 ... DI +1.7 ● Digital I+1.0 ...
  • Page 47: Technical Data

    VIPA System SLIO Hardware description Technical data 3.3 Technical data Order no. 013-CCF0R00 Type CPU 013C Module ID Technical data power supply Power supply (rated value) DC 24 V Power supply (permitted range) DC 20.4...28.8 V Reverse polarity protection ü...
  • Page 48 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Initial data size 16 Bit Technical data digital outputs Number of outputs Cable length, shielded 1000 m Cable length, unshielded 600 m Rated load voltage DC 24 V Reverse polarity protection of rated load voltage ü...
  • Page 49 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Rated load voltage Reverse polarity protection of rated load voltage Current consumption from load voltage L+ (without load) Voltage inputs ü Min. input resistance (voltage range) 100 kΩ Input voltage ranges 0 V ...
  • Page 50 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Thermocouple ranges Operational limit of thermocouple ranges Operational limit of thermocouple ranges with SFU Basic error limit thermoelement ranges Basic error limit thermoelement ranges with SFU Destruction limit thermocouple inputs Programmable temperature compensation External temperature compensation Internal temperature compensation...
  • Page 51 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Radical error limit current ranges with SFU Destruction limit against external applied voltage Settling time for ohmic load Settling time for capacitive load Settling time for inductive load Resolution in bit Conversion time Substitute value can be applied Output data size...
  • Page 52 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Hardware configuration Racks, max. Modules per rack, max. total max. 64 minus number line extensions Number of integrated DP master Number of DP master via CP Operable function modules Operable communication modules PtP Operable communication modules LAN Status information, alarms, diagnostics Status display...
  • Page 53 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Timers/Counters and their retentive characteristics Number of S7 counters S7 counter remanence adjustable 0 up to 256 S7 counter remanence adjustable C0 .. C7 Number of S7 times S7 times remanence adjustable 0 up to 256 S7 times remanence adjustable not retentive...
  • Page 54 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Digital outputs central Integrated digital inputs Integrated digital outputs Analog inputs Analog outputs Analog inputs, central Analog outputs, central Integrated analog inputs Integrated analog outputs Number of outputs Output voltage (typ) L+ (-1.5 V) Output voltage (rated value) 300 mA...
  • Page 55 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Electrically isolated ü ü MP²I (MPI/RS232) DP master DP slave optional Point-to-point interface ü 5V DC Power supply max. 90mA, isolated 24V DC Power supply max. 100mA, non-isolated Type Type of interface Connector Electrically isolated MP²I (MPI/RS232)
  • Page 56 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 S7 communication as client Direct data exchange (slave-to-slave communication) DPV1 ü Transmission speed, min. 9.6 kbit/s Transmission speed, max. 12 Mbit/s Automatic detection of transmission speed ü Transfer memory inputs, max. 244 Byte Transfer memory outputs, max.
  • Page 57 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Productive connections ü Fieldbus Type Type of interface Connector Electrically isolated PG/OP channel Number of connections, max. Productive connections Fieldbus Ethernet communication via PG/OP Number of productive connections via PG/OP, max. Number of productive connections by Siemens NetPro, max.
  • Page 58 VIPA System SLIO Hardware description Technical data Order no. 013-CCF0R00 Weight 310 g Environmental conditions Operating temperature 0 °C to 60 °C Storage temperature -25 °C to 70 °C Certifications UL certification in preparation KC certification in preparation HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 59: Deployment Cpu 013-Ccf0R00

    VIPA System SLIO Deployment CPU 013-CCF0R00 Addressing > Default address assignment of the I/O part Deployment CPU 013-CCF0R00 4.1 Assembly Ä Chapter 2 ‘Basics and Information about assembly and cabling mounting’ on page 10. 4.2 Start-up behavior Turn on power supply The CPU checks whether a project AUTOLOAD.WLD exists on the memory card.
  • Page 60: Addressing Periphery Modules

    VIPA System SLIO Deployment CPU 013-CCF0R00 Addressing > Addressing periphery modules Sub module Input address Access Assignment DI24/DO16 BYTE Digital input I+0.0 ... I+0.7 (X4) BYTE Digital input I+1.0 ... I+1.7 (X4) Sub module Input address Access Assignment Counter DINT Channel 0: Counter value / Frequency value DINT Channel 1: Counter value / Frequency value...
  • Page 61: Hardware Configuration - Cpu

    VIPA System SLIO Deployment CPU 013-CCF0R00 Hardware configuration - CPU Max. number of pluggable Up to 64 SLIO modules can be connected to a SLIO CPU. This sum includes power and modules clamp modules. Define addresses by hard- You may access the modules with read res. write accesses to the peripheral bytes or the ware configuration process image.
  • Page 62 VIPA System SLIO Deployment CPU 013-CCF0R00 Hardware configuration - CPU Proceeding In the Siemens SIMATIC Manager the following steps should be executed: Start the Siemens hardware configurator with a new project. Insert a profile rail from the hardware catalog. Place at ‘Slot’ -Number 2 the CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3). Click at the sub module ‘PN-IO’...
  • Page 63: Hardware Configuration - System Slio Module

    VIPA System SLIO Deployment CPU 013-CCF0R00 Hardware configuration - System SLIO module Navigate in the hardware catalog to the directory ‘PROFINET IO è Additional field devices è I/O è VIPA SLIO System’ and connect the IO device ‘013-CCF0R00 CPU’ to your PROFINET system. ð...
  • Page 64: Hardware Configuration - Ethernet Pg/Op Channel

    VIPA System SLIO Deployment CPU 013-CCF0R00 Hardware configuration - Ethernet PG/OP channel 4.6 Hardware configuration - Ethernet PG/OP channel Overview The CPU 013-CCF0R00 has an integrated Ethernet PG/OP channel. This channel allows you to program and remote control your CPU. The Ethernet PG/OP channel (X1/X2) is designed as switch.
  • Page 65 VIPA System SLIO Deployment CPU 013-CCF0R00 Hardware configuration - Ethernet PG/OP channel Assign IP address param- You get valid IP address parameters from your system administrator. The assignment of eters the IP address data happens online in the Siemens SIMATIC Manager starting with ver- sion V 5.3 &...
  • Page 66: Setting Standard Cpu Parameters

    VIPA System SLIO Deployment CPU 013-CCF0R00 Setting standard CPU parameters > Parameter CPU Transfer your project. 4.7 Setting standard CPU parameters 4.7.1 Parametrization via Siemens CPU Parametrization via Sie- Since the CPU from VIPA is to be configured as Siemens CPU 314C-2 PN/DP (6ES7 mens CPU 314-6EH04 314-6EH04-0AB0 V3.3) in the Siemens hardware configurator, the standard parameters of the VIPA CPU may be set with "Object properties"...
  • Page 67 VIPA System SLIO Deployment CPU 013-CCF0R00 Setting standard CPU parameters > Parameter CPU Plant designation – Here is the possibility to specify a plant designation for the CPU. – This plant designation identifies parts of the plant according to their function. –...
  • Page 68 VIPA System SLIO Deployment CPU 013-CCF0R00 Setting standard CPU parameters > Parameter CPU Size of the process image input/output area – Here the size of the process image max. 2048 for the input/output periphery may be fixed (default: 256). OB85 call up at I/O access error –...
  • Page 69: Parameter For Mpi/Dp

    VIPA System SLIO Deployment CPU 013-CCF0R00 Setting standard CPU parameters > Parameter for MPI/DP Phase offset – Enter the delay time in ms for current execution for the watch dog interrupt. This should be performed if several watchdog interrupts are enabled. –...
  • Page 70: Setting Vipa Specific Cpu Parameters

    VIPA System SLIO Deployment CPU 013-CCF0R00 Setting VIPA specific CPU parameters General Short description – Here the short description "MPI/DP" for the interface is specified. Name – At Name "MPI/DP" is shown. If you change the name, the new name appears in the Siemens SIMATIC Manager.
  • Page 71 VIPA System SLIO Deployment CPU 013-CCF0R00 Setting VIPA specific CPU parameters VIPA specific parameters The following parameters may be accessed by means of the properties dialog of the VIPA CPU. Function X3 – MPI/DP (default): In this operating mode parameters are active, which you set on Ä...
  • Page 72: Project Transfer

    VIPA System SLIO Deployment CPU 013-CCF0R00 Project transfer > Transfer via MPI 4.9 Project transfer Overview There are the following possibilities for project transfer into the CPU: Transfer via MPI Transfer via Ethernet Transfer via memory card To switch the interface X3 MPI(PtP) to PROFIBUS functionality you have to activate the according bus functionality by means of a VSC storage media from VIPA.
  • Page 73: Transfer Via Ethernet

    VIPA System SLIO Deployment CPU 013-CCF0R00 Project transfer > Transfer via memory card Approach transfer via MPI Connect your PC to the MPI jack of your CPU via a MPI programming cable. interface Load your project in the SIMATIC Manager from Siemens. Choose in the menu ‘Options è...
  • Page 74: Accessing The Web Server

    VIPA System SLIO Deployment CPU 013-CCF0R00 Accessing the web server > Web page with selected CPU Copy the blocks from the project blocks folder and the System data into the wld file. Copy the wld file at a suited memory card. Plug this into your CPU and start it again.
  • Page 75 VIPA System SLIO Deployment CPU 013-CCF0R00 Accessing the web server > Web page with selected CPU Info - Overview Here order number, serial number and the version of firmware and hardware of the CPU are listed. [Expert View] takes you to the advanced "Expert View". Info - Expert View Runtime Information Operation Mode...
  • Page 76 VIPA System SLIO Deployment CPU 013-CCF0R00 Accessing the web server > Web page with selected CPU WorkMemData 33204/262144 bytes PG/OP Network Information Device Name PLC_01 Ethernet PG/OP channel: IP Address 192.168.10.124 Address information Subnet Mask 255.255.255.0 Gateway Address 192.168.10.124 MAC Address 00:20:D5:02:05:4A Network Information Port X1 Link mode of the interfaces...
  • Page 77: Web Page With Selected Module

    VIPA System SLIO Deployment CPU 013-CCF0R00 Operating modes > Overview 4.10.4 Web page with selected module Info Here product name, order number, serial number, firmware version and hardware state number of the according module are listed. Data Here the address and the state of the inputs respectively outputs are listed. Please note with the outputs that here exclusively the states of outputs can be shown, which are within the OB 1 process image.
  • Page 78: Function Security

    VIPA System SLIO Deployment CPU 013-CCF0R00 Operating modes > Function security Operating mode START- During the transition from STOP to RUN a call is issued to the start-up organization block OB 100. – The processing time for this OB is not monitored. –...
  • Page 79: Overall Reset

    VIPA System SLIO Deployment CPU 013-CCF0R00 Overall reset > Overall reset by means of the operating mode switch Event concerns Effect decentral inputs The inputs are cyclically be read by the decentralized station and the recent values are put at disposal. STOP ®...
  • Page 80: Overall Reset By Means Of The Siemens Simatic Manager

    The latest firmware versions can be found in the service area at www.vipa.com. For www.vipa.com example the following files are necessary for the firmware update of the CPU 013- CCF0R00 and its components with hardware release 01: CPU 013C, Hardware release 01: Px000265.pkg HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 81 VIPA System SLIO Deployment CPU 013-CCF0R00 Firmware update CAUTION! When installing a new firmware you have to be extremely careful. Under certain circumstances you may destroy the CPU, for example if the voltage supply is interrupted during transfer or if the firmware file is defec- tive.
  • Page 82: Reset To Factory Settings

    VIPA System SLIO Deployment CPU 013-CCF0R00 Reset to factory settings The update is successful finished when the LEDs PW, ST, SF, FC and SD are on. If they are blinking fast, an error occurred. Turn power OFF and ON. Now it is checked by the CPU, whether further firmware updates are to be executed.
  • Page 83: Deployment Storage Media - Vsd, Vsc

    VIPA System SLIO Deployment CPU 013-CCF0R00 Deployment storage media - VSD, VSC After a firmware update of the CPU you always should execute a Factory reset. 4.15 Deployment storage media - VSD, VSC Overview At the front of the CPU there is a slot for storage media. Here the following storage media can be plugged: VSD - VIPA SD-Card –...
  • Page 84 VIPA System SLIO Deployment CPU 013-CCF0R00 Deployment storage media - VSD, VSC VSDs are external storage media based on SD memory cards. VSDs are pre-formatted with the PC format FAT 16 (max. 2GB) and can be accessed via a card reader. After PowerON respectively an overall reset the CPU checks, if there is a VSD with data valid for the CPU.
  • Page 85: Extended Know-How Protection

    VIPA System SLIO Deployment CPU 013-CCF0R00 Extended know-how protection Accessing the storage To the following times an access takes place on a storage medium: medium After overall reset The CPU checks if a VSC is inserted. If so, the corresponding optional functions are enabled.
  • Page 86: Cmd - Auto Commands

    VIPA System SLIO Deployment CPU 013-CCF0R00 CMD - auto commands Protect blocks with pro- Create a new wld-file in your project engineering tool with ‘File è Memory Card file tect.wld è New’ and rename it to "protect.wld". Transfer the according blocks into the file by drag- ging them with the mouse from the project to the file window of protect.wld.
  • Page 87 VIPA System SLIO Deployment CPU 013-CCF0R00 CMD - auto commands Command Description Diagnostics entry CMD_START In the first line CMD_START is to be located. 0xE801 There is a diagnostics entry if CMD_START is missing. 0xE8FE WAIT1SECOND Waits about 1 second. 0xE803 LOAD_PROJECT The function "Overall reset and reload from memory card"...
  • Page 88: Control And Monitoring Of Variables With Test Functions

    VIPA System SLIO Deployment CPU 013-CCF0R00 Control and monitoring of variables with test functions DIAGBUF Store diagnostics buffer of the CPU as "diagbuff.txt" (0xE80B) CMD_END Marks the end of the command sequence (0xE802) ... arbitrary text ... Text after the command CMD_END is not evaluated. The parameters IP address, subnet mask and gateway may be received from the system administrator.
  • Page 89: Diagnostic Entries

    VIPA System SLIO Deployment CPU 013-CCF0R00 Diagnostic entries ‘PLC This test function returns the condition of a selected operand (inputs, outputs, flags, data è Monitor/Modify word, counters or timers) at the end of program execution. This information is obtained Variables’ from the corresponding area of the selected operands.
  • Page 90: Deployment I/O Periphery

    VIPA System SLIO Deployment I/O periphery Overview Deployment I/O periphery 5.1 Overview Project engineering and On this CPU the connectors for digital respectively analog signal and Technological parametrization functions are combined in a one casing. The project engineering happens in the Siemens SIMATIC Manager as CPU 314C-2 PN/DP from Siemens (314-6EH04-0AB0 V3.3).
  • Page 91: Address Assignment

    VIPA System SLIO Deployment I/O periphery Analog input > Properties 5.2 Address assignment Sub module Input address Access Assignment AI5/AO2 WORD Analog input channel 0 (X4) WORD Analog input channel 1 (X4) Sub module Input address Access Assignment DI24/DO16 BYTE Digital input I+0.0 ...
  • Page 92: Analog Value Representation

    VIPA System SLIO Deployment I/O periphery Analog input > Analog value representation 5.3.2 Analog value representation Number representation in Siemens S7 format Resolution Analog value - twos complement High byte (byte 0) Low byte (byte 1) Bit number Value 11Bit+sign Measuring value * The lowest value irrelevant bits of the output value (0) are marked with "X".
  • Page 93: Wiring

    VIPA System SLIO Deployment I/O periphery Analog input > Wiring 5.3.3 Wiring X4: Connector Pos. Function Type Description AI 0 AI0: Analog input AI 0 AI 1 AI1: Analog input AI 1 Analog 0V 4M: GND for analog inputs DI 0 +0.0: Digital input DI 0 / Counter 0 (A) * DI 1 +0.1: Digital input DI 1 / Counter 0 (B) / Frequency 0 *...
  • Page 94: Parametrization

    VIPA System SLIO Deployment I/O periphery Analog input > Parametrization Temporarily not used analog inputs must be connected to the concerning ground. 5.3.4 Parametrization 5.3.4.1 Adress assignment Sub module Input address Access Assignment AI5/AO2 WORD Analog input channel 0 (X4) WORD Analog input channel 1 (X4) 5.3.4.2...
  • Page 95: Digital Input

    VIPA System SLIO Deployment I/O periphery Digital input > Properties 5.4 Digital input 5.4.1 Properties 16xDC 24V Maximum input frequency – 10 inputs: 100kHz – 6 inputs: 1kHz Interrupt functions parameterizable Status indication via LEDs HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 96: Wiring

    VIPA System SLIO Deployment I/O periphery Digital input > Wiring 5.4.2 Wiring X4: Connector Pos. Function Type Description AI 0 AI0: Analog input AI 0 AI 1 AI1: Analog input AI 1 Analog 0V 4M: GND for analog inputs DI 0 +0.0: Digital input DI 0 / Counter 0 (A) * DI 1 +0.1: Digital input DI 1 / Counter 0 (B) / Frequency 0 *...
  • Page 97: Parametrization

    VIPA System SLIO Deployment I/O periphery Digital input > Parametrization 5.4.3 Parametrization 5.4.3.1 Adress assignment Sub module Input address Access Assignment DI24/DO16 BYTE Digital input I+0.0 ... I+0.7 (X4) BYTE Digital input I+1.0 ... I+1.7 (X4) 5.4.3.2 Hardware interrupt Parameter hardware con- With the parameter ‘Hardware interrupt at ...’...
  • Page 98: Status Indication

    VIPA System SLIO Deployment I/O periphery Digital output > Properties 5.4.4 Status indication Digital input Description green DI +0.0 DI +0.7 ● Digital I+0.0 ... 0.7 has "1" signal ○ Digital I+0.0 ... 0.7 has "0" signal DI +1.0 ... DI +1.7 ●...
  • Page 99: Wiring

    VIPA System SLIO Deployment I/O periphery Digital output > Wiring 5.5.2 Wiring X5: Connector Pos. Function Type Description Sys DC 24V 1L+: DC 24V for electronic section supply Sys 0V 1M: GND for electronic section supply reserved DC 24V S+: DC 24V for sensor 1M: GND for sensor DO 0 +0.0: Digital output DO 0 / PWM 0 / Output channel counter 0...
  • Page 100: Parametrization

    VIPA System SLIO Deployment I/O periphery Digital output > Status indication 5.5.3 Parametrization 5.5.3.1 Address assignment Sub module Output address Access Assignment DI24/DO16 BYTE Digital output Q+0.0 ... Q+0.7 (X5) BYTE Digital output Q+1.0 ... Q+1.3 (X5) 5.5.4 Status indication Digital output Description green...
  • Page 101: Counting

    VIPA System SLIO Deployment I/O periphery Counting > Properties 5.6 Counting 5.6.1 Properties 4 channels Various counting modes – once – continuously – periodically Control by the user program via blocks HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 102: Wiring

    VIPA System SLIO Deployment I/O periphery Counting > Wiring 5.6.2 Wiring 5.6.2.1 Counter inputs X4: Connector Pos. Function Type Description AI 0 AI0: Analog input AI 0 AI 1 AI1: Analog input AI 1 Analog 0V 4M: GND for analog inputs DI 0 +0.0: Digital input DI 0 / Counter 0 (A) * DI 1...
  • Page 103 VIPA System SLIO Deployment I/O periphery Counting > Wiring For not all inputs are available at the same time, for every counter you may define the input assignment via the parameterization for the following input signals: Counter – Pulse input for counter signal respectively track A of an encoder for 1-, 2- or 4-fold evaluation.
  • Page 104 VIPA System SLIO Deployment I/O periphery Counting > Wiring 5.6.2.2 Counter outputs X5: Connector Pos. Function Type Description Sys DC 24V 1L+: DC 24V for electronic section supply Sys 0V 1M: GND for electronic section supply reserved DC 24V S+: DC 24V for sensor 1M: GND for sensor DO 0 +0.0: Digital output DO 0 / PWM 0 / Output channel counter 0...
  • Page 105: Proceeding

    VIPA System SLIO Deployment I/O periphery Counting > SFB 47 - COUNT - Counter controlling 5.6.3 Proceeding Hardware configuration In the Siemens SIMATIC Manager the following steps should be executed: Perform a hardware configuration for the CPU. Ä Chapter 4.4 ‘Hardware configura- tion - CPU’...
  • Page 106 VIPA System SLIO Deployment I/O periphery Counting > SFB 47 - COUNT - Counter controlling Parameters Name Data type Address Default value Comment (Instance LADDR WORD 300h This parameter is not evaluated. Always the internal I/O periphery is addressed. CHANNEL Channel number SW_GATE BOOL...
  • Page 107 VIPA System SLIO Deployment I/O periphery Counting > SFB 47 - COUNT - Counter controlling Local data only in instance DB Name Data type Address Default value Comment (Instance RES00 BOOL 26.0 FALSE reserved RES01 BOOL 26.1 FALSE reserved RES02 BOOL 26.2 FALSE...
  • Page 108 VIPA System SLIO Deployment I/O periphery Counting > SFB 47 - COUNT - Counter controlling Proceeding The deployment of the request interface takes place at the following sequence: Edit the following input parameters: Name Data type Address (DB) Default Comment JOB_REQ BOOL FALSE...
  • Page 109 VIPA System SLIO Deployment I/O periphery Counting > SFB 47 - COUNT - Counter controlling A value to be read of a read job may be found in JOB_OVAL in the instance DB at address 28. Permitted value range for JOB_VAL Continuous count: Valid range...
  • Page 110: Parametrization

    VIPA System SLIO Deployment I/O periphery Counting > Parametrization Valid range Writing pulse duration* 0 ... 510ms *) Only even values allowed. Odd values are automatically rounded. Latch function As soon as during a count process an edge 0-1 is recognized at the "Latch" input of a counter, the recent counter value is stored in the according latch register.
  • Page 111 VIPA System SLIO Deployment I/O periphery Counting > Parametrization 5.6.5.3 Operating mode per channel Parameter hardware con- Select via ‘Channel’ the channel select via ‘Operating’ the operating mode. The fol- figuration lowing operating modes are supported: Not parameterized: Channel is deactivated Ä...
  • Page 112 VIPA System SLIO Deployment I/O periphery Counting > Parametrization Operating parameters Description Assignment Comparison value The count value is compared with the comparison value. See also the parameter "Characteristics of the output": No main counting direction – Range of values: -2) to +2) Main counting direction forward –...
  • Page 113 VIPA System SLIO Deployment I/O periphery Counting > Parametrization Output Description Assignment Characteristics of the output The output and the "Comparator" (STS_CMP) status bit No comparison are set, dependent on this parameter. No comparison: The output is used as normal output and STS_CMP remains reset.
  • Page 114 VIPA System SLIO Deployment I/O periphery Counting > Parametrization Hardware interrupt Description Assignment Overflow Hardware interrupt overflow disabled enabled: Hardware interrupt on overflow the upper counter limit disabled: no hardware interrupt Underflow Hardware interrupt on underrun disabled enabled: Hardware interrupt on underflow the lower counter limit disabled: no hardware interrupt Max.
  • Page 115: Counter Operating Modes

    VIPA System SLIO Deployment I/O periphery Counting > Counter operating modes 5.6.6 Counter operating modes 5.6.6.1 Count continuously In this operating mode the counter counts starting with the load value. When the counter counts forward and reaches the upper count limit and another counting pulse in positive direction arrives, it jumps to the lower count limit and counts from there on.
  • Page 116 VIPA System SLIO Deployment I/O periphery Counting > Counter operating modes 5.6.6.2 Count once 5.6.6.2.1 No main counting direction The counter counts once starting with load value. It is counted forward or backward. The counter limits are fix set to maximum range. At over- or underflow at the count limits, the counter jumps to the according other count limit and the gate is automatically closed.
  • Page 117 VIPA System SLIO Deployment I/O periphery Counting > Counter operating modes 5.6.6.2.2 Main counting direction forward The counter counts forward starting with the load value. When the counter reaches the End value -1 in positive direction, it jumps to the load value at the next count pulse and the gate is automatically closed.
  • Page 118 VIPA System SLIO Deployment I/O periphery Counting > Counter operating modes 5.6.6.2.3 Main counting direction backward The counter counts backward starting with the load value. When the counter reaches the End value +1 in positive direction, it jumps to the load value at the next count pulse and the gate is automatically closed.
  • Page 119 VIPA System SLIO Deployment I/O periphery Counting > Counter operating modes 5.6.6.3 Count Periodically 5.6.6.3.1 No main counting direction The counter counts forward or backwards starting with the load value. At over- or underrun at the count limits, the counter jumps to the load value and con- tinues counting.
  • Page 120 VIPA System SLIO Deployment I/O periphery Counting > Counter operating modes 5.6.6.3.2 Main counting direction forward The counter counts forward starting with the load value. When the counter reaches the end value -1 in positive direction, it jumps to the load value at the next positive count pulse and continues counting.
  • Page 121 VIPA System SLIO Deployment I/O periphery Counting > Counter operating modes 5.6.6.3.3 Main counting direction backward Main counting direction backward The counter counts backward starting with the load value. When the counter reaches the end value +1 in positive direction, it jumps to the load value at the next negative count pulse and continues counting.
  • Page 122: Counter - Additional Functions

    VIPA System SLIO Deployment I/O periphery Counting > Counter - Additional functions 5.6.7 Counter - Additional functions 5.6.7.1 Overview Schematic structure The illustration shows how the additional functions influence the counting behavior. The following pages describe these additional functions in detail: 5.6.7.2 Gate function Function...
  • Page 123 VIPA System SLIO Deployment I/O periphery Counting > Counter - Additional functions At interrupt function, the counter starts counting with the last recent counter value after gate restart. Counter 0 ... 2 SW gate Gate function Reaction counter 0 ... 2 Edge 0-1 Abort count process Restart with load value...
  • Page 124 VIPA System SLIO Deployment I/O periphery Counting > Counter - Additional functions 5.6.7.3 Comparator Function In the CPU a comparison value may be stored. During the counting procedure the counter value is compared with the comparative value. Depending on the result of the comparison the output channel of the counter and the status bit of STS_CMP of Ä...
  • Page 125 VIPA System SLIO Deployment I/O periphery Counting > Counter - Additional functions 5.6.7.5 Counter output channel Characteristics of the Each counter has an output channel. You pre-define the behavior of the counter output output via the parametrization: no comparison: – The output is used as normal output.
  • Page 126 VIPA System SLIO Deployment I/O periphery Counting > Counter - Additional functions ³ Effect at counter value comparison value Counter value ³ comparison value ® output is set and hysteresis activated Leave hysteresis range ® output is reset Counter value ³ comparison value ® output is set and hysteresis activated Leave hysteresis range, output remains set for counter value ³...
  • Page 127 VIPA System SLIO Deployment I/O periphery Counting > Counter - Additional functions Counter value = comparison value ® output is set and hysteresis activated Output is reset for leaving hysteresis range and counter value > comparison value Counter value = comparison value ® output is set and hysteresis activated Counter value = comparison value and hysteresis active ®...
  • Page 128: Diagnostics And Interrupt

    VIPA System SLIO Deployment I/O periphery Frequency measurement > Properties 5.6.8 Diagnostics and interrupt Overview GSDML Edge at an digital interrupt input Via the hardware configuration you can define the following trigger for a hardware inter- rupt that can trigger a diagnostics interrupt: Reaching the comparison value Overflow respectively at overrun upper counter limit Underflow respectively at underrun lower counter limit...
  • Page 129: Wiring

    VIPA System SLIO Deployment I/O periphery Frequency measurement > Wiring Integration time Counting pulse SW gate Evaluated frequency The counting function is disabled during the pulse width modulation on the same channel. 5.7.2 Wiring 5.7.2.1 Frequency measurement inputs Connect the signal to be measured at input B of the corresponding counter. HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 130 VIPA System SLIO Deployment I/O periphery Frequency measurement > Wiring X4: Connector Pos. Function Type Description AI 0 AI0: Analog input AI 0 AI 1 AI1: Analog input AI 1 Analog 0V 4M: GND for analog inputs DI 0 +0.0: Digital input DI 0 / Counter 0 (A) * DI 1 +0.1: Digital input DI 1 / Counter 0 (B) / Frequency 0 * DI 2...
  • Page 131: Proceeding

    VIPA System SLIO Deployment I/O periphery Frequency measurement > SFB 48 - FREQUENC - Frequency measurement 5.7.3 Proceeding Hardware configuration In the Siemens SIMATIC Manager the following steps should be executed: Perform a hardware configuration for the CPU. Ä Chapter 4.4 ‘Hardware configura- tion - CPU’...
  • Page 132 VIPA System SLIO Deployment I/O periphery Frequency measurement > SFB 48 - FREQUENC - Frequency measurement Name Declaration Data type Address Default value Comment (Inst.-DB) JOB_REQ INPUT BOOL FALSE Initiates the job (edge 0-1) JOB_ID INPUT WORD Job ID JOB_VAL INPUT DINT Value for write jobs...
  • Page 133: Parametrization

    VIPA System SLIO Deployment I/O periphery Frequency measurement > Parametrization Call the SFB. The job is processed immediately. JOB_DONE only applies to SFB run with the result FALSE. JOB_ERR = TRUE if an error occurred. Details on the error cause are indicated at JOB_STAT. Name Data type Address...
  • Page 134 VIPA System SLIO Deployment I/O periphery Frequency measurement > Parametrization Sub module Output address Access Assignment Counter DWORD reserved DWORD reserved DWORD reserved DWORD reserved 5.7.5.2 Interrupt selection Via ‘Basic parameters’ you can reach ‘Select interrupt’ . Here you can define the inter- rupts the CPU will trigger.
  • Page 135 VIPA System SLIO Deployment I/O periphery Frequency measurement > Parametrization 5.7.5.4 Frequency measurement Parameter hardware con- Default values and structure of this dialog box depend on the selected ‘Operating mode’ . figuration The following parameters are supported: Integration time Counting pulse SW gate Evaluated frequency Parameter overview...
  • Page 136: Status Indication

    VIPA System SLIO Deployment I/O periphery Frequency measurement > Status indication 5.7.6 Status indication Digital input Description green DI +0.0 DI +0.7 ● Digital I+0.0 ... 0.7 has "1" signal ○ Digital I+0.0 ... 0.7 has "0" signal DI +1.0 ... DI +1.7 ●...
  • Page 137: Pulse Width Modulation - Pwm

    VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > Properties 5.8 Pulse width modulation - PWM 5.8.1 Properties By presetting of time parameters, the CPU evaluates a pulse sequence with according pulse/pause ratio and outputs it via the according output channel. Channel 0 and 1 are supported Control by the user program Ä...
  • Page 138: Wiring

    VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > Wiring 5.8.2 Wiring 5.8.2.1 Pulse width modulation outputs X5: Connector Pos. Function Type Description Sys DC 24V 1L+: DC 24V for electronic section supply Sys 0V 1M: GND for electronic section supply reserved DC 24V S+: DC 24V for sensor...
  • Page 139: Proceeding

    VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation 5.8.3 Proceeding Hardware configuration In the Siemens SIMATIC Manager the following steps should be executed: Perform a hardware configuration for the CPU. Ä...
  • Page 140 VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation Name Declaration Data type Address Default Comment (Inst.-DB) value OUTP_VAL INPUT Output value JOB_REQ INPUT BOOL FALSE Initiates the job (edge 0-1) JOB_ID INPUT WORD...
  • Page 141 VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation Name Data type Address Default Comment (DB) JOB_REQ BOOL FALSE Initiates the job (edges 0-1) JOB_ID WORD 10.0 Job ID: 00h Job without function 01h write period duration 02h write on-delay...
  • Page 142: Parametrization

    VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > Parametrization Controlling PWM The pulse width modulation is controlled by the internal gate (I gate). The I gate is iden- tical to the software gate (SW gate). SW gate: open (activate): In the user program by setting SW_EN of SFB 49 close (deactivate): In the user program by resetting SW_EN of SFB 49 If values during the PWM output are changed, the new values will be...
  • Page 143 VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > Parametrization 5.8.5.3 Pulse width modulation Parameter hardware con- Default values and structure of this dialog box depend on the selected ‘Operating mode’ . figuration The following parameters are supported: Period On-delay Pulse duration...
  • Page 144 VIPA System SLIO Deployment I/O periphery Pulse width modulation - PWM > Parametrization Operating parameters Description Assignment Period With the period you define the length of the output 20000 sequence, which consists of pulse duration and pulse pause. Range of values: Time base 1ms: 1 ...
  • Page 145: Status Indication

    VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Overview 5.8.6 Status indication Digital output Description green DO +0.0 ... DO +0.7 ● Digital output Q+0.0 ... 0.7 has "1" signal ○ Digital output Q+0.0 ... 0.7 has "0" signal DO +1.0 ...
  • Page 146: Process Interrupt

    VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Process interrupt Diagnostics interrupt The VIPA specific parameters allow you to define the following trigger for a diagnostics interrupt Ä Chapter 4.8 ‘Setting VIPA specific CPU parameters’ on page 70: Hardware interrupt lost Error: 2L+ DC 24V DO power section supply Error: 3L+: DC 24V SLIO bus power section supply...
  • Page 147 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Process interrupt Local double word 8 of OB 40 at counter function Local byte Bit 7...0 Bit 0: Edge at I+0.0 Bit 1: Edge at I+0.1 Bit 2: Edge at I+0.2 Bit 3: Edge at I+0.3 Bit 4: Edge at I+0.4 Bit 5: Edge at I+0.5...
  • Page 148: Diagnostic Interrupt

    VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Local double word 8 of OB 40 at frequency measurement Local byte Bit 7...0 Bit 0: Edge at I+0.0 Bit 1: Edge at I+0.1 Bit 2: Edge at I+0.2 Bit 3: Edge at I+0.3 Bit 4: Edge at I+0.4 Bit 5: Edge at I+0.5...
  • Page 149 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Example: Diagnostic interrupt pro- Every OB 82 call causes an entry in the diagnostic buffer of the CPU containing error cessing cause and module address. By using the SFC 59 you may read the diagnostic bytes. At de-activated diagnostic interrupt you have access to the last recent diagnostic event.
  • Page 150 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Record set 0 Diag- Byte Bit 7...0 nostic incoming Bit 0: set at module failure – Counter/Frequency measurement: Process interrupt lost – Digital input: Process interrupt lost – Missing power supply DI or DO –...
  • Page 151 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Bit 0: set at module failure – Counter/Frequency measurement: Process interrupt lost – Digital input: Process interrupt lost – Missing power supply DI or DO –...
  • Page 152 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Ä ‘Record set 0 Diagnostic 0 ... 3 Content record set 0 ’ on page 150 incoming Bit 6 ... 0: Channel type (here 70h) –...
  • Page 153 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Diagnostic interrupt due to "process interrupt lost" at... Bit 0: ... input I+1.4 Bit 1: 0 (fix) Bit 2: ... input I+1.5 Bit 3: 0 (fix) Bit 4: ...
  • Page 154 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Diagnostic interrupt due to "process interrupt lost" at... Bit 0: ... input I+0.4 Bit 1: 0 (fix) Bit 2: ... input I+0.5 Bit 3: 0 (fix) Bit 4: ...
  • Page 155 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Diagnostic interrupt due to "process interrupt lost" at... Bit 3 ... 0: reserved Bit 4: ... over-/underflow/end value counter 2 Bit 5: 0 (fix) Bit 6: ... counter 2 reached comparison value Bit 7: 0 (fix) Diagnostic interrupt due to "process interrupt lost"...
  • Page 156 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Diagnostic interrupt due to "process interrupt lost" at... Bit 0: ... input I+0.0 Bit 1: 0 (fix) Bit 2: ... input I+0.1 Bit 3: 0 (fix) Bit 4: ...
  • Page 157 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Diagnostic interrupt due to "process interrupt lost" at... Bit 0: End of measurement channel 2 (End of integration time) Bit 7 ... 1: 0 (fix) Diagnostic interrupt due to "process interrupt lost"...
  • Page 158 VIPA System SLIO Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Diagnostic interrupt due to "process interrupt lost" at... Bit 0: ... input I+0.4 Bit 1: 0 (fix) Bit 2: ... input I+0.5 Bit 3: 0 (fix) Bit 4: ...
  • Page 159: Deployment Ptp Communication

    VIPA System SLIO Deployment PtP communication Fast introduction Deployment PtP communication 6.1 Fast introduction General The CPU has the interface X3 MPI(PtP) with a fix pinout. After an overall reset the inter- face has MPI functionality. By appropriate configuration the PtP function (point to point) can be enabled: PtP functionality –...
  • Page 160: Principle Of The Data Transfer

    VIPA System SLIO Deployment PtP communication Principle of the data transfer 6.2 Principle of the data transfer Overview The data transfer is handled during runtime by using FC/SFCs. The principle of data transfer is the same for all protocols and is shortly illustrated in the following. Data, which are written into the according data channel by the CPU, is stored in a FIFO send buffer (first in first out) with a size of 2x1024byte and then put out via the interface.
  • Page 161: Enable Ptp Functionality

    VIPA System SLIO Deployment PtP communication Deployment of RS485 interface for PtP 6.3 Enable PtP functionality Ä Chapter 4.4 ‘Hardware configuration - CPU’ on page 61 of the CPU you can Proceeding After the set the parameters of the CPU in the virtual IO device ‘VIPA SLIO CPU’ . Open the properties dialog by a double-click at ‘VIPA SLIO CPU’...
  • Page 162: Parametrization

    VIPA System SLIO Deployment PtP communication Parametrization > FC/SFC 216 - SER_CFG - Parametrization PtP RS485 9pin SubD jack RS485 n.c. M24V RxD/TxD-P (Line B) P24V RxD/TxD-N (Line A) n.c. Connection 6.5 Parametrization 6.5.1 FC/SFC 216 - SER_CFG - Parametrization PtP The parametrization happens during runtime deploying the FC/SFC 216 (SER_CFG).
  • Page 163: Communication

    VIPA System SLIO Deployment PtP communication Protocols and procedures 6.6 Communication 6.6.1 FC/SFC 217 - SER_SND - Send to PtP 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 con- tains, among other things, recent information about the acknowledgement of the partner station.
  • Page 164 VIPA System SLIO Deployment PtP communication Protocols and procedures As Start-res. End-ID all Hex values from 01h to 1Fh are permissible. Characters above 1Fh are ignored. In the user data, characters below 20h are not allowed and may cause errors. The number of Start- and End-IDs may be different (1 Start, 2 End res. 2 Start, 1 End or other combinations).
  • Page 165 VIPA System SLIO Deployment PtP communication Protocols and procedures The following features characterize the USS protocol: Multi point connection Master slave access procedure Single master system Max. 32 participants Simple and secure telegram frame It is essential: You may connect 1 master and max. 31 slaves at the bus The single slaves are addressed by the master via an address sign in the telegram.
  • Page 166: Modbus - Function Codes

    VIPA System SLIO Deployment PtP communication Modbus - Function codes Modbus The Modbus protocol is a communication protocol that fixes a hierarchic structure with one master and several slaves. Physically, Modbus works with a serial half-duplex connection. There are no bus con- flicts occurring, because the master can only communicate with one slave at a time.
  • Page 167 VIPA System SLIO Deployment PtP communication Modbus - Function codes For the CPs from VIPA is not differentiating digital and analog data, the following assign- ment is valid: 0x - Bit area for master output data Access via function code 01h, 05h, 0Fh 1x - Bit area for master input data Access via function code 02h 3x - word area for master input data...
  • Page 168 VIPA System SLIO Deployment PtP communication Modbus - Function codes Respond of the slave If the slave announces an error, the function code is send back with an "ORed" 80h. Without an error, the function code is sent back. ® Error Slave answer: Function code OR 80h ®...
  • Page 169 VIPA System SLIO Deployment PtP communication Modbus - Function codes Command telegram Slave address Function code Address 1. bit Number of words Check sum CRC/LRC 1byte 1byte 1word 1word 1word Respond telegram Slave address Function code Number of Data 1. word Data 2.
  • Page 170 VIPA System SLIO Deployment PtP communication Modbus - Function codes Please regard that the number of bits has additionally to be set in byte. Command telegram Slave Function Address 1. Number of Number of Data 1. Data 2. Check sum address code bits...
  • Page 171: Deployment Pg/Op Communication - Productive

    VIPA System SLIO Deployment PG/OP communication - productive Basics - Industrial Ethernet in automation Deployment PG/OP communication - productive 7.1 Basics - Industrial Ethernet in automation Overview The flow of information in a company presents a vast spectrum of requirements that must be met by the communication systems.
  • Page 172: Basics - Iso/Osi Reference Model

    VIPA System SLIO Deployment PG/OP communication - productive Basics - ISO/OSI reference model 7.2 Basics - ISO/OSI reference model Overview The ISO/OSI reference model is based on a proposal that was developed by the Interna- tional Standards Organization (ISO). This represents the first step towards an interna- tional standard for the different protocols.
  • Page 173: Basics - Terms

    VIPA System SLIO Deployment PG/OP communication - productive Basics - Terms Layer 5 - Session layer The session layer is also called the communication control layer. It relieves the communi- cation between service deliverer and the requestor by establishing and holding the con- nection if the transport system has a short time fail out.
  • Page 174: Basics - Protocols

    VIPA System SLIO Deployment PG/OP communication - productive Basics - Protocols 7.4 Basics - Protocols Overview Protocols define a set of instructions or standards that enable computer to establish com- munication connections and exchange information as error free as possible. A commonly established protocol for the standardization of the complete computer communication is the so called ISO/OSI layer model, a model based upon seven layers with rules for the Ä...
  • Page 175: Basics - Ip Address And Subnet

    VIPA System SLIO Deployment PG/OP communication - productive Basics - IP address and subnet Open communication In the ‘open communication’ the communication takes place via the user program by means of handling blocks. These blocks are also part of the Siemens SIMATIC Manager. You will find these in the ‘Standard Library’...
  • Page 176 VIPA System SLIO Deployment PG/OP communication - productive Basics - IP address and subnet Subnet mask binary all "1" binary all "0" IPv4 address Net-ID Host-ID Subnet mask and IPv4 address Net-ID Subnet-ID new Host-ID Address at first start-up At the first start-up of the CPU, the Ethernet PG/OP channel does not have an IP address.
  • Page 177: Fast Introduction

    VIPA System SLIO Deployment PG/OP communication - productive Hardware-Konfiguration Never choose an IP address with Host-ID=0 or Host-ID=maximum! (e.g. for class B with subnet mask = 255.255.0.0, the "172.16.0.0" is reserved and the "172.16.255.255" is occupied as local broadcast address for this network.) 7.6 Fast introduction Overview...
  • Page 178: Configure Siemens S7 Connections

    VIPA System SLIO Deployment PG/OP communication - productive Configure Siemens S7 connections 7.8 Configure Siemens S7 connections Overview The project engineering of connections i.e. the "link-up" between stations happens in NetPro from Siemens. NetPro is a graphical user interface for the link-up of stations. A communication connection enables the program controlled communication between two participants at the Industrial Ethernet.
  • Page 179 VIPA System SLIO Deployment PG/OP communication - productive Configure Siemens S7 connections Work environment of For the project engineering of connections, a thorough knowledge with NetPro from Sie- NetPro mens is required! The following passage only describes the basic usage of NetPro. More detailed information about NetPro is to be found in the according online manual res.
  • Page 180 VIPA System SLIO Deployment PG/OP communication - productive Configure Siemens S7 connections Projecting connections Projecting connections For the project engineering of connections, open the connection list by selecting the according CPU. Choose Insert new connection in the context menu: Connection partner (partner station) A dialog window opens where you may choose the connection partner and the connection type.
  • Page 181 VIPA System SLIO Deployment PG/OP communication - productive Configure Siemens S7 connections Connection types With this CPU exclusively Siemens S7 connection may be configured with Siemens NetPro. Siemens S7 connection For data transfer with Siemens S7 connections the FB/SFB VIPA handling blocks are necessary;...
  • Page 182 VIPA System SLIO Deployment PG/OP communication - productive Configure Siemens S7 connections In the following every relevant parameter of a Siemens S7 connection is described: Local connection end point: Here you may define how the connection is to be established. Since the Siemens SIMATIC Manager can identify the communication options by means of the end points, some options are already preset and may not be changed.
  • Page 183: Configure Open Communication

    VIPA System SLIO Deployment PG/OP communication - productive Configure Open Communication Function blocks FB/SFB Label Description FB/SFB 12 BSEND Sending data in blocks: FB/SFB 12 BSEND sends data to a remote partner FB/SFB of the type BRCV (FB/SFB 13). The data area to be transmitted is segmented. Each segment is sent individually to the partner.
  • Page 184 VIPA System SLIO Deployment PG/OP communication - productive Configure Open Communication UDTs Designation Connection-oriented protocols: Connectionless protocol: UDP TCP native as per RFC 793, ISO according to RFC 768 on TCP as per RFC 1006 UDT 65* TCON_PAR Data structure for assigning connec- Data structure for assigning parameters tion parameters for the local communications access point...
  • Page 185 VIPA System SLIO Deployment PG/OP communication - productive Configure Open Communication The following connection-oriented protocols are supported with FBs for open communica- tion via Industrial Ethernet: TCP/IP native according to RFC 793 (connection types 01h and 11h): – During data transmission, no information about the length or about the start and end of a message is transmitted.
  • Page 186: Option: Profibus Communication

    VIPA System SLIO Option: PROFIBUS communication Overview Option: PROFIBUS communication 8.1 Overview To switch the interface X3 MPI(PtP) to PROFIBUS functionality you have to activate the according bus functionality by means of a VSC storage media from VIPA. By plugging the VSC storage card and then an overall Ä...
  • Page 187: Fast Introduction

    VIPA System SLIO Option: PROFIBUS communication Hardware configuration - CPU When disabled, the PROFIBUS interface operates as a server for communication serv- ices with the following characteristics: The PROFIBUS interface gets an "passive" PROFIBUS node, this means it is not involved in the token rotation.
  • Page 188: Deployment As Profibus Dp Master

    VIPA System SLIO Option: PROFIBUS communication Deployment as PROFIBUS DP master Proceeding With the Siemens SIMATIC Manager the following steps should be executed: Start the Siemens hardware configurator with a new project. Insert a profile rail from the hardware catalog. Place at ‘Slot’...
  • Page 189: Deployment As Profibus Dp Slave

    VIPA System SLIO Option: PROFIBUS communication Deployment as PROFIBUS DP slave 8.5 Deployment as PROFIBUS DP slave Fast introduction In the following the deployment of the PROFIBUS section as "intelligent" DP slave on master system is described, which exclusively may be configured in the Siemens SIMATIC Manager.
  • Page 190 VIPA System SLIO Option: PROFIBUS communication Deployment as PROFIBUS DP slave Project engineering of the Insert another station and configure a CPU. master section Designate the station as "...DP master". Add your modules according to the real hardware assembly. Open the properties dialog of the DP interface of the CPU by means of a double- click at ‘MPI/DP’...
  • Page 191: Profibus Installation Guidelines

    VIPA System SLIO Option: PROFIBUS communication PROFIBUS installation guidelines 8.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 192 VIPA System SLIO Option: PROFIBUS communication PROFIBUS installation guidelines The PROFIBUS line has to be terminated with its ripple resistor. Please make sure to terminate the last participants on the bus at both ends by activating the terminating resistor. EasyConn bus connector In PROFIBUS all participants are wired parallel.
  • Page 193: Commissioning And Start-Up Behavior

    VIPA System SLIO Option: PROFIBUS communication Commissioning and Start-up behavior Wiring [1] 1./last bus participant [2] further participants CAUTION! The terminating resistor is only effective, if the connector is installed at a bus participant and the bus participant is connected to a power supply. The tightening torque of the screws to fix the connector to a device must not exceed 0.02Nm! A complete description of installation and deployment of the terminating...
  • Page 194 VIPA System SLIO Option: PROFIBUS communication Commissioning and Start-up behavior Online with bus parameter The DP master can be served with bus parameters by means of a hardware configura- without slave project tion. As soon as these are transferred the DP master goes online with his bus parameter. This is shown by the RUN LED.
  • Page 195: Configuration With Vipa Speed7 Studio

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Overview Configuration with VIPA SPEED7 Studio 9.1 SPEED7 Studio - Overview SPEED7 Studio - Working In this part the project engineering of the VIPA CPU in the VIPA SPEED7 Studio is environment shown.
  • Page 196: Speed7 Studio - Work Environment

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Work environment End SPEED7 Studio Select one of the following options if you want to end the program: Main window: Click on the Close button of the SPEED7 Studio program window.
  • Page 197 VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Work environment (1) Menu bar Most of the commands you need for working with SPEED7 Studio are provided in the menu bar. Further commands can be accessed via the context menus using the right mouse button, e.g.
  • Page 198: Project Tree

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Work environment > Project tree 9.2.1 Project tree (1) Title and author (2) Project (3) Documentation (4) PLC (5) Motion Control (6) PLC program (7) Local components (8) Field periphery (9) HMI In the project tree, you can access commands in order to add or delete objects, e.g.
  • Page 199: Catalog

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Work environment > Catalog 9.2.2 Catalog (1) Switching to another view (2) Register (3) Show/hide objects (4) Search (5) Filter (6) Objects (7) Catalog information Devices and components which you want to add to the project can be selected in the cat- alog.
  • Page 200 VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Work environment > Catalog (4) Search You can search for certain objects in the catalog. Enter a search text in the input field. ð Only those objects are displayed in the catalog which contain the search text. Click on to delete the search text.
  • Page 201: Speed7 Studio - Hardware Configuration - Cpu

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Hardware configuration - Ethernet PG/OP channel 9.3 SPEED7 Studio - Hardware configuration - CPU Precondition For project engineering a thorough knowledge of the SPEED7 Studio is required! Proceeding Start the SPEED7 Studio. Create a new project in the Work area with ‘New project’...
  • Page 202 VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Hardware configuration - Ethernet PG/OP channel For online access to the CPU via the Ethernet PG/OP channel, valid IP address parameters have to be assigned to this. This is called "initialization". This can be done with the SPEED7 Studio.
  • Page 203 VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Hardware configuration - Ethernet PG/OP channel Select ‘Context menu è Determine accessible partner’. ð A dialog window opens. Select the according network interface card, which is connected to the Ethernet PG/OP channel and click at ‘Search’...
  • Page 204: Speed7 Studio - Hardware Configuration - I/O Modules

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Hardware configuration - I/O modules Confirm with [OK]. ð The IP address data are stored in your project listed in ‘Devices and networking’ at ‘Local components’ . After transferring your project your CPU can be accessed via Ethernet PG/OP channel with the set IP address data.
  • Page 205: Deployment I/O Periphery

    VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Digital input Parametrierung zur Lauf- Unter Einsatz der SFCs 55, 56 und 57 können Sie zur Laufzeit Parameter ändern und an zeit die entsprechenden Module übertragen. Hierbei sind die modulspezifischen Parameter in sogenannten "Datensätzen"...
  • Page 206: Digital Output

    VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Counter 9.6.3.2 Parametrization in SPEED7 Studio 9.6.3.2.1 ‘I/O addresses’ Sub module Input address Access Assignment DI16/DO12 BYTE Digital input I+0.0 ... I+0.7 (X4) BYTE Digital input I+1.0 ... I+1.7 (X4) 9.6.3.2.2 ‘Inputs’...
  • Page 207 VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Counter 9.6.5.2 Parametrization in SPEED7 Studio 9.6.5.2.1 ‘I/O addresses’ Sub module Input address Access Assignment Count DINT Channel 0: Counter value / Frequency value DINT Channel 1: Counter value / Frequency value DINT Channel 2: Counter value / Frequency value DINT...
  • Page 208 VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Counter Parameter overview Operating parameters Description Assignment Main count direction None No restriction of the counting range None Up: Restricts the up-counting range. The counter starts from 0 or load value, counts in positive direction up to the declaration end value -1 and then jumps back to load value at the next positive transducer pulse.
  • Page 209 VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Counter Input Description Assignment Signal evaluation Specify the signal of the connected encoder: Pulse/direction Pulse/direction At the input count and direction signal are connected At the input there is an encoder connected with the fol- lowing evaluation: –...
  • Page 210: Frequency Measurement

    VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Frequency measurement Frequency Description Assignment Max. counting frequency Specify the max. frequency for track A/pulse, track B/direc- 60kHz tion, Latch and HW gate Range of values: 1, 2, 5, 10, 30, 60, 100kHz Hardware interrupt Description Assignment...
  • Page 211 VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Frequency measurement 9.6.6.2 Parametrization in SPEED7 Studio 9.6.6.2.1 ‘I/O addresses’ Sub module Input address Access Assignment Count DINT Channel 0: Counter value / Frequency value DINT Channel 1: Counter value / Frequency value DINT Channel 2: Counter value / Frequency value DINT...
  • Page 212: Pulse Width Modulation - Pwm

    VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Pulse width modulation - PWM Parameter overview Operating parameters Description Assignment Integration time Specify the integration time 100ms Range of values: 10ms ... 10000ms in steps of 1ms max.
  • Page 213 VIPA System SLIO Configuration with VIPA SPEED7 Studio Deployment I/O periphery > Pulse width modulation - PWM Period On-delay Pulse duration Pulse pause Parameter overview Operating parameters Description Assignment Output format Here specify the range of values for the output. The CPU Per mil hereby determines the pulse duration: Per mil...
  • Page 214: Speed7 Studio - Project Transfer

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Project transfer > Transfer via MPI Operating parameters Description Assignment Period With the period you define the length of the output 20000 sequence, which consists of pulse duration and pulse pause.
  • Page 215 VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Project transfer > Transfer via MPI Proceeding transfer via Connect your PC to the MPI jack of your CPU via a MPI programming cable. Switch-ON the power supply of your CPU and start the SPEED7 Studio with your project.
  • Page 216: Transfer Via Ethernet

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Project transfer > Transfer via Ethernet With ‘Context menu è Copy RAM to ROM’ you can save your project on a memory card, if one is plugged. 9.7.2 Transfer via Ethernet Proceeding transfer via For transfer via Ethernet the CPU has an Ethernet PG/OP channel.
  • Page 217: Transfer Via Memory Card

    VIPA System SLIO Configuration with VIPA SPEED7 Studio SPEED7 Studio - Project transfer > Transfer via memory card 9.7.3 Transfer via memory card Proceeding transfer via The memory card serves as external storage medium. There may be stored several proj- memory card ects and sub-directories on a memory card.
  • Page 218: Configuration With Tia Portal

    VIPA System SLIO Configuration with TIA Portal TIA Portal - Work environment > Work environment of the TIA Portal Configuration with TIA Portal 10.1 TIA Portal - Work environment 10.1.1 General General In this chapter the project engineering of the VIPA CPU in the Siemens TIA Portal is shown.
  • Page 219: Tia Portal - Hardware Configuration - Cpu

    VIPA System SLIO Configuration with TIA Portal TIA Portal - Hardware configuration - CPU Areas of the Project view The Project view is divided into the following areas: Menu bar with toolbars Project tree with Details view Project area Device overview of the project respectively area for block programming Properties dialog of a device (parameter) respectively information area Hardware catalog and tools "Task-Cards"...
  • Page 220 VIPA System SLIO Configuration with TIA Portal TIA Portal - Hardware configuration - CPU Navigate to your working directory and install the according GSDML file. ð After the installation the hardware catalog is refreshed and the Siemens TIA Portal is finished. After restarting the Siemens TIA Portal the according PROFINET IO device can be found at Other field devices >...
  • Page 221 VIPA System SLIO Configuration with TIA Portal TIA Portal - Hardware configuration - CPU Counter... Counter – For parametrization of the digital I/O periphery and the technological functions the corresponding sub modules of the CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3) is to be used. –...
  • Page 222: Tia Portal - Hardware Configuration - Ethernet Pg/Op Channel

    VIPA System SLIO Configuration with TIA Portal TIA Portal - Hardware configuration - Ethernet PG/OP channel Select in the Network view the IO device ‘VIPA SLIO CPU...’ and switch to the Device overview. ð In the Device overview of the PROFINET IO device ‘VIPA SLIO CPU’ the CPU is already placed at slot 0.
  • Page 223 VIPA System SLIO Configuration with TIA Portal TIA Portal - Hardware configuration - Ethernet PG/OP channel Switch on the power supply. ð After a short boot time the CP is ready for communication. He possibly has no IP address data and requires an initialization. "Initialization"...
  • Page 224 VIPA System SLIO Configuration with TIA Portal TIA Portal - Hardware configuration - Ethernet PG/OP channel Confirm with [Assign IP configuration]. ð Directly after the assignment the Ethernet PG/OP channel is online reachable using the set IP address data. The value remains as long as it is reassigned, it is overwritten by a hardware configuration or an factory reset is executed.
  • Page 225: Tia Portal - Vipa-Include Library

    VIPA System SLIO Configuration with TIA Portal TIA Portal - VIPA-Include library Device overview Module Slot Type PLC ... CPU 314C-2 PN/DP MPI/DP interface 2 X1 MPI/DP interface PROFINET inter- 2 X2 PROFINET interface face CP 343-1 CP 343-1 10.4 TIA Portal - VIPA-Include library Overview The VIPA specific blocks can be found in the "Service"...
  • Page 226: Tia Portal - Project Transfer

    VIPA System SLIO Configuration with TIA Portal TIA Portal - Project transfer > Transfer via Ethernet Navigate to your directory and load the file ...TIA.alxx. Copy the necessary blocks from the library into the "Program blocks" of the Project tree of your project. Now you have access to the VIPA specific blocks via your user application.
  • Page 227: Transfer Via Memory Card

    VIPA System SLIO Configuration with TIA Portal TIA Portal - Project transfer > Transfer via memory card Initialization So that you may the according Ethernet interface, you have to assign IP address parame- ters by means of the "initialization". Ä Chapter 10.3 ‘TIA Portal - Hardware configuration - Ethernet PG/OP channel’...
  • Page 228: Appendix

    VIPA System SLIO Appendix Appendix HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 229 VIPA System SLIO Appendix Content System specific event IDs Integrated blocks HB300 | CPU | 013-CCF0R00 | en | 16-40...
  • Page 230: A System Specific Event Ids

    VIPA System SLIO System specific event IDs System specific event IDs Ä Chapter 4.19 ‘Diagnostic entries’ on page 89 Event IDs Event ID Description 0x115C Vendor-specific interrupt (OB 57) at EtherCAT OB: OB number ZInfo1: Logical address of the slave that triggered the interrupt ZInfo2: Interrupt type 0x00: Reserved 0x01: Diagnostic interrupt (incoming)
  • Page 231 VIPA System SLIO System specific event IDs Event ID Description ZInfo3 : Type ID 0xE011 Master project engineering at slave CPU not possible or wrong slave configuration 0xE012 Error at parametrization 0xE013 Error at shift register access to standard bus digital modules 0xE014 Error at Check_Sys 0xE015...
  • Page 232 VIPA System SLIO System specific event IDs Event ID Description 5: Wrong SSL request (SSL sub ID invalid) 6: Wrong SSL request (SSL-Index not valid) 7: Wrong value 8: Wrong return value 9: Wrong SAP 10: Wrong connection type 11: Wrong sequence number 12: Faulty block number in the telegram 13: Faulty block type in the telegram 14: Inactive function...
  • Page 233 VIPA System SLIO System specific event IDs Event ID Description 0x46: SFB 0x6F: VOB 0x65: VFB 0x63: VFC 0x61: VDB 0x62: VSDB 0x64: VSFC 0x66: VSFB ZInfo2 : Block number ZInfo3 : Block length 0xE21E Memory card reading: Error at reload (after overall reset), file "Protect.wld" too big OB : Not relevant to the user 0xE21F Memory card reading: Error at reload (after overall reset), checksum error at reading...
  • Page 234 VIPA System SLIO System specific event IDs Event ID Description 0xE401 FSC card was removed DatID : FeatureSet Trialtime in minutes ZInfo1 : Memory extension in kB ZInfo2 : FeatureSet PROFIBUS ZInfo2 : FeatureSet field bus ZInfo2 : FeatureSet motion ZInfo2 : Reserved ZInfo3 : Source of the FSC 0: CPU...
  • Page 235 VIPA System SLIO System specific event IDs Event ID Description 0x64: VSFC 0x66: VSFB ZInfo3 : Block no. 0xE501 Parser error ZInfo3 : SDB number ZInfo1 : ErrorCode 1: Parser error: SDB structure 2: Parser error: SDB is not a valid SDB type. ZInfo2 : SDB type 0xE502 Invalid block type in protect.wld...
  • Page 236 VIPA System SLIO System specific event IDs Event ID Description 0xE610 Onboard PROFIBUS/MPI: Bus error fixed ZInfo1 : Interface ZInfo2 : Not relevant to the user ZInfo3 : Not relevant to the user PK : Not relevant to the user DatID : Not relevant to the user 0xE701 Internal error - Please contact the hotline!
  • Page 237 VIPA System SLIO System specific event IDs Event ID Description 0xE80E CMD - Auto command: SET_NETWORK recognized and successfully executed 0xE80F Internal error - Please contact the hotline! 0xE810 Internal error - Please contact the hotline! 0xE811 Internal error - Please contact the hotline! 0xE812 Internal error - Please contact the hotline! 0xE813...
  • Page 238 VIPA System SLIO System specific event IDs Event ID Description ZInfo1 : Slot ZInfo2 : Type ID set ZInfo3 : Type ID PK : Not relevant to the user DatID : Not relevant to the user 0xEA03 SBUS: Communication error between CPU and IO controller ZInfo1 : Slot ZInfo2 : Status 0: OK...
  • Page 239 VIPA System SLIO System specific event IDs Event ID Description ZInfo2 : Slot ZInfo3 : Data width 0xEA05 Internal error - Please contact the hotline! 0xEA07 Internal error - Please contact the hotline! 0xEA08 SBUS: Parametrized input data width unequal to plugged input data width ZInfo1 : Parametrized input data width ZInfo2 : Slot ZInfo3 : Input data width of the plugged module...
  • Page 240 VIPA System SLIO System specific event IDs Event ID Description ZInfo2 : Interface X is faulty configured. 0xEA22 Error - RS485 interface X2 - Value exceeds the limits ZInfo2 : Project engineering for X2 0xEA23 Error - RS485 interface X3 - Value exceeds the limits ZInfo2 : Project engineering for X3 0xEA24 Error - Configuration RS485 interface X2/X3: Interface/protocol missing, default settings are used.
  • Page 241 VIPA System SLIO System specific event IDs Event ID Description ZInfo1 : Too many input bytes per ms ZInfo1 : Too many output bytes per device ZInfo1 : Too many productive connections ZInfo1 : Too many input bytes in the process image ZInfo1 : Too many output bytes in the process image ZInfo1 : Configuration not available ZInfo1 : Configuration not valid...
  • Page 242 VIPA System SLIO System specific event IDs Event ID Description ZInfo1 : Record set number ZInfo2 : Record set handle (caller) ZInfo3 : Internal error code from PN stack 0xEA69 Internal error - Please contact the hotline! 0xEA6A PROFINET IO controller: Service error in communication stack PK : Rack/slot OB : Service ID ZInfo1 : ServiceError.Code...
  • Page 243 VIPA System SLIO System specific event IDs Event ID Description 0: Configuration in operation mode RUN 1: STOP (update) 2: STOP (overall reset) 3: STOP (own initialization) 4: STOP (internal) 5: Start-up (cold start) 6: Start-up (cold restart/warm start) 7: Start-up (restart) 8: RUN 9: RUN (redundant operation) 10: HALT...
  • Page 244 VIPA System SLIO System specific event IDs Event ID Description 0xFE: Watchdog 0xFF: Not set PK : Rack/slot DatID : Not relevant to the user 0xEA6E PROFINET IO controller: Waiting for RPC answer ZInfo1 : Device ID ZInfo2 : Not relevant to the user ZInfo3 : Not relevant to the user OB : Operation mode 0: Configuration in operation mode RUN...
  • Page 245 VIPA System SLIO System specific event IDs Event ID Description 6: Start-up (cold restart/warm start) 7: Start-up (restart) 8: RUN 9: RUN (redundant operation) 10: HALT 11: COUPLING 12: UPDATING 13: DEFECTIVE 14: Troubleshooting 15: Without power 0xFD: Process image enabled in STOP 0xFE: Watchdog 0xFF: Not set PK : Rack/slot...
  • Page 246 VIPA System SLIO System specific event IDs Event ID Description ZInfo1 : Diagnostics address of the master ZInfo2 : Current connection mode 0x01: 10Mbit half-duplex 0x02: 10Mbit full-duplex 0x03: 100Mbit half-duplex 0x04: 100Mbit full-duplex 0x05: Link mode undefined 0x06: Auto Negotiation OB : Current operation mode 0: Configuration in operation mode RUN 1: STOP (update)
  • Page 247 VIPA System SLIO System specific event IDs Event ID Description DatID : Not relevant to the user ZInfo2 : Slot (0=not be determined) 0xEB05 SLIO error: Bus structure for Isochron process image not suitable PK : Not relevant to the user DatID : Not relevant to the user ZInfo2 : Slot (0=not be determined) 0xEB10...
  • Page 248 PK : Not relevant to the user DatID : Not relevant to the user 0xEC05 EtherCAT: Check the set DC mode of the YASKAWA Sigma 5/7 drive PK : Not relevant to the user OB : Operation mode 0: Configuration in operation mode RUN...
  • Page 249 VIPA System SLIO System specific event IDs Event ID Description 0xEC10 EtherCAT: Restoration bus with its slaves ZInfo1 : Old status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp 0x03: BootStrap 0x04: SafeOp 0x08: Op ZInfo1 : New status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp 0x03: BootStrap 0x04: SafeOp...
  • Page 250 VIPA System SLIO System specific event IDs Event ID Description DatID : Station available 0xEC12 EtherCAT: Restoration slave ZInfo1 : Old status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp 0x03: BootStrap 0x04: SafeOp 0x08: Op ZInfo1 : New status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp 0x03: BootStrap...
  • Page 251 VIPA System SLIO System specific event IDs Event ID Description 11: COUPLING 12: UPDATING 13: DEFECTIVE 14: Troubleshooting 15: Without power 0xFD: Process image enabled in STOP 0xFE: Watchdog 0xFF: Not set 0xED10 EtherCAT: Bus failure ZInfo1 : Old status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp...
  • Page 252 VIPA System SLIO System specific event IDs Event ID Description 0x03: BootStrap 0x04: SafeOp 0x08: Op ZInfo2 : Diagnostics address of the station ZInfo3 : AlStatusCode 0x0000: No Error 0x0001: Unspecified error 0x0011: Invalid requested status change 0x0012: Unknown requested status 0x0013: Bootstrap not supported 0x0014: No valid firmware 0x0015: Invalid mailbox configuration...
  • Page 253 VIPA System SLIO System specific event IDs Event ID Description DatID : Station available 0xED20 EtherCAT: Bus state change without calling OB86 ZInfo1 : Old status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp 0x03: BootStrap 0x04: SafeOp 0x08: Op ZInfo1 : New status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp...
  • Page 254 VIPA System SLIO System specific event IDs Event ID Description 0x000E: Invalid status 0x0010: Timeout 0x0004: Abbort (master state change) DatID : Input address DatID : Output address DatID : Station not available DatID : Station available 0xED22 EtherCAT: Slave state change without calling OB86 ZInfo1 : Old status 0x00: Undefined/Unkown 0x01: INIT...
  • Page 255 VIPA System SLIO System specific event IDs Event ID Description 0x0020: Slave needs cold start 0x0021: Slave needs INIT 0x0022: Slave needs PreOp 0x0023: Slave needs SafeOp 0x002D: Invalid output FMMU configuration 0x002E: Invalid input FMMU configuration 0x0030: Invalid DC Sync configuration 0x0031: Invalid DC Latch configuration 0x0032: PLL error 0x0033: Invalid DC IO error...
  • Page 256 VIPA System SLIO System specific event IDs Event ID Description ZInfo1 : Master status 0x00: Undefined/Unkown 0x01: INIT 0x02: PreOp 0x03: BootStrap 0x04: SafeOp 0x08: Op ZInfo2 : There is an EtherCAT configuration 0: There is no EC configuration 1: There is an EC configuration ZInfo3 : DC in sync 0: not in sync 1: in sync...
  • Page 257 VIPA System SLIO System specific event IDs Event ID Description 0xFF: Not set 0xED60 EtherCAT: Diagnostics buffer CP: Slave state change OB : Operation mode 0: Configuration in operation mode RUN 1: STOP (update) 2: STOP (overall reset) 3: STOP (own initialization) 4: STOP (internal) 5: Start-up (cold start) 6: Start-up (cold restart/warm start)
  • Page 258 VIPA System SLIO System specific event IDs Event ID Description 0x0019: No valid outputs available 0x001A: Synchronisation error 0x001B: Sync manager watchdog 0x001C: Invalid sync manager types 0x001D: Invalid output configuration 0x001E: Invalid input configuration 0x001F: Invalid watchdog configuration 0x0020: Slave needs cold start 0x0021: Slave needs INIT 0x0022: Slave needs PreOp 0x0023: Slave needs SafeOp...
  • Page 259 VIPA System SLIO System specific event IDs Event ID Description OB : EtherCAT station address (high byte) DatID : Subindex ZInfo1 : Index ZInfo2 : SDOErrorCode (high word) ZInfo3 : SDOErrorCode (low word) 0xED63 EtherCAT: Diagnostics buffer CP: Error in the response to an INIT command PK : EtherCAT station address (low byte) OB : EtherCAT station address (high byte) ZInfo1 : Error type...
  • Page 260 VIPA System SLIO System specific event IDs Event ID Description DatID : Not relevant to the user 0xEE01 Internal error - Please contact the hotline! 0xEEEE CPU was completely overall reset, since after PowerON the start-up could not be finished 0xEF00 Internal error - Please contact the hotline! 0xEF01...
  • Page 261: B Integrated Blocks

    VIPA System SLIO Integrated blocks Integrated blocks Name Description OB 1 CYCL_EXC Program Cycle OB 10 TOD_INT0 Time-of-day Interrupt OB 20 DEL_INT0 Time delay interrupt OB 21 DEL_INT1 Time delay interrupt OB 32 CYC_INT2 Cyclic interrupt OB 33 CYC_INT3 Cyclic interrupt OB 34 CYC_INT4 Cyclic interrupt...
  • Page 262 VIPA System SLIO Integrated blocks Name Description SFB 49 PULSE Pulse width modulation SFB 52 RDREC Read record set SFB 53 WRREC Write record set SFB 54 RALRM Receiving an interrupt from a periphery module Name Description SFC 0 SET_CLK Set system clock SFC 1 READ_CLK...
  • Page 263 VIPA System SLIO Integrated blocks Name Description SFC 40 EN_IRT Enabling interrupts SFC 41 DIS_AIRT Delaying interrupts SFC 42 EN_AIRT Enabling delayed interrupts SFC 43 RE_TRIGR Re-trigger the watchdog SFC 44 REPL_VAL Replace value to ACCU1 SFC 46 STOP the CPU SFC 47 WAIT Delay the application program...

This manual is also suitable for:

013-ccf0r00

Table of Contents