Omron SYSMAC CS, SYSMAC CJ, SYSMAC CJ1W-PRM21, SYSMAC CS1W-PRM21 Operation Manual

Cat. No. W409-E2-04
SYSMAC CS/CJ-series CS1W-PRM21 CJ1W-PRM21
PROFIBUS Master Units
OPERATION MANUAL
SYSMAC CS/CJ-series CS1W-PRM21 CJ1W-PRM21
PROFIBUS Master Units
Operation Manual
Revised May 29, 2006
ii
Notice:
OMRON products are manufactured for use by a trained operator and only for the purposes described in this manual.
The following conventions are used to classify and explain the precautions in this manual. Always heed the information provided with them.
!DANGER Indicates information that, if not heeded, is likely to result in serious injury or loss of life.
!WARNING Indicates information that, if not heeded, could possibly result in serious injury or loss of
life.
!Caution Indicates information that, if not heeded, could possibly result in minor or relatively serious
injury, damage to the product or faulty operation.
OMRON Product References
All OMRON products are capitalized in this manual. The first letter of the word Unit is also capitalized when it refers to an OMRON product, regardless of whether it appears in the proper name of the prod­uct.
The abbreviation Ch appears in some displays and on some OMRON products. It often means word and is abbreviated as Wd in the documentation.
The abbreviation PLC means Programmable Logic Controller.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
Note Indicates information of particular interest for efficient and convenient opera-
tion of the product.
1, 2, 3...Indicates various lists such as procedures, checklists etc.
iii
Trademarks and Copyrights
r f
PROFIBUS, PROFIBUS FMS, PROFIBUS DP, PROFIBUS DP-V1, and PROFIBUS PA are trade­marks of PROFIBUS International.
Microsoft, Windows, Windows NT, Windows 2000, Windows XP, Windows Explorer and ActiveX are trademarks of Microsoft Corporation.
Sycon and CIF are trademarks of Hilscher GmbH.
®
HART
Other product names and company names in this manual are trademarks or registered trademarks of their respective companies.
The copyright of the PROFIBUS Master Unit belongs to OMRON Corporation.
is a registered trademark of HART Communication Foundation.
OMRON, 2006
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, o by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission o OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con­stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
iv
TABLE OF CONTENTS
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
5 Application Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
SECTION 1
Features and Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1-1 Overview of PROFIBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Setting up a PROFIBUS DP Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1-3 PROFIBUS Master Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1-4 CX-Profibus Configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
1-5 Basic Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
SECTION 2
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2-1 Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2-2 Installing the CS1/CJ1W-PRM21 Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2-3 Initial Setup Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2-4 Setting up a Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2-5 Defining PROFIBUS DP in the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
SECTION 3
Configuration Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3-1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3-2 CX-Profibus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3-3 CS1/CJ1W-PRM21 PROFIBUS Master DTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3-4 C200HW-PRM21 PROFIBUS DP Master DTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
3-5 Generic Slave Device DTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
SECTION 4
Allocated CIO and DM Words . . . . . . . . . . . . . . . . . . . . . . . 109
4-1 Overview of Word Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4-2 Allocated CIO Area Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
v
TABLE OF CONTENTS
SECTION 5
FINS Commands and Responses. . . . . . . . . . . . . . . . . . . . . . 125
5-1 FINS Commands and Responses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
5-2 Command / Response Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
SECTION 6
Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
6-2 Setting up a network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
6-3 Configuring the Slave Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
6-4 Configuring the Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
6-5 I/O Communication Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
6-6 Operating the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
6-7 Monitoring the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
6-8 PROFIBUS DP-V1 Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
SECTION 7
Troubleshooting and Maintenance . . . . . . . . . . . . . . . . . . . . 201
7-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
7-2 Troubleshooting Using LED Indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
7-3 Troubleshooting Using Error Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
7-4 Troubleshooting the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
7-5 Troubleshooting Using the Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
7-6 Troubleshooting FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
7-7 Maintenance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
7-8 Replacing the Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Appendices
A Bus Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
B Slave Diagnostics Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
C I/O Data Conversions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
D Configurator Error and Warning Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
E Memory Card Backup Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
F Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
G C200HW-PRM21 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
vi

About this Manual

This manual describes the CS1W-PRM21 and CJ1W-PRM21 PROFIBUS DP and PROFIBUS DP-V1 Master Units. The Unit version number on the side case of the housing indicates supported functional­ity. If no version number is shown, the version number is 1.0. The following table lists the functions sup­ported per version number.
Unit name Unit Version Supporting
CJ1W-PRM21 CS1W-PRM21
Unit version 3.0 includes the same functions as Unit version 1.0 and 2.0, in addition to PROFIBUS DP­V1 Class 2 related functions. Unit version 3.0 will eventually replace Unit version 1.0 and 2.0.
The DTM versions are downward compatible. Newer versions also support features of previous Unit versions.
Note Unless stated otherwise, specifications, descriptions and images in this manual apply to all
Unit versions of the CS1W-PRM21 and CJ1W-PRM21 Units. The indication PROFIBUS Mas­ter Unit(s) will be used when referring to both unit types.
1.0 0.1.0.1 and up PROFIBUS DP (Class 1) Master
2.0 0.2.0.0 and up PROFIBUS DP (Class 1) Master
3.0 0.3.0.0 PROFIBUS DP (Class 1) Master
Functions supported
DTM version
PROFIBUS DP-V1 (Class 1) Master Additional PROFIBUS DP acyclic services
PROFIBUS DP-V1 (Class 1 and Class 2) Master Additional PROFIBUS DP acyclic services
Note The basic functionality of PROFIBUS DP is sometimes referred to as PROFIBUS DP-V0. In
this document the term PROFIBUS DP will be used to indicate the basic functionality.
This manual describes how to install and operate the CS1W-PRM21 and CJ1W-PRM21 Units. Both Units serve the same purpose: enable devices of various manufacturers to intercommunicate without making any special interface adaptations. They are technically the same; they differ only in their phys­ical dimensions and weight and the way they are connected to the backplane.
This manual also describes - to a lesser extent - how to configure the C200HW-PRM21 PROFIBUS DP Master Unit using the CX-Profibus Configurator. For more information on the C200HW-PRM21 PROFIBUS DP Master Unit, refer to the C200H-series PROFIBUS DP Master Units Operation Manual (W349-E2-@).
Please read this manual carefully so that you understand the information provided before installing or using the PROFIBUS Master Unit. Start with the precautions in the following section. They describe the operating environment and application safety measures which must be observed prior to and when using the PROFIBUS Master Unit.
The sections of this manual are as follows:
Section 1 introduces the PROFIBUS Master Units and CX-Profibus.
Section 2 describes the installation and setup of the PROFIBUS Master Units.
Section 3 describes the installation of CX-Profibus and provides a overview.
Section 4 describes how the Units interface to the PLC CPU.
Section 5 describes the FINS commands supported by the PROFIBUS Master Units.
Section 6 describes the operational aspects of the PROFIBUS Master Units.
Section 7 provides procedures for troubleshooting the PROFIBUS network and the Units.
The Appendices contain information supplementary to the information in the main body of the man­ual. They are referred to in the various sections as required.
ix
Manual Products Contents Cat. No.
CS-series Programmable Controllers Operation Manual
CJ-series Programmable controllers operation Manual
CS/CJ-series Programmable Controllers Programming Manual
CS/CJ-series Programmable Controllers Instructions Reference Manual
CS/CJ Series Communication Commands Reference Manual
CX-Programmer Operation Manual
CX-Server Run Time User Manual
C200H-series PROFIBUS DP Master Units Operation Manual
CJ-series PROFIBUS DP Slave unit Operation Manual
SmartSlice GRT1-Series PROFIBUS Communication Unit Operation Manual
SYSMAC CS-series CS1G/H-CPU@@-E
SYSMAC CJ-series CJ1G-CPU@@
SYSMAC CS/CJ-series CS1G/H-CPU@@-E, CJ1G­CPU@@
SYSMAC CS/CJ-series CS1G/H-CPU@@-E, CJ1G­CPU@@
SYSMAC CS1G/H­CPU@@-E CPU Units
SYSMAC WS02-CXP@@-E CX-Programmer
CX-Server Provides information on how to use the CX-
SYSMAC C200H-series C200HW-PRM21
SYSMAC CJ1-series CJ1W-PRT21
Smar tSlice GRT1-Series GRT1-PRT
Describes the installation and operation of the CS-series PLCs.
Describes the installation and operation of the CJ-series PLCs.
Describes the ladder diagram programming instructions supported by CS/CJ-series PLCs.
Describes the ladder diagram programming instructions supported by CS-series and CJ-series PLCs.
Describes the C-series (Host Link) and FINS communications commands used with CS/CJ-series PLCs.
Provides information on how to use the CX­Programmer, programming software which supports CS1/CJ1-series PLCs.
Server communication driver software which supports CS1/CJ1-series PLCs.
Describes the Installation and Operation of the C200HW-PRM21 PROFIBUS DP Mas­ter Units.
Describes the Installation and Operation of the CJ1W-PRT21 PROFIBUS DP Slave Units.
Describes the Installation and Operation of the SmartSlice GRT1_series GRT1-PRT PROFIBUS Communication Unit.
W339-E1-@
W393-E1-@
W394-E1-@
W340-E1-@
W342-E1-@
W414-E1-@
W391-E2-@
W349-E2-@
W408-E2-@
W04E-EN-@
GT1-series PROFIBUS DP Multiple I/O Terminal Operation Manual
C200H-series PROFIBUS DP Slave unit Operation Manual
F150-series PROFIBUS DP Vision Sensor Operation Manual
PRT1-COM & GT1-series Describes the Installation and Operation of
the PROFIBUS DP PRT1-COM and GT1­series I/O Units.
SYSMAC C200H-series C200HW-PRT21 PROFI­BUS DP Slave unit
F150-C15E-3-PRT21 PROFIBUS DP Vision Sen­sor
Describes the Installation and Operation of the C200HW-PRT21 PROFIBUS DP Slave Units.
Describes the Installation and Operation of the F150 PROFIBUS Vision Sensor.
W900-E2-@
W901-E2-@
Z143-E1-@
!WARNING Failure to read and understand the information provided in this manual may result in per-
sonal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
x
Read and Understand this Manual
Please read and understand this manual before using the product. Please consult your OMRON representative if you have any questions or comments.
Warranty and Limitations of Liability
WARRANTY
OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON­INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asser ted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
xi
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products.
At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products:
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this manual.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any consequence thereof.
xii
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other reasons.
It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request. Please consult with your OMRON representative at any time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when tolerances are shown.
PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
ERRORS AND OMISSIONS
The information in this manual has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
xiii

PRECAUTIONS

This section provides general precautions for using the PROFIBUS Master Units, Programmable Controllers and related devices.
The information contained in this section is important for the safe and reliable operation of the PROFIBUS Master Units. You must read this section and understand the information contained before attempting to set up or operate a PROFIBUS Master Unit and PLC system.
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
6-1 Applicable Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
6-2 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
6-3 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
xv
Intended Audience

1 Intended Audience

This manual is intended for the following personnel, who must also have a knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.

2 General Precautions

The user must operate the product according to the performance specifica­tions described in the operation manuals.
Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amuse­ment machines, safety equipment, and other systems, machines, and equip­ment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating OMRON PROFIBUS Master Units. Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during opera­tion.
1
!WARNING It is extremely important that all PLC Units be used for their specified pur-
poses and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult your OMRON repre­sentative before using a PLC System in the above-mentioned applications.

3 Safety Precautions

!WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing
so may result in electric shock.
!WARNING Never touch any of the terminals while power is being supplied. Doing so may
result in serious electrical shock or electrocution.
!WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do
so may result in malfunction, fire, or electric shock.
!WARNING Do not touch the Power Supply Unit while power is being supplied or immedi-
ately after power has been turned OFF. Doing so may result in electric shock.
!Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the
torque specified in the operation manual. Loose screws may result in burning or malfunction.
xvi
Operating Environment Precautions
!WARNING The CPU Unit refreshes I/O even when the program is stopped (i.e., even in
PROGRAM mode). Confirm safety thoroughly in advance before changing the status of any part of memory allocated to I/O Units, Special I/O Units, or CPU Bus Units. Any changes to the data allocated to any Unit may result in unex­pected operation of the loads connected to the Unit. Any of the following oper­ation may result in changes to memory status.
• Transferring I/O memory data to the CPU Unit from a Programming Device.
• Changing present values in memory from a Programming Device.
• Force-setting/-resetting bits from a Programming Device.
• Transferring I/O memory files from a Memory Card or EM file memory to the CPU Unit.
• Transferring I/O memory from a host computer or from another PC on a network.
!WARNING Execute online edits only after confirming that no adverse effects will be
caused by extending the cycle time. Otherwise, the input signals may not be readable.
4

4 Operating Environment Precautions

!Caution Do not operate the Unit in the following places:
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidities outside the range speci­fied in the specifications.
• Locations subject to condensation as the result of severe changes in tem­perature.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salt.
• Locations subject to exposure to water, oil, or chemicals.
• Locations subject to shock or vibration.
Provide proper shielding when installing in the following locations:
• Locations subject to static electricity or other sources of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radiation.
• Locations near to power supply lines.
!Caution The operating environment of the PLC system can have a large effect on the
longevity and reliability of the system. Unsuitable operating environments can lead to malfunction, failure and other unforeseeable problems with the PLC system. Ensure that the operating environment is within the specified condi­tions at installation time and remains that way during the life of the system. Follow all installation instructions and precautions provided in the operation manuals.
xvii
Application Precautions

5 Application Precautions

Observe the following precautions when using the PROFIBUS Master Unit.
!WARNING Failure to abide by the following precautions could lead to serious or possibly
fatal injury. Always heed these precautions.
5
• Always connect to a class-3 ground (100 Units.
!Caution Failure to abide by the following precautions could lead to faulty operation or
the PLC or the system or could damage the PLC or PLC Units. Always heed these precautions.
• Install double safety mechanisms to ensure safety against incorrect sig­nals that may be produced by broken signal lines or momentary power interruptions.
• When adding a new device to the network, make sure that the baud rate is the same as other nodes.
• When adding a new slave device to the network, make sure that the PROFIBUS Master Unit is in the OFFLINE state, to prevent unexpected results when starting up the slave device.
• Use specified communications cables.
• Do not extend connection distances beyond the ranges given in the spec­ifications.
• Always turn OFF the power supply to the personal computer, Slaves, and Communications Units before attempting any of the following.
• Mounting or dismounting the PROFIBUS Master Unit, Power Supply Units, I/O Units, CPU Units, or any other Units.
• Assembling a Unit.
• Setting DIP switches or rotary switches.
• Connecting or wiring the cables.
• Connecting or disconnecting connectors.
• Be sure that the terminal blocks, connectors, Memory Units, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
• Be sure that all the mounting screws, terminal screws, Unit mounting screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunc­tion.
• Leave the label attached to the Unit when wiring. Removing the label may result in malfunction if foreign matter enters the Unit.
• Remove the label after the completion of wiring to ensure proper heat dis­sipation. Leaving the label attached may result in malfunction.
• Always use the power supply voltage specified in this manual.
• Double-check all the wiring and connection of terminal blocks and con­nectors before mounting the Units.
• Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals.
or less) when installing the
xviii
Application Precautions
5
• Observe the following precautions when wiring the communications cable.
• Separate the communications cables from the power lines or high-ten­sion lines.
• Do not bend the communications cables.
• Do not pull on the communications cables.
• Do not place heavy objects on top of the communications cables.
• Be sure to wire communications cable inside ducts.
• Use appropriate communications cables.
• Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied in places where the power supply is unstable. An incorrect power supply may result in malfunction.
• Install external breakers and take other safety measures against short-cir­cuits in external wiring. Insufficient safety measures against short-circuits may result in burning.
• Double-check all the wiring and switch settings before turning ON the power supply.
• Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected opera­tion.
• When configuring a slave device on the network using PROFIBUS DP-V1 messaging services via the PROFIBUS Master Unit, make sure that the PROFIBUS Master Unit is in the CLEAR state, to prevent unexpected results when.
• Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation.
• Changing the operating mode of the PC.
• Force-setting/force-resetting any bit in memory.
• Changing the present value of any word or any set value in memory.
• After replacing Units, resume operation only after transferring to the new CPU Unit and/or Special I/O Units the contents of the DM Area, HR Area, and other data required for resuming operation. Not doing so may result in an unexpected operation.
• When transporting or storing the product, cover the PCBs with electrically conductive materials to prevent LSIs and ICs from being damaged by static electricity, and also keep the product within the specified storage temperature range.
• When transporting the Unit, use special packing boxes and protect it from being exposed to excessive vibration or impacts during transportation.
• Do not attempt to disassemble, repair, or modify any Units.
• Do not attempt to remove the cover over the non-used connector hole on the front of the CS1W-PRM21 Unit.
xix
Conformance to EC Directives

6 Conformance to EC Directives

6-1 Applicable Directives

•EMC Directives
• Low voltage directive EN 61131-2:1994+A12:2000

6-2 Concepts

EMC Directives OMRON Units complying with EC Directives also conform to related EMC standards making them easier to incorporate in other Units or machines. The actual products have been checked for conformity to EMC standards. (See the following note.) Whether the products conform to the standards in the sys­tem used by the customer, however, must be checked by the customer.
EMC-related performance of OMRON Units complying with EC Directives will vary depending on the configuration, wiring, and other conditions of the equip­ment or control panel in which OMRON devices are installed. The customer must, therefore, perform final checks to confirm that units and the overall sys­tem conforms to EMC standards.
Note Applicable EMS (Electromagnetic Susceptibility) and EMI (Electromagnetic
Interference standards in the EMC (Electromagnetic Compatibility) standards are as follows:
6
Unit EMS EMI
CS1W-PRM21 EN 61000-6-2:2001 EN 61000-6-2:2001 CJ1W-PRM21

6-3 Conformance to EC Directives

Units that meet EC directives also meet the common emission standard (EN50081-2). The measures necessary to ensure that the standard is met will vary with the overall configuration. You must therefore confirm that EC direc­tives are met for the overall configuration, particularly any radiated emission requirement (10 m).
xx
SECTION 1
Features and Specifications
This section provides an introductory overview of PROFIBUS, its functions and how to setup and configure a network. It also addresses the PROFIBUS Master Units and the configurator, their features and specifications.
1-1 Overview of PROFIBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-2 PROFIBUS Communication Protocol . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-3 Device Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1-1-4 Bus Access Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1-1-5 Diagnostic functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1-1-6 Protection Mechanisms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1-1-7 Network Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1-2 Setting up a PROFIBUS DP Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1-2-1 Configuring the PROFIBUS Master . . . . . . . . . . . . . . . . . . . . . . . . . 7
1-2-2 FDT/DTM Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1-2-3 GSD file Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-3 PROFIBUS Master Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1-3-1 PROFIBUS Master Unit Features. . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1-3-2 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1-3-3 Comparison with Previous Model . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-4 CX-Profibus Configurator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1-4-1 CX-Profibus Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1-4-2 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1-5 Basic Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1-5-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1-5-2 Preparations for Communications . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1-5-3 Procedures Prior to Starting Communications . . . . . . . . . . . . . . . . . 25
1
Overview of PROFIBUS
Section 1-1

1-1 Overview of PROFIBUS

1-1-1 Introduction

Standard EN50170 PROFIBUS (PROcess FIeldBUS) is an open fieldbus standard for a wide
range of applications in manufacturing, processing and building automation. The Standard, EN 50170 (the Euronorm for field communications), to which PROFIBUS adheres, guarantees vendor independence and transparency of operation. It enables devices of various manufacturers to intercommunicate without having to make any special interface adaptations.
The PROFIBUS family comprises three mutually compatible versions: PROFI­BUS FMS, PROFIBUS DP and PROFIBUS PA.
PROFIBUS FMS FMS means Fieldbus Message Specification. This version is the general-pur-
pose solution for high-level extensive and complex communication tasks. Powerful services open up a wide range of applications and provide great flex­ibility.
PROFIBUS DP DP means Decentralized Periphery. PROFIBUS DP is optimized for high
speed and low-cost interfacing. It is specially designed for communication between automation control systems and distributed I/O at the device level.
PROFIBUS PA PA means Process Automation. It permits sensors and actuators to be con-
nected to one common bus even in areas where intrinsically safe products are required. It also permits data and power to be supplied over the bus using 2-wire technology according the international standard IEC 1158-2.
Uniform Bus Access Protocol
!Caution It is not possible to exchange one of these family members by another family
PROFIBUS DP and PROFIBUS FMS use the same transmission technology and uniform bus access protocol. Consequently, both versions can be oper­ated simultaneously on the same bus. FMS field devices, however, cannot be controlled by DP masters and vice versa.
member. This will cause faulty operation.
The rest of this section describes the PROFIBUS DP Protocol architecture.

1-1-2 PROFIBUS Communication Protocol

OSI reference model
ISO-7498
In general, the PROFIBUS communication protocol is based on the Open System Interconnection (OSI) reference model in accordance with the inter­national standard ISO-7498 (see the following illustration). The model defines 7 layers of communication functions, three of which - layers 1, 2, and 7 - are used in PROFIBUS.
• Layer 1, the Physical Layer of this model, defines the physical transmis­sion characteristics.
• Layer 2, the Data Link Layer of this model, defines the bus access proto­col. This protocol also includes data security and the handling of trans­mission protocols and telegrams.
• Layer 7, the Application Layer of this model, defines the application func­tions. This Layer is only applicable to PROFIBUS FMS.
2
Overview of PROFIBUS
.
DP-Profiles
DP-Extensions
User Interface Layer DP Basic Functions
(7) Application Layer
(6) Presentation Layer
(5) Session Layer NOT DEFINED
(4) Transport Layer
(3) Network Layer
(2) Data Link Layer Fieldbus Data Link (FDL)
(1) Physical Layer RS485 / Fibre Optics
PROFIBUS DP In the rest of this manual, only PROFIBUS DP is considered.
Section 1-1
OSI Layer 1, 2 and User Interface
PROFIBUS DP uses layers 1 and 2, and the user interface. Layers 3 to 7 are not defined for PROFIBUS DP. The user interface Layer defines the interface functions for specific application areas, i.e. the PROFIBUS DP basic functions and communication profiles.This streamlined architecture ensures fast and efficient data transmission. The application functions which are available to the user, as well as the system and device behaviour of the various PROFI­BUS DP device types, are specified in the user interface.
OSI Layer 1: Transmission Medium
RS-485 transmission technology or fibre optics are available for transmission. RS-485 transmission is the most frequently used transmission technology. Its application area includes all areas in which high transmission speed and sim­ple inexpensive installation are required. PROFIBUS modules are intercon­nected by single twisted-pair shielded copper wires.
RS-485 Technology The RS-485 transmission technology is very easy to handle. Installation of the
twisted pair cable does not require expert knowledge. The bus structure per­mits addition and removal of devices or step-by-step commissioning of the system without influencing the other devices. Later expansions have no effect on devices which are already in operation.
RS-485 Transmission Speed
Transmission speeds between 9.6 kbit/s and 12 Mbit/s can be selected as shown in the table below. One unique transmission speed must selected for all devices on the bus when the system is commissioned.
Baud rate (kbit/s) Distance / segment (m)
9.6 1200
19.2 1200
45.45 1200
93.75 1200
187.5 1000
500 400
1500 200
3000 100
6000 100
12000 100
Cable length The maximum cable length values depend on the transmission speed and are
based on type-A cable (see Cable Type on page 39). The length can be increased by the use of repeaters.However, it is not recommended to use more than three repeaters in series in a PROFIBUS network.
3
Overview of PROFIBUS
Section 1-1

1-1-3 Device Types

PROFIBUS distinguishes between master devices and slave devices.
Master Devices Master devices determine the data communication on the bus. A Master can
send messages without an external request, as long as it holds the bus access right (the token). Masters are also referred to as active devices in the PROFIBUS standard.
There are two types of master devices:
Class 1 Master (DPM1) A PROFIBUS DP Class 1 Master (DPM1) device is a central controller, which
exchanges information with the decentralized devices (i.e. DP slaves) within a specified message cycle.
Class 2 Master (DPM2) PROFIBUS DP class 2 Master (DPM2) devices are programmers, configura-
tion devices or operator panels. They are used during commissioning, for con­figuration of the DP system, or for operation and monitoring purposes.
As of Unit Version 3.0 the CS1W-PRM21 and the CJ1W-PRM21 are PROFI­BUS DP Class 1 as well as Class 2 Master devices.
Slave Devices Slave devices are peripheral devices. Typical slave devices include input/out-
put devices, valves, drives, and measuring transmitters. They do not have bus access rights and they can only acknowledge received messages or send messages to the master when requested to do so. Slave devices are also called passive devices
Device Profile To enable the exchange of devices from different vendors, the user data has
to have the same format. The PROFIBUS DP protocol does not define the for­mat of user data, it is only responsible for the transmission of this data. The format of user data may be defined in so called profiles. Profiles can reduce engineering costs since the meaning of application-related parameters is specified precisely. Profiles have been defined for specific areas like drive technology, encoders, and for sensors / actuators.
PROFIBUS DP-V1 PROFIBUS DP-V1 is an extension to the PROFIBUS DP protocol standard. It
defines acyclic message services between a PROFIBUS DP-V1 Master and a PROFIBUS DP-V1 slave device. These acyclic message services allow exchange of extended parameter settings as well as extended diagnostics and alarm information, during regular I/O data exchange. PROFIBUS DP-V1 devices must at least support PROFIBUS DP.
PROFIBUS DP-V1 services are designated as MSACn services (M S
lave Acyclic, Class n), in which n designates the Master Class (i.e. 1 or 2). The CS1W-PRM21 and the CJ1W-PRM21 both support PROFIBUS DP-V1 Class 1 and Class 2 Master functions as of Unit version 3.0.
aster-

1-1-4 Bus Access Protocol

OSI Layer 2: Bus Access Protocol
The PROFIBUS bus access protocol is implemented by OSI layer 2. This pro­tocol also includes data security and the handling of the transmission proto­cols and messages.
Medium Access Control The Medium Access Control (MAC) specifies the procedures which determine
when a device is permitted to transmit data. A token passing procedure is used to handle the bus access between master devices, and a polling proce­dure is used to handle the communication between a master device and its assigned slave device(s).
4
Overview of PROFIBUS
Section 1-1
Token Passing The token passing procedure guarantees that the bus access right (the token)
is assigned to each master within a precisely defined time frame. The token message, a special message for passing access rights from one master to the next master, must be passed around the logical token ring - once to each master - within a specified target rotation time. Each master executes this pro­cedure automatically.
Polling Procedure The polling or master-slave procedure permits the master, currently in pos-
session of the token, to access its assigned slaves. The figure below shows a possible configuration The configuration shows three active devices (masters) and six passive devices (slaves).
Token Passing
DPM1 DPM2 DPM1
Active stations Master devices
Passive stations
Slave devices
Polling
PROFIBUS
The three masters form a logical token ring. When an active device receives the token message, it can perform its master role for a certain period of time. During this time it can communicate with all assigned slave devices in a mas­ter-slave communication relationship, and a DPM2 master can take the initia­tive to communicate with DPM1 master devices in a master-master communication relationship.
Multi-peer Communication In addition to logical peer-to-peer data transmission, PROFIBUS DP provides
multi-peer communication (broadcast and multicast).
Broadcast Communication
In the case of broadcast communication a master device sends an unac­knowledged message to all other devices (masters and slaves).
Multicast Communication In the case of multicast communication a master device sends an un-
acknowledged message to a predetermined group of slave devices.

1-1-5 Diagnostic functions

Extended Diagnostics Extended diagnostic functions defined in PROFIBUS DP enable the fast loca-
tion of error at slave devices. Diagnostic messages are transmitted over the bus and collected at the master. Three diagnostic message types are defined:
Device Related Diagnostics
• Messages concerning the general operational status of the whole device, e.g. over temperature, low voltage.
Module Related Diagnostics
Channel Related Diagnostics
• Messages indicating that an error is present in a specific I/O range of a device, e.g. an 8-bit output module.
• Messages indicating an error at a given input or output, e.g. short circuit on Output 5.
5
Overview of PROFIBUS
Section 1-1

1-1-6 Protection Mechanisms

Monitoring Time PROFIBUS DP provides effective protection functions against parameteriza-
tion errors or failure of the transmission equipment. Time monitoring is pro­vided both at the master and the slave devices. The monitoring interval is specified when the system is configured.
Monitoring at the Master The PROFIBUS Master monitors data transmission of the slaves with the
Data-Control-Timer. A separate control timer is used for each slave. This timer expires if response data is not correctly transmitted by the slave within the monitoring interval. The user is informed when this happens. If the automatic error reaction (Auto-CLEAR) has been enabled, the PROFIBUS Master exits its OPERATE state, switches the outputs of all assigned slaves to the fail-safe status and changes to the CLEAR state.
Monitoring at the Slave Slave devices use a watchdog to detect failures of the master or the bus. If
data communication with the master does not occur within the set watchdog time interval, a slave automatically switches its outputs to the fail-safe mode.
Also, access protection is provided for the inputs and outputs of the slaves operating in multi-master systems. Only authorized masters can access their slaves.

1-1-7 Network Operation Modes

PROFIBUS DP distinguishes four different network operation modes:
OFFLINE • Communication with all PROFIBUS DP participants (masters and slaves)
is stopped. The Master ceases to access the PROFIBUS network.
STOP • Cyclic communication as well as PROFIBUS DP-V1 Class 1 communica-
tion between the master and its slaves is stopped. Only PROFIBUS DP­V1 Class 2 communication and communication between the master and other masters is still possible.
CLEAR • The master tries to set parameters, check the configuration, and perform
data exchange with its associated slaves. Data exchange involves reading the inputs of the PROFIBUS DP slaves and writing zeros to the outputs of the slaves.
OPERATE • The master exchanges data with its assigned slaves, inputs are read and
outputs are written. Also, the master cyclically sends its local status to all its assigned PROFIBUS DP slaves (using a broadcast message).
The PROFIBUS Master Unit will always be in one of these four modes. Mode transitions from one mode to another will be performed via intermediate modes. For example, a mode transition from OFFLINE to OPERATE, will be
Auto-CLEAR
Fail-safe State
performed as OFFLINE
If an error occurs during the data exchange phase of the master, the ‘Auto­CLEAR’ function determines the subsequent actions. If this function has been disabled, the master remains in the OPERATE mode. If the function has been enabled, the master automatically changes the network to the CLEAR mode, in which the outputs of the assigned PROFIBUS DP slaves are switched to zero, i.e. the ‘fail-safe’ state. The master continues to read the inputs of the slaves.
STOP CLEAR OPERATE.
6
Setting up a PROFIBUS DP Network
Section 1-2

1-2 Setting up a PROFIBUS DP Network

1-2-1 Configuring the PROFIBUS Master

In order to operate a PROFIBUS network, each master in the network needs to be configured. This process of configuration involves
• setting up the network topology, i.e. assigning the slave devices with which the master will be exchanging data,
• defining the parameterization data, which the master will send to each of the slave devices, before process data exchange can commence
• defining the configuration data, i.e. defining the process data, which will be exchanged,
• setting up the bus parameters, which define the baud rate and the bus timing parameters.
• downloading the configuration setup to the master device.
Configuration Technology The configuration process is usually facilitated by a special Computer based
program, often referred to as a configurator. The configurator requires special configuration files, defining the configuration options for each device, which is to participate in data exchange. The files must be provided by the manufac­turer of the device.
Two types of configuration technology exist:
• Configuration technology based on FDT/DTM technology
• Configuration technology based on GSD-files

1-2-2 FDT/DTM Technology

FDT/DTM Technology The newer configuration tools are based on FDT/DTM technology.
FDT/DTM Concept The FDT/DTM concept specifies the interfaces between the engineering sys-
tems called Field Device Tools (FDT), and the device-specific software com­ponents called Device Type Managers (DTM).
The FDT/DTM concept separates the device dependent functionality (which is in the DTM) from the application. It provides separate interfaces for device configuration, monitoring and maintenance solutions, which before largely depended on the manufacturer of the application. Because of this concept, FDT/DTM technology is not limited to PROFIBUS applications. In concept, any type of network can be configured and accessed, provided the appropri­ate DTMs are available.
FDT Container Application A FDT container application facilitates configuration of network devices and
parameterizing and/or manipulating their operational modes. All device dependent functionality is concentrated in the DTM.
FDT container applications can be stand-alone tools, or can be part of other engineering tools such web browsers providing FDT interfaces.Since FDT standardizes the interfaces, it allows devices from different manufacturers to be integrated in any automation system, regardless of the fieldbus system.
CX-Profibus is an example of a FDT container application. It is described in detail in the following sections.
Device DTM DTMs are provided by the manufacturer of the device. A DTM is comparable
to a printer driver, which allows interactive configuration and diagnostics.
7
Setting up a PROFIBUS DP Network
The DTM provides not only the configuration, manipulation and monitoring functions for a device including the user interface functions, it also provides the connection technology to the device.
DTM Properties In general, a DTM is a Microsoft COM-component, which can be executed
from within a FDT container application. A DTM is not a stand-alone tool, it requires a FDT container application to be executed. The DTM provides a number of interface functions, through which it can be controlled and accessed in order to transfer data to or from the DTM.
A DTM provides all the options for configuration and monitoring of a device, which it can present to the user through its own user interface.
ActiveX User Interface The user interface for a DTM is provided using ActiveX windows. Control of
these windows is done by the DTM, but the FDT container application can request specific user input from the DTM, based on which the DTM will pro­vide the necessary ActiveX windows. In general multi-language user interface windows, including DTM specific Help files are supported by the DTM.
XML based Data Transfer Data transfer to and from a DTM is provided using XML-documents. The
XML-documents are standardized for the communication between the FDT container application and for communication between DTMs.
An additional specification covers the definition of XML-data formats for the transfer of application specific data, such as PROFIBUS data.
Section 1-2
Communication DTM In general, a device configuration DTM is accompanied by a communication
DTM. This specific DTM facilitates device specific communication, e.g. for downloading a configuration to a PROFIBUS Master Unit and/or for retrieving monitoring information from PROFIBUS Master Unit. It may incorporate the specific communication protocol, or rely on other available drivers.
CX-Profibus CX-Profibus is a FDT container application. Together with this container appli-
cation, OMRON provides five DTMs:
• A DTM to facilitate configuration and operation of the CS1/CJ1W-PRM21 PROFIBUS DP-V1 Master Units (As of Unit version 2.0).
• A DTM to facilitate configuration of the CS1/CJ1W-PRM21 PROFIBUS DP Master Units (Unit version 1.0).
• A DTM to facilitate configuration of the C200HW-PRM21 PROFIBUS DP Master Unit.
• A DTM to facilitate configuration of the SmartSlice GRT1-series GRT1-PRT PROFIBUS Communication Unit.

• A DTM to facilitate integration of GSD file based devices into CX-Profibus (see section 1-2-3 GSD file Technology for more information).

1-2-3 GSD file Technology
GSD file Technology The older and most commonly used configuration technology is the based on
GSD files (General Slave Data file). A GSD file is a text file, containing the characteristic features and configuration options of a device. The device data base file of each device is loaded in the configurator and downloaded to the master device.
GSD files are usually supplied with a Unit, or can be downloaded from the Internet, either from the manufacturer's site, or from the GSD library of the PROFIBUS International at http://www.profibus.com.
8
Setting up a PROFIBUS DP Network
GSD File Language The language used in the GSD file is indicated by the last letter of the file
extension, *.GS?:
Default = GSD English = GSE German = GSG Italian = GSI Portuguese = GSP Spanish = GSS The GSD files are prepared individually by the vendor for each type of device,
according to a fixed format. Some parameters are mandatory, some have a default value and some are optional. The device data base file is divided into three parts:
General Section • General specifications
This section contains the vendor name, the device name, hardware- and soft­ware release versions, device type and identification number, protocol specifi­cation and supported baud rates.
DP-master Section • DP master-related specifications
This section contains all parameters which only apply to DP master devices (e.g. maximum memory size for the master parameter set, maximum number of entries in the list of active devices, or the maximum number of slaves the master can handle).
Section 1-2
DP-slave Section DP slave-related specifications
This section contains all specification related to slaves (e.g. minimum time between two slave poll cycles, specification of the inputs and outputs, and consistency of the I/O data).
For PROFIBUS DP-V1 devices this section also specifies what services for PROFIBUS DP-V1 are supported.
DTM versus GSD File When comparing the two configuration technologies, a GSD file only provides
information on the device characteristics and configuration options. It has no GUI of its own, nor can it connect to the device itself. A GSD file always requires a separate configurator program to interpret the data. In the FDT/ DTM concept all these device related functions are included in the DTM. The DTM can be executed from any program, which provides FDT interfaces.
Sending PROFIBUS DP-V1 commands to a device from the configuration tool is only possible using DTM technology. The GSD file does not provide this means.
9
Loading...
+ 267 hidden pages