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

Advertisement

Quick Links

+
VIPA System 300S
CPU-SC | 312-5BE23 | Manual
HB140 | CPU-SC | 312-5BE23 | en | 18-45
SPEED7 CPU 312SC
www.vipa.com/en/service-support/manuals

Advertisement

Table of Contents
loading

Summary of Contents for YASKAWA VIPA System 300S+

  • Page 1 VIPA System 300S CPU-SC | 312-5BE23 | Manual HB140 | CPU-SC | 312-5BE23 | en | 18-45 SPEED7 CPU 312SC www.vipa.com/en/service-support/manuals...
  • Page 2 VIPA GmbH Ohmstr. 4 91074 Herzogenaurach Telephone: +49 9132 744-0 Fax: +49 9132 744-1864 Email: info@vipa.com Internet: www.vipa.com 312-5BE23_000_CPU-SC 312SC,4,EN - © 2018...
  • Page 3: Table Of Contents

    VIPA System 300S Table of contents Table of contents General........................6 1.1 Copyright © VIPA GmbH ................. 6 1.2 About this manual..................... 7 1.3 Safety information..................... 8 Basics........................9 2.1 Safety information for users................9 2.2 Operating structure of a CPU................. 10 2.2.1 General......................
  • Page 4 Table of contents VIPA System 300S 5.11 Operating modes..................62 5.11.1 Overview....................62 5.11.2 Function security..................64 5.12 Overall reset....................65 5.13 Firmware update................... 66 5.14 Reset to factory settings................69 5.15 Deployment storage media - MMC, MCC............. 70 5.16 Extended know-how protection..............72 5.17 CMD - auto commands.................
  • Page 5 VIPA System 300S Table of contents 8.2 Installation....................145 8.3 Example project engineering................ 146 8.3.1 Job definition..................... 146 8.3.2 Project engineering..................147 8.3.3 Test the PLC program in the Simulator............153 8.3.4 Transfer PLC program to CPU and its execution........154 Configuration with TIA Portal................
  • Page 6: General

    General VIPA System 300S 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 7: About This Manual

    VIPA System 300S General About this manual Information product sup- Contact your local VIPA Customer Service Organization representative if you wish to port report errors or questions regarding the contents of this document. If you are unable to locate a customer service centre, contact VIPA as follows: VIPA GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany Telefax: +49 9132 744-1204 EMail: documentation@vipa.de...
  • Page 8: Safety Information

    General VIPA System 300S Safety information CAUTION! Damages to property is likely if these warnings are not heeded. 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...
  • Page 9: Basics

    VIPA System 300S Basics Safety information for users Basics 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 10: Operating Structure Of A Cpu

    Basics VIPA System 300S Operating structure of a CPU > Operands 2.2 Operating structure of a CPU 2.2.1 General The CPU contains a standard processor with internal program memory. In combination with the integrated SPEED7 technology the unit provides a powerful solution for process automation applications within the System 300S family.
  • Page 11 VIPA System 300S Basics Operating structure of a CPU > Operands Process image and The user application can quickly access the process image of the inputs and outputs PIO/ periphery PII. You may manipulate the following types of data: individual Bits Bytes Words Double words...
  • Page 12: Cpu 312-5Be23

    Basics VIPA System 300S CPU 312-5BE23 2.3 CPU 312-5BE23 Overview The CPU 312-5BE23 bases upon the SPEED7 technology. This supports the CPU at pro- gramming and communication by means of co-processors that causes a power improve- ment for highest needs. Ò...
  • Page 13: General Data

    VIPA System 300S Basics General data 2.4 General data Conformity and approval Conformity 2014/35/EU Low-voltage directive 2014/30/EU EMC directive Approval Refer to Technical data others RoHS 2011/65/EU Restriction of the use of certain hazardous substances in electrical and electronic equipment Protection of persons and device protection Type of protection IP20...
  • Page 14 Basics VIPA System 300S General data Mounting conditions Mounting place In the control cabinet Mounting position Horizontal and vertical Standard Comment Emitted interference EN 61000-6-4 Class A (Industrial area) Noise immunity EN 61000-6-2 Industrial area zone B EN 61000-4-2 8kV at air discharge (degree of severity 3), 4kV at contact discharge (degree of severity 2) EN 61000-4-3 HF field immunity (casing)
  • Page 15: Assembly And Installation Guidelines

    VIPA System 300S Assembly and installation guidelines Installation dimensions Assembly and installation guidelines 3.1 Installation dimensions Dimensions Basic enclo- 2tier width (WxHxD) in mm: 80 x 125 x 120 sure Installation dimensions HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 16: Assembly Standard Bus

    Assembly and installation guidelines VIPA System 300S Assembly standard bus 3.2 Assembly standard bus General The single modules are directly installed on a profile rail and connected via the backplane bus connector. Before installing the modules you have to clip the backplane bus con- nector to the module from the backside.
  • Page 17 VIPA System 300S Assembly and installation guidelines Assembly standard bus Assembly possibilities Please regard the allowed environment temperatures: horizontal assembly: from 0 to 60°C vertical assembly: from 0 to 50°C lying assembly: from 0 to 55°C Approach Bolt the profile rail with the background (screw size: M6), so that you still have min- imum 65mm space above and 40mm below the profile rail.
  • Page 18: Cabling

    Assembly and installation guidelines VIPA System 300S Cabling 3.3 Cabling CAUTION! – The power supplies must be released before installation and repair tasks, i.e. before handling with the power supply or with the cabling you must disconnect current/voltage (pull plug, at fixed connection switch off the concerning fuse)! –...
  • Page 19 VIPA System 300S Assembly and installation guidelines Cabling Front connector I/O The 40pole front connector with the order number 392-1AM00 is in the delivery. periphery Open the front flap of your I/O module. Bring the front connector in cabling position. For this you plug the front connector on the module until it locks.
  • Page 20: Installation Guidelines

    Assembly and installation guidelines VIPA System 300S Installation guidelines 3.4 Installation guidelines General The installation guidelines contain information about the interference free deployment of a PLC system. There is the description of the ways, interference may occur in your PLC, how you can make sure the electromagnetic compatibility (EMC), and how you manage the isolation.
  • Page 21 VIPA System 300S Assembly and installation guidelines Installation guidelines Proof the correct fixing of the lead isolation. – Data lines must be laid isolated. – Analog lines must be laid isolated. When transmitting signals with small ampli- tudes the one sided laying of the isolation may be favourable. –...
  • Page 22: Hardware Description

    Hardware description VIPA System 300S Properties Hardware description 4.1 Properties CPU 312-5BE23 SPEED7 technology integrated 128kbyte work memory integrated (64kbyte code, 64kbyte data) Work memory expandable to max. 1MB (512kbyte code, 512kbyte data) 1MB load memory RS485 interface for PtP communication Ethernet PG/OP interface integrated MPI interface Slot for external memory cards (lockable)
  • Page 23: Structure

    VIPA System 300S Hardware description Structure > General 4.2 Structure 4.2.1 General CPU 312-5BE23 LEDs of the CPU part Storage media slot (lockable) LEDs of the I/O part Operating mode switch CPU Slot for DC 24V power supply Twisted pair interface for Ethernet PG/OP channel PtP interface MPI interface The components 5 - 8 are under the front flap!
  • Page 24: Interfaces

    Hardware description VIPA System 300S Structure > Interfaces 4.2.2 Interfaces X1: Power supply The CPU has an integrated power supply: The power supply has to be provided with DC 24V. For this serves the double DC 24V slot, that is underneath the flap. Via the power supply not only the internal electronic is provided with voltage, but by means of the backplane bus also the connected modules.
  • Page 25 VIPA System 300S Hardware description Structure > Interfaces X3: PtP interface 9pin SubD jack: The CPU has a PtP interface. The interface is fix set to PtP communication. PtP functionality – Using the PtP functionality the RS485 interface is allowed to connect via serial point-to-point connection to different source res.
  • Page 26: In-/Output Area Cpu 312-5Be23

    Hardware description VIPA System 300S Structure > In-/Output area CPU 312-5BE23 4.2.3 In-/Output area CPU 312-5BE23 Overview The CPU 312-5BE23 has the following digital in and output channels integrated in one casing: Digital Input: 16xDC 24V, with interrupt capability Digital Output: 8xDC 24V, 0.5A Technological functions: 2 channels CAUTION! Please regard that the voltage at an output channel is always £...
  • Page 27 VIPA System 300S Hardware description Structure > In-/Output area CPU 312-5BE23 Pin assignment X11: DI Assignment 1L+ Power supply +DC 24V I+0.0 / Channel 0 (A) / Pulse I+0.1 / Channel 0 (B) / Direction I+0.2 / Channel 0 HW gate I+0.3 / Channel 1 (A) / Pulse I+0.4 / Channel 1 (B) / Direction I+0.5 / Channel 1 HW gate...
  • Page 28 Hardware description VIPA System 300S Structure > In-/Output area CPU 312-5BE23 Status indication X11: DI – LED (green) Supply voltage available for DI .0 ..7 – LEDs (green) I+0.0 ... I+0.7 I+1.0 ... I+1.7 Starting with ca. 15V the signal "1" at the input is recognized and the according LED is activated Pin assignment X11: DO Assignment...
  • Page 29: Memory Management

    VIPA System 300S Hardware description Structure > Slot for storage media Status indication X11: DO – LED (green) Supply voltage available for DO .0 ..7 – LEDs (green) Q+0.0 ... Q+0.7 The according LED is on at active output –...
  • Page 30: Battery Backup For Clock And Ram

    Hardware description VIPA System 300S Structure > Operating mode switch 4.2.6 Battery backup for clock and RAM A rechargeable battery is installed on every CPU to safeguard the contents of the RAM when power is removed. This battery is also used to buffer the internal clock. The rechargeable battery is maintained by a charging circuit that receives its power from the internal power supply and that maintain the clock and RAM for a max.
  • Page 31: Leds

    VIPA System 300S Hardware description Structure > LEDs 4.2.8 LEDs LEDs CPU Meaning (RUN) (STOP) (SFAIL) (FRCE) (MMC) green yellow yellow yellow Boot-up after PowerON - as soon as the CPU is supplied with 5V, the green PW-LED (Power) is on. Firmware is loaded.
  • Page 32 Hardware description VIPA System 300S Structure > LEDs Ethernet PG/OP channel Meaning (Link/Activity) (Speed) green green The Ethernet PG/OP channel is physically connected to Ethernet. There is no physical connection. Shows Ethernet activity. flickers The Ethernet interface of the Ethernet PG/OP channel has a transfer rate of 100Mbit.
  • Page 33: Technical Data

    VIPA System 300S Hardware description Technical data 4.3 Technical data Please consider with the configuration with the Siemens TIA Portal the number of timer and counters is limited to the maximum possible number of the corresponding Siemens CPU. Order no. 312-5BE23 Type VIPA CPU 312SC...
  • Page 34 Hardware description VIPA System 300S Technical data Order no. 312-5BE23 Input delay of "0" to "1" 0.1 / 0.35 ms Input delay of "1" to "0" 0.1 / 0.35 ms Number of simultaneously utilizable inputs horizontal con- figuration Number of simultaneously utilizable inputs vertical configu- ration Input characteristic curve IEC 61131-2, type 1...
  • Page 35 VIPA System 300S Hardware description Technical data Order no. 312-5BE23 Trigger level Number of operating cycle of relay outputs Switching capacity of contacts Output data size 1 Byte Technical data analog inputs Number of inputs Cable length, shielded Rated load voltage Reverse polarity protection of rated load voltage Current consumption from load voltage L+ (without load) Voltage inputs...
  • Page 36 Hardware description VIPA System 300S Technical data Order no. 312-5BE23 Operational limit of resistance thermometer ranges Operational limit of resistance thermometer ranges with Basic error limit thermoresistor ranges Basic error limit thermoresistor ranges with SFU Destruction limit resistance thermometer inputs Thermocouple inputs Thermocouple ranges Operational limit of thermocouple ranges...
  • Page 37 VIPA System 300S Hardware description Technical data Order no. 312-5BE23 Destruction limit against external applied voltage Current outputs Max. in load resistance (current range) Max. inductive load (current range) Typ. open circuit voltage current output Output current ranges Operational limit of current ranges Radical error limit current ranges with SFU Destruction limit against external applied voltage Settling time for ohmic load...
  • Page 38 Hardware description VIPA System 300S Technical data Order no. 312-5BE23 Memory card slot SD/MMC-Card with max. 2 GB Hardware configuration Racks, max. Modules per rack, max. 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...
  • Page 39 VIPA System 300S Hardware description Technical data Order no. 312-5BE23 Floating-point arithmetic, min. 0.12 µs Timers/Counters and their retentive characteristics Number of S7 counters S7 counter remanence adjustable 0 up to 128 S7 counter remanence adjustable C0 .. C7 Number of S7 times S7 times remanence adjustable 0 up to 128 S7 times remanence adjustable...
  • Page 40 Hardware description VIPA System 300S Technical data Order no. 312-5BE23 Digital inputs central 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 Communication functions PG/OP channel ü...
  • Page 41 VIPA System 300S Hardware description Technical data Order no. 312-5BE23 DP slave Point-to-point interface 5V DC Power supply max. 90mA, non-isolated 24V DC Power supply max. 100mA, non-isolated Type Type of interface RS485 Connector Sub-D, 9-pin, female Electrically isolated ü MP²I (MPI/RS232) DP master DP slave...
  • Page 42 Hardware description VIPA System 300S Technical data Order no. 312-5BE23 Direct data exchange (slave-to-slave communication) DPV1 Transmission speed, min. Transmission speed, max. Number of DP slaves, max. Address range inputs, max. Address range outputs, max. User data inputs per slave, max. User data outputs per slave, max.
  • Page 43 VIPA System 300S Hardware description Technical data Order no. 312-5BE23 RS232 interface RS422 interface RS485 interface ü Connector Sub-D, 9-pin, female Transmission speed, min. 150 bit/s Transmission speed, max. 115.5 kbit/s Cable length, max. 500 m Point-to-point protocol ASCII protocol ü...
  • Page 44: Deployment Cpu 312-5Be23

    Deployment CPU 312-5BE23 VIPA System 300S Start-up behavior Deployment CPU 312-5BE23 5.1 Assembly Ä Chap. 3 ‘Assembly and Information about assembly and cabling: installation guidelines’ page 15 5.2 Start-up behavior Turn on power supply After the power supply has been switched on, the CPU changes to the operating mode the operating mode lever shows.
  • Page 45: Addressing

    VIPA System 300S Deployment CPU 312-5BE23 Addressing > Addressing Backplane bus I/O devices 5.3 Addressing 5.3.1 Overview To provide specific addressing of the installed peripheral modules, certain addresses must be allocated in the CPU. At the start-up of the CPU, this assigns automatically peripheral addresses for digital in-/output modules starting with 0 and ascending depending on the slot location.
  • Page 46 Deployment CPU 312-5BE23 VIPA System 300S Addressing > Addressing Backplane bus I/O devices Example for automatic The following sample shows the functionality of the automatic address allocation: address allocation HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 47: Address Assignment

    VIPA System 300S Deployment CPU 312-5BE23 Hardware configuration - CPU 5.4 Address assignment Input area Sub module Default Access Assignment address DI10/DO6 Byte Digital input I+0.0 ... I+0.7 Byte Digital input I+1.0 ... I+1.7 Counter DInt Channel 0: Counter value / Frequency value DInt Channel 1: Counter value / Frequency value DInt...
  • Page 48: Hardware Configuration - I/O Modules

    Deployment CPU 312-5BE23 VIPA System 300S Hardware configuration - I/O modules Proceeding To be compatible with the Siemens SIMATIC Manager the following steps should be exe- cuted: Start the Siemens hardware configurator with a new project. Insert a profile rail from the hardware catalog. Place at ‘Slot’...
  • Page 49: Hardware Configuration - Ethernet Pg/Op Channel

    VIPA System 300S Deployment CPU 312-5BE23 Hardware configuration - Ethernet PG/OP channel 5.7 Hardware configuration - Ethernet PG/OP channel Overview The CPU 312-5BE23 has an integrated Ethernet PG/OP channel. This channel allows you to program and remote control your CPU. The PG/OP channel also gives you access to the internal web page that contains information about firmware version, connected I/O devices, current cycle times etc.
  • Page 50: Cpu Parametrization

    Deployment CPU 312-5BE23 VIPA System 300S CPU parametrization > Parametrization via Siemens CPU Take IP address parame- Open the Siemens hardware configurator und configure the Siemens CPU 312C ters in project (6ES7 312-5BE03-0AB0/V2.6). Configure the modules at the standard bus. For the Ethernet PG/OP channel you have to configure a Siemens CP 343-1 (SIMATIC 300 \ CP 300 \ Industrial Ethernet \CP 343-1 \ 6GK7 343-1EX11 0XE0) always below the really plugged modules.
  • Page 51: Cpu Parameters

    VIPA System 300S Deployment CPU 312-5BE23 CPU parametrization > CPU parameters 5.8.2 CPU parameters Supported parameters The CPU does not evaluate each parameter, which may be set at the hardware configu- ration. The following parameters are supported by the CPU at this time: General Short description: The short description of the Siemens CPU 312-5BE03 is CPU 312C.
  • Page 52: Project Transfer

    Deployment CPU 312-5BE23 VIPA System 300S Project transfer The selected memory byte cannot be used for temporary data storage. Retentive Memory Number of Memory bytes from MB0: Enter the number of retentive memory bytes from memory byte 0 onwards. Number of S7 Timers from T0: Enter the number of retentive S7 timers from T0 onwards.
  • Page 53: Transfer Via Mpi

    VIPA System 300S Deployment CPU 312-5BE23 Project transfer > Transfer via MPI Transfer via MPI Transfer via Ethernet Transfer via memory card 5.9.1 Transfer via MPI General For transfer via MPI there is the following interface: X2: MPI interface Net structure The structure of a MPI net is electrically identical with the structure of a PROFIBUS net.
  • Page 54: Transfer Via Ethernet

    Deployment CPU 312-5BE23 VIPA System 300S Project transfer > Transfer via memory card Set the COM port of the PC and the transfer rate 38400baud for the MPI program- ming cable. Transfer your project via ‘PLC è Load to module’ via MPI to the CPU and save it with ‘PLC è...
  • Page 55 VIPA System 300S Deployment CPU 312-5BE23 Project transfer > Transfer via memory card Copy the wld file at a suited memory card. Plug this into your CPU and start it again. ð The transfer of the application program from the memory card into the CPU takes place depending on the file name after an overall reset or PowerON.
  • Page 56: Accessing The Web Server

    Deployment CPU 312-5BE23 VIPA System 300S Accessing the web server 5.10 Accessing the web server Access to the web server There is a web server, which can be accessed via the IP address of the Ethernet PG/OP channel with an Internet browser. At the web page information about the CPU and its connected modules can be found.
  • Page 57 VIPA System 300S Deployment CPU 312-5BE23 Accessing the web server Card Information Type Product S/N 6BC34010 Size 493617152 bytes Free 492355584 bytes Active Feature Set Information Status Memory Extension present Memory Usage LoadMem 0 / 524288 Bytes CPU: Information to memory con- figuration WorkMemCode 0 / 248968 Bytes...
  • Page 58 Deployment CPU 312-5BE23 VIPA System 300S Accessing the web server Info - Overview CPU component: Digitale I/O Info - Expert View Internal Information Slot 202 Module Type 0x4FD30000 Information for support Module Firmware Information PRODUCT VIPA DI16/DO8 Name, firmware version V3.2.9.0 Data - Input data Offset...
  • Page 59 VIPA System 300S Deployment CPU 312-5BE23 Accessing the web server Info - Overview CPU component: counter Info - Expert View Internal Information Slot 204 Module Type 0x38C00000 Information for support Module Firmware Information PRODUCT VIPA 2 COUNTER Name, firmware version V3.6.22 Data - Input data (16byte) Offset...
  • Page 60 Deployment CPU 312-5BE23 VIPA System 300S Accessing the web server Data - Output data (16byte) Offset Width Value (dec) Value (hex) Info - Overview VBUS - Digital In/Out 16 Data - Input data Offset Width Value (dec) Value (hex) HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 61 VIPA System 300S Deployment CPU 312-5BE23 Accessing the web server Data - Output data Offset Width Value (dec) Value (hex) New Value (hex) HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 62: Operating Modes

    Deployment CPU 312-5BE23 VIPA System 300S Operating modes > Overview 5.11 Operating modes 5.11.1 Overview The CPU can be in one of 4 operating modes: Operating mode STOP Operating mode START-UP Operating mode RUN Operating mode HOLD Certain conditions in the operating modes START-UP and RUN require a specific reaction from the system program.
  • Page 63 VIPA System 300S Deployment CPU 312-5BE23 Operating modes > Overview Set the breakpoint with ‘Debug è Set Breakpoint’. ð The according command line is marked with a circle. To activate the breakpoint click on ‘Debug è Breakpoints Active’. ð The circle is changed to a filled circle. Bring your CPU into RUN.
  • Page 64: Function Security

    Deployment CPU 312-5BE23 VIPA System 300S Operating modes > Function security 5.11.2 Function security The CPUs include security mechanisms like a Watchdog (100ms) and a parameterizable cycle time surveillance (parameterizable min. 1ms) that stop res. execute a RESET at the CPU in case of an error and set it into a defined STOP state.
  • Page 65: Overall Reset

    VIPA System 300S Deployment CPU 312-5BE23 Overall reset 5.12 Overall reset Overview During the overall reset the entire user memory is erased. Data located in the memory card is not affected. You have 2 options to initiate an overall reset: Overall reset by means of the operating mode switch Overall reset by means of a configuration tool like e.g.
  • Page 66: Firmware Update

    Deployment CPU 312-5BE23 VIPA System 300S Firmware update 5.13 Firmware update Overview There is the opportunity to execute a firmware update for the CPU and its compo- nents via memory card. For this an accordingly prepared memory card must be in the CPU during the startup.
  • Page 67 VIPA System 300S Deployment CPU 312-5BE23 Firmware update Via the register ‘General’ the window with hardware and firmware version may be selected. ð Due to software-technical reasons there is something different of the VIPA CPU 312-5BE23 to the CPU 312C from Siemens: VIPA order number (VIPA 312-5BE23) Hardware release (01) Internal hardware version (00)
  • Page 68 Deployment CPU 312-5BE23 VIPA System 300S Firmware update Plug the memory card with the firmware files into the CPU. Please take care of the correct plug-in direction of the memory card. Turn on the power supply. ð After a short boot-up time, the alternate blinking of the LEDs SF and FC shows that at least a more current firmware file was found at the memory card.
  • Page 69: Reset To Factory Settings

    VIPA System 300S Deployment CPU 312-5BE23 Reset to factory settings 5.14 Reset to factory settings Proceeding With the following proceeding the internal RAM of the CPU is completely deleted and the CPU is reset to delivery state. Please regard that the MPI address is also reset to default 2 and the IP address of the Ethernet PG/OP channel is reset to 0.0.0.0! Ä...
  • Page 70: Deployment Storage Media - Mmc, Mcc

    Deployment CPU 312-5BE23 VIPA System 300S Deployment storage media - MMC, MCC 5.15 Deployment storage media - MMC, MCC Overview At this slot the following storage media can be plugged: SD respectively MMC (Multimedia card) – External memory card for programs and firmware. MCC - Memory configuration card –...
  • Page 71 VIPA System 300S Deployment CPU 312-5BE23 Deployment storage media - MMC, MCC You may use the MCC also as "normal" MMC for storing your project. If the memory expansion on the MCC exceeds the maximum extendible memory range of the CPU, the maximum possible memory of the CPU is automatically used. You may determine the recent memory extension and the remaining time after pulling the MCC via the integrated web page.
  • Page 72: Extended Know-How Protection

    Deployment CPU 312-5BE23 VIPA System 300S Extended know-how protection 5.16 Extended know-how protection Overview Please note that this functionality is not supported by the Siemens TIA Portal! Besides the "standard" Know-how protection the SPEED7 CPUs from VIPA provide an "extended" know-how protection that serves a secure block protection for accesses of 3. persons.
  • Page 73: Cmd - Auto Commands

    VIPA System 300S Deployment CPU 312-5BE23 CMD - auto commands 5.17 CMD - auto commands Overview A command file at a memory card is automatically executed under the following condi- tions: CPU is in STOP and memory card is stuck After each PowerON Command file The command file is a text file, which consists of a command sequence to be stored as...
  • Page 74: Diagnostic Entries

    Deployment CPU 312-5BE23 VIPA System 300S Diagnostic entries Example 1 CMD_START Marks the start of the command sequence (0xE801) LOAD_PROJECT proj.wld Execute an overall reset and load "proj.wld" (0xE805) WAIT1SECOND Wait ca. 1s (0xE803) WEBPAGE Store web page as "webpage.htm" (0xE804) DIAGBUF Store diagnostics buffer of the CPU as "diagbuff.txt"...
  • Page 75: Control And Monitoring Of Variables With Test Functions

    VIPA System 300S Deployment CPU 312-5BE23 Control and monitoring of variables with test functions 5.19 Control and monitoring of variables with test functions Overview For troubleshooting purposes and to display the status of certain variables you can access certain test functions via the menu item Debug of the Siemens SIMATIC Man- ager.
  • Page 76 Deployment CPU 312-5BE23 VIPA System 300S Control and monitoring of variables with test functions ‘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’...
  • Page 77: Deployment I/O Periphery

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

    Deployment I/O periphery VIPA System 300S In-/Output area CPU 312-5BE23 6.2 In-/Output area CPU 312-5BE23 Overview The CPU 312-5BE23 has the following digital in and output channels integrated in one casing: Digital Input: 16xDC 24V, with interrupt capability Digital Output: 8xDC 24V, 0.5A Technological functions: 2 channels CAUTION! Please regard that the voltage at an output channel is always £...
  • Page 79 VIPA System 300S Deployment I/O periphery In-/Output area CPU 312-5BE23 Pin assignment X11: DI Assignment 1L+ Power supply +DC 24V I+0.0 / Channel 0 (A) / Pulse I+0.1 / Channel 0 (B) / Direction I+0.2 / Channel 0 HW gate I+0.3 / Channel 1 (A) / Pulse I+0.4 / Channel 1 (B) / Direction I+0.5 / Channel 1 HW gate...
  • Page 80 Deployment I/O periphery VIPA System 300S In-/Output area CPU 312-5BE23 Status indication X11: DI – LED (green) Supply voltage available for DI .0 ..7 – LEDs (green) I+0.0 ... I+0.7 I+1.0 ... I+1.7 Starting with ca. 15V the signal "1" at the input is recognized and the according LED is activated Pin assignment X11: DO Assignment...
  • Page 81: Address Assignment

    VIPA System 300S Deployment I/O periphery Address assignment Status indication X11: DO – LED (green) Supply voltage available for DO .0 ..7 – LEDs (green) Q+0.0 ... Q+0.7 The according LED is on at active output – LED (red) Overload or short circuit error 6.3 Address assignment Input range...
  • Page 82: Digital Part

    Deployment I/O periphery VIPA System 300S Digital part 6.4 Digital part 312-5BE23 The digital part consists of 16 input -, 8 output channels and 2 channels for technological functions. Each of these digital input- respectively output channels show its state via a LED.
  • Page 83 VIPA System 300S Deployment I/O periphery Digital part Status indication X11: DI – LED (green) Supply voltage available for DI .0 ..7 – LEDs (green) I+0.0 ... I+0.7 I+1.0 ... I+1.7 Starting with ca. 15V the signal "1" at the input is recognized and the according LED is activated Pin assignment X11: DO Assignment...
  • Page 84: Access To The I/O Area

    Deployment I/O periphery VIPA System 300S Digital part > Access to the I/O area Status indication X11: DO – LED (green) Supply voltage available for DO .0 ..7 – LEDs (green) Q+0.0 ... Q+0.7 The according LED is on at active output –...
  • Page 85: Parameterization - Digital Part

    VIPA System 300S Deployment I/O periphery Counter > Counter - Fast introduction 6.4.2 Parameterization - Digital part Parameter data Parameters of the digital part may be set by means of the DI10/DO6 submodule of the CPU 312C from Siemens during hardware configuration. In the following all parameters are specified, which may be used with the hardware configuration of the digital periphery.
  • Page 86 Deployment I/O periphery VIPA System 300S Counter > Counter - Fast introduction Preset respectively param- The counter signal is detected and evaluated during counting operation. Every counter eterize counter occupies one double word in the input range for the counter register. In the operating modes "single count"...
  • Page 87 VIPA System 300S Deployment I/O periphery Counter > Counter - Fast introduction SW gate: open (activate): In application program by setting SW_GATE of the SFB 47 close (deactivate): In application program by resetting SW_GATE of the SFB 47 Read counter The counter values may be read by the output parameter COUNTVAL of the SFB 47.
  • Page 88 Deployment I/O periphery VIPA System 300S Counter > Counter - Fast introduction General Here the short description of the counter function may be found. At Comment information about the module such as purpose may be entered. Addresses Here the start address of the in- output periphery is set. Basic parameters Here the interrupts the counter functions should trigger may be selected.
  • Page 89 VIPA System 300S Deployment I/O periphery Counter > Counter - Fast introduction Parameters Description Range of values Default Signal evaluation The count and direction signals are connected Pulse/Direction Pulse/Direction to the input. Rotary encoder single A rotary transducer is connected to the input Rotary encoder, (single, dual or quadruple evaluation).
  • Page 90: Sfb 47 - Count - Counter Controlling

    Deployment I/O periphery VIPA System 300S Counter > SFB 47 - COUNT - Counter controlling 6.5.2 SFB 47 - COUNT - Counter controlling Description The SFB 47 is a specially developed block for compact CPUs for controlling of the coun- ters.
  • Page 91 VIPA System 300S Deployment I/O periphery Counter > 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 92 Deployment I/O periphery VIPA System 300S Counter > 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 93 VIPA System 300S Deployment I/O periphery Counter > 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 94: Counter - Functions

    Deployment I/O periphery VIPA System 300S Counter > Counter - Functions 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 95 VIPA System 300S Deployment I/O periphery Counter > Counter - Functions Count continuously In this operating mode, the counter counts from 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 96 Deployment I/O periphery VIPA System 300S Counter > Counter - Functions Aborting gate control: Main counting direction forward The counter counts starting with the load value. When the counter reaches the end value -1 in positive direction, it jumps to the load value at the next positive count pulse and the gate is automatically closed.
  • Page 97 VIPA System 300S Deployment I/O periphery Counter > Counter - Functions Main counting direction backwards The counter counts backwards starting with the load value. When the counter reaches the end value +1 in negative direction, it jumps to the load value at the next negative count pulse and the gate is automatically closed.
  • Page 98 Deployment I/O periphery VIPA System 300S Counter > Counter - Functions Limits Valid value range Lower count limit -2 147 483 648 (-2 Upper count limit +2 147 483 647 (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.
  • Page 99: Counter - Additional Functions

    VIPA System 300S Deployment I/O periphery Counter > Counter - Additional functions Limits Valid value range Limit value -2 147 483 648 (-2 to +2 147 483 646 (2 Upper count limit +2 147 483 647 (2 6.5.4 Counter - Additional functions Overview The following additional functions may be set via the parameterization for every counter: Gate function...
  • Page 100 Deployment I/O periphery VIPA System 300S Counter > Counter - Additional functions Gate function The counter is controlled by the internal gate (i gate). The i gate is the result of logic oper- ation of hardware gate (HW gate) and software gate (SW gate), where the HW gate eval- uation may be deactivated by the parameterization.
  • Page 101 VIPA System 300S Deployment I/O periphery Counter > Counter - Additional functions At stop function, the counter continues counting with the last recent counter value after gate restart. Gate control abort, inter- How the CPU should react at opening of the SW gate may be set with the parameter ruption Gate function.
  • Page 102 Deployment I/O periphery VIPA System 300S Counter > Counter - Additional functions Gate control via SW gate, stopping (HW gate deactivated, gate function: Stop count) SW gate HW gate Reaction Counter edge 0-1 deactivated Continue Gate control via SW/HW gate, canceling (HW gate activated, gate function: Cancel count) SW gate HW gate...
  • Page 103 VIPA System 300S Deployment I/O periphery Counter > Counter - Additional functions Characteristics of the You pre-define the behavior of the counter output via the parameterization: output No comparison The output is set as normal output. The SFB input parameter CTRL_DO is effect less. The status bits STS_DO and STS_CMP (Status comparator in the instance DB) remain reset.
  • Page 104 Deployment I/O periphery VIPA System 300S Counter > 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 105 VIPA System 300S Deployment I/O periphery Counter > 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 106: Frequency Measurement

    Deployment I/O periphery VIPA System 300S Frequency measurement > Inputs for the frequency measurement 6.6 Frequency measurement 6.6.1 Overview In this operating mode the CPU counts the incoming pulses during a specified integration time and outputs them as frequency value. You can set a value for the integration time between 10ms and 10000ms, in steps of 1 ms.
  • Page 107 VIPA System 300S Deployment I/O periphery Frequency measurement > Inputs for the frequency measurement Pin assignment X11: DI Assignment 1L+ Power supply +DC 24V I+0.0 / Channel 0 (A) / Pulse I+0.1 / Channel 0 (B) / Direction I+0.2 / Channel 0 HW gate I+0.3 / Channel 1 (A) / Pulse I+0.4 / Channel 1 (B) / Direction I+0.5 / Channel 1 HW gate...
  • Page 108: Parameterization

    Deployment I/O periphery VIPA System 300S Frequency measurement > Parameterization Status indication X11: DI – LED (green) Supply voltage available for DI .0 ..7 – LEDs (green) I+0.0 ... I+0.7 I+1.0 ... I+1.7 Starting with ca. 15V the signal "1" at the input is recognized and the according LED is activated 6.6.3 Parameterization Start the Siemens SIMATIC Manager with your project and open the hardware con-...
  • Page 109: Sfb 48 - Frequenc - Frequency Measurement

    VIPA System 300S Deployment I/O periphery Frequency measurement > SFB 48 - FREQUENC - Frequency measurement Basic parameters Here the interrupts, the counter component should trigger, may be selected. You have the following options: – None: There is no interrupt triggered. –...
  • Page 110 Deployment I/O periphery VIPA System 300S Frequency measurement > SFB 48 - FREQUENC - Frequency measurement Name Declaration Data type Address Default value Comment (Inst.-DB) STS_GATE OUTPUT BOOL 12.0 FALSE Status of the internal gate MEAS_VAL OUTPUT DINT 14.0 Evaluated frequency JOB_DONE OUTPUT BOOL...
  • Page 111: Pulse Width Modulation - Pwm

    VIPA System 300S Deployment I/O periphery Pulse width modulation - PWM > Overview Name Data type Address Default Comment (DB) JOB_DONE BOOL 22.0 TRUE New job can be started JOB_ERR BOOL 22.1 FALSE Job error JOB_STAT WORD 24.0 0000h Job error ID 0000h No error 0221h Integration time too low 0222h Integration time too high...
  • Page 112 Deployment I/O periphery VIPA System 300S Pulse width modulation - PWM > Overview During pulse width modulation the count function at the same channel is deactivated. PWM Outputs For pulse width modulation connect your actuators to the following pins: Channel 0: Pin 22 Channel 1: Pin 23 Connect the common ground to pin 30.
  • Page 113: Parameterization

    VIPA System 300S Deployment I/O periphery Pulse width modulation - PWM > Parameterization Status indication X11: DO – LED (green) Supply voltage available for DO .0 ..7 – LEDs (green) Q+0.0 ... Q+0.7 The according LED is on at active output –...
  • Page 114 Deployment I/O periphery VIPA System 300S Pulse width modulation - PWM > Parameterization Basic parameters Here the interrupts, the counter function should trigger, may be selected. You have the following options: None: There is no interrupt triggered. Process: The counter component triggers a hardware interrupt. Diagnostics and Process: With the CPU the diagnostic interrupt of the digital in-/ output periphery is only supported in connection with "hardware interrupt lost".
  • Page 115: Sfb 49 - Pulse - Pulse Width Modulation

    VIPA System 300S Deployment I/O periphery Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation Minimum pulse duration You can set a minimum pulse time for the attenuation of short output pulses/pauses. This suppresses all pulses or pauses shorter than the minimum pulse time. Thus you may filter very small pulses (spikes), which are not noted from the periphery anymore.
  • Page 116 Deployment I/O periphery VIPA System 300S Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation Parameter Declaration Data type Address Default Comment (Inst.-DB) Value MAN_DO INPUT BOOL FALSE This parameter is not evaluated. SET_DO INPUT BOOL FALSE This parameter is not evaluated.
  • Page 117 VIPA System 300S Deployment I/O periphery Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation 02h: Write on-delay Range of values in dependence of the time base: – 1ms: 0 ... 65535 – 0.1ms: 0 ... 65535 –...
  • Page 118 Deployment I/O periphery VIPA System 300S Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation Local data only in instance DB Name Data type Address Default Comment (Instance DB) JOB_OVAL DINT 20.0 Output values for read jobs Per channel you may call the SFB in each case with the same instance DB, since the data necessary for the internal operational are stored here.
  • Page 119 VIPA System 300S Deployment I/O periphery Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation Call the SFB 49: SW_EN = FALSE JOB_VAL = Enter a value for the minimum pulse duration here JOB_ID = 04h: Write minimum pulse duration for PWM output. JOB_REQ = TRUE (edge 0-1) From JOB_VAL the minimum pulse duration is transmitted to the PWM ð...
  • Page 120 Deployment I/O periphery VIPA System 300S Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation Call the SFB 49: SW_EN = FALSE JOB_VAL = Enter a value for the period duration here. JOB_ID = 01h: Write period duration for the 1. pulse train job. JOB_REQ = TRUE (edge 0-1) From JOB_VAL the period duration for the 1.
  • Page 121 VIPA System 300S Deployment I/O periphery Pulse width modulation - PWM > SFB 49 - PULSE - Pulse width modulation As soon as JOB_DONE returns TRUE, you can transfer additional pulse train jobs by repeating the steps 1 to 6. By resetting of SW_EN (SW_EN = FALSE) the output is immediately stopped.
  • Page 122: Diagnostic And Interrupt

    Deployment I/O periphery VIPA System 300S Diagnostic and interrupt Return value JOB_STAT The JOB_STAT return value gives you detailed information in the event of an error. Value Description 0000h no error 0411h Period duration too small 0412h Period duration too big 0421h On-delay too small 0422h...
  • Page 123: Process Interrupt

    VIPA System 300S Deployment I/O periphery Diagnostic and interrupt > Process interrupt 6.8.1 Process interrupt Activation The activation of the process interrupt occurs only if at the same time the counter output is activated and "Diagnostics+Process" is set in the basic parameters.
  • Page 124: Diagnostic Interrupt

    Deployment I/O periphery VIPA System 300S 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 125 VIPA System 300S 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 126 Deployment I/O periphery VIPA System 300S Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Bit 0: set at module failure Bit 1: 0 (fix) Bit 2: set at external error Bit 3: set at channel error Bit 7 ... 4: 0 (fix) Bit 3 ...
  • Page 127 VIPA System 300S 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 128 Deployment I/O periphery VIPA System 300S Diagnostic and interrupt > Diagnostic interrupt Diagnostic Record set 1 at The record set 1 contains the 4byte of the record set 0 and additionally 12byte module frequency measurement specific diagnostic data. The diagnostic bytes have the following assignment: Byte Bit 7...0 Ä...
  • Page 129 VIPA System 300S Deployment I/O periphery Diagnostic and interrupt > Diagnostic interrupt Byte Bit 7...0 Bit 7 ... 0: reserved Diagnostic interrupt due to "process interrupt lost" at... Bit 0: End of measurement channel 0 (End of integration time) Bit 7 ... 1: 0 (fix) Diagnostic interrupt due to "process interrupt lost"...
  • Page 130 Deployment I/O periphery VIPA System 300S 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 131: Deployment Ptp Communication

    VIPA System 300S Deployment PtP communication Fast introduction Deployment PtP communication 7.1 Fast introduction General The CPU has a RS485 interface X3, which is fix set to PtP communication (point to point). PtP functionality – Using the PtP functionality the RS485 interface is allowed to connect via serial point-to-point connection to different source res.
  • Page 132: Principle Of The Data Transfer

    Deployment PtP communication VIPA System 300S Principle of the data transfer 7.2 Principle of the data transfer RS485 PtP communication 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 133: Deployment Of Rs485 Interface For Ptp

    VIPA System 300S Deployment PtP communication Deployment of RS485 interface for PtP 7.3 Deployment of RS485 interface for PtP Overview The RS485 interface from the CPU is fix set to PtP communication. Parameterization and communication happens by means of SFCs. Properties RS485 Logical states represented by voltage differences between the two cores of a twisted pair cable...
  • Page 134: Parametrization

    Deployment PtP communication VIPA System 300S Communication > FC/SFC 217 - SER_SND - Send to PtP Connection RS485 interface Periphery *) For traffic-free data transfer use a terminating resistor of approximately 7.4 Parametrization 7.4.1 FC/SFC 216 - SER_CFG - Parametrization PtP The parametrization happens during runtime deploying the FC/SFC 216 (SER_CFG).
  • Page 135: Fc/Sfc 218 - Ser_Rcv - Receive From Ptp

    VIPA System 300S Deployment PtP communication Protocols and procedures 7.5.2 FC/SFC 218 - SER_RCV - Receive from PtP This block receives data via the serial interface. Using the FC/SFC 218 SER_RCV after SER_SND with the protocols USS and Modbus the acknowledgement telegram can be read.
  • Page 136 Deployment PtP communication VIPA System 300S Protocols and procedures 3964 The 3964R procedure controls the data transfer of a point-to-point link between the CPU and a communication partner. The procedure adds control characters to the message data during data transfer. These control characters may be used by the communication partner to verify the complete and error free receipt.
  • Page 137 VIPA System 300S Deployment PtP communication Protocols and procedures 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. The communication happens exclusively in half-duplex operation. After a send command, the acknowledgement telegram must be read by a call of the FC/SFC 218 SER_RCV.
  • Page 138 Deployment PtP communication VIPA System 300S Protocols and procedures After a send command, the acknowledgement telegram must be read by a call of the FC/SFC 218 SER_RCV. The request telegrams send by the master and the respond telegrams of a slave have the following structure: Telegram structure Start sign...
  • Page 139: Modbus - Function Codes

    VIPA System 300S Deployment PtP communication Modbus - Function codes 7.7 Modbus - Function codes Naming convention Modbus has some naming conventions: Modbus differentiates between bit and word access; bits = "Coils" and words = "Reg- ister". Bit inputs are referred to as "Input-Status" and bit outputs as "Coil-Status". word inputs are referred to as "Input-Register"...
  • Page 140 Deployment PtP communication VIPA System 300S Modbus - Function codes Code Command Description Read n bits Read n bits of master output area 0x Read n bits Read n bits of master input area 1x Read n words Read n words of master output area 4x Read n words Read n words master input area 3x Write 1 bit...
  • Page 141 VIPA System 300S Deployment PtP communication Modbus - Function codes Command telegram Slave address Function code Address 1. bit Number of bits Check sum CRC/LRC 1byte 1byte 1word 1word 1word Respond telegram Slave address Function code Number of Data 1. byte Data 2.
  • Page 142 Deployment PtP communication VIPA System 300S Modbus - Function codes Write 1 word 06h Code 06h: Write 1 word to master output area 4x Command telegram Slave address Function code Address word Value word Check sum CRC/LRC 1byte 1byte 1word 1word 1word Respond telegram...
  • Page 143: Modbus - Example Communication

    VIPA System 300S Deployment PtP communication Modbus - Example communication 7.8 Modbus - Example communication Overview The example establishes a communication between a master and a slave via Modbus. The following combination options are shown: CPU 31xS as Modbus RTU master CPU 21xSER-1 as Modbus RTU slave Siemens SIMATIC Manager and possibilities for the project transfer Modbus cable connection...
  • Page 144 Deployment PtP communication VIPA System 300S Modbus - Example communication HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 145: Winplc7

    VIPA System 300S WinPLC7 Installation WinPLC7 8.1 System conception General WinPLC7 is a programming and simulation software from VIPA for every PLC program- mable with Siemens STEP ® 7. This tool allows you to create user applications in FBD, LAD and STL. Besides of a comfortable programming environment, WinPLC7 has an integrated simulator that enables the simulation of your user application at the PC without additional hardware.
  • Page 146: Example Project Engineering

    WinPLC7 VIPA System 300S Example project engineering > Job definition Activation of the "Profi" Start WinPLC7. version ð A ‘Demo’ dialog is shown Click at [Activate Software]. ð The following dialog for activation is shown: Fill in the following fields: Email-Addr.
  • Page 147: Project Engineering

    VIPA System 300S WinPLC7 Example project engineering > Project engineering Here it should apply: if value1 = value2 activate output Q 124.0 if value1 > value2 activate output Q 124.1 if value1 < value2 activate output Q 124.2 Precondition You have administrator rights for your PC. WinPLC7 is installed and activated as "Profi"...
  • Page 148 WinPLC7 VIPA System 300S Example project engineering > Project engineering Establish online access via Ethernet PG/OP channel: Open the CPU-Properties, by double clicking to the CPU at slot 2 in the hardware configurator. Click to the button [Ethernet CP-Properties (PG/OP-channel)]. ð...
  • Page 149 VIPA System 300S WinPLC7 Example project engineering > Project engineering Programming of the FC 1 The PLC programming happens by WinPLC7. Close the hardware configurator and return to your project in WinPLC7. The PLC program is to be created in the FC 1. In ‘Project content’...
  • Page 150 WinPLC7 VIPA System 300S Example project engineering > Project engineering As requested in the job definition, the corresponding output is activated depending on the comparison of value1 and value2. For each comparison operation a separate network is to be created. The program is to be created as FBD (function block diagram).
  • Page 151 VIPA System 300S WinPLC7 Example project engineering > Project engineering The allocation to the corresponding output, here Q 124.0, takes place with the following proceeding: Click to the output at the right side of the operator. Open in the catalog the category ‘Bit logic’ and select the function ‘--[=]’ . The inserting of ‘--[=]’...
  • Page 152 WinPLC7 VIPA System 300S Example project engineering > Project engineering Save the FC 1 with ‘File è Save content of focused window’ respectively press [Strg]+[S]. ð After you have programmed the still missing networks, the FC 1 has the fol- lowing structure: Creating the block OB 1 The FC 1 is to be called from the cycle OB 1.
  • Page 153: Test The Plc Program In The Simulator

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

    WinPLC7 VIPA System 300S Example project engineering > Transfer PLC program to CPU and its execution Open the OB 1. Change the value of one variable, save the OB 1 and transfer it to the simulator. ð According to your settings the process image changes immediately. The status of your blocks may be displayed with ‘Block è...
  • Page 155 VIPA System 300S WinPLC7 Example project engineering > Transfer PLC program to CPU and its execution Choose your CPU, which was provided with TCP/IP address parameters during the hardware configuration and click to [Confirm]. Close the dialog ‘Ethernet properties’ with [OK]. Transfer your project to your CPU with ‘PLC è...
  • Page 156: Configuration With Tia Portal

    Configuration with TIA Portal VIPA System 300S TIA Portal - Work environment > General Configuration with TIA Portal 9.1 TIA Portal - Work environment 9.1.1 General General In this chapter the project engineering of the VIPA CPU in the Siemens TIA Portal is shown.
  • Page 157: Work Environment Of The Tia Portal

    VIPA System 300S Configuration with TIA Portal TIA Portal - Work environment > Work environment of the TIA Portal 9.1.2 Work environment of the TIA Portal Basically, the TIA Portal has the following 2 views. With the button on the left below you can switch between these views: Portal view The ‘Portal view’...
  • Page 158: Tia Portal - Hardware Configuration - Cpu

    Configuration with TIA Portal VIPA System 300S TIA Portal - Hardware configuration - CPU 9.2 TIA Portal - Hardware configuration - CPU Configuration Siemens With the Siemens TIA Portal, the CPU 312-5BE23 from VIPA is to be configured as CPU 312C (6ES7 312-5BE03-0AB0/V2.6) from Siemens.
  • Page 159: Tia Portal - Hardware Configuration - I/O Modules

    VIPA System 300S Configuration with TIA Portal TIA Portal - Hardware configuration - I/O modules 9.3 TIA Portal - Hardware configuration - I/O modules Hardware configuration of After the hardware configuration of the CPU place the System 300 modules at the bus in the modules the plugged sequence.
  • Page 160: Tia Portal - Hardware Configuration - Ethernet Pg/Op Channel

    Configuration with TIA Portal VIPA System 300S TIA Portal - Hardware configuration - Ethernet PG/OP channel 9.4 TIA Portal - Hardware configuration - Ethernet PG/OP channel Overview The CPU has an integrated Ethernet PG/OP channel. This channel allows you to pro- gram and remote control your CPU.
  • Page 161 VIPA System 300S 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 162 Configuration with TIA Portal VIPA System 300S TIA Portal - Hardware configuration - Ethernet PG/OP channel Device overview: Module Slot Type PLC... CPU ... DI... DI... DO... DO... DIO... DIO... AI... AI... AO... AO... CP 343-1 CP 343-1 HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 163: Tia Portal - Vipa-Include Library

    VIPA System 300S Configuration with TIA Portal TIA Portal - VIPA-Include library 9.5 TIA Portal - VIPA-Include library Overview The VIPA specific blocks can be found in the "Service" area of www.vipa.com as library download file at Downloads > VIPA LIB. The library is available as packed zip file for the corresponding TIA Portal version.
  • Page 164: Tia Portal - Project Transfer

    Configuration with TIA Portal VIPA System 300S TIA Portal - Project transfer 9.6 TIA Portal - Project transfer Overview There are the following possibilities for project transfer into the CPU: Transfer via MPI Transfer via Ethernet Transfer via memory card Transfer via MPI Currently the VIPA programming cables for transfer via MPI are not supported.
  • Page 165 VIPA System 300S Configuration with TIA Portal TIA Portal - Project transfer Transfer via memory card The memory card serves as external storage medium. There may be stored several proj- ects and sub-directories on a memory card. Please regard that your current project is stored in the root directory and has one of the following file names: S7PROG.WLD AUTOLOAD.WLD...
  • Page 166: Appendix

    Appendix VIPA System 300S Appendix HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 167 VIPA System 300S Appendix Content System specific event IDs................168 Integrated blocks.................... 216 SSL partial list....................220 HB140 | CPU-SC | 312-5BE23 | en | 18-45...
  • Page 168: A System Specific Event Ids

    System specific event IDs VIPA System 300S System specific event IDs Ä Chap. 5.18 ‘Diagnostic entries’ page 74 Event IDs Event ID Description 0x115C Manufacture interrupt for EtherCAT / PROFINET IO OB: OB number ZINFO1: Logical address of the slave station that triggered the interrupt ZINFO2: Interrupt type 0: Reserved 1: Diagnostic interrupt (incoming)
  • Page 169 VIPA System 300S System specific event IDs Event ID Description 0xE005 Internal error - Please contact the hotline! ZINFO1: Not user relevant ZINFO2: Not user relevant ZINFO3: Not user relevant 0xE007 Configured input/output bytes do not fit in the periphery area 0xE008 Internal error - Please contact the hotline! 0xE009...
  • Page 170 System specific event IDs VIPA System 300S Event ID Description ZINFO1: Error 4: SSL wrong 5: Sub-SSL wrong 6: Index wrong ZINFO2: SZL-ID ZINFO3: Index 0xE0CC Communication error ZINFO1: Error code 1: Wrong priority 2: Buffer overrun 3: Telegram format error 4: Wrong SSL request (SSL-ID invalid) 5: Wrong SSL request (SSL-Sub-ID invalid) 6: Wrong SSL request (SSL-Index invalid)
  • Page 171 VIPA System 300S System specific event IDs Event ID Description 0xE200 Memory card writing finished (Copy Ram2Rom) OB: Not user relevant PK: Not user relevant 0xE210 Memory card reading finished (reload after memory reset) OB: Not user relevant PK: Not user relevant ZINFO1 - Position 0: Not user relevant 0xE21D Memory card reading: Error on reload (after memory reset), error in the block header...
  • Page 172 System specific event IDs VIPA System 300S Event ID Description 70: SFB 97: VDB 98: VSDB 99: VFC 100: VSFC 101: VFB 102: VSFB 111: VOB ZINFO3: Block number 0xE300 Internal flash writing completed (copy Ram2Rom) 0xE310 Internal flash reading completed (recharging after battery failure) 0xE400 FSC card was plugged OB: FSC activated from this slot (PK)
  • Page 173 VIPA System 300S System specific event IDs Event ID Description 23357: 955-C000M00 24576: 955-C000050 35025: 955-C00MC10 36351: FSC-C000S40 36794: FSC-C000M40 37260: 955-C000S40 37833: 955-C000M40 38050: FSC-C00MC10 41460: 955-C000M50 41526: 955-C0PE040 42655: FSC-C00MC00 47852: 955-C00MC00 48709: FSC-C0PE040 50574: 955-C000M70 52366: 955-C000030 53501: FSC-C000030 58048: FSC-C000020 63411: 955-C000M60...
  • Page 174 System specific event IDs VIPA System 300S Event ID Description 4940: FSC-C000S30 5755: 955-C0ME040 6843: FSC-C0NE040 8561: FSC-C000S20 9012: FSC-C000M20 13895: 955-C000060 15618: 955-C000S20 16199: 955-C000M20 17675: FSC-C000S00 18254: FSC-C000M00 20046: FSC-C000040 21053: 955-C000040 22904: 955-C000S00 23357: 955-C000M00 24576: 955-C000050 35025: 955-C00MC10 36351: FSC-C000S40 36794: FSC-C000M40...
  • Page 175 VIPA System 300S System specific event IDs Event ID Description ZINFO2: Number of released axes ZINFO3: Number of configured axes 0xE403 FSC can not be activated in this CPU OB: FCS error code PK: FSC source 0: CPU 1: Card ZINFO1: FSC(CRC) 1146: 955-C000070 1736: 955-C0NE040...
  • Page 176 System specific event IDs VIPA System 300S Event ID Description 47852: 955-C00MC00 48709: FSC-C0PE040 50574: 955-C000M70 52366: 955-C000030 53501: FSC-C000030 58048: FSC-C000020 63411: 955-C000M60 65203: 955-C000020 ZINFO2: FSC serial number (high word) ZINFO3: FSC serial number (low word) 0xE404 Feature set deleted due to CRC error 0xE405 The trial time of a feature set/memory card has expired OB: Action after the end of the trial time...
  • Page 177 VIPA System 300S System specific event IDs Event ID Description 20046: FSC-C000040 21053: 955-C000040 22904: 955-C000S00 23357: 955-C000M00 24576: 955-C000050 35025: 955-C00MC10 36351: FSC-C000S40 36794: FSC-C000M40 37260: 955-C000S40 37833: 955-C000M40 38050: FSC-C00MC10 41460: 955-C000M50 41526: 955-C0PE040 42655: FSC-C00MC00 47852: 955-C00MC00 48709: FSC-C0PE040 50574: 955-C000M70 52366: 955-C000030...
  • Page 178 System specific event IDs VIPA System 300S Event ID Description 3903: 955-C000S30 4361: FSC-C000M30 4940: FSC-C000S30 5755: 955-C0ME040 6843: FSC-C0NE040 8561: FSC-C000S20 9012: FSC-C000M20 13895: 955-C000060 15618: 955-C000S20 16199: 955-C000M20 17675: FSC-C000S00 18254: FSC-C000M00 20046: FSC-C000040 21053: 955-C000040 22904: 955-C000S00 23357: 955-C000M00 24576: 955-C000050 35025: 955-C00MC10...
  • Page 179 VIPA System 300S System specific event IDs Event ID Description 56: OB 65: DB 66: SDB 67: FC 68: SFC 69: FB 70: SFB 97: VDB 98: VSDB 99: VFC 100: VSFC 101: VFB 102: VSFB 111: VOB ZINFO3: Block number 0xE501 Parser error ZINFO1: Error code...
  • Page 180 System specific event IDs VIPA System 300S Event ID Description 0xE503 Inconsistency of code sizes and block sizes in the working memory ZINFO1: Code size ZINFO2: Block size (high word) ZINFO3: Block size (low word) 0xE504 Additional information for CRC error in the working memory ZINFO2: Block address (high word) ZINFO3: Block address (low word) 0xE505...
  • Page 181 VIPA System 300S System specific event IDs Event ID Description ZINFO3: Not user relevant DatID: Not user relevant 0xE705 Too many PROFIBUS slaves configured ZINFO1: Diagnostic address of the PROFIBUS master ZINFO2: Number of configured slaves ZINFO3: Number of admissible slaves 0xE710 On-board PROFIBUS/MPI: Bus error occurred PK: Not user relevant...
  • Page 182 System specific event IDs VIPA System 300S Event ID Description ZINFO2: Length of the address range ZINFO3: Size of the process image DatID: Address range 0xE801 CMD - auto command: CMD_START recognized and executed 0xE802 CMD - auto command: CMD_End recognized and executed 0xE803 CMD - auto command: WAIT1SECOND recognized and executed 0xE804...
  • Page 183 VIPA System 300S System specific event IDs Event ID Description 0xE80E CMD - auto command: SET_NETWORK recognized and executed 0xE80F Internal error - Please contact the hotline! ZINFO3: Status 0: OK 65153: File create error 65185: File writing error 65186: Odd address for reading 0xE810 Internal error - Please contact the hotline! 0xE811...
  • Page 184 System specific event IDs VIPA System 300S Event ID Description 0xE901 Checksum error ZINFO1: Not user relevant ZINFO2: Not user relevant DatID: Not user relevant 0xE902 Internal error - Please contact the hotline! ZINFO1: Not user relevant ZINFO2: Not user relevant DatID: Not user relevant 0xE904 PG/OP: Multiple parametrization of a peripheral address...
  • Page 185 VIPA System 300S System specific event IDs Event ID Description ZINFO1: Slot DatID: Not user relevant 0xEA02 SBUS: Internal error (internal plugged sub module not recognized) PK: Not user relevant ZINFO1: Slot ZINFO2: Type identifier target ZINFO3: Type identifier DatID: Not user relevant 0xEA03 SBUS: Communication error between CPU and IO controller OB: Operating mode...
  • Page 186 System specific event IDs VIPA System 300S Event ID Description 7: Not Connected 8: Unknown DatID: Not user relevant 0xEA04 SBUS: Multiple configuration of a periphery address ZINFO1: Periphery address ZINFO2: Slot ZINFO3: Data width 0xEA05 Internal error - Please contact the hotline! 0xEA07 Internal error - Please contact the hotline! 0xEA08...
  • Page 187 VIPA System 300S System specific event IDs Event ID Description PK: Not user relevant ZINFO2: HW slot ZINFO3: Interface type DatID: Not user relevant 0xEA1A SBUS: Error in access to SBUS FPGA address table PK: Not user relevant ZINFO2: HW slot ZINFO3: Table 0: Read 1: Writing...
  • Page 188 System specific event IDs VIPA System 300S Event ID Description DatID: Line 0xEA50 PROFINET IO controller: Error in the configuration OB: Not user relevant PK: Not user relevant ZINFO1: Rack/slot of the controller ZINFO2: Device number ZINFO3: Slot at the device DatID: Not user relevant 0xEA51 PROFINET IO controller: There is no PROFINET IO controller at the configured slot...
  • Page 189 VIPA System 300S System specific event IDs Event ID Description OB: File number PK: Slot of the controller ZINFO1: Firmware major version ZINFO2: Firmware minor version DatID: Line 0xEA62 Internal error - Please contact the hotline! OB: File number. PK: Slot of the controller ZINFO1: Firmware major version ZINFO2: Firmware minor version DatID: Line...
  • Page 190 System specific event IDs VIPA System 300S Event ID Description ZINFO2 - Bit 2: DC parameter invalid ZINFO2 - Bit 3: I device configuration invalid (slot gap) ZINFO2 - Bit 4: MRP configuration invalid (client) 0xEA65 Internal error - Please contact the hotline! PK: Platform 0: none 8: CP...
  • Page 191 VIPA System 300S System specific event IDs Event ID Description 1: Dataset error stack 2: Dataset error station ZINFO1: Dataset number ZINFO2: Dataset handle (caller) ZINFO3: Internal error code from PN stack DatID: Device 0xEA69 Internal error - Please contact the hotline! ZINFO1: Minimum version for the FPGA ZINFO2: Loaded FPGA version 0xEA6A...
  • Page 192 System specific event IDs VIPA System 300S Event ID Description ZINFO2: Not user relevant ZINFO3: Not user relevant DatID: Not user relevant 0xEA6C PROFINET IO controller: Incorrect Device-ID OB: Operating mode 0: Configuration in operating condition RUN 1: STOP (update) 2: STOP (memory reset) 3: STOP (auto initialization) 4: STOP (internal)
  • Page 193 VIPA System 300S System specific event IDs Event ID Description 12: UPDATING 13: DEFECTIVE 14: Error search mode 15: De-energised 253: Process image release in STOP 254: Watchdog 255: Not set PK: Rack/slot ZINFO1: Device ID ZINFO2: Not user relevant ZINFO3: Not user relevant DatID: Not user relevant 0xEA6E...
  • Page 194 System specific event IDs VIPA System 300S Event ID Description OB: Operating mode 0: Configuration in operating condition RUN 1: STOP (update) 2: STOP (memory reset) 3: STOP (auto initialization) 4: STOP (internal) 5: STARTUP (cold start) 6: STARTUP (restart/warm start) 7: STARTUP (hot restart) 9: RUN 10: HALT...
  • Page 195 VIPA System 300S System specific event IDs Event ID Description 129: PNIO 207: RTA error 218: AlarmAck 219: IODConnectRes 220: IODReleaseRes 221: IOD/IOXControlRes 222: IODReadRes 223: IODWriteRes ZINFO2: ErrorDecode 128: PNIORW: Service Read Write 129: PNIO: Other Service or internal e.g. RPC errors 130: Vendor specific ZINFO3: Error code (PN spec.
  • Page 196 System specific event IDs VIPA System 300S Event ID Description 0: INIT 1: STOP 2: READY 3: PAUSE 4: RUN ZINFO1: Filenamehash[0-3] ZINFO2: Filenamehash[4-7] ZINFO3: Line DatID: Current job number 0xEA92 Internal error - Please contact the hotline! OB: Current OB number PK: Core status 0: INIT 1: STOP...
  • Page 197 VIPA System 300S System specific event IDs Event ID Description DatID: Not user relevant 0xEA99 Parameter assignment job could not be executed PK: Not user relevant ZINFO1: File version on MMC/SD (if not 0) ZINFO2: File version of the SBUS module (if not 0) ZINFO3: Slot DatID: Not user relevant 0xEAA0...
  • Page 198 System specific event IDs VIPA System 300S Event ID Description 6: STARTUP (restart/warm start) 7: STARTUP (hot restart) 9: RUN 10: HALT 11: COUPLING 12: UPDATING 13: DEFECTIVE 14: Error search mode 15: De-energised 253: Process image release in STOP 254: Watchdog 255: Not set ZINFO1: Diagnostic address of the master...
  • Page 199 VIPA System 300S System specific event IDs Event ID Description PK: Not user relevant ZINFO1: Error type 1: SDB parser error 2: Configured address already used 3: Mapping error ZINFO2: Slot (0=cannot be determined) DatID: Not user relevant 0xEB04 SLIO-Bus: Multiple configuration of a periphery address ZINFO1: Periphery address ZINFO2: Slot DatID: Input...
  • Page 200 System specific event IDs VIPA System 300S Event ID Description 3: Slot invalid 4: Master configuration invalid 5: Master type invalid 6: Slave diagnostic address invalid 7: Slave address invalid 8: Slave module IO configuration invalid 9: Logical address already in use 10: Internal error 11: IO mapping error 12: Error...
  • Page 201 VIPA System 300S System specific event IDs Event ID Description 0xEC05 EtherCAT: Check the set DC mode of the YASKAWA Sigma 5/7 drive OB: Operating mode 0: Configuration in operating condition RUN 1: STOP (update) 2: STOP (memory reset) 3: STOP (auto initialization)
  • Page 202 System specific event IDs VIPA System 300S Event ID Description 0: Undefined/Unkown 1: Init 2: PreOp 3: Bootstrap 4: SafeOp 8: Op ZINFO1 - Position 8: Previous status 0: Undefined/Unkown 1: Init 2: PreOp 3: Bootstrap 4: SafeOp 8: Op ZINFO2: Diagnostic address of the station ZINFO3: Number of stations, which are not in the same state as the master DatID: Station not available...
  • Page 203 VIPA System 300S System specific event IDs Event ID Description DatID: Input address DatID: Output address 0xEC12 EtherCAT: Recurrence slave ZINFO1 - Position 0: New status 0: Undefined/Unkown 1: Init 2: PreOp 3: Bootstrap 4: SafeOp 8: Op ZINFO1 - Position 8: Previous status 0: Undefined/Unkown 1: Init 2: PreOp...
  • Page 204 System specific event IDs VIPA System 300S Event ID Description 10: HALT 11: COUPLING 12: UPDATING 13: DEFECTIVE 14: Error search mode 15: De-energised 253: Process image release in STOP 254: Watchdog 255: Not set ZINFO2: Diagnostic address of the master ZINFO3: DC state change 0: DC master out of sync 1: DC slave stations out of sync...
  • Page 205 VIPA System 300S System specific event IDs Event ID Description DatID: Output address 0xED12 EtherCAT: Breakdown slave ZINFO1 - Position 0: New status 0: Undefined/Unkown 1: Init 2: PreOp 3: Bootstrap 4: SafeOp 8: Op ZINFO1 - Position 8: Previous status 0: Undefined/Unkown 1: Init 2: PreOp...
  • Page 206 System specific event IDs VIPA System 300S Event ID Description 35: Slave station needs to be in SafeOp state 45: Invalid output FMMU configuration 46: Invalid input FMMU configuration 48: Invalid DC Sync configuration 49: Invalid DC Latch configuration 50: PLL error 51: Invalid DC IO error 52: Invalid DC time out error 66: Error in acyclic data exchange Ethernet Over EtherCAT...
  • Page 207 VIPA System 300S System specific event IDs Event ID Description 0xED21 EtherCAT: Incorrect bus status change ZINFO1 - Position 0: New status 0: Undefined/Unkown 1: Init 2: PreOp 3: Bootstrap 4: SafeOp 8: Op ZINFO1 - Position 8: Previous status 0: Undefined/Unkown 1: Init 2: PreOp...
  • Page 208 System specific event IDs VIPA System 300S Event ID Description 3: Bootstrap 4: SafeOp 8: Op ZINFO2: Diagnostic address of the station ZINFO3: AlStatusCode 0: No error 1: Unspecified error 17: Invalid requested status change 18: Unknown requested status 19: Bootstrap not supported 20: No valid firmware 22: Invalid mailbox configuration 22: Invalid mailbox configuration...
  • Page 209 VIPA System 300S System specific event IDs Event ID Description DatID: Station not available DatID: Station available DatID: Input address DatID: Output address 0xED23 EtherCAT: Time out while changing the master state to OP, after CPU has changed to RUN OB: Operating mode 0: Configuration in operating condition RUN 1: STOP (update)
  • Page 210 System specific event IDs VIPA System 300S Event ID Description ZINFO2: Diagnostic address of the master 0xED31 EtherCAT: Overflow of the interrupt queue ZINFO2: Diagnostic address of the master 0xED40 Bus cycle time infringement occurred ZINFO1: Logical address of the IO system 0xED50 EtherCAT: Distributed clocks (DC) in sync OB: Operating mode...
  • Page 211 VIPA System 300S System specific event IDs Event ID Description 7: STARTUP (hot restart) 9: RUN 10: HALT 11: COUPLING 12: UPDATING 13: DEFECTIVE 14: Error search mode 15: De-energised 253: Process image release in STOP 254: Watchdog 255: Not set ZINFO1 - Position 0: New status 0: Undefined/Unkown 1: Init...
  • Page 212 System specific event IDs VIPA System 300S Event ID Description 33: Slave station needs to be in INIT state 34: Slave station needs to be in PreOp state 35: Slave station needs to be in SafeOp state 45: Invalid output FMMU configuration 46: Invalid input FMMU configuration 48: Invalid DC Sync configuration 49: Invalid DC Latch configuration...
  • Page 213 VIPA System 300S System specific event IDs Event ID Description 0xED63 EtherCAT: Diagnostic buffer CP: Error in the response to an INIT command OB: EtherCAT station address (high byte) PK: EtherCAT station address (low byte) ZINFO1: Error type 0: Not defined 1: No response 2: Validation error 3: INIT command failed, requested station could not be reached...
  • Page 214 System specific event IDs VIPA System 300S Event ID Description ZINFO2: Not user relevant ZINFO3: Not user relevant DatID: Not user relevant 0xEE01 Internal error - Please contact the hotline! ZINFO3: SFB number 0xEEEE CPU was completely deleted, since after PowerON the start-up could not be finished 0xEF00 Internal error - Please contact the hotline! DatID: Not user relevant...
  • Page 215 VIPA System 300S System specific event IDs Event ID Description 29: The component actively disconnected the system connection to the CPU 31: Inconsistency of the component data base by loading SDB xxxx by the rack component (SDB type 0x3100) 32: Periphery enabled by S7-CPU 33: Periphery disabled by S7-CPU 34: Component STOP due to switch actuation 35: Component STOP due to invalid configuration...
  • Page 216: B Integrated Blocks

    Integrated blocks VIPA System 300S Integrated blocks More information about this may be found in the manual "SPEED7 Oper- ation List" from VIPA. Name Description OB 1 CYCL_EXC Program Cycle OB 10 TOD_INT0 Time-of-day Interrupt OB 20 DEL_INT0 Time delay interrupt OB 28 CYC_INT_250us Cyclic interrupt...
  • Page 217 VIPA System 300S Integrated blocks Name Description SFB 33 ALARM Messages with acknowledgement display SFB 34 ALARM_8 Messages without associated values (8x) SFB 35 ALARM_8P Messages with associated values (8x) SFB 36 NOTIFY8 Messages without acknowledgement display SFB 47 COUNT Control counter SFB 48 FREQUENC...
  • Page 218 Integrated blocks VIPA System 300S Name Description SFC 31 QRY_TINT Query time-of-day interrupt SFC 32 SRT_DINT Start time-delay interrupt SFC 33 CAN_DINT Cancel time-delay interrupt SFC 34 QRY_DINT Query time-delay interrupt SFC 36 MSK_FLT Mask synchronous errors SFC 37 MSK_FLT Unmask synchronous errors SFC 38 READ_ERR...
  • Page 219 VIPA System 300S Integrated blocks Name Description SFC 102 RD_DPARA Reading predefined parameters SFC 105 READ_SI Reading dynamic system resources SFC 106 DEL_SI Releasing dynamic system resources SFC 107 ALARM_DQ ALARM_DQ SFC 108 ALARM_DQ ALARM_DQ SFC 192 CP_S_R CP communication SFC 193 AI_OSZI Oscilloscope-/FIFO function...
  • Page 220: Cssl Partial List

    SSL partial list VIPA System 300S SSL partial list More information about this may be found in the manual "SPEED7 Oper- ation List" from VIPA. SSL-ID SSL partial list xy11h Module identification xy12h CPU characteristics xy13h User memory areas xy14h System areas xy15h Block Types...

This manual is also suitable for:

Cpu 312sc

Table of Contents