advertisement
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-2 PROFIBUS Communication Protocol . . . . . . . . . . . . . . . . . . . . . . .
1-1-4 Bus Access Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1-5 Diagnostic functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1-6 Protection Mechanisms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1-7 Network Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 Setting up a PROFIBUS DP Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-1 Configuring the PROFIBUS Master . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-2 FDT/DTM Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-3 GSD file Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3-1 CX-Profibus Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Overview of PROFIBUS
Section 1-1
1-1 Overview of PROFIBUS
1-1-1 Introduction
Standard EN50170
PROFIBUS FMS
PROFIBUS DP
PROFIBUS PA
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:
PROFIBUS FMS, PROFIBUS DP and PROFIBUS PA.
FMS means Fieldbus Message Specification. This version is the general-purpose solution for high-level extensive and complex communication tasks.
Powerful services open up a wide range of applications and provide great flexibility.
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.
PA means Process Automation. It permits sensors and actuators to be connected 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
PROFIBUS DP and PROFIBUS FMS use the same transmission technology and uniform bus access protocol. Consequently, both versions can be operated simultaneously on the same bus. FMS field devices, however, cannot be controlled by DP masters and vice versa.
!Caution It is not possible to exchange one of these family members by another family 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 international 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 transmission characteristics.
• Layer 2, the Data Link Layer of this model, defines the bus access protocol. This protocol also includes data security and the handling of transmission protocols and telegrams.
• Layer 7, the Application Layer of this model, defines the application functions. This Layer is only applicable to PROFIBUS FMS.
2
Overview of PROFIBUS
Section 1-1
DP-Profiles
DP-Extensions
DP Basic Functions User Interface Layer
(7) Application Layer
(6) Presentation Layer
(5) Session Layer
(4) Transport Layer
(3) Network Layer
(2) Data Link Layer
(1) Physical Layer
NOT DEFINED
Fieldbus Data Link (FDL)
RS485 / Fibre Optics
PROFIBUS DP
OSI Layer 1, 2 and User
Interface
OSI Layer 1: Transmission
Medium
RS-485 Technology
RS-485 Transmission
Speed
In the rest of this manual, only PROFIBUS DP is considered.
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.
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 simple inexpensive installation are required. PROFIBUS modules are interconnected by single twisted-pair shielded copper wires.
The RS-485 transmission technology is very easy to handle. Installation of the twisted pair cable does not require expert knowledge. The bus structure permits 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.
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.
Cable length
Baud rate (kbit/s)
9.6
19.2
45.45
93.75
187.5
500
1500
3000
6000
12000
Distance / segment (m)
1200
1200
1200
1200
1000
400
200
100
100
100
The maximum cable length values depend on the transmission speed. 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
Slave Devices
Device Profile
PROFIBUS DP-V1
Section 1-1
1-1-3 Device Types
Master Devices
Class 1 Master (DPM1)
Class 2 Master (DPM2)
PROFIBUS distinguishes between master devices and slave 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:
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.
PROFIBUS DP class 2 Master (DPM2) devices are programmers, configuration devices or operator panels. They are used during commissioning, for configuration of the DP system, or for operation and monitoring purposes.
The CS1W-PRM21 and the CJ1W-PRM21 are both PROFIBUS DP Class 1
Master devices.
Slave devices are peripheral devices. Typical slave devices include input/output 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
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 format 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 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 (Master-
Slave 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 Master functions as of Unit version 2.0.
1-1-4 Bus Access Protocol
OSI Layer 2: Bus Access
Protocol
Medium Access Control
The PROFIBUS bus access protocol is implemented by OSI layer 2. This protocol also includes data security and the handling of the transmission protocols and messages.
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 procedure is used to handle the communication between a master device and its assigned slave device(s).
4
Overview of PROFIBUS
Token Passing
Polling Procedure
Section 1-1
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 procedure automatically.
The polling or master-slave procedure permits the master, currently in possession 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
Polling
PROFIBUS
Passive stations
Slave devices
Multi-peer Communication
Broadcast
Communication
Multicast Communication
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 master-slave communication relationship, and a DPM2 master can take the initiative to communicate with DPM1 master devices in a master-master communication relationship.
In addition to logical peer-to-peer data transmission, PROFIBUS DP provides multi-peer communication (broadcast and multicast).
In the case of broadcast communication a master device sends an unacknowledged message to all other devices (masters and slaves).
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
Extensive Diagnostics
Extensive diagnostic functions defined in PROFIBUS DP enable the fast location 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
Module Related
Diagnostics
Channel Related
Diagnostics
• Messages concerning the general operational status of the whole device, e.g. over temperature, low voltage.
• 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 parameterization errors or failure of the transmission equipment. Time monitoring is provided both at the master and the slave devices. The monitoring interval is specified when the system is configured.
Monitoring at the Master
Monitoring at the Slave
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.
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
STOP
CLEAR
OPERATE
• Communication with all PROFIBUS DP participants (masters and slaves) is stopped. The Master ceases to access the PROFIBUS network.
• Communication between the master and its slaves is stopped. Only communication between the master and other masters is still possible.
• 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.
• 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).
Auto-CLEAR
Fail-safe State
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 performed as OFFLINE
→
STOP
→
CLEAR
→
OPERATE.
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.
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 manufacturer 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
FDT/DTM Concept
FDT Container Application
Device DTM
The newer configuration tools are based on FDT/DTM technology.
The FDT/DTM concept specifies the interfaces between the engineering systems called Field Device Tools (FDT), and the device-specific software components 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 appropriate DTMs are available.
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.
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
DTM Properties
ActiveX User Interface
XML based Data Transfer
Communication DTM
CX-Profibus
Section 1-2
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.
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.
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 provide the necessary ActiveX windows. In general multi-language user interface windows, including DTM specific Help files are supported by the DTM.
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.
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 is a FDT container application. Together with this container application, OMRON provides four 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
Master Unit
• A DTM to facilitate integration of GSD file based devices into CX-Profibus
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
General Section
DP-master Section
DP-slave Section
DTM versus GSD File
Section 1-2
The language used in the GSD file is indicated by the last letter of the file extension, *.GS?:
Default
English
German
Italian
= GSD
= GSE
= GSG
= GSI
Portuguese
Spanish
= GSP
= 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 specifications
This section contains the vendor name, the device name, hardware- and software release versions, device type and identification number, protocol specification and supported baud rates.
• 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).
• 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.
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
CX-Profibus Configurator
Section 1-3
1-3 CX-Profibus Configurator
1-3-1 CX-Profibus Features
CX-Profibus
The PROFIBUS Master Unit requires a configuration before it can exchange I/
O data with the slave devices. For this purpose OMRON provides the CX-
Profibus Configuration program, which runs under Microsoft Windows™ NT
4.0, Windows™ 2000 or Windows™ XP
Together with CX-Profibus, OMRON provides four DTM COM Objects:
• A DTM to configure the CS1/CJ1W-PRM21 PROFIBUS DP-V1 Master
• A DTM to configure the CS1/CJ1W-PRM21 PROFIBUS DP Master
• A DTM to configure the C200HW-PRM21 PROFIBUS DP Master
• A DTM to allow the handling of classic GSD files in CX-Profibus
The following provides a quick overview of the functions.
CX-Profibus FDT
Container Application
CS1/CJ1W-PRM21 DTM
CX-Profibus provides an FDT environment in which DTMs can be executed.
The main function of CX-Profibus is to facilitate the DTMs and the data exchange between them. It provides:
• Network setup functions: A tree view shows the relations between the
DTMs, i.e. the relation between the Master and slave devices.
• Device Catalogue functions: A Device Catalogue containing the installed
DTMs is maintained, to which the user can add new DTMs or delete them.
Device DTMs can be added to the network from this Catalogue.
• Project maintenance functions: CX-Profibus provides the functions to create, save and open project files. It facilitates user access control, which limits of use to authorized personnel only, using password protection.
• Additional functions: CX-Profibus provides additional functions like printing, error logging, FDT Communication logging and help files.
The two CS1/CJ1W-PRM21 DTMs provided to configure the CS1/CJ1W-
PRM21 PROFIBUS Master Units and the CS1/CJ1W-PRM21 PROFIBUS DP-
V1 Master Units both provide the same basic PROFIBUS DP functions. These
DTMs consist of three parts:
• The Settings DTM, which handles the configuration for the PROFIBUS
Master Unit. This includes the bus parameters settings, the I/O data mappings and Master specific settings. The Settings DTM provides its own user interface.
• The Monitoring DTM, which handles the status monitoring and control over the PROFIBUS Master Unit, when it is on-line and communicating over the PROFIBUS network. It provides its own user interface to read out
Master status flags and Error log, as well as Slave status flags and the
Slave diagnostics messages received by the Unit. It also allows the user to send Global-Control messages over the network and to change the
PROFIBUS Master Unit’s mode on the PROFIBUS network.
• The communication DTM, which provides the interface between the two
DTMs mentioned above and CX-Server. CX-Server, provided with the
CX-Profibus package, is the driver for communication between the PC and the PLC CPU.
10
CX-Profibus Configurator
Section 1-3
CS1/CJ1W-PRM21
PROFIBUS DP-V1 DTM
C200HW-PRM21 DTM
Generic Slave DTM
Downloading the
Configuration
In addition to the PROFIBUS DP functions, the CS1/CJ1W-PRM21 PROFI-
BUS DP-V1 DTM provides:
• A communication channel to the user to change a remote slave device address. This channel has its own user interface.
• Communication channels to facilitate data transfer, PROFIBUS DP-V1
MSAC1 acyclic message transfer between a PROFIBUS DP-V1 slave device DTM and the physical slave device.
The C200HW-PRM21 DTM allows configuration of the C200HW-PRM21
PROFIBUS DP Master Unit. This predecessor of the CS1/CJ1W-PRM21 can be used on existing C200H PLC CPU Systems as well as CS1 PLC Systems, except for the CS1D.
The C200HW-PRM21 DTM consist of three parts:
• The Settings DTM, which handles the settings for the C200HW-PRM21
PROFIBUS DP Master Unit, including the bus parameters settings, and the I/O data mappings.
• The Monitoring DTM, to handle the Unit’s status monitoring. The DTM’s user interface displays the Master status and Slave status.
• The communication DTM, providing the interface between the two DTMs mentioned above and the serial communication driver, to the C200HW-
PRM21 PROFIBUS DP Master Unit.
Note
1.
This Operation Manual does not contain a detailed description of the
C200HW-PRM21 Unit, only a description of the DTM. For more details on the C200HW-PRM21 refer to C200H-series PROFIBUS DP Master Units
Operation Manual (W349-E2-
@).
2.
The C200HW-PRM21 Unit and DTM do not support PROFIBUS DP-V1.
The Generic Slave DTM allows the handling of classic GSD files of up to GSD revision 3 within CX-Profibus. Upon allocating a slave device, for which only a
GSD file is available to a Master Unit in the network, this DTM will be invoked.
This DTM consists of two parts:
• The Settings DTM will provide the user interface to display the device’s information and the selectable values, as defined in the GSD. After making the necessary configuration settings, and saving them, these will be transferred to the Master DTM.
• The monitoring DTM will provide a diagnostics interface to the user, allowing him to check the Slave’s status. This DTM obtains the necessary information from the PROFIBUS Master Unit’s monitoring DTM.
Note The Generic Slave DTM provides parameter settings related to PROFIBUS
DP-V1. However, it does not support PROFIBUS DP-V1 communication.
After setting up the configuration, it must be downloaded to the PROFIBUS
Master Unit. The type of serial connection to use for downloading, depends on the Unit:
• CS1/CJ1W-PRM21: Connection to the Unit is achieved through the serial port of the PLC CPU, using CX-Server. CX-Server also allows routing the download through multiple systems, if supported by these systems. The
CS1/CJ1W-PRM21 does not support message routing.
• C200HW-PRM21: Connection to the C200HW-PRM21 is achieved through a serial RS-232c Connection between one of the PC’s Serial
COM Ports and the dedicated configuration connector at the front of the
11
CX-Profibus Configurator
Section 1-3
Unit. For details, refer to the C200HW-PRM21 Manual: W349-E2-2. The figure below shows the connection methods, for both types.
Serial connection to CS/CJ-series
PROFIBUS Master Unit
Serial connection to C200H-series
PROFIBUS DP Master Unit
CX-Profibus
Configurator
CX-Profibus
Configurator
CS/CJ-series
PROFIBUS
Master Unit
COM Port on PC
Peripheral Bus or
Host LINK
OMRON
SYSMAC CS1G
PROGRAMMABLE
CONTROLLER
Peripheral or RS232C
Port of CPU Unit
PROFIBUS Network
C200H-series
PROFIBUS DP
Master Unit
COM Port on PC
OMRON
SYSMAC CS1G
PROGRAMMABLE
CONTROLLER
Configuration Port on
PROFIBUS DP
Master Unit
PROFIBUS Network
12
CX-Profibus Configurator
1-3-2 Specifications
Functional Specifications
Model number
Item
Hardware platform
Operating System
Connection to CS1/CJ1W-PRM21
Connection to C200HW-PRM21
General Project functions
Network setup functions
Device Catalogue functions
Support functions
Section 1-3
Specification
WS02-9094G
• Personal computer: IBM PC/AT or compatible
• Processor: Pentium 500 MHz or higher
• Memory: 256 Mbytes
• Hard disk: A minimum of 256 Mbytes
• CD-ROM drive
• Graphics resolution: 800 x 600 pixels minimum
• Serial port: RS-232C
• MS Windows NT4.0, SP6
• MS Windows 2000, SP2
• MS Windows XP
Note
Internet Explorer 5.01 is also required.
• Peripheral or RS-232C port of PC with PLC CPU. Serial communications mode: Peripheral bus, Host Link, Toolbus, supported by CX-
Server.
• Communication cable: Cable CS1W-CN226 to connect to the peripheral port on the CPU (Not included in package).
• RS-232C port of PC with Configuration port on the Unit.
File handling: CX-Profibus supports overall handling of project files as well as network data.
• New:
• Open:
Start a new project.
Open an existing project file.
• Save (As): Save a project file.
• Export: Export project data to HTML.
• Properties:Edit project property information.
User management: Functionality of CX-Profibus can be limited as defined by several password protected access levels:
• Administrator
• Planning engineer
• Maintenance
• Operator
• Observer
CX-Profibus provides network tree view, from which hierarchy between
Master and slave devices can clearly be distinguished.
The following network functions are available:
• Network DTMs (i.e. devices) can be added or deleted, using drag and drop from the Device Catalogue.
• Network DTMs can be copied and moved from one location to another in the network view.
• DTM names can be edited by the user.
• Any change to the parameters of a DTM is clearly marked in the tree view, until the project is downloaded to the Master Unit.
The Device Catalogue maintains the installed device DTMs. After installation of a new DTM, the user must refresh the database. The Device
Catalogue provides the following functions:
• Update Device Catalogue.
• Add device DTMs to the network directly.
• Install a GSD file. This function allows copying of GSD files to a specific directory, after which they are available for the Generic Slave
DTM.
CX-Profibus provides the following additional support functions:
• Context sensitive help functions.
• Error logging.
• Monitoring of FDT communication between DTMs.
• Multi-language support.
13
CX-Profibus Configurator
Device setup
Item
Master setup
Bus parameter setup
Slave area setup
Monitoring functions
Additional Master functions
Support functions
Bus parameter setup
Address mapping setup
Monitoring functions
Support functions
General functions
I/O configuration setup
Parameter setup
Group setting
Monitoring functions
Support functions
Section 1-3
Specification
Device setup allows the user to:
• Select the PROFIBUS Master Unit’s unit number.
• Configure the communication link between the PC and the Unit. This function invokes the user interface of CX-Server.
• Test the Units communication link and read out the Unit’s information.
It allows enabling of Auto Addressing, to facilitate I/O data mapping, as well as defining the Unit’s behaviour in case of
• a network malfunction.
• a PLC mode change between PROGRAM and RUN/MONITOR mode.
The bus parameter setup allows the selection of baud rate and calculation and editing of specific bus parameters.
The Slave area setup allows the user to define the I/O Data mapping of the I/O Data from each of the slave devices on to the PLC memory areas.
• Master status read out.
• Slave status and slave diagnostics read-out.
• Read out of the Unit’s error log.
• Set remote slave address.
• Provide communication channels for PROFIBUS DP-V1 MSAC1 messages.
Note
These functions are implemented as of Unit version 2.0.
• Context sensitive help functions.
• Multi-language support.
The bus parameter setup allows the selection of baud rate and calculation and editing of specific bus parameters.
The address mapping setup shows an overview of the mapping of the I/
O data of each Slave on to the Unit’s memory. The mapping can be accomplished automatically, but the function also allows editing of individual address mappings.
• Master status read out.
• Slave status read-out.
• Context sensitive help functions.
• Multi-language support.
The Generic Slave DTM reads the contents of a specific GSD file located in a special sub-directory, and displays the setup options to the user. It supports
• GSD file revisions 1 and 2 (PROFIBUS DP functionality).
• GSD file revisions 3 (PROFIBUS DP-V1 functionality).
The I/O configuration setup function allows:
• Selection of device address.
• Enable/disable watchdog.
• Overview of available I/O modules.
• Selection of I/O modules, including Addition, Insertion and Removal of multiple modules.
The Parameter setup function:
• Setting of common as well as module dependent parameters.
• Setting of PROFIBUS DP Extension parameters.
• Setting of PROFIBUS DP-V1 dependent parameters.
The Group setup function allows definition of the group to which the associated slave device will belong.
The Monitoring functions provides a display of
• Standard Slave diagnostics flags.
• Extended diagnostics messages.
• Context sensitive help functions.
• Multi-language support.
14
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 1 Title
- 2 SYSMAC WS02-9094G CX-Profibus Ver. 1.0
- 8 About this Manual
- 6 TABLE OF CONTENTS
- 10 PRECAUTIONS
- 11 1 Intended Audience
- 11 2 General Precautions
- 11 3 Safety Precautions
- 12 4 Operating Environment Precautions
- 13 5 Application Precautions
- 15 6 Conformance to EC Directives
- 15 6-1 Applicable Directives
- 15 6-2 Concepts
- 15 6-3 Conformance to EC Directives
- 16 SECTION 1 Features and Specifications
- 17 1-1 Overview of PROFIBUS
- 17 1-1-1 Introduction
- 17 1-1-2 PROFIBUS Communication Protocol
- 19 1-1-3 Device Types
- 19 1-1-4 Bus Access Protocol
- 20 1-1-5 Diagnostic functions
- 21 1-1-6 Protection Mechanisms
- 21 1-1-7 Network Operation Modes
- 22 1-2 Setting up a PROFIBUS DP Network
- 22 1-2-1 Configuring the PROFIBUS Master
- 22 1-2-2 FDT/DTM Technology
- 23 1-2-3 GSD file Technology
- 25 1-3 CX-Profibus Configurator
- 25 1-3-1 CX-Profibus Features
- 28 1-3-2 Specifications
- 30 SECTION 2 Configuration Software
- 31 2-1 Installation Requirements
- 31 2-2 CX-Profibus
- 31 2-2-1 Starting CX-Profibus
- 32 2-2-2 CX-Profibus Main Window
- 35 2-2-3 Device Catalogue
- 37 2-2-4 Updating the Device Catalogue
- 37 2-2-5 Adding Devices to the Network
- 38 2-2-6 Saving and Opening Projects
- 38 2-2-7 Exporting to HTML
- 39 2-2-8 Error Logging and FDT Monitoring
- 41 2-2-9 Access Control and User Management
- 43 2-3 CS1/CJ1W-PRM21 PROFIBUS Master DTM
- 43 2-3-1 Configuration User Interface
- 54 2-3-2 Diagnostics User Interface
- 60 2-3-3 Connecting to the CS1/CJ1W-PRM21
- 63 2-4 C200HW-PRM21 PROFIBUS Master DTM
- 63 2-4-1 Configuration User Interface
- 68 2-4-2 Diagnostics User Interface
- 71 2-4-3 Connecting to the C200HW-PRM21
- 72 2-5 Generic Slave Device DTM
- 73 2-5-1 Configuration User Interface
- 81 2-5-2 Diagnostics User Interface
- 84 SECTION 3 Operation
- 85 3-1 Introduction
- 85 3-2 Setting up a network
- 87 3-2-1 Adding Devices to the Network
- 89 3-2-2 Changing Device and DTM Addresses
- 92 3-3 Configuring the Slave Devices
- 92 3-3-1 Defining the I/O configuration
- 95 3-3-2 Setting Parameters
- 96 3-3-3 Selecting the Group Assignment
- 98 3-4 Configuring the Master
- 98 3-4-1 Setting the Master Parameters
- 100 3-4-2 Setting the Bus Parameters
- 101 3-4-3 Defining and Changing I/O Mapping
- 102 3-4-4 Configuring CX-Server
- 104 3-4-5 Downloading the Configuration
- 105 3-5 I/O Communication Characteristics
- 105 3-5-1 I/O Data Configuration
- 105 3-5-2 Mapping I/O Data
- 112 3-5-3 Supported Data Types
- 113 3-6 Operating the Network
- 113 3-6-1 User Access to the Network
- 114 3-6-2 Changing PROFIBUS Mode of the Master Unit
- 115 3-6-3 Transmitting Global-Control Commands
- 118 3-6-4 Using Auto-CLEAR
- 119 3-7 Monitoring the Network
- 119 3-7-1 Monitoring the Master Unit and the Network
- 124 3-7-2 Monitoring Slave Status
- 125 3-7-3 Using the Error Log
- 128 SECTION 4 Troubleshooting and Maintenance
- 129 4-1 Overview
- 130 4-2 Troubleshooting the Network
- 130 4-2-1 Troubleshooting Parameter Download
- 131 4-2-2 Troubleshooting the Network using CX-Profibus
- 136 4-2-3 Troubleshooting I/O Communication
- 139 4-3 Troubleshooting Using the Error Log
- 139 4-3-1 Error Log Overview
- 140 4-3-2 Error Codes
- 142 Appendix A Configurator Error and Warning Messages
- 142 A-1 Warning Messages
- 143 A-2 Error Messages - Configuration
- 145 A-3 Error Messages - Communication
- 146 A-4 Error Messages - System
- 147 A-5 C200HW-PRM21 CIF Driver error messages
- 148 Index
- 152 Revision History