About this manual ..................1 Safety information ..................2 Chapter 1 Basics ................1-1 Safety Information for Users..............1-2 General description of the System 300V ..........1-3 Components..................1-4 Chapter 2 Assembly and installation guidelines......2-1 Overview ....................2-2 Installation dimensions ................. 2-3 Installation at the profile rail..............
Page 4
Contents Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP........6-1 Principles....................6-2 Protocols ....................6-4 Network planning ................. 6-8 IP address..................6-10 Project Engineering of the CPU 31xNET..........6-11 PG/OP communication............... 6-24 Firmware update and reboot .............. 6-27 Access control..................
About this manual About this Manual This manual describes the operation of the CPU 31x in the System 300V from VIPA. The text provides details on the hardware, the programming and the functions integrated into the unit as well as Profibus and TCP/IP applications.
Page 6
About this manual Manual VIPA System 300V Objective and This manual describes the CPUs 31x from VIPA which can be used at the System 300V. It contains a description of structure, project engineering and contents technical data. Target audience The manual is targeted at users who have a background in automation technology.
Safety information Safety information The CPUs 31x are constructed and manufactured for: Applications conforming with • System 300 components from VIPA and Siemens specifications • communication and process control • general control and automation applications • industrial applications • operation within the environmental conditions specified in the technical data •...
Page 8
Safety information Manual VIPA System 300V HB130E - CPU - Rev. 11/50...
Main theme of this chapter is to give you an overview about the System Outline 300V from VIPA. We will outline the possibilities of the installation of central res. decentral systems. This chapter also contains general information about the System 300V like measurements, hints for installation and the environmental conditions.
Chapter 1 Basics Manual VIPA System 300V Safety Information for Users VIPA modules make use of highly integrated components in MOS- Handling of Technology. These components are extremely sensitive to over-voltages electrostatically that can occur during electrostatic discharges. sensitive modules The following symbol is attached to modules that can be destroyed by electrostatic discharges.
Manual VIPA System 300V Chapter 1 Basics General description of the System 300V The System 300V is a modular automation system for middle and high The System 300V performance needs, that you can use either distributed or non-distributed. The single modules are directly clipped to a 530 mm backplane and are connected together with the help of bus clips at the backside.
CPU via MPI. Another component of the decentral system is the CAN-Slave. It allows the link-up to the fieldbus system CANopen. Peripheral A large number of peripheral modules are available from VIPA, for example digital as well as analog inputs/outputs. modules These peripheral modules can be deployed central as well as decentral.
Page 13
Please note that the maximum current that the integrated power supply can deliver to the backplane bus is 3.5A. The power supply is protected against reverse polarity and overcurrent. The digital in-/output modules of the System 300V from VIPA are pin and Compatibility function compatible to Siemens.
Page 14
Chapter 1 Basics Manual VIPA System 300V HB130E - CPU - Rev. 11/50...
Chapter 2 Assembly and installation guidelines Chapter 2 Assembly and installation guidelines In this chapter you will find all information, required for the installation and Outline the cabling of a process control with the components of the System 300V. Content Topic Page Chapter 2 Assembly and installation guidelines......
2000mm 15mm * Unit pack: 10 pieces For the communication between the modules the System 300V uses a Bus connector backplane bus connector. The backplane bus connector are included in the delivering of the peripheral modules and are clipped at the module from behind before installing it to the profile rail.
Manual VIPA System 300V Chapter 2 Assembly and installation guidelines Installation dimensions Overview Here follows all the important dimensions of the System 300V. 1tier width (WxHxD) in mm: 40 x 125 x 120 Dimensions Basic enclosure 2tier width (WxHxD) in mm: 80 x 125 x 120...
Chapter 2 Assembly and installation guidelines Manual VIPA System 300V Installation at the profile rail You may install the System 300V as well horizontal as vertical. Please Structure: regard the allowed environment temperatures: • horizontal structure: from 0 to 60°...
Page 19
Danger! • Before installing or overhauling the System 300V, the power supplies must be disconnected from voltage (pull the plug or remove the fuse)! • Installation and modifications only by properly trained personnel!
The power supplies and CPUs are exclusively delivered with CageClamp Overview contacts. For the signal modules the front connectors are available from VIPA with screw contacts. In the following all connecting types of the power supplies, CPUs and input/output modules are described. Danger! •...
Page 21
Manual VIPA System 300V Chapter 2 Assembly and installation guidelines CageClamp For the cabling of e.g. the power supply of a CPU, green plugs with CageClamp technology are deployed. technology (green) Here also you may connect wires with a cross-section of 0.08mm 2.5mm...
Page 22
In the following the cabling of the three variants of the front-facing connector is shown: of the in-/output modules For the I/O modules the following plugs are available at VIPA: 20pole screw connection 40pole screw connection VIPA 392-1AJ00 VIPA 392-1AM00 Open the front flap of your I/O module.
Page 23
Manual VIPA System 300V Chapter 2 Assembly and installation guidelines ... continue 20pole screw connection 40pole screw connection Push the release key at the front connector on Bolt the fixing screw of the front connector. the upper side of the module and at the same time push the front connector into the module until it locks.
The installation guidelines contain information about the interference free General deployment of System 300V systems. There is the description of the ways, interference may occur in your control, how you can make sure the electromagnetic digestibility (EMC), and how you manage the isolation.
Page 25
- Please take care for the targeted employment of the grounding actions. The grounding of the PLC is a protection and functionality activity. - Connect installation parts and cabinets with the System 300V in star topology with the isolation/protected earth conductor system. So you avoid ground loops.
Page 26
• Lay the isolation on an isolation rail directly after the entry of the cable in the cabinet. Lead the isolation further on to the System 300V module and don't lay it on there again!
The CPUs 31x are available in different versions that are described in this Outline chapter. In addition to the hardware description the chapter also contains installation and commissioning instructions and applications for the memory modules of the System 300V family. The technical data conclude the chapter. Content Topic...
CPU-series from Siemens (except CPU 318). This CPUs series allows you the access to the peripheral modules of the System 300V. Via standardized commands and programs you may request sensors and control actors. The CPU is parameterized by means of the integrated MP I-Interface.
Manual VIPA System 300V Chapter 3 Hardware description Operating structure of a CPU A CPU supports the following modes of operation: General • cyclic operation • timer processing • alarm controlled operation • priority based processing Cyclic processing Cyclic processing represents the major portion of all the processes that are executed in the CPU.
Page 30
Chapter 3 Hardware description Manual VIPA System 300V The following series of operands is available for programming the Operands of the CPU 31x: CPU 31x • Process image and periphery • Bit memory • Timers and counters • Data blocks...
(parameterizable min. 1ms) that mechanisms stop res. execute a RESET at the CPU in case of an error and set it into a defined STOP state. The VIPA CPUs are developed function secure and have the following system properties: Event concerns Effect RUN →...
Application fields With the help of this CPU series you can access the peripheral modules of the System 300V from VIPA. You may request sensors and control actors via standardized commands and programs. One CPU is able to manage a maximum of 32 modules in one line.
Page 33
Manual VIPA System 300V Chapter 3 Hardware description Operation via TCP/IP VIPA Rack-135U Visualization and shop floor data collection via OPC-Server CP 143 TCP/IP TCP/IP VIPA Rack-135U System 300V System 300V CP 143 TCP/IP CPU31xNET CPU31xNET HB130E - CPU - Rev. 11/50...
• Possibility of firmware update via MMC • Slot for CompactFlash Type II (only at CP version) • Integrated controller for the System 300V peripheral modules • Integrated Profibus-DP-Slave • E/A address range digital/analog 1024Byte • Work memory 96 ... 512kByte •...
Page 35
Manual VIPA System 300V Chapter 3 Hardware description CPU 31x CPU314 STOP FRCE DESL STOP MRES VIPA 314-1sl01 DC 24V Ordering data Type Order number Description CPU 31x CPU 314 VIPA 314-1SL01 SPS CPU 314 with DP slave 96kB Work / 144kB Load memory...
Page 36
Chapter 3 Hardware description Manual VIPA System 300V CPU 31xDPM Like CPU 31x additionally with: • integrated Profibus-DP master with Auto RUN instead of DP slave • status display for Profibus-DP master CPU314DPM PB-M STOP FRCE DESL STOP MRES VIPA 314-2DP01...
Page 37
Manual VIPA System 300V Chapter 3 Hardware description CPU 31xNET Like CPU 31x additionally with: • integrated TCP/IP-CP with Auto RUN • integrated 4port Switch CPU314NET STOP FRCE DESL STOP MRES VIPA 314-3SL01 DC 24V Ordering data Type Order number...
Page 38
Chapter 3 Hardware description Manual VIPA System 300V CPU 31xNET with Like CPU 31x additionally with: DP master • integrated TCP/IP-CP with Auto RUN • integrated 4port Switch • integrated Profibus-DP master with Auto RUN instead of DP slave • status display for Profibus-DP master...
Manual VIPA System 300V Chapter 3 Hardware description Structure CPU 31x 31x-1SL01 deactivated LEDs CPU314 MMC slot LEDs of the CPU part STOP Operating mode switch CPU FRCE The following components are under DESL the front flap STOP Clipping for DVI slot...
Page 40
Chapter 3 Hardware description Manual VIPA System 300V CPU 31xDPM 31x-2DP01 LEDs of the integrated Profibus DP CPU314DPM PB-M MMC slot LEDs of the CPU part Operating mode switch CPU STOP FRCE The following components are DESL under the front flap...
Page 41
Manual VIPA System 300V Chapter 3 Hardware description CPU 31xNET 31x-3SL01 deactivated LEDs CPU314NET MMC slot LEDs of the CPU part STOP Operating mode switch CPU FRCE The following components are DESL under the front flap STOP DVI slot MRES...
Page 42
Chapter 3 Hardware description Manual VIPA System 300V CPU 31xNET 31x-3DP01 LEDs of the integrated CPU315NET PB-M Profibus DP master MMC slot STOP LEDs of the CPU part Operating mode switch CPU FRCE DESL The following components are under the front flap...
Manual VIPA System 300V Chapter 3 Hardware description Components To display the status the CPU has two rows of LEDs on the frontside, one LEDs for the CPU and one for the Profibus-DP master. The following tables show you the usage of the LEDs and the according...
Page 44
For a serial transfer from your PC you normally need a MPI transducer. Alternatively you may use the "Green Cable" (Order No.: 950-0KB00). from VIPA, that allows a serial connection without transducer. The "Green Cable" may only be used directly and exclusively at CPUs with MP interface.
Page 45
Manual VIPA System 300V Chapter 3 Hardware description Ethernet- The twisted-pair jacks are used to build-up a twisted-pair network in star topology. This allows you to connect up to 4 Ethernet components, where 1 Connection connection has to be deployed as uplink port to the ongoing network. The uplink port is detected automatically.
Page 46
Chapter 3 Hardware description Manual VIPA System 300V DVI jack The DVI jack is suitable for analog and digital displays and monitors with a max. resolution of 1280x1024pixel. The jack has the following pin assignment: Signal Analog Red Analog Green...
Page 47
MMC reading device, the MMC is linked-up to your PC as external drive. This allows to create programs at the PC, to copy them onto MMC and transfer them to the VIPA CPU by plugging-in the MMC. More detailed information is to find in the chapter "Deployment CPU 31x"...
Page 48
Chapter 3 Hardware description Manual VIPA System 300V The CPU has an integrated power supply. The power supply has to be Power supply provided with DC 24V (20,4 ... 28,8V). For this serves the double DC 24V slot, that is underneath the flap.
This chapter describes the deployment of a CPU 31x together with the Outline peripheral modules of the System 300V. The description applies to those modules that have been inserted together with the CPU on one profile rail and are connected via the backplane bus.
A large function library is delivered in this package. Note! For programming of a System 300V CPU from VIPA please use always the CPU 315-2DP (6ES7 315-2AF03) from Siemens in the hardware catalog. For the project engineering, a thorough knowledge of the hardware...
Page 55
Manual VIPA System 300V Chapter 4 Deployment CPU 31x Green Cable For project engineering of your DP slave you may transfer your projects from your PC to the CPU serial via MPI by using the "Green Cable". Please also regard the hints to the Green Cable in this chapter.
Important notes for the deployment of MPI cables! Deploying MPI cables at the CPUs from VIPA, you have to make sure that Pin 1 is not connected. This may cause transfer problems and in some cases damage the CPU! Especially Profibus cables from Siemens, like e.g.
More details see chapter "Cabling and installation specifications" Danger! • Before installing or overhauling the System 300V, the power supplies must be disconnected from voltage (pull the plug or remove the fuse)! • Installation and modifications only by properly trained personnel!
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Start-up behavior After the power supply has been switched on, the CPU changes to the Turn on power operating mode the operating mode lever shows. supply Now you may transfer your project to the CPU via MPI from your configuration tool res.
Up to 32 modules In the hardware configurator from Siemens you may parameterize maximum up to 8 modules per row. When using the System 300V CPUs from VIPA you in one row may control up to 32 modules by distributing the modules you want to parameterize on the first 8 Plug-ins.
Page 60
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Example for the The following figure illustrates the automatic address allocation: automatic address Slot no.: allocation Peripheral area Peripheral area rel. Adr rel. Adr. Input byte 0 Output byte 0 Input byte 1...
The parameterization of the Ethernet components takes place via the VIPA parameterization tool WinNCS. With the help of the VIPA Green Cable you may transfer your project from the PC into the CPU via the MPI interface. You may also copy your project with a common MMC reading device to a MMC and transfer it into the CPU by means of an Overall reset.
Page 62
You will find this at Simatic 300 > CPU 300 > CPU 315-2 DP . • Link-up your System 300V modules in the plugged-in sequence starting with slot 4. • If needed, parameterize the CPU res. the modules. The parameter window appears as soon as you double click on the according module.
Page 63
Manual VIPA System 300V Chapter 4 Deployment CPU 31x Parameterization System 300V modules are able to receive parameter data from the CPU. Via deployment of the SIMATIC manager from Siemens you may define of modules parameters for parameterizable System 300V modules at any time.
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Parameter adjustment CPU The general parameters concerning the CPU section of your System 300V Outline have to be configured in the hardware configurator from Siemens under the properties of the CPU 315-2 DP.
• Transfer via Green Cable (Serial Communication via MP I - not Profibus) The MPI programming cables are available at VIPA in different variants. Transfer with MPI The employment of the cables is identical. The cables provide a bus Programming enabled RS485 plug for the MP I jack of the CPU and a RS232 res.
Page 66
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Approach transfer A maximum of 32 PG/OP connections is supported by MPI. The transfer via MP via MPI takes place with the following proceeding: • Connect your PC to the MPI jack of your CPU via a MPI programming cable.
Page 67
• Switch to the register Local connection • Set the COM port of the PCs and the transfer rate 38400Baud for the MPI programming cable from VIPA. The settings in the register MPI are ignored at the usage of the Green Cable.
Page 68
Note to the application area The Green Cable may exclusively deployed directly at the concerning jacks of the VIPA components (in between plugs are not permitted). E.g. a MPI cable has to be disconnected if you want to connect a Green Cable.
Page 69
Manual VIPA System 300V Chapter 4 Deployment CPU 31x As external storage medium a MMC is deployed. The MMC ( M e m ory C ard) Transfer via serves as external transfer medium for programs and firmware for, among others, it provides the PC compatible FAT16 file system. With an overall reset or PowerON the MMC is automatically read.
Page 70
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Besides of the transfer via MPI res. MMC you may configure the CPU via Transfer via the CP portion when using the CPU 31xNET. Ethernet Here all block functions are supported like e.g. load, alter, monitor and save blocks.
Manual VIPA System 300V Chapter 4 Deployment CPU 31x Operating modes The CPU can be in one of 3 operating modes: Outline • Operating mode STOP • Operating mode START-UP • Operating mode RUN Certain conditions in the operating modes START-UP and RUN require a specific reaction from the system program.
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Overall Reset Outline During the overall reset the entire user memory (RAM) is erased. Data located in the memory card is not affected. You have 2 options to initiate an overall reset: •...
Page 73
Manual VIPA System 300V Chapter 4 Deployment CPU 31x Overall reset by Condition means of the The operating mode of the CPU must be STOP. Siemens SIMATIC You may place the CPU in STOP mode by the menu command PLC > Operating mode .
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Firmware update At all CPUs of the System 300V you may execute a firmware update via Outline MMC starting with firmware version 3.3.0. The latest 2 firmware versions are to find in the service area at www.vipa.de.
Page 75
Chapter 4 Deployment CPU 31x • Go to www.vipa.de/support/firmware Load firmware and transfer it to MMC • Navigate to System 300V. Here the according firmware can be found. with reserved • Download the firmware file. The according structure of the file name can name be found in the table above for renaming.
Page 76
Chapter 4 Deployment CPU 31x Manual VIPA System 300V Flowchart for The following flowchart illustrates the CPU behavior at firmware update: firmware update Power Off Plug-in MMC Power On Switch=Stop? CPU goes in RUN SF and FRCE are blinking alternately...
You may read the diagnostic buffer of the CPU via the Siemens SIMATIC Entries in the Manager. Besides of the standard entries in the diagnostic buffer, the VIPA diagnostic buffer CPUs support some additional specific entries in form of event-IDs.
Page 78
Zinfo2: Slot 0xE004 Multiple parameterization of a I/O address Zinfo1: I/O address Zinfo2: Slot 0xE005 Internal error - Please contact the VIPA-Hotline! 0xE006 Internal error - Please contact the VIPA-Hotline! 0xE007 Configured in-/output bytes do not fit into I/O area 0xE008...
Manual VIPA System 300V Chapter 4 Deployment CPU 31x Using test functions for the control and monitoring of variables For troubleshooting purposes and to display the status of certain variables Outline you can access certain test functions via the menu item Test of the Siemens SIMATIC manager.
Page 80
Chapter 4 Deployment CPU 31x Manual VIPA System 300V PLC > This test function returns the condition of a selected operand (inputs, outputs, flags, data word, counters or timers) at the end of program- Monitor/Modify execution. Variables This information is obtained from the process image of the selected operands.
Overview After a short overview the project engineering and parameterization of a CPU 31x with integrated Profibus part VIPA is shown. Here you will also get information how the Profibus part can be used as DP master and DP slave.
The assignment to your master systems happens for VIPA CPUs 31x with DP slave/master via Configured stations and for VIPA CPUs 31x with DP slave via VIPA GSD file. Here drag the slave system from the hardware catalog and drop it on the master system, onto the master system, choose your slave system and connect it.
• With deployment of a DP Slave the appropriate GSD is to be installed. If the slave system is a CPU 31x from VIPA no GSD is necessary. • There is a transfer possibility between configuration tool and CPU 31x.
Page 84
• If needed, parameterize the modules. Note! If you deploy an IM153 from Siemens with a VIPA CPU 31xDPM, please use the "compatible" DP slave modules. These are listed in the hardware catalog at PROFIBUS DP/ Additional Field Devices/Compatible Profibus DP-Slaves.
Manual VIPA System 300V Chapter 5 Deployment CPU 31x with Profibus Deployment as Profibus DP slave Fast introduction The deployment of the Profibus section as "intelligent" DP slave happens exclusively at master systems that may be configured in the Siemens SIMATIC manager.
Page 86
Profibus section via operating mode to "master operation". Assignment Dependent on the used VIPA CPU 31x of the slave part the assignment happens either via Configured stations or by installing the VIPA GSD file VIPA802F.gsd. • Connect your slave system to the master system by dragging the "CPU...
You are able to configure the network as well linear as in a tree structure. Your VIPA CPU 31x includes a 9pin slot where you connect the Profibus coupler into the Profibus network as a slave.
Page 88
In systems with more than two stations all partners are wired in parallel. connector For that purpose, the bus cable must be feed-through uninterrupted. Via the order number VIPA 972-0DP10 you may order the bus connector "EasyConn". This is a bus connector with switchable terminating resistor and integrated bus diagnostic.
Page 89
(EN50170). Starting with release 5 you also can use highly flexible bus cable: Lapp Kabel order no.: 2170222, 2170822, 2170322. Under the order no. 905-6AA00 VIPA offers the "EasyStrip" de-isolating tool, that makes the connection of the EasyConn much easier.
Chapter 5 Deployment CPU 31x with Profibus Manual VIPA System 300V Commissioning and Start-up behavior Start-up on In delivery the CPU is overall reset. The Profibus part is deactivated and its LEDs are off after Power ON. delivery The DP master can be served with bus parameters by means of a Online with bus hardware configuration.
Page 91
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Chapter 6 Deployment CPU 31x with TCP/IP The following chapter describes the deployment of the CPU 31xNET and Outline the communication with TCP/IP. Content Topic Page Chapter 6 Deployment CPU 31x with TCP/IP........6-1 Principles....................
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Principles Network (LAN) A network res. LAN (Local Area Network) provides a link between different stations that enables them to communicate with each other. Network stations can consist of PCs, IPCs, TCP/IP adapters, etc.
Page 93
RECEIVE). The communication under TCP/IP is controlled by means of connections. These are defined by means of the VIPA configuration tool WinNCS and transferred into the CPU via the Twisted-Pair connector. For details on the configuration, please refer to the WinNCS manual...
More detailed information about the ISO/OSI layer model is to find in the chapter "Principles". The CPU 31xNET from VIPA uses the following protocols that are described in the following: • TCP/IP • UDP •...
Page 95
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP The internet protocol covers the network layer (Layer 3) of the ISO/OSI layer model. The purpose of IP is to send data packages from on PC to another passing several other PCs.
Page 96
For RFC1006 is run as protocol for TCP, the decoding takes place in the data section of the TCP package. • The project engineering happens via VIPA WinNCS V 3.02 or higher. Properties • With RFC1006 only SEND and RECEIVE commands are permissible.
Page 97
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP VIPA Rack-135U Example of a Visualization and shop floor data collection TCP/IP application via OPC-Server CP 143 TCP/IP TCP/IP VIPA Rack-135U System 300V System 300V CP 143 TCP/IP CPU31xNET CPU31xNET HB130E - CPU - Rev.
These agreements define the form of the data protocol, the method of access to the bus and other principles that are important for reliable communications. The VIPA CPU 31xNET was developed in accordance with the standards defined by ISO. International and national committees have defined the following standards...
Page 99
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Overview over the A twisted pair network can only be constructed with a star topology. components Hub/ Hub/ Switch Switch CPU 31xNET Twisted pair cable At twisted pair cable has four conductors X4-NET twisted together in pairs.
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V IP address IP address The IP address is a 32Bit address that must be unique within the network. The IP address consists of 4 numbers that are separated by a full stop.
• Create a project with the function group "Ethernet" via File > Project set- up/open. • Click in "Parameter"-window on [Search stations] → The available VIPA CPs are listed by their IP address. • If your target CP is inside your IP circle, the CP can online be projected.
Page 102
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V ... continue Transfer CP project fast introduction In the "network" window mark the station to be transfered. • Activate the online functions via • If there is still an online connection to the CP, set the CP into software...
Page 103
"Hardware". • Configure a rack (Simatic300 > Rack-300 > Profile rail). • For all CPUs 31x from VIPA are configured as CPU 315-2DP, you select the CPU 315-2DP with the order no. 6ES7 315-2AF03-0AB0 in the hardware catalog.
Page 104
Manual VIPA System 300V The CP section of the CPU 31xNET can only be configured by means of CP-configuration WinNCS from VIPA and consists of the following 3 parts: with WinNCS • the initial CP configuration, • configuration of connection modules •...
Page 105
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Parameter window Now the "parameter" window contains the basic initialization of your CP. The following registers are supported: The "parameter" window contains the following registers: • CP-Init (Basic initialization of the CP) •...
Page 106
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Date, Version The entry of date and version serves your own documentation. It always shows the last parameterization alteration. Station name You may assign a name for the station (max. 19 characters). Station names serve the overview and eases the parameterization of connections.
Page 107
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Configuration of a A connection block contains both remote parameters, i.e. parameters that are oriented towards the partner on the network, and local parameters, i.e. Connection Block parameters that apply to the PLC-program of a connection.
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V to a) Every CPU 31x with TCP/IP is delivered with the following addresses: Transfer directly via IP address: 172.16.192.11 Ethernet Subnet mask: 255.255.255.0 This IP address is only valid for the first configuration. For control purposes you find this address on a label under the flap and in the added test protocol.
Page 109
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP ... continue to a) Transfer directly via Ethernet • Otherwise set "IP protocol" under and type the IP address 172.16.192.11 (delivery address). • Establish a connection via • Set the CP into software STOP via and select the station "CPU...
Page 110
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V to b) WinNCS gives you the option to export your project as *.NCS-file. Transfer via MMC Herefore, you highlight the station a choose Export via the right mouse as webcp.ncs button.
Page 111
"Hardware". • Configure a rack (Simatic300 > Rack-300 > Rail). • For all CPUs 31x from VIPA are configured as CPU 315-2DP, you select the CPU 315-2DP with the order no. 6ES7 315-2AF03-0AB0 V1.2 in the hardware catalog.
Page 112
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V To enable the PLC to process connection requests, it requires an active PLC application PLC application program on the CPU. This uses the handling blocks programming (SEND, RECEIVE, ...) that are included in the CPU 31xNET amongst others.
Page 113
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Handling blocks The following table lists the required handling blocks. More detailed information is to find in the chapter "Integrated OBs, SFBs and SFCs" . Label Description SFC 228...
WinNCS V3.0 for connection project engineering. You should regard CPU 31x with TCP/IP that the IP address that allows you to access the VIPA-CP via Ethernet from Siemens may only be set or altered via the VIPA project engineering tool WinNCS.
Page 115
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Online with the Precondition SIMATIC manager The CP portion of the CPU 31xNET is projected under WinNCS and has a from Siemens valid IP address. Approach Start the SIMATIC manager from Siemens, load your project and open the following dialog window via Options >...
Page 116
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Online destination The VIPA-CP supports all the destination system functions except "Diagnosing Hardware". This function is in preparation. system functions 6-26 HB130E - CPU - Rev. 11/50...
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Firmware update and reboot Register Firmware Depending on the used firmware on the CP, this register allows you to execute an online firmware update. As soon as you have given a firmware file and a valid password and click upon [Apply], the firmware is transferred online to the CP defined by the IP address and activated.
Page 118
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Register Reboot Depending on the firmware of the CP, you may execute a reboot online. As soon as you entered a destination IP address and a valid password, the CP is rebooted with [Apply].
Page 119
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Register Password Depending on the used firmware you may assign a password for the online firmware update and reboot. This dialog window allows you to change the password. Enter the recent (old) password and twice the new one.
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Access control Register IP-List Starting with version 3.0.8, WinNCS gives you the option to control the access to a CP via IP-List. The access control only influences the transfer of project data via WinNCS res.
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Activate clock master Register Clock-Init Every CP is able to work as master if parameterized accordingly. Note! At mixed deployment with Siemens CPs you have to make sure to use the MMS time format because this is the only one supported by Siemens.
Page 122
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Cycle time for You may choose the cycle time for sending a synchronization telegram in SYNC telegrams a range of 1...60 seconds. Default are 10s. The synchronization telegram is transferred in MMS or BCD format.
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP IP parameters Register The IP system parameters show the operating parameter of the TCP/IP Parameter-IP communication on the network. The values should only be changed for very important reasons.
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Activate IPC Register Sys config With system config, a dialog window for general settings for the system to speed-up the performance opens. Only the IPK-Part is supported by the CPU 31xNET At the Intelligent Process Communikation IPC, also called spontanous operation, data is send to the host for one time on CP request.
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Start-up behavior Start-up When the power supply is turned on, the CPU and the CP execute the respective BIOS routine (hardware and driver initialization and memory test). While the CPU detects which modules have been installed on the back panel bus and loads the application program, the CP starts the page frame administration routine.
The PLC application requires are defined size for the reception of data and the default or wildcard length is not permitted. − VIPA recommends the use of acknowledgment messages on the user level to ensure that data transfers are 100% safe.
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Communication to other systems ORG-Format The organization format is the abbreviated description of a data source or a data destination in a PLC environment. The available ORG-Formats are listed in the following table.
Page 128
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V ORG-identifier 05h-0Ah CPU-area ORG-identifier Description source/destination data source/destination Source/destination Source/destination from/into peripheral data from/into counter data from/into timer data from/into modules. Input module cells. cells. extended data block for source data, output module for destination data.
Page 129
Note! Please regard that the pointers for the start address of the CPU 31x from VIPA are -not like the S5 from Siemens- pointing to a Byte area. The length assignment is via a word! HB130E - CPU - Rev. 11/50...
Test program for TCP/IP connections Overview TCPTest.exe is to be found at the service area using the link www.vipa.de/support/software. You can use this test program to create simple TCP/IP connections and analyze them. TCPTest requires no further installation, is executable at usual operating systems and communicates via Ethernet.
Page 131
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Context menu You can activate a context menu in each tab sheet. This is activated by means of the right mouse key or button. (right mouse key) You can always access the context menu by clicking the right mouse key.
Page 132
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V ReadA tab port data establish a connection hexadecimal number information window for the status of the connection source data ASCII formatted display of the data received Here you can configure an active read connection.
Page 133
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP WriteA tab port data establish a connection transfer the data via the connection result-code of the write job information window for the status of the connection source data ASCII-text that must be transferred to the CP This is where you activate an active write connection.
Page 134
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Receive tab port data connection status information bar clear received list list the messages list of received messages In this dialog window you can configure the reception of messages from a specific host.
Page 135
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Send tab port data establish a connection transfer data via the connection list of transmitted messages information bar for the connection status clear the list of messages ASCII-text that must be transferred to the CP You can use this dialog window to send a message to a specific host.
Page 136
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V System tab port data establish a connection information bar for the connection status CP status request CP in STOP CP in RUN status monitor, requested with GetState This dialog window gives you information about the specified host-CP.
Outline This chapter provides an introduction to the communication between a CPU 31xNET and the software TCPTest from VIPA. Here data is exchanged via 2 connections. The sample shows the principles of project engineering and will help you to use WinNCS.
Page 138
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V • Configure CP Approach READ_PASSIV and FETCH_PASSIV connection to the PC in WinNCS • Configure CPU SYNCHRON in OB 100 and SEND_ALL and RECV_ALL in OB1, Data block DB10 with DW0 ... DW4.
Page 139
Create a new project with the function group "Ethernet" via Project > Project set-up/open. Search CP Click in "Parameter"-window on [Search stations] → The available VIPA CPs are listed by their IP address. If your target CP is inside your IP circle, the CP can online be projected.
Page 140
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Basic CP Insert the following values and click on [Apply]: configuration Station name: CPU 31xNET (free chooseable) Page frame basic address: 0 (fix) Page frame number: 1 (fix) Station address: 000000000000 (fix) IP address (here 172.16.129.1) and Subnet mask (here 255.255.0.0):...
Page 141
• Activate the online functions via • Set "IP-Protocol" under and give the IP address 172.16.192.11. Every CPU 31xNET from VIPA is delivered with this IP address. • Establish a connection via • Set your CP in software STOP via •...
Page 142
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Transfer as WinNCS allows you to export your project as *.NCS file. Mark the station webcp.ncs and select Export via the right mouse button. Assign the name via MMC webcp.ncs to the file and transfer it to the MMC.
Page 143
"Hardware". • Configure a rack (Simatic300 > Rack-300 > Rail). • For all CPUs 31x from VIPA are configured as CPU 315-2DP, you select the CPU 315-2DP with the order no. 6ES7 315-2AF03-0AB0 in the hardware catalog.
Page 144
MPI via the VIPA "Green Cable". The "Green Cable" has the order no. VIPA 950-0KB00 and may only be deployed with VIPA CPUs of the Systems 100V, 200V and 300V. • Connect your PG with the CPU.
Page 145
Chapter 6 Deployment CPU 31x with TCP/IP TCPTest.exe is to be found at the service area using the link Deployment of www.vipa.de/support/software. This test program that runs on all common TCPTest Windows operating systems allows you to establish and analyze simple TCP/IP connections via Ethernet.
Page 146
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Read data After getting the preconditions you may establish a communication to the For this, you click on the ReadA register, type the following values and click on [Connect]: A connection to your CP is established and shown under "Info 1".
This chapter provides an introduction to use the TCP/IP bus system for the Outline System 300V. The object of this chapter is to create a small communication system between two VIPA CPUs 31xNET that provides a simple approach to the control of the communication processes.
Page 148
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V Station 2 Structure Station 1 System 300V System 300V WinNCS CPU31xNET CPU31xNET Twisted pair The example for the application is based upon a communication task that is Station tasks...
Page 149
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP The two CPs are configured by means of WinNCS. Start WinNCS and Configuration at create a project containing the function group "Ethernet". The procedure is WinNCS the same for both stations. It differs only in the parameters that must be defined and is divided into the following 3 parts: •...
Page 150
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V TCP/IP- You configure your TCP/IP connection by inserting a TCP connection connections below the stations by means of and entering the following parameters for the stations: TCP/IP-connections Station 1...
Page 151
Approach has started. • Click in "Parameter"-window on [Search stations] → The available VIPA CPs are listed by their IP address. If your target CP is inside your IP circle, the CP can online be projected. Otherwise you have to change the IP address by using [Change IP].
Page 152
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V • Click on the first station in the Network-window. Click the right mouse button and choose the "Download" command → the project is now transferred into the Flash-ROM of the first CP.
Page 153
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Both CPUs use the same PLC program. PLC programs for the CPUs OB100 Synchronization of the interfaces Synchronization of In the start-up operating module OB 100 of the CPU the interface used on the interfaces the CP must be synchronized by means of the handler block SYNCHRON.
Page 154
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V FC 1: FC 1 - SEND FC 2 - RECEIVE CALL "Control" //Control Send order SSNR:=0 ANR:=1 PAFE:=MB195 ANZW:=MD174 175.1 //Order in process or //timer on S5T#1s //Set timer value at 1s //Start timer CALL "Send"...
Page 155
(PG) has no MPI adapter, you may use the "Green Cable" from VIPA (VIPA 950-0KB00) to establish a serial point-to-point connection between the PC and the CPU. The "Green Cable" may only be used with the VIPA CPUs of the Systems 100V, 200V and 300V. • Connect your PG with the CPU.
Page 156
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V It is assumed, that the CPs are programmed and that an overall reset was Monitoring the issued to the CPUs, where the RUN/STOP switch must be located in data transfer in STOP position.
Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP Support for error search This page shall help you with fast error localization. Due to the complexity of TCP/IP errors may easily occur but are hard to identify. Question Remedy at "no"...
Page 158
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V 6-68 HB130E - CPU - Rev. 11/50...
Manual VIPA System 300V Index Appendix A Index Access control ......6-30 Deployment Accu..........4-6 CPU 31x ........4-1 Addressing........4-7 CPU 31xNET......6-1 Application fields......3-6 Profibus ........5-1 Diagnostic buffer......4-25 BLGR Block size ......6-22 Event-ID ........4-25 Clock function time format......
Page 160
Index Manual VIPA System 300V Network........... 6-2 Start-up behavior ......4-6 Structure........3-13 Subnet mask......... 6-16 Operands........3-4 System 300V Operating mode switch ....3-22 Assembly......2-1, 2-5 Operating modes......4-19 Bus connector ......2-2 Operating structure......3-3 Cabling ........2-6 ORG Organization format ....
Need help?
Do you have a question about the System 300V and is the answer not in the manual?
Questions and answers