YASKAWA VIPA System 300S+ Bedienungsanleitung

CPU | 317-2AJ23 | Manual
HB140 | CPU | 317-2AJ23 | en | 17-25
VIPA System 300S+
SPEED7 CPU 317SE
www.vipa.com/en/service-support/manuals

317-2AJ23_000_CPU 317SE,2,EN - © 2017
VIPA GmbH
Ohmstr. 4
91074 Herzogenaurach
Telephone: +49 9132 744-0
Fax: +49 9132 744-1864
Email: [email protected]
Internet: www.vipa.com

Table of contents
1 General.................................................................................................................... 6
1.1 Copyright © VIPA GmbH ................................................................................. 6
1.2 About this manual............................................................................................. 7
1.3 Safety information............................................................................................. 8
2 Basics...................................................................................................................... 9
2.1 Safety information for users.............................................................................. 9
2.2 Operating structure of a CPU......................................................................... 10
2.2.1 General........................................................................................................ 10
2.2.2 Applications ................................................................................................ 10
2.2.3 Operands..................................................................................................... 10
2.3 CPU 317-2AJ23.............................................................................................. 12
2.4 General data................................................................................................... 14
3 Assembly and installation guidelines................................................................ 16
3.1 Overview......................................................................................................... 16
3.2 Installation dimensions................................................................................... 17
3.3 Assembly SPEED-Bus................................................................................... 18
3.4 Assembly standard bus.................................................................................. 21
3.5 Cabling........................................................................................................... 24
3.6 Installation guidelines..................................................................................... 25
4 Hardware description........................................................................................... 27
4.1 Properties....................................................................................................... 27
4.2 Structure......................................................................................................... 28
4.2.1 General........................................................................................................ 28
4.2.2 Interfaces..................................................................................................... 28
4.2.3 Memory management.................................................................................. 30
4.2.4 Slot for storage media................................................................................. 30
4.2.5 Battery backup for clock and RAM.............................................................. 30
4.2.6 Operating mode switch................................................................................ 31
4.2.7 LEDs............................................................................................................ 31
4.3 Technical data................................................................................................. 34
5 Deployment CPU 317-2AJ23................................................................................ 40
5.1 Assembly........................................................................................................ 40
5.2 Start-up behavior............................................................................................ 40
5.3 Addressing...................................................................................................... 41
5.3.1 Overview...................................................................................................... 41
5.3.2 Addressing................................................................................................... 41
5.4 Hardware configuration - CPU........................................................................ 44
5.4.1 Switching CPU type to CPU 318-2AJ00...................................................... 44
5.5 Hardware configuration - I/O modules............................................................ 45
5.6 Hardware configuration - Ethernet PG/OP channel........................................ 45
5.7 Hardware configuration - Communication...................................................... 47
5.8 Proceeding..................................................................................................... 47
5.9 Setting standard CPU parameters.................................................................. 48
5.9.1 Parameterization via Siemens CPU............................................................ 48
5.9.2 Parameters CPU......................................................................................... 48
5.9.3 Parameters for DP....................................................................................... 50
5.9.4 Parameters for MPI/DP .............................................................................. 51
VIPA System 300S+Table of contents
HB140 | CPU | 317-2AJ23 | en | 17-25 3

5.10 Setting VIPA specific CPU parameters......................................................... 51
5.10.1 Proceeding................................................................................................ 51
5.10.2 VIPA specific parameters.......................................................................... 53
5.11 Project transfer............................................................................................. 56
5.11.1 Transfer via MPI/PROFIBUS..................................................................... 56
5.11.2 Transfer via Ethernet................................................................................. 57
5.11.3 Transfer via memory card.......................................................................... 58
5.12 Accessing the web server............................................................................. 59
5.13 Operating modes.......................................................................................... 64
5.13.1 Overview.................................................................................................... 64
5.13.2 Function security....................................................................................... 66
5.14 Overall reset................................................................................................. 67
5.15 Firmware update........................................................................................... 68
5.16 Reset to factory settings............................................................................... 70
5.17 Deployment storage media - MMC, MCC..................................................... 71
5.18 Extended know-how protection.................................................................... 73
5.19 CMD - auto commands................................................................................. 74
5.20 Diagnostic entries......................................................................................... 76
5.21 Control and monitoring of variables with test functions................................ 76
6 Deployment PtP communication........................................................................ 78
6.1 Fast introduction............................................................................................. 78
6.2 Principle of the data transfer........................................................................... 79
6.3 Deployment of RS485 interface for PtP.......................................................... 80
6.4 Parametrization.............................................................................................. 82
6.4.1 FC/SFC 216 - SER_CFG - Parametrization PtP......................................... 82
6.5 Communication............................................................................................... 82
6.5.1 FC/SFC 217 - SER_SND - Send to PtP...................................................... 82
6.5.2 FC/SFC 218 - SER_RCV - Receive from PtP............................................. 82
6.6 Protocols and procedures .............................................................................. 83
6.7 Modbus - Function codes .............................................................................. 86
6.8 Modbus - Example communication................................................................ 90
7 Deployment PROFIBUS communication............................................................ 93
7.1 Overview......................................................................................................... 93
7.2 Fast introduction............................................................................................. 94
7.3 Hardware configuration - CPU........................................................................ 94
7.3.1 Switching CPU type to CPU 318-2AJ00...................................................... 95
7.4 Deployment as PROFIBUS DP master.......................................................... 96
7.5 Deployment as PROFIBUS DP slave............................................................. 97
7.6 PROFIBUS installation guidelines.................................................................. 99
7.7 Commissioning and Start-up behavior......................................................... 101
8 WinPLC7.............................................................................................................. 103
8.1 System conception....................................................................................... 103
8.2 Installation.................................................................................................... 103
8.3 Example project engineering........................................................................ 104
8.3.1 Job definition............................................................................................. 104
8.3.2 Project engineering.................................................................................... 105
8.3.3 Test the PLC program in the Simulator...................................................... 111
8.3.4 Transfer PLC program to CPU and its execution....................................... 112
VIPA System 300S+
Table of contents
HB140 | CPU | 317-2AJ23 | en | 17-25 4

9 Configuration with TIA Portal............................................................................ 114
9.1 TIA Portal - Work environment .................................................................... 114
9.1.1 General...................................................................................................... 114
9.1.2 Work environment of the TIA Portal........................................................... 114
9.2 TIA Portal - Hardware configuration - CPU .................................................. 116
9.3 TIA Portal - Hardware configuration - I/O modules....................................... 117
9.4 TIA Portal - Hardware configuration - Ethernet PG/OP channel................... 118
9.5 TIA Portal - Setting VIPA specific CPU parameters..................................... 120
9.6 TIA Portal - VIPA-Include library................................................................... 123
9.7 TIA Portal - Project transfer.......................................................................... 124
Appendix............................................................................................................. 126
A System specific event IDs............................................................................... 128
B Integrated blocks............................................................................................. 174
C SSL partial list................................................................................................. 178
VIPA System 300S+Table of contents
HB140 | CPU | 317-2AJ23 | en | 17-25 5

1 General
1.1 Copyright © VIPA GmbH
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.
For permission to reproduce or distribute, please contact: VIPA, Gesellschaft für Visuali-
sierung und Prozessautomatisierung mbH Ohmstraße 4, D-91074 Herzogenaurach, Ger-
many
Tel.: +49 9132 744 -0
Fax.: +49 9132 744-1864
EMail: [email protected]
http://www.vipa.com
Every effort has been made to ensure that the information contained in
this document was complete and accurate at the time of publishing. Nev-
ertheless, the authors retain the right to modify the information.
This customer document describes all the hardware units and functions
known at the present time. Descriptions may be included for units which
are not present at the customer site. The exact scope of delivery is
described in the respective purchase contract.
Hereby, VIPA GmbH declares that the products and systems are in compliance with the
essential requirements and other relevant provisions. Conformity is indicated by the CE
marking affixed to the product.
For more information regarding CE marking and Declaration of Conformity (DoC), please
contact your local VIPA customer service organization.
VIPA, SLIO, System 100V, System 200V, System 300V, System 300S, System 400V,
System 500S and Commander Compact are registered trademarks of VIPA Gesellschaft
für Visualisierung und Prozessautomatisierung mbH.
SPEED7 is a registered trademark of profichip GmbH.
SIMATIC, STEP, SINEC, TIA Portal, S7-300 and S7-400 are registered trademarks of
Siemens AG.
Microsoft and Windows are registered trademarks of Microsoft Inc., USA.
Portable Document Format (PDF) and Postscript are registered trademarks of Adobe
Systems, Inc.
All other trademarks, logos and service or product marks specified herein are owned by
their respective companies.
Contact your local VIPA Customer Service Organization representative if you wish to
report errors or questions regarding the contents of this document. If you are unable to
locate a customer service centre, contact VIPA as follows:
All Rights Reserved
CE Conformity Declaration
Conformity Information
Trademarks
Information product sup-
port
VIPA System 300S+
General
Copyright © VIPA GmbH
HB140 | CPU | 317-2AJ23 | en | 17-25
6

VIPA GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany
Telefax: +49 9132 744-1204
EMail: [email protected]
Contact your local VIPA Customer Service Organization representative if you encounter
problems with the product or have questions regarding the product. If you are unable to
locate a customer service centre, contact VIPA as follows:
VIPA GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany
Tel.: +49 9132 744-1150 (Hotline)
EMail: [email protected]
1.2 About this manual
This manual describes the SPEED7 CPU 317-2AJ23 of the CPU from VIPA. It contains a
description of the construction, project implementation and usage.
Product Order no. as of state:
CPU-HW CPU-FW DPM-FW
CPU 317SE 317-2AJ23 01 V3.7.3 V3.3.5
The manual is targeted at users who have a background in automation technology.
The manual consists of chapters. Every chapter provides a self-contained description of a
specific topic.
The following guides are available in the manual:
nAn overall table of contents at the beginning of the manual
nReferences with page numbers
The manual is available in:
nprinted form, on paper
nin electronic form as PDF-file (Adobe Acrobat Reader)
Important passages in the text are highlighted by following icons and headings:
DANGER!
Immediate or likely danger. Personal injury is possible.
CAUTION!
Damages to property is likely if these warnings are not heeded.
Technical support
Objective and contents
Target audience
Structure of the manual
Guide to the document
Availability
Icons Headings
VIPA System 300S+General
About this manual
HB140 | CPU | 317-2AJ23 | en | 17-25 7

Supplementary information and useful tips.
1.3 Safety information
The system is constructed and produced for:
ncommunication and process control
ngeneral control and automation tasks
nindustrial applications
noperation within the environmental conditions specified in the technical data
ninstallation into a cubicle
DANGER!
This device is not certified for applications in
–in explosive environments (EX-zone)
The manual must be available to all personnel in the
nproject design department
ninstallation department
ncommissioning
noperation
CAUTION!
The following conditions must be met before using or commis-
sioning the components described in this manual:
– Hardware modifications to the process control system should only be
carried out when the system has been disconnected from power!
–Installation and hardware modifications only by properly trained per-
sonnel.
– The national rules and regulations of the respective country must be
satisfied (installation, safety, EMC ...)
National rules and regulations apply to the disposal of the unit!
Applications conforming
with specifications
Documentation
Disposal
VIPA System 300S+
General
Safety information
HB140 | CPU | 317-2AJ23 | en | 17-25 8

2 Basics
2.1 Safety information for users
VIPA modules make use of highly integrated components in MOS-Technology. These
components are extremely sensitive to over-voltages that can occur during electrostatic
discharges. The following symbol is attached to modules that can be destroyed by elec-
trostatic discharges.
The Symbol is located on the module, the module rack or on packing material and it indi-
cates the presence of electrostatic sensitive equipment. It is possible that electrostatic
sensitive equipment is destroyed by energies and voltages that are far less than the
human threshold of perception. These voltages can occur where persons do not dis-
charge themselves before handling electrostatic sensitive modules and they can damage
components thereby, causing the module to become inoperable or unusable. Modules
that have been damaged by electrostatic discharges can fail after a temperature change,
mechanical shock or changes in the electrical load. Only the consequent implementation
of protection devices and meticulous attention to the applicable rules and regulations for
handling the respective equipment can prevent failures of electrostatic sensitive modules.
Modules must be shipped in the original packing material.
When you are conducting measurements on electrostatic sensitive modules you should
take the following precautions:
nFloating instruments must be discharged before use.
nInstruments must be grounded.
Modifying electrostatic sensitive modules you should only use soldering irons with
grounded tips.
CAUTION!
Personnel and instruments should be grounded when working on electro-
static sensitive modules.
Handling of electrostatic
sensitive modules
Shipping of modules
Measurements and altera-
tions on electrostatic sen-
sitive modules
VIPA System 300S+Basics
Safety information for users
HB140 | CPU | 317-2AJ23 | en | 17-25 9

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. A CPU supports the following
modes of operation:
ncyclic operation
ntimer processing
nalarm controlled operation
npriority based processing
Cyclicprocessing represents the major portion of all the processes that are executed in
the CPU. Identical sequences of operations are repeated in a never-ending cycle.
Where a process requires control signals at constant intervals you can initiate certain
operations based upon a timer, e.g. not critical monitoring functions at one-second inter-
vals.
If a process signal requires a quick response you would allocate this signal to an alarm
controlled procedure. An alarm can activate a procedure in your program.
The above processes are handled by the CPU in accordance with their priority. Since a
timer or an alarm event requires a quick reaction, the CPU will interrupt the cyclic pro-
cessing when these high-priority events occur to react to the event. Cyclic processing will
resume, once the reaction has been processed. This means that cyclic processing has
the lowest priority.
2.2.2 Applications
The program that is present in every CPU is divided as follows:
nSystem routine
nUser application
The system routine organizes all those functions and procedures of the CPU that are not
related to a specific control application.
This consists of all the functions that are required for the processing of a specific control
application. The operating modules provide the interfaces to the system routines.
2.2.3 Operands
The following series of operands is available for programming the CPU:
nProcess image and periphery
nBit memory
nTimers and counters
nData blocks
Cyclic processing
Timer processing
Alarm controlled pro-
cessing
Priority based processing
System routine
User application
VIPA System 300S+
Basics
Operating structure of a CPU > Operands
HB140 | CPU | 317-2AJ23 | en | 17-25 10
Andere Handbücher für VIPA System 300S+
3
Inhaltsverzeichnis

















