Omron C200HW-PRM21 Operation Manuals

PROFIBUS-DP Master Unit
OPERATION MANUAL
Cat. No. W349-E2-2
C200HW-PRM21
C200HW-PRM21
PROFIBUS-DP Master Unit
Produced May 2000
iv

Notice:

!
Caution
!
DANGER!
!
WARNING
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or dam­age to the product.
Indicates information that, if not heeded, is likely to result in loss of life or serious injury.
Indicates information that, if not heeded, could possibly result in loss of life or serious injury.
Indicates information that, if not heeded, could result in relatively serious or minor injury, damage to the product, or faulty operation.
OMRON Product References
All OMRON products are capitalised in this manual. The word “Unit” is also capitalised when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PLC” means Programmable Logic Controller and is not used as an abbreviation for anything else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
OMRON, 2000
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly 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.
Note Indicates information of particular interest for efficient and convenient operation
of the product.
1, 2, 3…Indicates lists of one sort or another, such as procedures, checklists, etc.
v
vi

TABLE OF CONTENTS

PRECAUTIONS .........................................................................................xi
1 Intended Audience........................................................................................................................................................xii
2 General Precautions......................................................................................................................................................xii
3 Safety Precautions ........................................................................................................................................................xii
4 Operating Environment Precautions.............................................................................................................................xii
5 Application Precautions...............................................................................................................................................xiii
6 EC Directives ..............................................................................................................................................................xiv
1 PROFIBUS-DP......................................................................................1
1-1 Introduction..............................................................................................................................................................2
1-2 Protocol architecture ................................................................................................................................................2
1-3 Device types.............................................................................................................................................................4
1-4 PROFIBUS-DP characteristics.................................................................................................................................4
1-5 Device Data Base files .............................................................................................................................................8
1-6 Profiles.....................................................................................................................................................................8
2 INSTALLATION.................................................................................. 9
2-1 Physical layout of the unit......................................................................................................................................10
2-2 Mounting the C200HW-PRM21 ............................................................................................................................13
2-3 Setting up a network...............................................................................................................................................14
3 SPECIFICATIONS AND PERFORMANCE..................................17
3-1 Overall Specifications............................................................................................................................................18
3-2 Performance ...........................................................................................................................................................20
4 CONFIGURATOR.............................................................................29
4-1 General...................................................................................................................................................................30
4-2 Setup ......................................................................................................................................................................31
4-3 Operation................................................................................................................................................................32
4-4 Debug mode...........................................................................................................................................................46
5 PLC INTERFACE..............................................................................51
5-1 Unit Settings...........................................................................................................................................................52
5-2 Input / Output Mailbox...........................................................................................................................................59
5-3 Control and status area...........................................................................................................................................60
5-4 LEDs ......................................................................................................................................................................70
6 MESSAGE COMMUNICATION, IOWR / IORD .........................73
6-1 Message communication........................................................................................................................................74
6-2 IOWR.....................................................................................................................................................................74
6-3 IORD......................................................................................................................................................................76
6-4 Messages................................................................................................................................................................77
7 TROUBLESHOOTING AND MAINTENANCE ...........................83
7-1 Error Indicators ......................................................................................................................................................84
7-2 Troubleshooting .....................................................................................................................................................84
7-3 Maintenance...........................................................................................................................................................90
vii
Appendices ..................................................................................................93
Appendix A Tips and sample programs....................................................................................................93
Appendix B GSD file for C200HW-PRM21 ..........................................................................................101
Appendix C CS1 PLC series compatibility.............................................................................................103
Index ..........................................................................................................105
Revision History .......................................................................................107
viii

About this Manual:

!
WARNING
This manual describes the installation and operation of the PROFIBUS-DP Master Unit and includes the sections described below.
Please read this manual carefully and be sure you understand the information provided before attempt­ing to install and operate the PROFIBUS-DP Master Unit. Be sure to read the precautions provided
in the following section. Section 1 gives a brief description of PROFIBUS-DP. Section 2 describes the installation of the C200HW-PRM21. Section 3 describes the overall specifications and the communication performance of the Unit. Section 4 describes the software for configuring the PROFIBUS-DP network. Section 5 describes the interface with the user. Section 6 describes the message communication. Section 7 describes the troubleshooting procedures and maintenance operations.
Failure to read and understand the information provided in this manual may result in personal 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.
ix
x

PRECAUTIONS

This section provides general precautions for using the PROFIBUS-DP Master Units, Programmable Controllers, and related devices.
The information contained in this section is important for the safe and reliable application of the PROFIBUS-DP Master Units. You must read this section and understand the information contained before attempting to set up or operate a PROFIBUS-DP Master Unit and PLC system.
1 Intended Audience........................................................................................................................................................xii
2 General Precautions......................................................................................................................................................xii
3 Safety Precautions ........................................................................................................................................................xii
4 Operating Environment Precautions.............................................................................................................................xii
5 Application Precautions...............................................................................................................................................xiii
6 EC Directives ..............................................................................................................................................................xiv
xi
Operating Environment Precautions
!
WARNING
!
WARNING
!
WARNING

1 Intended Audience

This manual is intended for the following personnel, who must also have 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 specifications 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, amusement machines, safety equipment, and other systems, machines, and equipment 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 installing and operating OMRON PROFIBUS-DP Master Units. Be sure to read this manual before operation and keep this manual close at hand for reference during operation.
It is extremely important that a PLC and all PLC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC system to the above mentioned applications.

3 Safety Precautions

Never attempt to disassemble any Units while power is being supplied. Doing so may result in serious electrical shock or electrocution.
Never touch any of the terminals while power is being supplied. Doing so may result in serious electrical shock or electrocution.

4 Operating Environment Precautions

Do not operate the control system in the following places.
Where the PLC is exposed to direct sunlight.
Where the ambient temperature is below 0°C or over 55°C.
Where the PLC may be affected by condensation due to radical
temperature changes.
Where the ambient humidity is below 10% or over 90%.
Where there is any corrosive or inflammable gas.
Where there is excessive dust, saline air, or metal powder.
Where the PLC is affected by vibration or shock.
Where any water, oil, or chemical may splash on the PLC.
xii
Application Precautions
The operating environment of the PLC System can have a large effect on the
!
Caution
!
Caution
!
Caution
!
WARNING
longevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PLC System. Be sure that the operating environment is within the specified conditions at installation and remains within the specified conditions during the life of the system.

5 Application Precautions

Observe the following precautions when using the PROFIBUS-DP Master Units or the PLC.
Failure to abide by the following precautions could lead to serious or possibly fatal injury. Always heed these precautions.
Always ground the system to 100 or less when installing the system to
protect against electrical shock.
Always turn OFF the power supply to the PLC before attempting any of the
following. Performing any of the following with the power supply turned ON may lead to electrical shock:
Mounting or removing any Units (e.g., I/O Units, CPU Unit, etc.) or
memory cassettes.
Assembling any devices or racks.
Connecting or disconnecting any cables or wiring.
Failure to abide by the following precautions could lead to faulty operation of the PLC or the system or could damage the PLC or PLC Units. Always heed these precautions.
Use the Units only with the power supplies and voltages specified in the
operation manuals. Other power supplies and voltages may damage the Units.
Take measures to stabilise the power supply to conform to the rated supply
if it is not stable.
Provide circuit breakers and other safety measures to provide protection
against shorts in external wiring.
Do not apply voltages exceeding the rated input voltage to Input Units. The
Input Units may be destroyed.
Do not apply voltages exceeding the maximum switching capacity to Output
Units. The Output Units may be destroyed.
Always disconnect the LG terminal when performing withstand voltage
tests.
Install all Units according to instructions in the operation manuals. Improper
installation may cause faulty operation.
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 power supply lines.
Be sure to tighten Backplane screws, terminal screws, and cable connector
screws securely.
Do not attempt to take any Units apart, to repair any Units, or to modify any
Units in any way.
The following precautions are necessary to ensure the general safety of the system. Always heed these precautions.
Provide double safety mechanisms to handle incorrect signals that can be
xiii

6 EC Directives

generated by broken signal lines or momentary power interruptions.
Provide external interlock circuits, limit circuits, and other safety circuits in
addition to any provided within the PLC to ensure safety.
PROFIBUS-DP Master Units that meet EC directives also meet the common emission standard (EN50081-2). When PROFIBUS-DP Master Units are built into equipment, however, the measures necessary to ensure that the standard is met will vary with the overall configuration, the other devices connected, and other conditions. You must therefore confirm that EC directives are met for the overall machine or device.
xiv
xiv

1 PROFIBUS-DP

This section gives a brief description of PROFIBUS-DP.
1-1 Introduction................................................................................................................................................................2
1-2 Protocol architecture ..................................................................................................................................................2
1-3 Device types...............................................................................................................................................................4
1-4 PROFIBUS-DP characteristics ..................................................................................................................................4
1-4-1 Bus Access Protocol .........................................................................................................................................4
1-4-2 Data throughput...............................................................................................................................................5
1-4-3 Diagnostics functions .......................................................................................................................................6
1-4-4 Protection mechanisms.....................................................................................................................................6
1-4-5 Network states ..................................................................................................................................................7
1-5 Device Data Base files ...............................................................................................................................................8
1-6 Profiles.......................................................................................................................................................................8
1
Introduction
!
Caution

1-1 Introduction

Multi-vendor
Standard EN 50170
High speed
Process Automation
Section 1-1
PROFIBUS is a vendor-independent, open fieldbus standard for a wide range of applications in manufacturing, process and building automation. Vendor independence and openness are guaranteed by the PROFIBUS standard EN 50170. With PROFIBUS, devices of different manufacturers can communicate without special interface adjustments.
The PROFIBUS family consists of three compatible versions:
PROFIBUS-DP DP stands for Decentralised Periphery. It is optimised for high speed and low-
cost interfacing, especially designed for communication between automation control systems and distributed I/O at the device level.
PROFIBUS-PA PA stands for Process Automation. It permits sensors and actuators to be
connected on one common bus line even in intrinsically-safe areas. It permits data communication and power supply over the bus using 2-wire technology according the international standard IEC 1158-2.
Higher level
Uniform bus access protocol
PROFIBUS-FMS FMS stands for Fieldbus Message Specification. This version is the general-
purpose solution for communication tasks at a higher level. Powerful services open up a wide range of applications and provide great flexibility. It can also be used for extensive and complex communications tasks.
PROFIBUS-DP and PROFIBUS-FMS use the same transmission technology and a uniform bus access protocol. Thus, both versions can be operated simultaneously on the same cable. However, FMS field devices cannot be controlled by DP masters or vice versa.
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 only describes PROFIBUS-DP.

1-2 Protocol architecture

OSI
The PROFIBUS protocol architecture is oriented on the OSI (Open System Interconnection) reference model in accordance with the international standard ISO 7498. Layer 1 (physical layer) of this model defines the physical transmission characteristics. Layer 2 (data link layer) defines the bus access protocol. Layer 7 (application layer) defines the application functions.
2
Protocol architecture
Section 1-2
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 RS-485 / Fibre Optics
Layer 1, 2 and user interface
Transmission medium
High-speed, inexpensive
Easy installation
Cable length
PROFIBUS-DP uses layers 1 and 2, and the user interface. Layers 3 to 7 are not defined. 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 PROFIBUS-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. Twisted pair shielded copper cable with one conductor pair is used.
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 stations or step-by-step commissioning of the system without influencing the other stations. Later expansions have no effect on stations which are already in operation.
Transmission speeds between 9.6 kbit/s and 12 Mbit/s can be selected. One unique transmission speed is selected for all devices on the bus when the system is commissioned.
The maximum cable length depends on the transmission speed (see table below). The specified cable lengths are based on type-A cable (see section 2-3-1). The length can be increased by the use of repeaters. The use of more than 3 repeaters in series is not recommended.
Baud rate (kbit/s) Distance/segment (m)
9.6 1200
19.2 1200
93.75 1200
187.5 1000 500 400
1500 200 3000 100 6000 100
12000 100
3
Device types

1-3 Device types

Master devices
Active stations DPM1, DPM2
Slave devices
Passive stations
Section 1-3
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 when it holds the bus access rights (the token). Masters are also called active stations in the PROFIBUS protocol. There are two types of master devices: DP master class 1 (DPM1) and DP master class 2 (DPM2). A DPM1 is a central controller which exchanges information with the decentralised stations (i.e. DP slaves) within a specified message cycle. 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.
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. Slaves are also called passive stations.
The C200HW-PRM21 is a DPM1 device.

1-4 PROFIBUS-DP characteristics

1-4-1 Bus Access Protocol

Layer 2
Medium Access Control
Token passing
Polling procedure
The bus access protocol is implemented by layer 2. This protocol also includes data security and the handling of the transmission protocols and telegrams.
The Medium Access Control (MAC) specifies the procedure when a station is permitted to transmit data. The token passing procedure is used to handle the bus access between master devices and the polling procedure is used to handle the communication between a master device and its assigned slave device(s).
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 telegram 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.
The polling or master-slave procedure permits the master, which currently owns the token, to access the assigned slaves. The picture below shows a possible configuration.
4
PROFIBUS-DP characteristics
The configuration shows three active stations (masters) and six passive stations (slaves). The three masters form a logical token ring. When an active station receives the token telegram, it can perform its master role for a certain period of time. During this time it can communicate with all assigned slave stations in a master-slave communication relationship and a DPM2 master can communicate with DPM1 master stations 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: an active station sends an unacknowledged
Multicast communication: an active station sends an unacknowledged
Section 1-4
message to all other stations (master and slaves).
message to a predetermined group of stations (master and slaves).

1-4-2 Data throughput

Transmission time
At 12 Mbit/s PROFIBUS-DP requires only about 1 ms for the transmission of 512 bits of input data and 512 bits of output data distributed over 32 stations. The figure below shows the typical PROFIBUS-DP transmission time depending on number of stations and transmission speed. The data throughput will decrease when more than one master is used.
5
PROFIBUS-DP characteristics
Bus cycle time vs number of slaves
Section 1-4
25.0
Bus cycle time [ms]
Conditions: Each slave has 2 bytes of input data and 2 bytes of output data.

1-4-3 Diagnostics functions

Extensive diagnostics
Device related diagnostics
Module related diagnostics
Channel related diagnostics
The extensive diagnostic functions of PROFIBUS-DP enable fast location of faults. The diagnostic messages are transmitted over the bus and collected at the master. These messages are divided into three levels:
Device related diagnostics
These messages concern the general operational status of the whole device (i.e. overtemperature or low voltage).
Module related diagnostics
These messages indicate that a fault is present in a specific I/O range (e.g. an 8-bit output module) of a station.
Channel related diagnostics
These messages indicate an error at an individual input or output (e.g. short circuit on output 5).
20.0
15.0
10.0
5.0
0.0 0 4 8 12 16 20 24 28 32
500 1500 3000 12000
Slaves

1-4-4 Protection mechanisms

Time monitoring
At the master
At the slave
6
PROFIBUS-DP provides effective protection functions against parameterisa­tion errors or failure of the transmission equipment. Time monitoring is provided at the DP master and at the DP slaves. The monitoring interval is specified during the configuration.
Protection mechanism at the master.
The DPM1 monitors data transmission of the slaves with the Data_Control_Timer. A separate control timer is used for each slave. This timer expires when correct data transmission does not occur within the monitoring interval. The user is informed when this happens. If the automatic error reaction (Auto_clear = TRUE) has been enabled, the DPM1 exits its Operate state, switches the outputs of all assigned slaves to fail-safe status and changes to its Clear status (see also next section).
Protection mechanism at the slave.
The slave uses the watchdog control to detect failures of the master or the transmission line. If no data communication with the master occurs within the watchdog control interval, the slave automatically switches its outputs to the fail-safe status. Also, access protection is required for the inputs and outputs of the DP slaves operating in multi-master systems. This ensures that direct access
PROFIBUS-DP characteristics

1-4-5 Network states

PROFIBUS-DP distinguishes four different states.
Offline
Stop
Clear
Operate
Auto_clear
Fail-safe state
Offline
Stop
Clear
Operate
When an error occurs during the data transfer phase of the DPM1, the ‘Auto_clear’ configuration parameter determines the subsequent actions. If this parameter is set to false, the DPM1 remains in the Operate state. If set to true, the DPM1 switches the outputs of all assigned DP slaves to the fail-safe state and the network state changes to the Clear state.
Section 1-4
can only be performed by the authorised master. For all other masters, the slaves offer an image of their inputs and outputs which can be read from any master, even without access rights.
Communication with all DP participants is stopped.
Communication between DPM1 and DP slaves is stopped. Only communi­cation between DPM1 and DPM2 is possible.
DPM1 master tries to set parameters, check the configuration, and perform data exchange with its associated DP-slaves. The data exchange comprises reading the inputs of the DP-slaves and writing zero’s to the outputs of the DP-slaves.
DPM1 master exchanges data with its assigned slaves, inputs are read and outputs are written. Beside this, the DPM1 cyclically sends its local status to all assigned DP slaves (with a multicast) at a configurable time interval.
7
Device Data Base files

1-5 Device Data Base files

Section 1-5
Plug-and-play
DDB-file, GSD-file
General section
DP-master section
DP-slave section
Configurator
To achieve simple plug-and-play configuration of the PROFIBUS-DP network, the characteristic features of a device are specified in a file. This file is called a DDB-file (Device Data Base file) or a GSD-file (Gerätestammdaten file). The GSD files are prepared individually by the vendor for each type of device according 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 vendor and device names, hardware and software release states, station type and identification number, protocol specifica­tion and which baud rates are supported.
DP master-related specifications
This section contains all parameters which only apply to DP master devices (i.e. maximum memory size for master parameter set, maximum number of entries in the list of active stations or the maximum number of slaves the master can handle).
DP slave-related specifications
This section contains all specification related to slaves (i.e. minimum time between two slave poll cycles, specification of the inputs and outputs and about consistency of the I/O data).
The device data base file of each device is loaded in the configurator and downloaded to the master device. The device data base file for the C200HW­PRM21, named OC_1656.GSD, is provided with the configuration software.
Section 4 will describe the configurator package SyCon, which is used for configuration of the C200HW-PRM21, in more detail.

1-6 Profiles

Exchanging 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 user data, it is only responsible for the transmission of this data. The format of user data is defined in so called profiles. Profiles may reduce engineering costs since the meaning of application-related parameters is specified precisely. Profiles have for instance been defined for drive technology, encoders, and for sensors / actuators.
8

2 Installation

This section describes the installation of the C200HW-PRM21
2-1 Physical layout of the unit........................................................................................................................................10
2-1-1 LEDs...............................................................................................................................................................10
2-1-2 Rotary Switch .................................................................................................................................................10
2-1-3 BUS Connector...............................................................................................................................................11
2-1-4 Configurator Connector.................................................................................................................................12
2-1-5 Termination Switch.........................................................................................................................................13
2-2 Mounting the C200HW-PRM21 ..............................................................................................................................13
2-3 Setting up a network.................................................................................................................................................14
2-3-1 Fieldbus cabling.............................................................................................................................................14
2-3-2 Configuring the fieldbus.................................................................................................................................16
9
Physical layout of the unit

2-1 Physical layout of the unit

The figure below shows the side and front views of the C200HW-PRM21.
Section 2-1

2-1-1 LEDs

2-1-2 Rotary Switch

The front view shows the indicator LEDs, the ‘Machine No.’ rotary switch, two 9-pin female sub-D connectors, and the bus termination switch.
The C200HW-PRM21 has 6 indicator LEDs. The two LEDs on the left side give a status indication of the unit in general. The four LEDs on the right side are related to the status of the PROFIBUS-DP network Refer to section 5-4 for a detailed (functional) description of the LEDs.
The rotary switch is used to set the unit number (or so called “Machine No.”).
The unit number setting determines which words in the Internal Relay and Data Memory Areas are allocated to the Master Unit.
The allowed unit number setting range depends on the PLC CPU Unit being used, as shown in the following table.
10
Physical layout of the unit
Section 2-1
Note

2-1-3 BUS Connector

CPU Unit models Unit number
C200HS, C200HE, C200HG-CPU3[ ]-E/CPU4[ ]-E, C200HX-CPU3[ ]-E/CPU4[ ]-E
C200HG-CPU5[ ]-E/CPU6[ ]-E, C200HX-CPU5[ ] -E/CPU6[ ]-E Cs1-series
setting range
0 to 9 Single-digit
0 to F
Setting
method
hexadecimal
Any unit number in the setting range is allowed as long as it has not been set on another Special I/O Unit connected to the PLC. If the same unit number is used for the C200HW-PRM21 and another Special I/O Unit, an I/O Unit Over error will occur in the PLC and it will not be possible to start up the PROFIBUS-DP Network.
Always turn OFF the power to the PLC before changing the unit number setting. The Unit only reads the unit number setting during the initialisation after power-up, so not after a software reset.
Use a small flat-blade screwdriver to turn the rotary switch; be careful not to damage the switch.
The fieldbus connector is a 9-pin female sub-D connector, as recommended by the PROFIBUS standard EN 50170.
Pin No. Signal Description
1 Shield Shield / protective ground 2 - ­3 B-line Data signal 4 RTS Control signal for repeaters (direction control) (TTL) 5 DGND Data ground 6 VP Supply voltage of the terminator resistance (5V) 7 - ­8 A-line Data signal 9 - -
The signals DGND and VP are used internally to power the bus terminator (see section 2-1-5).
The signal RTS (TTL signal) is meant for the direction control of repeaters if repeaters without self control capability are used.
The PROFIBUS standard defines 24 V remote powering signals for pin 2 and pin 7. These signals are optional and have not been implemented in this Unit.
11
Physical layout of the unit

2-1-4 Configurator Connector

The configurator connector is a 9-pin female sub-D connector.
Pin No. Signal Description
1 FG Frame Ground (shield) 2 SD Send Data 3 RD Receive Data 4 RS Request to Send 5 CS Clear to Send 6 - ­7 - ­8 - ­9 SG Signal Ground
The pin assignment of this connector is the same as the that of the RS-232C port provided on most C200H-series CPUs. This enables the use of the same serial communication cable for both the CPU and the C200HW-PRM21.
Section 2-1
The wiring of the RS-232C cable is shown in the picture below.
PRM21
Personal computer
Configurator port
Signal Pin No. Pin No. Signal
FG 1
shielded cable
1 ­SD 2 2 RD RD 3 3 SD RS 4 4 DTR CS 5 5 SG
- 6 6 DSR
- 7 7 RS
- 8 8 CS
SG 9 9 -
Case Case
12
Mounting the C200HW-PRM21

2-1-5 Termination Switch

The termination switch has two positions. When the switch is set to the right (as shown below), the termination is disabled. By setting the switch to the left, the termination is enabled.
Enabling the termination connects the two data lines using a 220 resistor which is connected to VP and DGND via two 390 resistors (see figure below). The powering of the terminator resistor ensures a defined idle state potential on the data lines.
To ensure proper functioning up to the highest baud rate, the bus cable has to be terminated on both ends of the cable.
VP
Section 2-2
390
B-line
220
A-line
390
DGND

2-2 Mounting the C200HW-PRM21

The PROFIBUS-DP Master Unit (C200HW-PRM21) can be mounted to the CPU Rack or Expansion I/O Rack of any CS1, C200HX, -HG, -HE, or -HS PLC. Refer to the PLC’s Installation Guide for details on mounting Units.
Limitations
There are some limitations on mounting the Master Unit.
The Master Unit is a Special I/O Unit. It can be mounted in any slot in the
Backplane of a CPU Rack or Expansion I/O Rack as long as its unit number is not the same as the unit number of another Special I/O Unit within the system.
The current consumption all of units mounted on one backplane should not
exceed the maximum output of the power supply. The C200HW-PRM21 consumes up to 600 mA from the 5V supply. Verify the characteristics of all other units on their respective Instruction Sheets.
The maximum number of Master Units that can be mounted depends on
the PLC CPU type.
13
Setting up a network
C200HS-CPU[ ] (all models)
C200HE-CPU11/32/42
C200HG-CPU33/43 C200HX-CPU34/44
C200HG-CPU53/63 C200HX-CPU54/64 CS1-series

2-3 Setting up a network

2-3-1 Fieldbus cabling

Section 2-3
CPU Unit models Max. No. of Master Units
10
16
Bus structure
Cable type
Maximum length
All devices are connected in a bus structure (i.e. line). Up to 32 stations (master or slaves) can be connected in one segment. The bus must be terminated at the beginning and at the end of each segment. When more than 32 stations are used, repeaters must be used to link the individual bus segments. The maximum number of stations that can be connected to a C200HW-PRM21 is 124.
The standard EN 50170 specifies to use line type A of shielded twisted pair cables with the following parameters:
Parameter Value
Impedance 135 to 165 Capacitance per unit length < 30 pF/m Loop resistance 110 /km Core diameter 0.64 mm Core cross section > 0.34 mm
2
The maximum length of the cable depends on the transmission speed. The cable lengths specified in the table below are based on line type A.
Baud rate (kbit/s) Distance/segment (m)
9.6, 19.2, 93.75 1200
187.5 1000 500 400
1500 200
3000, 6000, 12000 100
Repeaters
Stub lines
14
The communication distance can be increased by the use of repeaters. It is not recommended to use more than 3 repeaters in series. A repeater also must be included in the count of the number of stations per segment to determine the bus load (so only 31 ‘normal’ devices are possible per segment if a repeater is used)
Stub lines should be avoided for data transmission speeds of more than 500 kbit/s. Plug connectors available on the market permit the incoming data cable and the outgoing data cable to be connected directly in the plug connector. This means that stub lines do not have to be used, and the bus plug connector can be connected and disconnected at all times without interrupting data communication with the other stations.
Loading...
+ 96 hidden pages