YASKAWA CP 341 Manuel utilisateur

CP | 341-1CH01 | Manual
HB130 | CP | 341-1CH01 | en | 18-40
VIPA System 300S
CP 341 RS422/485
www.vipa.com/en/service-support/manuals

341-1CH01_000_CP 341 RS422/485,1,EN - © 2018
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.................................................................................................................... 5
1.1 Copyright © VIPA GmbH ................................................................................. 5
1.2 About this manual............................................................................................. 6
1.3 Safety information............................................................................................. 7
2 Basics...................................................................................................................... 8
2.1 Safety information for users.............................................................................. 8
2.2 Basics - ISO/OSI reference model................................................................... 9
2.3 CP 341-1CH01............................................................................................... 10
2.4 General data................................................................................................... 11
3 Assembly and installation guidelines................................................................ 13
3.1 Installation dimensions................................................................................... 13
3.2 Assembly standard bus.................................................................................. 14
3.3 Installation guidelines..................................................................................... 16
4 Hardware description........................................................................................... 18
4.1 Properties....................................................................................................... 18
4.2 Structure......................................................................................................... 19
4.3 Technical data................................................................................................. 23
5 Deployment........................................................................................................... 26
5.1 Fast introduction............................................................................................. 26
5.2 Hardware configuration.................................................................................. 28
5.2.1 Properties.................................................................................................... 29
5.3 Communication with the user program........................................................... 31
5.4 Firmware update............................................................................................. 33
5.4.1 Firmware update with Siemens parameterization tool................................. 33
5.4.2 Firmware update at deployment of a SPEED7 CPU................................... 34
5.4.3 Show CP firmware version.......................................................................... 35
6 Communication protocols................................................................................... 36
6.1 Overview......................................................................................................... 36
6.2 ASCII.............................................................................................................. 37
6.2.1 ASCII - Parameter....................................................................................... 38
6.3 3964(R) .......................................................................................................... 42
6.3.1 Basics 3964(R)............................................................................................ 42
6.3.2 Proceeding.................................................................................................. 43
6.3.3 3964(R) - Parameter ................................................................................... 44
6.4 Modbus........................................................................................................... 48
6.4.1 Basics Modbus............................................................................................ 48
6.4.2 Modbus Master - Parameter........................................................................ 49
6.4.3 Modbus Master - Functionality.................................................................... 55
6.4.4 Modbus Master - Function codes................................................................ 58
6.4.5 Modbus Slave - Parameter.......................................................................... 66
6.4.6 Modbus Slave - Functionality...................................................................... 70
6.4.7 Modbus Slave - Communication with the user program.............................. 73
6.4.8 Modbus Slave - Function codes.................................................................. 79
7 Diagnostics and error behavior.......................................................................... 92
7.1 Diagnostics functions overview...................................................................... 92
7.2 Diagnostics via FB STATUS........................................................................... 93
VIPA System 300S Table of contents
HB130 | CP | 341-1CH01 | en | 18-40 3

7.3 Diagnostics via diagnostic buffer.................................................................. 103
7.4 Diagnostics by diagnostics interrupt............................................................. 104
VIPA System 300S
Table of contents
HB130 | CP | 341-1CH01 | en | 18-40 4

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, S7-400 and S7-1500 are registered trade-
marks 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.
All Rights Reserved
CE Conformity Declaration
Conformity Information
Trademarks
VIPA System 300S General
Copyright © VIPA GmbH
HB130 | CP | 341-1CH01 | en | 18-40 5

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:
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 CP 341-1CH01 of the System 300S from VIPA. It contains a
description of the construction, project implementation and usage.
Product Order number as of state:
CP-HW CP-FW
CP 341 RS422/485 341-1CH01 01 V1.3.1
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.
Information product sup-
port
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
HB130 | CP | 341-1CH01 | en | 18-40 6

CAUTION!
Damages to property is likely if these warnings are not heeded.
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
HB130 | CP | 341-1CH01 | en | 18-40 7

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
HB130 | CP | 341-1CH01 | en | 18-40 8

2.2 Basics - ISO/OSI reference model
The ISO/OSI reference model is based on a proposal that was developed by the Interna-
tional Standards Organization (ISO). This represents the first step towards an interna-
tional standard for the different protocols. It is referred to as the ISO-OSI layer model. OSI
is the abbreviation for Open System Interconnection, the communication between open
systems. The ISO/OSI reference model does not represent a network architecture as it
does not define the services and protocols used by the different layers. The model simply
specifies the tasks that the different layers must perform. All current communication sys-
tems are based on the ISO/OSI reference model, which is defined by the ISO 7498
standard. The reference model structures communication systems into 7 layers that cover
different communication tasks. In this manner the complexity of the communication
between different systems is divided amongst different layers to simplify the task.
The following layers have been defined:
nLayer 7 - Application Layer
nLayer 6 - Presentation Layer
nLayer 5 - Session Layer
nLayer 4 - Transport Layer
nLayer 3 - Network Layer
nLayer 2 - Data Link Layer
nLayer 1- Physical Layer
Depending on the complexity and the requirements of the communication mechanisms a
communication system may use a subset of these layers.
The bit communication layer (physical layer) is concerned with the transfer of data bits via
the communication channel. This layer is therefore responsible for the mechanical, elec-
trical and the procedural interfaces and the physical communication medium located
below the bit communication layer:
nWhich voltage represents a logical 0 or a 1?
nThe minimum time the voltage is present to be recognized as a bit.
nThe pin assignment of the respective interface.
This layer performs error-checking functions for bit strings transferred between two com-
municating partners. This includes the recognition and correction or flagging of communi-
cation errors and flow control functions. The security layer (data link layer) converts raw
communication data into a sequence of frames. This is where frame limits are inserted on
the transmitting side and where the receiving side detects them. These limits consist of
special bit patterns that are inserted at the beginning and at the end of every frame. The
security layer often also incorporates flow control and error detection functions. The data
security layer is divided into two sub-levels, the LLC and the MAC level. The MAC (Media
Access Control) is the lower level and controls how senders are sharing a single transmit
channel. The LLC (Logical Link Control) is the upper level that establishes the connection
for transferring the data frames from one device into the other.
The network layer is an agency layer. Business of this layer is to control the exchange of
binary data between stations that are not directly connected. It is responsible for the log-
ical connections of layer 2 communications. Layer 3 supports the identification of the
single network addresses and the establishing and disconnecting of logical communica-
tion channels. Additionally, layer 3 manages the prior transfer of data and the error pro-
cessing of data packets. IP (Internet Protocol) is based on Layer 3.
Layer 4 connects the network structures with the structures of the higher levels by
dividing the messages of higher layers into segments and passes them on to the network
layer. Hereby, the transport layer converts the transport addresses into network
addresses. Common transport protocols are: TCP, SPX, NWLink and NetBEUI.
Overview
Layer 1 - Bit communica-
tion layer (physical layer)
Layer 2 - Security layer
(data link layer)
Layer 3 - Network layer
Layer 4 - Transport layer
VIPA System 300S Basics
Basics - ISO/OSI reference model
HB130 | CP | 341-1CH01 | en | 18-40 9

The session layer is also called the communication control layer. It relieves the communi-
cation between service deliverer and the requestor by establishing and holding the con-
nection if the transport system has a short time fail out. At this layer, logical users may
communicate via several connections at the same time. If the transport system fails, a
new connection is established if needed. Additionally this layer provides methods for con-
trol and synchronization tasks.
This layer manages the presentation of the messages, when different network systems
are using different representations of data. Layer 6 converts the data into a format that is
acceptable for both communication partners. Here compression/decompression and
encrypting/decrypting tasks are processed. This layer is also called interpreter. A typical
use of this layer is the terminal emulation.
The application layer is the link between the user application and the network. The tasks
of the application layer include the network services like file, print, message, data base
and application services as well as the according rules. This layer is composed from a
series of protocols that are permanently expanded following the increasing needs of the
user.
2.3 CP 341-1CH01
Dimensions of the basic enclosure:
n1tier width: (WxHxD) in mm: 40x125x120
nThe CP 341-1CH01 is compatible to the Siemens CP 341 (6ES7 341-1CH01-0AE0).
nThe CP is configured in the Siemens SIMATIC Manager.
Layer 5 - Session layer
Layer 6 - Presentation
layer
Layer 7 - Application layer
Dimensions/ Weight
Compatibility
VIPA System 300S
Basics
CP 341-1CH01
HB130 | CP | 341-1CH01 | en | 18-40 10
Ce manuel convient aux modèles suivants
1
Table des matières
Autres manuels YASKAWA Système de contrôle

YASKAWA
YASKAWA VIPA System 300S Manuel utilisateur

YASKAWA
YASKAWA VIPA System 300S Manuel utilisateur

YASKAWA
YASKAWA VIPA System 300S Manuel utilisateur

YASKAWA
YASKAWA YASNAC i80 Manuel utilisateur

YASKAWA
YASKAWA MOTOMAN DX100 Manuel utilisateur

YASKAWA
YASKAWA yasnac lx3 Manuel utilisateur

YASKAWA
YASKAWA SPEED7 300S+ CPU 315PN Manuel utilisateur

















