PRM User Manual - en
PRM User Manual - en
PRM User Manual - en
Version 1.2
User Manual
12-2013
S1A64489.02
www.schneider-electric.com
Table of Contents
I. Safety Information .................................................................................................................. 5
II. General Safety Instructions .................................................................................................. 6
III. About the Book ...................................................................................................................... 9
IV. PRM System Overview ........................................................................................................ 10
1. Presentation ........................................................................................................................... 11
2. System Overview ................................................................................................................... 13
3. When using Master DTM or Gateway DTM or CommDTM ................................................... 16
PRM Master DTM .................................................................................................................. 17
PRM Gateway DTM ............................................................................................................... 18
PRM CommDTM .................................................................................................................... 19
4. Hardware and Software requirements ................................................................................... 20
Computer ............................................................................................................................... 21
PLCs....................................................................................................................................... 23
Profibus devices ..................................................................................................................... 24
Miscellaneous ........................................................................................................................ 25
V. Hardware: Installation and Characteristics ....................................................................... 26
1. Overview ................................................................................................................................ 27
2. Installation of the Module ....................................................................................................... 29
PRM IP address setting, rotary switches ............................................................................... 30
PRM module mounting........................................................................................................... 32
Ground connection ................................................................................................................. 34
Profibus connection................................................................................................................ 35
Ethernet Connection .............................................................................................................. 36
Power Supply ......................................................................................................................... 37
3. Hardware characteristics........................................................................................................ 39
Electrical Characteristics ........................................................................................................ 40
Standards ............................................................................................................................... 41
Condition of use ..................................................................................................................... 42
VI. Software installation ............................................................................................................ 43
4. PRM Master DTM Installation ................................................................................................ 44
5. PRM Gateway DTM installation ............................................................................................. 49
6. PRM CommDTM installation .................................................................................................. 54
7. Profibus Devices DTMs installation ....................................................................................... 59
8. Update the DTM Catalog of the FDT frame ........................................................................... 63
VII. Configuration of the PRM using the Master DTM ............................................................. 64
9. Description in the Unity Pro DTM browser ............................................................................. 65
10. Settings in the Master DTM ................................................................................................... 69
Introduction ............................................................................................................................ 70
PRM general settings ............................................................................................................. 73
Profibus Master Parameters .................................................................................................. 77
IO scanning parameters ......................................................................................................... 83
Profibus devices parameters ................................................................................................. 85
Profibus devices I/O variables ............................................................................................... 89
11. Link creation and update in the I/O scanner .......................................................................... 92
12. Print ........................................................................................................................................ 94
VIII. Configuration of the PRM using the Gateway DTM .......................................................... 95
13. Description in the Unity Pro DTM browser ............................................................................. 96
14. Settings in the Gateway DTM .............................................................................................. 102
Introduction .......................................................................................................................... 103
PRM general settings ........................................................................................................... 106
Important Information
NOTICE Read these instructions carefully, and look at the equipment to become familiar with
the device before trying to install, operate, or maintain it. The following special
messages may appear throughout this documentation or on the equipment to warn
of potential hazards or to call attention to information that clarifies or simplifies a
procedure.
DANGER
DANGER indicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation which, if not avoided, can
result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation which, if not avoided, can
result in minor or moderate injury.
NOTICE
Notice is used to address practices not related to physical injury.
PLEASE NOTE Electrical equipment should be installed, operated, serviced, and maintained only by
qualified personnel. No responsibility is assumed by Schneider Electric for any
consequences arising out of the use of this material.
A qualified person is one who has skills and knowledge related to the construction
and operation of electrical equipment and its installation, and has received safety
training to recognize and avoid the hazards involved.
2. Personnel qualifications
Only qualified persons are authorized to install, use and service the products. Use by unqualified
persons or failure to follow the safety instructions of this document, the manuals and/or those affixed to
the devices, can result in irremediable harm or damage to persons and equipment. The following
personnel are deemed to be qualified persons for:
• Equipment operation: Personnel who operate the machines and/or processes via a Human Machine
Interface connected to the PLC. Operators cannot modify the PLC configuration (hardware or software)
or its application program. The PLC must be used by persons who have received training and have been
informed of the major risks involved in working in an industrial environment.
• Preventive and corrective maintenance: Persons who modify the PLC hardware configuration and/or its
application program and install the software updates supplied by the manufacturer. These persons must:
- Be trained in PLC programming and operation and
- Have the experience and technical knowledge required to be aware of the risks (electrical
hazards in particular) involved in their job and the ways of reducing these risks for themselves,
third parties and the equipment being used.
3. Usage compliance
The products described in the current documentation comply with currently applicable European
Directives (CE marking). However, they can only operate correctly with the applications for which they
were intended as described in the documentation, and with approved products.
As a general rule, if all the handling, transportation, and storage recommendations and installation,
operation and maintenance instructions are followed, the products will operate correctly without risk for
personnel or hardware.
5. Device operation
Because PLC’s are components of a control system, the protection of the entire automated system,
including that of the installation and the application, cannot be dealt with in this document. For further
information, see IEC 1131-4, describing risk reduction measures for PLC users.
The system designer should use devices external to the PLC to provide protection against un-signaled
active internal PLC faults which are deemed dangerous to the application. Fault remediation may require
various technologies such as mechanical, electromagnetic, pneumatic or hydraulic solutions (i.e.: direct
wiring of the limit switch and emergency stop detectors on movement control contactor coils).
To protect against dangerous faults that can affect the output and pre-actuator circuits, it is advisable to
make use of the PLC's extensive processing capacity (i.e.: its ability to use input control to monitor the
proper execution of program commands).
See the documentation of the specific products involved for more information on operation safety.
7. Environmental conditions
In the industry, the micro-environmental conditions surrounding the electronic devices can be very
diverse. For this reason, the following rules concerning the PLCs and their associated modules must be
followed.
There are two types of equipment:
• "Open" equipment can have an active and accessible electrical component and must be incorporated
into other units designed for protection (cabinets, chests, etc.).
• "Closed" equipment is enclosed on all sides, except maybe on the mounting side to avoid the
personnel coming into accidental contact with active and mobile parts inside the device and to protect it
At a Glance
Document Scope This manual describes how to install and configure the TCSEGPA23F14F
communication module, hereafter called Profibus Remote Master or PRM.
Related
Documents
Title of documentation Reference Number
Ethernet Network Modules – User Manual 35006192.11
Unity Pro – Operating Modes (Chapter FDT container) 33003101.07
Modicon M340 Communication – Ethernet (Chapter on
31007131.04
Software configuration / IO scanner)
Premium Communication – Ethernet (Chapter on
35006192.09
Software configuration / IO scanner)
Quantum Communication – Ethernet (Chapter on 33002467.03
Software configuration / IO scanner)
Modicon M580 System Planning Guide HRB666
Modicon M580 Remote I/O Module Installation and EIO0000001587
Configuration Guide
Validity Note The data and illustrations found in this book are not binding. We reserve the right to
modify our products in line with our policy of continuous product development. The
information in this document is subject to change without notice and should not be
construed as a commitment by Schneider Electric.
Product related Schneider Electric assumes no responsibility for any mistakes that may appear in
Warnings this document. If you have any suggestions for improvements or amendments or
have found mistakes in this publication, please notify us.
No part of this document may be reproduced in any form or by any means,
electronic or mechanical, including photocopying, without express written permission
of Schneider Electric.
All pertinent state, regional, and local safety regulations must be observed when
installing and using this product. For reasons of safety and to ensure compliance
with documented system data, only the manufacturer should perform repairs to
components.
When controllers are used for applications with technical safety requirements,
please follow the relevant instructions.
Failure to use Schneider Electric software or approved software with our hardware
products may result in improper operating results.
Failure to observe this product related warning can result in injury or equipment
damage.
User Comments We welcome your comments about this document. You can reach us by e-mail at
techpub@schneider-electric.com
Scope of this Part This part contains the overview of the PRM and its operating environment.
Overview This chapter provides an overview of the Profibus Remote Master (PRM) module.
General The PRM is a standalone module designed to provide Profibus DPV0 & DPV1
Description master capability to the M340, Premium and Quantum ranges. It is integrated in the
PLC architecture as a Modbus TCP slave.
The Profibus configuration is done using the FDT/DTM technology. A software
package of 4 DTMs is delivered with the PRM:
• The “PRM Master DTM” to be used inside Unity Pro, as a Profibus configuration
tool capable of configuring the PRM to manage cyclic exchanges for Premium
TSXETYxxx, Quantum 140NOExxx and M340 BMXNOExxx.
• The “PRM Gateway DTM” to be used inside Unity Pro, as a Profibus configuration
tool capable of configuring the PRM as a Gateway DTM for the M580 Embedded
CPU master DTM and the future BMENOC0301 for the M580.
• The “Generic Profibus Device DTM” for devices delivered without a Device DTM
but having a GSD file,
• The “PRM CommDTM” to be used inside any FDT frame for communicating with
Profibus devices from a Device DTM through the PRM.
The PRM module has a Premium single width module form factor. It can be
mounted standalone on a DIN rail, a grid or a panel, or as a Premium module on the
Premium rack.
The PRM Master DTM or the PRM Gateway DTM provides the elements for the
PRM module configuration and control by the PLC inside Unity Pro, including the
Profibus configuration, the scan of the PRM process image by the PLC on Ethernet
and Profibus device variable creation.
Several PRM modules can be connected to the same Ethernet network.
Overview This section presents an overview of the system in which the PRM is integrated on a
hardware and software point of view.
Scope of this Chapter This chapter describes the features of PRM Master DTM, Gateway DTM, and
CommDTM and the conditions of their use.
At a Glance Presentation of the PRM Master DTM interface and its Profibus DP services
management
Presentation
FDT frame Comm DTM Device DTM
The PRM Master DTM is included in the PRM module software package. It is a
Communication DTM (Device Type Manager).
It is designed for use with Unity Pro which is a FDT frame application.
In addition to its standard CommDTM features, it offers the following ones:
• Configuration of the PRM (General configuration, Profibus DPV0 and DPV1
configuration, IO mapping)
• Generation of configuration file and download the configuration from DTM into the
PRM
• PRM module diagnostics (General and Profibus information) and Profibus device
diagnostics
• Profibus fieldbus discovery capability
• Link with Unity Pro by automatically exporting device variable descriptions and
generating Ethernet IO Scanner lines in the PLC configuration
Also included is a Generic Profibus Device DTM, usable within Unity Pro in relation
to the PRM master DTM. It enables the configuration of any Profibus device, for
which no device DTM is available, as long as it has a GSD file. This DTM will parse
the GSD file to evaluate information needed to start the device by a DPV0 and
DPV1 master and to get its IO Mapping.
Profibus DP services
DP services Class Yes/No From where
Class 1 Yes PLC
DPV0
Class 2 Yes PLC
Class 1 Yes PLC
DPV1 PLC
Class 2 Yes Master DTM
Device DTM
The PRM Gateway DTM is included in the PRM module software package. It is a
Gateway DTM (Device Type Manager).
It is designed for use with Unity Pro which is a FDT frame application.
In addition to its standard Gateway DTM features, it offers the following ones:
• Configuration of the PRM (General configuration, Profibus DPV0 and DPV1
configuration, IO mapping)
• Generation of configuration file and download the configuration from DTM into the
PRM
• PRM module diagnostics (General and Profibus information) and Profibus device
diagnostics
• Profibus fieldbus discovery capability
• Link with Unity Pro by automatically exporting device variable descriptions and
generating Ethernet IO Scanner lines in the PLC configuration
The PRM Gateway DTM does not include the Generic Profibus Device DTM, usable
within Unity Pro in relation to the PRM gateway DTM. Install the PRM Master DTM
to get the Generic Profibus Device DTM. The Generic Profibus Device DTM enables
the configuration of any Profibus device, for which no device DTM is available, as
long as it has a GSD file. This DTM will parse the GSD file to evaluate information
needed to start the device by a DPV0 and DPV1 master and to get its IO Mapping.
Profibus DP services
DP services Class Yes/No From where
Class 1 Yes PLC
DPV0
Class 2 Yes PLC
Class 1 Yes PLC
DPV1 PLC
Class 2 Yes Gateway DTM
Device DTM
At a Glance Presentation of the PRM CommDTM interface and its Profibus DP services
management
Presentation
FDT frame Comm DTM Device DTM
Unity Pro
Pactware PRM
Manufacturer
or CommDTM
Fieldcare
NOTE: The PRM master DTM and PRM CommDTM can be used simultaneously
inside Unity Pro:
• It is generally useful when Profibus network contains few devices that are not
incorporated in the Data-exchange (cyclic) communication.
• It can also be a workaround for manufacturer device DTMs that does not provide
correct device class 1 settings. In this case, use the generic Profibus Device
DTM based on the device GSD with the PRM Master DTM. But the device DTM
can be used also in parallel with the CommDTM.
Profibus DP services
DP services Class Yes/No From where
Class 1 No
DPV0
Class 2 No
Class 1 No
DPV1
Class 2 Yes CommDTM
Scope of this Chapter This chapter contains the description of hardware and software required for setting
up the PRM module as well as its operating environment
Hardware
For the PRM Master DTM and PRM Gateway DTM, the Operating System and the
Hardware are the same as UnityPro Software.
The Hardware requirements for the PRM Master DTM and PRM Gateway DTM are
as follows:
System with Microsoft Windows 7 Professional 32-bits /64-bits (WOW64)
System: Pentium 2.4 GHz Processor or higher, recommended 3.0 GHz
RAM memory: 2 GB minimum; recommended: 3 GB
Hard disc: Minimum available free space 8 GB, recommended 20 GB.
Operating System: Microsoft Windows 7 Professional edition 32/64 bit system with
Service Pack 1 (SP1)
Drive: DVD R, recommended DVD R/W drive
Display: Min VGA (800 × 600); recommended SVGA (1024 × 768 or more) with
high color 24 bits
Peripherals: A Microsoft Mouse or compatible pointing device
Web Access: Microsoft Internet Explorer 5.5 or higher
Others: Ethernet or WIFI for connecting to the Devices
or
System with Microsoft Windows XP Professional Edition
System: Pentium 1.2 GHz Processor or higher, recommended 3.0 GHz
RAM memory: 1 GB minimum; recommended: 2 GB
Hard disc: Minimum available free space 8 GB, recommended 20 GB.
Operating System: Microsoft Windows XP Professional edition 32/64 bit system
with Service Pack 3 (SP3)
Drive: DVD R, recommended DVD R/W drive
Display: Min VGA (800 × 600); recommended SVGA (1024 × 768 or more) with
high color 24 bits
Peripherals: A Microsoft Mouse or compatible pointing device
Web Access: Microsoft Internet Explorer 5.5 or higher
Others: Ethernet or WIFI for connecting to the Devices
Model and reference The PRM is compatible with the latest versions of the M340 BMXNOExxx,
Premium TSXETYxxx and Quantum TSXETYxxx CPUs.
The configuration includes a Modbus TCP Ethernet port to scan the PRM. It can be
an Ethernet communication module (ETY or NOE) or the Premium / Quantum CPU
embedded port where an IO scanner can be configured.
The PRM can be included in a Premium and Quantum hot standby architecture.
The PRM Master DTM is used inside the FDT container in combination with the
NOE or ETY communication module for scanning the IO data of the profibus master
on M340, Premium and Quantum CPUs. The PRM Master DTM is not compatible
with M580 systems as it uses NOC scanners or the CPU itself. To use the PRM
on M580 systems, the PRM gateway DTM is used in place of the PRM master
DTM. The PRM Gateway DTM is not compatible with BMXNOC0402.
Please refer to the Release Notes for the minimum required versions of the CPU
and Ethernet modules.
Software:
Associated manufacturer Profibus DTM or GSD file
FDT Group certified Device DTMs are recommended.
http://www.fdtgroup.org/
• Segment coupler
• Gateway-type segment coupler
• DP/PA link
Gateway-type segment couplers are recommended:
• Transparency on a software configuration point of view: PA devices are seen as
DP devices
• No restriction on PROFIBUS PA data volume
• Support of PROFIBUS DP high transfer rates
Ethernet switch The PRM module is equipped with an integrated 2-port Ethernet switch which is
sufficient for common applications involving one PLC and one PRM. For larger
applications with more than 1 PC or 1 PLC, an external multi-port Ethernet switch is
recommended.
Power Supply The PRM module requires an external 24V power supply to be connected to its
power terminal block. If the PRM module is integrated in the same electrical cabinet
as the PLC, it can be connected to the same power supply. Verify that the provided
power is sufficient for the installation.
Cables Ethernet cable: Cat. 5 STP (Shielded Twisted Pair) with RJ45 connectors
conforming to TIA-EIA-568A.
Profibus cable: Shielded twisted pair (refer to part "Hardware: Installation and
Characteristics” for cable characteristics).
Scope of this Part This part describes the hardware setup of the system and provides the PRM
hardware characteristics.
General view
PRM module
Reference Description
1 4 LED indicators (See Diagnostics):
- System fault detected
- Bus fault detected
- Run
- CLS2
2 and 3 RJ45 connectors for Ethernet link
(integrated switch)
4 9-pin SUB D connector for Profibus link
5 Screw terminal for 24 VDC power
supply connection (See Power Supply)
6 Support plate for fixing the module
directly to an AM1-DE200/DP200 DIN
rail or to a Telequick AM1-PA pre-
slotted plate
Scope of this Chapter This chapter describes the hardware setup of the module.
CAUTION
DUPLICATE ADDRESS HAZARD
Do not connect the module to the network until you have ensured that its IP
address will be unique on the network.
Failure to follow these instructions can result in injury or equipment
damage.
The lower switch is used to chose the IP addressing mode between DHCP and
Stored; the upper switch is used in the DHCP mode for additional information:
NOTE: The factory default setting is: upper switch at 0, lower switch at C
NOTE: The rotary switches position is read at power up only.
Support plate
Label Meaning
1 Two holes diameter 5.5 mm (7/32 in) allowing the support plate to be
fixed to a panel or to an AM1-PA pre-slotted plate, with a center
distance of 140 mm (5.51 in).
Tightening torque: 1 to 1.2 N-m (8.8 to 10.6 lb-in).
2 M4 fixing hole for securing the PRM module.
3 Two holes diameter 6.5 mm (0.26 in) allowing the support plate to be
fixed to a panel or to an AM1-PA pre-slotted plate with a center
distance of 88.9 mm (3.5 in).
Slots for positioning the pins located at the bottom and rear of the
4
module.
Mounting on a Mechanically, the PRM is mounted like other Premium modules. Remove the support
Premium rack plates before mounting in the case.
Electrically, the PRM does not use the rack connector for communication or for power
supply. An external power supply is required to power the PRM.
To detach the module from its support plate, follow the steps below:
Step 1: Unfasten the screw located in the top of the module to loosen it from its
support.
Step 2: Pivot the module forwards and disengage the pins from the holes located in
the bottom of the support.
Refer to the Premium documentation for a description of the installation on the rack.
The module is grounded using the metal plate at the rear of the module. When the
module is in place, these metal plates are in contact with the metal of the support
plate. Shielded connectors (RJ45 Ethernet, SubD9 Profibus) are also connected to
FG.
To avoid an electric shock caused by indirect contact, connect FG to the protective
ground.
For more information on grounding, refer to the Grounding and Cabling User
Manual.
DANGER
HAZARD OF ELECTRIC SHOCK
• Connect the Functional Ground terminal to the Protective Earth (PE)
before connecting the Ethernet and Profibus shielded cable.
• When you remove connections, disconnect the ground wire last.
• Always use suitable insulation equipment for these operations.
Failure to follow these instructions will result in death or serious injury.
No. Signal
1 Earth
2 Not connected
3 PFB B
4 RTS
5 PFB 0Vdc
6 PFB 5Vdc
7 Not connected
8 PFB A
9 Not connected
Profibus cabling The following references should be used for cables and connectors :
Reference Description
Refer to “Error! Reference source not found.” for the Profibus cable type descriptions.
RJ45 Ethernet Illustration of the RJ45 shielded connector for the Ethernet link :
Connector
10
87654321
9
No. Signal
1 Tx+
2 Tx-
3 Rx+
4 Not connected
5 Not connected
6 Rx-
7 Not connected
8 Not connected
9 Link/Activity LED
10 Link Status LED
Ethernet cables Category 5 Shielded Twisted Pair (STP) with RJ45 connectors conforming to TIA-
EIA-568A.
Leg. Description
+24 VDC 24 Volt DC input terminal
0V 0 Volt input terminal
Ground Functional Ground - Grounded terminal
Connection connected to the PRM chassis
Turn on the powered for the PRM module by an external 24VDC industrial power
supply unit which must be compliant with the characteristics in the section Electrical
Characteristics (Part VI, Chapter 3).
The power supply must be local: cable length < 30 m.
Use an external fast-acting fuse.
The PRM module is protected against reverse wiring.
CAUTION
IMPROPER FUSE SELECTION
Use proper fast-acting fuses to protect the electronic components of the module
from overcurrent and reverse polarity of the input/output supplies.
Failure to follow these instructions can result in injury or equipment
damage
Scope of this Chapter This chapter describes the PRM hardware characteristics.
Compliance with
Item Complied Regulatory Standards
standards
Automation products standard IEC61131-2
CSA Requirements CSA22.2 No. 142
CSA certification for Hazardous CSA 22.2 No.213
Locations Class I Division 2 Groups ABCD
UL Requirements UL508
Merchant Navy agencies IACS E10
certifications
DANGER
EXPLOSION HAZARD
• This equipment is suitable for use in hazardous locations Class 1,
Division 2, Groups A, B, C and D only or non-hazardous locations.
• Do not disconnect unless power has been switched off or the area is
known to be non-hazardous.
Failure to follow these instructions will result in death or serious injury.
Storage conditions:
• Temperature : -40°C to 85°C,
• Relative humidity : 10-95% (non-condensing)
Scope of this Part This part describes the installation process of the PRM Master DTM, PRM Gateway
DTM, PRM CommDTM, and Profibus Device DTMs.
Introduction The CD-ROM included in the PRM module packaging contains 3 independent setups:
• PRM Master DTM and Generic Profibus DTM
• PRM Gateway DTM
• PRM CommDTM
They can be installed on the same computer.
Before installing or uninstalling them, check that they are not currently in use.
Installation Procedure 1. Insert the installation CD-ROM in the CD or DVD drive of the computer.
2. A menu should be automatically opened. If this is not the case, open the CD root
with the Windows Explorer and open the Readme file for instructions on how to
proceed.
3. Open and read carefully the Readme file and the Release Notes
4. Double-click the file setup.exe in the folder 1-MasterDTM of the CD.
5. In the Choose Setup Language dialog box, select the languange from the drop-
down list, and then click OK.
6. Click Next.
8. In the Readme dialog box, read the readme information carefully, and then click
Next.
NOTE: The Readme dialog box appears only if you select the Display the
contents of the Readme file check box in the Readme and Release Notes dialog
box, otherwise the License Agreement dialog box will appear.
NOTE: If you disagree the terms in the license agreement, select I do not accept
the terms in the license agreement in the License Agreement dialog box, and
then click Cancel to cancel the installation.
NOTE: When you click I do not accept the terms in the license agreement the
Next button will be unavailable.
10. Enter the First name, Last name, and Company name in the Customer
Information dialog box, and then click Next.
The below list describes the fields in the Customer Information dialog box:
• First name – field to enter your first name
• Last name – field to enter your last name
• Company name – field to enter your company name
NOTE: The Destination Folder gives the default directory where the installation
files will be stored. To change the path for storing the installation files click Change
in the Destination Folder dialog box and then select the desired directory.
12. Click Install in the Ready to Install the Program dialog box.
NOTE: The Ready to Install the Program dialog box appears when you complete
the installation settings. If you want to review or change your installation settings,
click Back.
NOTE: Next step is to update the DTM catalog of Unity Pro to have the Master DTM
visible inside the catalog, refer to the chapter “Update the DTM Catalog of the FDT
frame”.
Introduction The CD-ROM included in the PRM module packaging contains 3 independent setups:
• PRM Master DTM and Generic Profibus DTM
• PRM Gateway DTM
• PRM CommDTM
They can be installed on the same computer.
Before installing or uninstalling them, check that they are not currently in use.
NOTE: Install the Master DTM first in order to get the Generic Profibus DTM. The
Gateway DTM does not include the Generic Profibus DTM.
Installation Procedure 1. Insert the installation CD-ROM in the CD or DVD drive of the computer.
2. A menu should be automatically opened. If this is not the case, open the CD root
with the Windows Explorer and open the Readme file for instructions on how to
proceed.
3. Open and read carefully the Readme file and the Release Notes
4. Double-click the file setup.exe in the folder 3-GatewayDTM of the CD.
5. In the PRM Gateway DTM – InstallShield Wizard dialog box, select the languange
from the drop-down list, and then click OK.
6. Click Next.
8. In the Readme dialog box, read the readme information carefully, and then click
Next.
NOTE: The Readme dialog box appears only if you select the Display the
contents of the Readme file check box in the Readme and Release Notes dialog
box, otherwise the License Agreement dialog box will appear.
NOTE: If you disagree the terms in the license agreement, select I do not accept
the terms in the license agreement in the License Agreement dialog box, and
then click Cancel to cancel the installation.
NOTE: When you click I do not accept the terms in the license agreement the
Next button will be unavailable.
10. Enter the First name, Last name, and Company name in the Customer
Information dialog box, and then click Next.
The below list describes the fields in the Customer Information dialog box:
• First name – field to enter your first name
• Last name – field to enter your last name
• Company name – field to enter your company name
NOTE: The Destination Folder gives the default directory where the installation
files will be stored. To change the path for storing the installation files click Change
in the Destination Folder dialog box and then select the desired directory.
12. Click Install in the Ready to Install the Program dialog box.
NOTE: The Ready to Install the Program dialog box appears when you complete
the installation settings. If you want to review or change your installation settings,
click Back.
NOTE: Next step is to update the DTM catalog of Unity Pro to have the Master DTM
visible inside the catalog, refer to the chapter “Update the DTM Catalog of the FDT
frame”.
Introduction The CD-ROM included in the PRM module packaging contains 3 independent setups:
• PRM Master DTM and Generic Profibus DTM
• PRM Gateway DTM
• PRM CommDTM
They can be installed on the same computer.
Before installing or uninstalling them, check that they are not currently in use.
Installation Procedure 1. Insert the installation CD-ROM in the CD or DVD drive of the computer.
2. A menu should be automatically opened. If this is not the case, open the CD root
with the Windows Explorer and open the Readme file for instructions on how to
proceed.
3. Open and read carefully the Readme file and the Release Notes
4. Double-click the file setup.exe in the folder 2-CommDTM of the CD.
5. In the Choose Setup Language dialog box, select the languange from the drop-
down list, and then click OK.
6. Click Next.
8. In the Readme dialog box, read the readme information carefully, and then click
Next.
NOTE: The Readme dialog box appears only if you select the Display the
contents of the Readme file check box in the Readme and Release Notes dialog
box, otherwise the License Agreement dialog box will appear.
NOTE: If you disagree the terms in the license agreement, select I do not accept
the terms in the license agreement in the License Agreement dialog box, and
then click Cancel to cancel the installation.
NOTE: When you click I do not accept the terms in the license agreement the
Next button will be unavailable.
10. Enter the First name, Last name, and Company name in the Customer
Information dialog box, and then click Next.
The below list describes the fields in the Customer Information dialog box:
• First name – field to enter your first name
• Last name – field to enter your last name
• Company name – field to enter your company name
NOTE: The Destination Folder gives the default directory where the installation
files will be stored. To change the path for storing the installation files click Change
in the Destination Folder dialog box and then select the desired directory.
12. Click Install in the Ready to Install the Program dialog box.
NOTE: The Ready to Install the Program dialog box appears when you complete
the installation settings. If you want to review or change your installation settings,
click Back.
NOTE: Next step is to update the DTM catalog of Unity Pro to have the Master DTM
visible inside the catalog, refer to the chapter “Update the DTM Catalog of the FDT
frame”.
Introduction The Profibus network description is done using Device DTMs from the DTM catalog of the FDT
frame (Unity Pro or another frame for the CommDTM).
There are 2 ways to populate the DTM catalog:
• For the frames, by installing a DTM delivered by the device manufacturer
• For Unity Pro usage only, using the Master DTM, by adding a GSD file in the library of
Generic DTMs.
Manufacturer Prior to adding the device, install the DTM on the computer. A setup is delivered by the
Device DTM manufacturer. Then update the DTM catalog on the FDT frame application.
installation
Add a GSD The PRM Master DTM and the PRM Gateway DTM includes an interface for converting any GSD
file to library file into a generic DTM in order to be integrated into the DTM catalog.
of Generic 1. In the Unity Pro menu bar, select Tools DTM Browser
DTMs 2. In the DTM Browser, select the PRM_Master instance or PRM_Gateway instance as
applicable.
3. Right-click (DTM contextual menu) and select Device menu Add GSD In Library. The
welcome page of the wizard opens.
This page indicates a status for each GSD that you selected:
• A green check mark indicates a GSD file that could be added normally
• A blue information icon indicates a redundant file. Associated message will indicate if the
file will be added or not.
• A red check mark indicates an invalid GSD file, an invalid device name or a duplicated
device name. Click the device name (Maximum 26 alphanumeric characters) in the list or
select the line and press the F2 key to modify the device name.
(Optional) Select a file in the list, and then click View Selected File to open it.
12. Click Next to add the valid files.
Page 4 of the wizard opens, indicating the action is complete.
13. Click Finish to close the wizard.
14. Unity Pro hardware catalog has to be updated in order to use new devices with your UnityPro
project
4. Use the Sort by combo box to specify how GSD files will be displayed:
• File Name
• Manufacturer
• Category
• Device Name
5. In the GSD Library tree control, select the GSD file(s) you want to remove.
6. (Optional) Click the View Selected File button to display the read-only contents of the
selected GSD file.
7. Click the Delete Selected File(s) button. A message box opens.
8. ClickYes to remove the selected GSD file(s) from the list.
9. When you have finished removing GSD files, click Close.
Introduction After the changes (Add/remove GSD or install/uninstall DTM), update the DTM
catalog.
Update DTM Catalog 1. Launch Unity Pro application and open the Unity project.
inside Unity Pro 2. Select in the Unity Pro menu bar Tool Hardware Catalog (Alt+2).
3. Select the DTM catalog tab in the Hardware catalog windows.
4. Click External Update Tool button, to open a dedicated tool for the update of
the FDT/DTM Catalog
8. Check for the presence of the devices you want to connect to the Profibus
network in the list of the DTM catalog.
Scope of this Part This part describes the configuration process using the PRM Master DTM.
The configuration is done in 3 parts:
• Description of the Profibus network using the Unity Pro DTM browser
• PRM and Profibus devices settings using the Master DTM
• Link the IO scanner with the Master DTM and update the application using
the Unity Pro IO scanner tab.
Introduction The first step of the configuration is to describe the Profibus network in the Unity Pro
DTM browser. This is done by adding devices from the DTM catalog, first the PRM
using the Master DTM and then the Profibus slaves under the Master DTM node.
NOTE: Update the DTM catalog after installing the DTM.
An alternative to add the devices one by one, if the network already exists, is to
launch a fieldbus discovery from the Master DTM. Refer to the chapter Master,
Gateway, and CommDTM – Online actions Profibus network discovery.
This section explains the procedure for adding and deleting devices and provides
the list of the commands available form the Master DTM contextual menu.
Open the DTM browser In the Unity Pro Menu bar, select Tools DTM Browser.
Add PRM Master DTM The first device to add is the PRM by instantiating the PRM Master DTM at the first
level of the DTM connectivity tree:
1. In the DTM Browser, select Host PC, and then right-click and select Add …
2. In the Add pop-up windows, select PRM Master from Schneider Electric.
The PRM Master is added at the first level in the DTM Browser.
The new Profibus device is added under the PRM Master instance.
Repeat this sequence for each device you want to connect to the Profibus network.
The default address assigned can be changed later, see the paragraph Settings in
the Master DTM Profibus devices parameters Profibus Settings
Delete PRM Master 1. In the DTM Browser, select the Master DTM instance, and then right-click to
DTM access to the DTM contextual menu and click Delete.
2. In the Delete confirmation dialog, click Yes to confirm.
Delete Profibus device 1. In the DTM Browser, select the Profibus device DTM to be deleted, and then
DTM right-click and select Delete (Del).
Depending on the DTM state (online or offline), some commands are not accessible
and are shown in gray.
Generic commands:
Name Description
Open Open the configuration window in offline or
the diagnostic window in online (same as
double-click ion the DTM node).
Add Add a device as slave of the PRM.
Delete Delete the Master DTM.
Field bus discovery (online) Scan the connected physical devices to
create the corresponding field bus
connection topology.
Sort by address Display the child DTMs sorted according to
the device address in ascending order.
Connect From offline mode to online mode.
Disconnect (online) From online mode to offline mode.
Load data from device Not managed by the Master DTM.
(online)
Store data to device (online) Store the configuration into the PRM from
the DTM.
Properties Provides information on the DTM.
Print device Print the configuration settings.
Name Description
Diagnosis (online) Open the diagnostic window.
Offline parameter Open the configuration window.
Add GSD In Library Install a Generic DTM.
Remove GSD From Library Uninstall a Generic DTM.
Set Physical Slave Address Tool to send a command to a slave for
(online) configuring physically its address.
Erase Configuration (online) Erase the configuration stored in the PRM.
Download Firmware (online) Transfer a new firmware to the PRM.
Scope of this Chapter This chapter describes the different settings in the Master.
What's in this This chapter contains the following sections:
Chapter?
Section Page
Introduction 70
PRM general settings 73
Profibus Master parameters 77
IO Scanning parameters 83
Profibus devices parameters 85
Profibus devices I/O variables 89
The DTM window The window is organized in different areas as defined by the FDT/DTM standard: a
organization navigation tree, an application area for parameters settings, an action area, a status bar
and an identification area at the top.
Navigation tree It provides a structured view of the different configuration panels. A Click on a node of
the tree will open the associated panel.
The upper part concerns the PRM itself:
• General Settings
• Profibus Master Configuration
The lower part under the node Profibus Devices concerns the slaves.
The device list is automatically updated when devices are added / removed in the DTM
browser. This list can be globally expanded or collapsed if you right-click the Profibus
Devices node.
CAUTION
INCORRECT EXCHANGES WITH DEVICES
Do not change the default values without having the necessary knowledge.
Failure to follow these instructions can result in injury or equipment damage.
Connection
Disturbed
Example:
This panel enables the configuration of the Factory IP address, the Dedicated IP
address and the DHCP / FDR server.
It is used
• By the DTM for the connection to the PRM
• By the PRM, as part of its configuration, and in conjunction with the rotary
switches settings, for its IP address assignment.
The rotary switches define the IP address configuration mode: Stored mode (the IP
address is configured by the application and stored in the PRM) or DHCP mode.
Refer to the section Hardware: Installation and Characteristics Installation of
the Module PRM IP address setting, rotary switches or details on the PRM rotary
switches settings.
Check the MAC address on the front face of the PRM module and report it in the
appropriate fields in the Factory IP Address section.
The Factory IP Address assignment is in relation with the PRM module MAC Address
according to the following rule:
If MAC Address = 0:80:F4:FF:xx Hex :yy Hex,
then IP Address = 10.10.aaa.bbb with aaa Dec =xx Hex and bbb Dec =yy Hex
In our example, the MAC Address of the module is 00:80:F4:FF:00:BB.
The Factory IP Address for the corresponding MAC address will be (BB Hex =187 Dec ):
10.10.0.187
Automatic mode
Select the Create an entry for this device…. check box and provide the DeviceName
Extension with the value set on the rotary switches.
The Address Server service of the Ethernet channel will be automatically enabled and
an entry will be created for the PRM with the following information:
• The DeviceName with the extension provided in this screen
• The IP address, Subnet mask and Gateway values entered in the “Dedicated IP
address” area.
It will be effective only after the update of the PRM in the Unity Pro IO scanning tab.
NOTE: In this mode the PRM is checking the consistency between the IP address part
of its configuration and the one served by the DHCP server. In case of inconsistency, it
will use the factory address.
Manual mode
If another DHCP server is used, clear the check box, and then configure the DHCP
server manually.
The configuration will be automatically saved to the FDR Server each time there is a
new configuration downloaded to the PRM.
CAUTION
INCORRECT SERVED ADDRESS
• The DHCP server must be active and properly configured at PRM boot up
time.
• Check that only one DHCP server is present on the Ethernet network
Failure to follow these instructions can result in injury or equipment damage.
CAUTION
INCORRECT SERVED CONFIGURATION BY THE FDR SERVER
• Check that the Ethernet module firmware version is as described in the
Hardware & Software requirements chapter
• On M340, check that the SDCard is present in the NOE module
• On Premium and Quantum, the Ethernet module must be active at least 2
minutes after the PRM download to have the configuration stored in the
Flash of the FDR server. Do not download the PLC immediately after the
PRM or download the PLC before the PRM.
• If you are using a Premium or Quantum copro as the FDR server, following
a PRM download, the copro must be kept running at least 2 minutes to have
time to store the PRM configuration in Flash. Consequently, after a change
impacting the PRM and the PLC application, do not download the CPU
immediately after having downloaded the PRM, as the CPU will reboot the
Ethernet copro which may not have finished storing the PRM configuration
in Flash. So 2 solutions:
- Download the CPU before the PRM
- Or download the CPU after the PRM but after at least 2 minutes
Failure to follow these instructions can result in injury or equipment damage.
Basic Settings In the navigation tree, select Profibus Master Configuration Basic Settings.
• Set the Baud Rate (in Kbps) of the Profibus network: 9.6, 19.2, 31.25, 45.45,
93.75, 187.5, 500, 1500, 3000, 6000 or 12000 Kbps. The baud rate selected
should be supported by all slaves in the configuration. The baud rate should be
selected depending on the cable length, see chapter Introduction to Profibus
DP.
• Set the TS: Profibus Station Address for the PRM module (Master Profibus). TS
should be different than any other slaves address on the Profibus network, it
should also be less-than or equal to the HSA below:
Min: 0
Max: 126
Default: 1
• Set the HSA: Highest Station Address. This is the highest station address of the
active stations (masters). Passive stations (slaves) can have a higher address
than the HSA.
A low HSA is better for Profibus performance.
When using a single master (ie PRM only), the most effective value for HSA is
equal to the TS value (i.e.: TS = HSA = 1):
Min:1
Max: 126
Default: 126
• TTR (Local) (in tbits) (read only) is automatically calculated and indicates the
maximum time available for a token circulation (time for Profibus token to be passed
to another master and be back).
It takes in account the number of slaves with their IO size (data exchanges telegram),
different telegrams needed and their duration times ( FDL status, global control, pass
token), the mandatory timing with respect to the Profibus standard (time slot, min and
max Tsdr, Tqui, Tset, …) and a margin which allows bandwidth for acyclic messages
(DPV1, …)
• TTR (Total) (in tbits) (read/write): This field allows you to increase the value of the
local TTR. This is particularly required when running multiple masters. Indeed, the
TTR local calculation doesn’t take into account another master’s presence on the
Profibus network. In addition, when running multiple masters, it is highly
recommended that the masters run with the same TTR. The minimum, maximum,
and default value of TTR (Total) is:
Min: value of TTR (Local)
Max: 16777215
Default: value of TTR (Local)
• Token Retry Limit (read/write) is the number of times that a Profibus Master tries to
pass the token before deciding that a station is not there. The minimum, maximum,
and default value of Token Retry Limit is:
Min: 0
Max: 15
Default: 3
• Token Error Limit (read/write) is the maximum number of detected errors in 256
token cycles. The minimum, maximum, and default value of Token Error Limit is:
Min: 0
Max: 255
Default: 4
• Message Retry Limit (read/write) is the number of telegram repetitions if the address
doesn’t react. The minimum, maximum, and default value of Message Retry Limit is:
Min: 0
Max: 15
Default: 1
Min: 1
Max: 100
• TSL: Slot Time (in tbits) (read/write) is the maximum time the PRM will wait, after
the transmission of a request, for the reception of the first byte (Tchar) of an answer.
(It allows detecting a timeout.) It can be increased when repeaters are used in the
Profibus network topology. The minimum and maximum value of TSL: Slot Time is:
Min: 37
Max: 16383
• TRDY: Ready Time (in tbits) (read/write) is the time after which the transmitting
master will answer frame. The minimum and maximum value of TRDY: Ready Time
is:
Min: 11
Max: 255
• TQUI: Quiet time (in tbits) is the time that a station may need to switch from sending
to receiving. The value range of TQUI: Quiet time is:
• MIN_TSDR: Smallest Station (in tbits) is the minimum time that a Profibus DP slave
must wait before it may answer. The value range of MIN_TSDR: Smallest Station is:
• MAX_TSDR: Largest Station (in tbits) is the maximum time that a Profibus DP slave
may take in order to answer. The minimum and maximum value of MAX_TSDR:
Largest Station is:
Min: 37
Max: 65525
• TSET: Setup Time (in tbits) is the reaction time on an event. The minimum and
maximum value of TSET: Setup Time is:
Min: 1
Max: 494
Default values
The default values depend on the baud rate. They have been defined at 45.45 and
93.75kbits/s for respectively the Siemens and Pepperl & Fuchs SK1 DP/PA coupler.
These couplers have specific timing requirements; please check the settings with the
documentation of the coupler you are using.
• Tid1: Time Idle1 (in tbits) is the time between the acknowledgement frame or token
frame reception and the transmission of the next frame
• Tid2: Time Idel2 (in tbits) is the time between the transmission of an unconfirmed
packet and the transmission of the next packet.
Calculation of Tid1 and Tid2 parameters is done using the following rule:
Devices Watchdog
• Default Devices Watchdog (in ms) (read /write) value defines the watchdog value
assigned by default to devices in the configuration:
When the check box is cleared (default behavior), this field cannot be modified and
contains :
Default Devices Watchdog =: 5 * Profibus Cycle
When the check box is selected, this field can be modified and respects the following
rule:
Min: 1.5 * Profibus Cycle (Minimum Devices Watchdog)
Max: 650000
The default watchdog value is compatible with devices directly attached to the DP
fieldbus. For devices under a DP/PA gateway (Link, SK3) modify the watchdog will be
modified as they are refreshed at a lower rate.
• Minimum Devices Watchdog (in ms) (read only) value is provided as information as
the minimal watchdog value which can be assigned. It is calculated by:
Minimum Watchdog value = 1.5 * Profibus Cycle
Profibus Cycle
• Profibus Cycle (in ms) (read/Write) field defines the cyclic time the master will
respect between two IO Data Exchange sequences. This parameter can be
increased by the user when the Profibus network load does not allow the processing
of acyclic requests.
The Min Slave Interval of each device comes automatically with each Device DTM, but
can be changed in the device configuration panel.
Set the parameters In the DTM navigation tree, select Profibus Master Configuration IO Scanning
Modbus Rate
• Value of Modbus Rate (in ms) (read/write): Defines the “repetitive rate” parameter
of the I/O scanner for the PRM. This is the period at which the PRM will be
scanned. This value will be automatically rounded up to a multiple of the “Step”
parameter.
This minimum, maximum, and default value is given by:
Min: 0 , IO scan requests will be sent as fast as possible by the IO scanner
(value depends on the PLC type)
Max: 50,000 ms
Default : recommended value
• Step (in ms) (read only): The value of the “Repetitive Rate step” parameter
defined in the Unity Pro IO Scanning configuration panel.
Typical default value is 10 ms or 16 ms, depending on the PLC type.
• Recommended Value (in ms) (read only) is calculated by the Master DTM
according to the Profibus cycle.
Modbus Health
• Value of Modbus Health (in ms) (read/write): Sets the “Health Timeout” parameter
for all PRM IO Scanner lines. The health timeout field sets the maximum interval
between the responses from a remote device. It Value is within the range
specified below:
Min: 300
Max: 65535
Default: 1500
It must be at least twice the Modbus Rate to avoid any timeout detection by the IO
scanner.
PRM Watchdog
• Value of PRM Watchdog (in ms) (read / write): If PRM watchdog expires before
an IO scan or Modbus request is received, the PRM will consider the PLC
disconnected.
The default value is calculated with the following rule:
PRM Watchdog = max (Modbus Rate * 5.100) in ms
This value can be increased.
Profibus Cycle (in ms) (read only): Shown as a reference value for setting the
Modbus rate.
Fallback Strategy
There is another parameter in the Unity Pro IO scanner which is called “Last value
(input)” and defines the fallback strategy on inputs from the device in case of
communication errors.
This parameter is fixed for the PRM to the value Set to 0, meaning that the inputs
from the PRM will be seen at 0 by the PLC in case of a communication error.
In the right panel, select the Profibus device to change its address.
Modify the value in the address field (for example "5" for the new address) and click the
Assign Address button to apply the change.
Repeat this sequence for each Profibus device as required.
NOTE: The Assign Address feature IS NOT DESIGNED to physically set the Profibus
address on the device. Set the Profibus address of the device directly on the device
(using switches, etc.) or by using the Set Slave Address command. See the chapter
Master, Gateway, and CommDTM – Online actions Set Physical Slave Address.
This node is present only for devices that support DPV1. This capability is reported by
the Device DTM.
• DPV1 Enable (Read / Write): Indicates if the slave supports DPV1 Class 1 access
(read and write) or alarms. Clear the DPV1 Enable check box, if the device does not
support DPV1 services. The default value is based on the information provided by the
Device DTM.
• WD Base 1ms (Read / Write): Indicates if the device should use the 1ms base time
for watchdog time calculation. Refer the chapter Profibus Settings below for
watchdog time calculation.
By default, the field will be cleared which sets the watchdog base to 10 ms.
NOTE: The watchdog value is shown in the configuration panel in ms regardless of
this time base setting.
• Fail Safe (Read / Write): The Fail Safe mode determines the behavior of the DP
Slave outputs when the Profibus Master is in CLEAR state:
o If the slave is configured to be Fail Safe and supports this feature,
then it will apply its own fallback value (the Master sends outputs with
0 length data)
o If not, the Master sends output data at 0
Select the Fail Safe check box, if this feature is supported by the device.
Clear the Fail Safe check box, if the device does not support this feature.
The default value is based on the information provided by the Device DTM.
• The following parameters are shown in grey as alarms are not supported by the PRM
in the present version: Enable Pull Plug Alarm, Enable Process Alarm, Enable
Diagnostic Alarm, Enable Manufacturer Specific Alarm, Enable Status Alarm,
Enable Update Alarm
• Check Cfg Mode (Read / Write): This check box is used to define the reaction to the
reception of configuration data. If the check box is cleared, the check is as described
in EN 50170. If the check box is selected, the check is made according to a specific
user definition. By default, the field will be cleared.
• Alarm Sequence Mode count (Read only): This parameter specifies the maximum
number of possible active alarms for the device. As the PRM does not support
alarms, this field is fixed to the minimum possible value and can not be modified.
Profibus Settings
• Data Order (Read / Write): Is the byte-ordering when accessing the device, 2 values
are possible:
Little endian
Big endian (default)
• MIN_TSDR (in tbits) (Read / Write): Is the minimum time that a PROFIBUS-DP slave
must wait before it answers. The minimum, maximum, and default value of
MIN_TSDR is:
Min: 11
Max: 1023
Default: 11
• Watchdog (in ms) (Read / Write): Is used to monitor cyclic communication and must
be significantly higher than the time required for one Profibus cycle. If a slave does
not receive a request frame for a period of time longer than the watchdog time, it will
revert to its initial, power-up state and cyclic communication will have to be re-
established.
The minimum and default values are defined by the Profibus Master Configuration
Advanced Settings.
The value can be changed. The maximum is 650,000 ms.
NOTE: The default value will be too short for a PA device as it is calculated for a DP
device based on the DP baud rate. Refer to the chapter Diagnostics and
Troubleshooting Troubleshooting for a method for defining a new value.
• Minimum Slave Interval (in 100µs) (Read/Write): This is the minimal time that the
Profibus must wait between two IO data exchanges with this device. The default
value proposed comes from the Device DTM. It can be changed within the following
range:
Min:1
Max: 65535
NOTE:
• This value has an impact on the Profibus cycle
• For a PA device please check that the value is compatible with the DP/PA gateway
(refer to the chapter Diagnostics and Troubleshooting Troubleshooting).
• Profibus Group (Read / Write): Specifies which groups the slave belongs to. A slave
can be in multiple groups at a time (from 1 through 8). Groups are used by the master
when it sends a Sync or Freeze command. Profibus Group check boxes are enabled
when Sync Mode or Freeze Mode check boxes are selected.
• Na_To_Abort (Read / Write): Influences the behavior of the MASTER DPV0 Class1
if it does not receive a response from the slave:
When cleared, the connection will not be aborted if No Answer from
the slave.
When cleared, the connection will be aborted if No Answer from the
slave.
These variables are mapped inside structured variables to be accessible by the PLC
application, one for the inputs and one for the outputs.
IO Structure Names of In the navigation tree, expand the device node to be modified and select the I/O node.
Devices
The structured variable names (also called “IO structure names”) are by default
<AliasName>_IN and <AliasName>_OUT, <AliasName> being the alias name defined
in the DTM browser when adding the DTM.
These names can be changed in the associated fields Input Structure Name and
Output Structure Name.
NOTE: The DDT types are named T_<AliasName>_IN and T_<AliasName>_OUT
when adding the DTM and cannot be renamed afterwards.
The default IO Structure Names can be returned to default values by clicking on the
Default Structure Names button. This button can be used to update the structure
name after a change in the device alias name as it is not done automatically.
Variable Management In the selected device sub-tree, select the I/O node.
mode
In the Variable Management section, 2 import modes are present to manage the
variable descriptions:
• Automatic mode (default): Names and types can be read in the Input Variables
and Output Variables panels as pre-defined by the Device DTM but cannot be
changed. Modifications inside the Device DTM impacting this description are
automatically taken into account.
• Manual mode: Names and types can be read in the Input Variables and Output
Variables panels as described by the Device DTM and can be changed.
Modifications inside the Device DTM impacting this description are not automatically
taken into account. Manage the consistency manually.
The button Reimport Variables Names is accessible to re-import the pre-defined
variables provided by the Device DTM. Previous modifications done in the panels are
overwritten.
CAUTION
INCORRECT DEVICE INPUT AND OUTPUT VALUES
In Manual mode, keep the I/O description consistent with the device configuration.
Failure to follow these instructions can result in injury or equipment damage.
• The types are checked and may have been converted to a type supported by Unity
Pro.
• The names are checked and may be changed to be compatible with Unity Pro rules
and settings. For example if leading digits are not allowed in the Unity Pro project
settings, an underscore is added at the beginning of the name.
If the variables are not described by the Device DTM, only one line is shown with the
type “free” meaning these bytes are free to be assigned to variables.
The Generic DTM provides the variable description at the module level: one array of
bytes per module with the size and name described in the GSD.
CAUTION
INCORRECT DEVICE INPUT AND OUTPUT VALUES
• When manually defining the variables, check the consistency of this
description with the input and outputs of the device very carefully. The order
of the variables and the types must be the same.
• Incorrect type definition can result in byte inversion.
Failure to follow these instructions can result in injury or equipment damage.
Introduction When configuration of the Master DTM is complete, the following steps are:
• Create the link between the Master DTM and the IO scanner by adding
the PRM in the I/O scanning configuration, and update the application
• Build the PLC application
Update:
9. Click the “…” button to open the Device Name property box.
10. Click the Update button
The variables, the IO scanner lines associated with the PRM and
potentially the address server entry for the PRM are created based on the
information provided by the Master DTM.
Refer to the Unity Pro online help for a precise description of the operating modes of
the IO scanning tab.
Refer to the Unity Pro online help for a description of the application operating
modes.
Next step Store the configuration from the DTM to the PRM and store the application from
the DTM to the PLC. Refer to the part PRM configuration download and Start.
Print the configuration 1. In the Unity Pro Menu bar, select Tools DTM Browser.
2. In the DTM Browser, select PRM Master instance, right-click (Master DTM
contextual menu).
3. Select Print Device to start the printing.
The details of the Master DTM printing are displayed inside a web page on the
computer screen; it shows the settings of the Master DTM.
To print this document, use the print feature of the web browser.
Scope of this Part This part describes the configuration process using the PRM Gateway DTM.
The configuration is done in 2 parts:
• Description of the Profibus network using the Unity Pro DTM browser
• PRM and Profibus devices settings using the Gateway DTM
Introduction The first step of the configuration is to describe the Profibus network in the Unity Pro
DTM browser. This is done by adding devices from the DTM catalog, first add the
PRM using the Gateway DTM under the M580 master DTM and then the Profibus
slaves under the Gateway DTM node.
NOTE: The M580 master DTM is automatically added in the FDT frame application.
NOTE: Update the DTM catalog after the DTM installation.
An alternative to add the devices one by one, if the network already exists, is to
launch a fieldbus discovery from the Gateway DTM. Refer to the chapter Master,
Gateway, and CommDTM – Online actions Profibus network discovery
This section explains the procedure for adding and deleting devices and provides the
list of the commands available in the Gateway DTM contextual menu.
Open the DTM browser In the Unity Pro Menu bar, select Tools DTM Browser.
Add PRM Gateway DTM Add the PRM Gateway DTM in the DTM browser browser as a child node to the
Master DTM (M580 Embedded DTM or BMENOC DTM) present in the FDT frame
application:
1. In the DTM Browser, select M580 Master DTM instance.
2. Right-click M580 Master DTM instance, and then click Add. The Add
dialog box shows the list of available DTM devices.
3. Select the PRM Gateway to add, and then click the Add DTM button for
validation.
Result: The new PRM Gateway DTM < Modbus:192.168.10.3 > PRM_Gateway is
added under the <192.168.10.1> BMEP58_ECPU.
NOTE: Alias Name can be changed in the Properties of device dialog box. The
alias name is used in the PLC application in order to identify the device.
Repeat this sequence for each device you want to connect to the Profibus network.
The default address assigned can be changed later, see the paragraph Settings in
the Gateway DTM Profibus devices parameters Profibus Settings.
Delete PRM Gateway 1. In the DTM Browser, select the PRM Gateway DTM instance, then right-
DTM click to access to the DTM contextual menu, and then click Delete.
2. In the Delete confirmation dialog box, clickYes to confirm.
Delete Profibus device 1. In the DTM Browser, select the Profibus device DTM, then right-click, and
DTM then click Delete.
Depending on the DTM state (online or offline), some commands are not accessible
and are shown in gray.
Generic commands:
Name Description
Open Open the configuration window in offline or
the diagnostic window in online (same as
double-click ion the DTM node).
Add Add a device as slave of the PRM.
Delete Delete the Gateway DTM.
Field bus discovery (online) Scan the connected physical devices to
create the corresponding field bus
connection topology.
Sort by address Display the child DTMs sorted according to
the device address in ascending order.
Connect From offline mode to online mode.
Disconnect (online) From online mode to offline mode.
Load data from device not managed by the Gateway DTM.
(online)
Store data to device (online) Store the configuration inot the PRM from
the DTM.
Properties Provides information on the DTM.
Print device Print the configuration settings.
Name Description
Diagnosis (online) Open the diagnostic window.
Offline parameter Open the configuration window.
Add GSD In Library Install a Generic DTM.
Remove GSD From Library Uninstall a Generic DTM.
Set Physical Slave Address Tool to send a command to a slave for
(online) configuring physically its address.
Erase Configuration (online) Erase the configuration stored in the PRM.
Download Firmware (online) Transfer a new firmware to the PRM.
NOTE: The commands, Add GSD In Library and Remove GSD From Library is
available in the DTM contextual menu only if the Master DTM is installed.
Scope of this Chapter This chapter describes the different settings in the Gateway.
What's in this This chapter contains the following sections:
Chapter?
Section Page
Introduction 103
PRM general settings 106
Profibus Gateway parameters 110
IO Scanning parameters 116
Profibus devices parameters 118
Profibus devices I/O variables 122
The DTM window The window is organized in different areas as defined by the FDT/DTM standard: a
organization navigation tree, an application area for parameters settings, an action area, a status bar
and an identification area at the top.
Navigation tree It provides a structured view of the different configuration panels. The associated panels
will open if you click on a node of the tree.
The upper part concerns the PRM itself:
• General Settings
• Profibus Master Configuration
The lower part under the node Profibus Devices concerns the slaves.
The device list is automatically updated when devices are added / removed in the DTM
browser. This list can be globally expanded or collapsed if you right-click the Profibus
Devices node.
CAUTION
INCORRECT EXCHANGES WITH DEVICES
Do not change the default values without having the necessary knowledge.
Failure to follow these instructions can result in injury or equipment damage.
Connection
disturbed
Example:
This panel enables the configuration of the Factory IP address and the FDR service.
When a Dedicated IP Address is used, it must be configured in the M580 Master DTM,
together with the Device name. In that case, the IP configuration is displayed here in
read only and an entry in the DHCP/FDR Server is automatically created.
NOTE: For FDR support it is required that the Device is able to communicate to the
FDR server. Check the security settings in your CPU/Scanner.
It is used:
• By the DTM for the connection to the PRM
• By the PRM, as part of its configuration, and in conjunction with the rotary
switches settings, for its IP address assignment.
The rotary switches define the IP address configuration mode: Stored mode (the IP
address is configured by the application and stored in the PRM) or DHCP mode.
Refer to the section Hardware: Installation and Characteristics Installation of
the Module PRM IP address setting, rotary switches for details on the PRM rotary
switches settings.
Check the MAC address on the front face of the PRM module and report it in the
appropriate fields in the Factory IP Address section.
The Factory IP Address assignment is in relation with the PRM module MAC Address
according to the following rule:
If MAC Address = 0:80:F4:FF:xx Hex :yy Hex,
then IP Address = 10.10.aaa.bbb with aaa Dec =xx Hex and bbb Dec =yy Hex
In our example, the MAC Address of the module is 00:80:F4:FF:00:BB.
The Factory IP Address for the corresponding MAC address will be (BB Hex =187 Dec ):
10.10.0.187
Automatic mode
DHCP Sever information is provided by the M580 Master DTM Address Setting screen
Address Server section and this information will be updated automatically under the
PRM Gateway DTM. This is not configurable under PRM Gateway DTM.
Select Enabled for the DHCP for this device drop down and provide the DeviceName
Extension with the value set on the rotary switches.
The Address Server service of the Ethernet channel will be automatically enabled and
an entry will be created for the PRM with the following information:
• The DeviceName with the extension provided in this screen
• The IP Address, Subnet mask and Gateway values entered in the
“Dedicated IP address” area.
It will be effective only after the update of the PRM in the Unity Pro Request Setting
tab.
NOTE: In this mode the PRM is checking the consistency between the IP address part
of its configuration and the one served by the DHCP server. In case of inconsistency, it
will use the factory address.
Backup in the FDR The M580 is a FDR server, meaning it can restore the PRM configuration in the event
server that a PRM is replaced
NOTE: For FDR support it is required that the Device is able to communicate to the
FDR server. Check the security settings in your CPU/Scanner.
To use this feature, select the “Backup the PRM configuration in FDR Server on
download” check box in the PRM Gateway DTM.
The configuration will be automatically saved to the FDR Server each time there is a
new configuration downloaded to the PRM.
CAUTION
INCORRECT SERVED ADDRESS
• The DHCP server must be active and properly configured at PRM boot up
time.
• Check that only one DHCP server is present on the Ethernet network.
Failure to follow these instructions can result in injury or equipment damage.
CAUTION
INCORRECT SERVED CONFIGURATION BY THE FDR SERVER
• Check that the Ethernet module firmware version is as described in the
Hardware & Software requirements chapter.
• Check that the SDCard is present in the M580 module.
• On M580, the Ethernet module must be active at least 2 minutes after the
PRM download to have the configuration stored in the Flash of the FDR
server. Do not download the PLC immediately after the PRM or download
the PLC before the PRM.
Failure to follow these instructions can result in injury or equipment damage.
Basic Settings In the navigation tree, select Profibus Gateway Configuration Basic Settings.
• Set the Baud Rate (in Kbps) of the Profibus network: 9.6, 19.2, 31.25, 45.45,
93.75, 187.5, 500, 1500, 3000, 6000 or 12000 Kbps. The baud rate selected
should be supported by the slaves in the configuration. The baud rate should be
selected depending on the cable length, see chapter “Introduction to Profibus
DP”.
• Set the TS: Profibus Station Address for the PRM module (Gateway Profibus).
TS should be different than any other slaves address on the Profibus network, it
should also be less-than or equal to the HSA below:
Min: 0
Max: 126
Default: 1
• Set the HSA: Highest Station Address. This is the highest station address of the
active stations (masters). Passive stations (slaves) can have a higher address
than the HSA.
A low HSA is better for Profibus performance.
When using a single gateway (ie PRM only), the most effective value for HSA is
equal to the TS value (i.e.: TS = HSA = 1):
Min:1
Max: 126
Default: 126
• TTR (Local) (in tbits) (read only) is automatically calculated and indicates the
maximum time available for a token circulation (time for Profibus token to be
passed to another master and be back).
It takes in account the number of slaves with their IO size (data exchanges telegram),
different telegrams needed and their duration times ( FDL status, global control, pass
token), the mandatory timing with respect to the Profibus standard (time slot, min and
max Tsdr, Tqui, Tset, …) and a margin which allows bandwidth for acyclic messages
(DPV1, …).
• TTR (Total) (in tbits) (read/write): This field allows you to increase the value of
the local TTR. This is particularly required when running multiple masters.
Indeed, the TTR local calculation does not take into account another master’s
presence on the Profibus network. In addition, when running multiple masters,
it is highly recommended that the masters run with the same TTR.
The minimum, maximum, and default value of TTR (Total) is:
• Token Retry Limit (read/write) is the number of times that a Profibus master tries to
pass the token before deciding that a station is not there. The minimum, maximum,
and default value of Token Retry Limit is:
Min: 0
Max: 15
Default: 3
• Token Error Limit (read/write) is the maximum number of detected errors in 256
token cycles. The minimum, maximum, and default value of Token Error Limit is:
Min: 0
Max: 255
Default: 4
• Message Retry Limit (read/write) is the number of telegram repetitions if the address
does not react. The minimum, maximum, and default value of Message Tetry Limit
is:
Min: 0
Max: 15
Default: 1
Min: 1
Max: 100
• TSL: Slot Time (in tbits) (read/write) is the maximum time the PRM will wait, after
the transmission of a request, for the reception of the first byte (Tchar) of an answer.
(It allows detecting a timeout.) It can be increased when repeaters are used in the
Profibus network topology. The minimum and maximum value of TSL: Slot Time is:
Min: 37
Max: 16383
• TRDY: Ready Time (in tbits) (read/write) is the time after which the transmitting
master will answer frame. The minimum and maximum value of TRDY: Ready Time
is:
Min: 11
Max: 255
• TQUI: Quiet Time (in tbits) is the time that a station may need to switch from sending
to receiving. The value range of TQUI: Quiet Time is:
• MIN_TSDR: Smallest Station (in tbits) is the minimum time that a Profibus DP slave
must wait before it may answer. The value range of MIN_TSDR: Smallest Station is:
• MAX_TSDR: Largest Station (in tbits) is the maximum time that a Profibus DP slave
may take in order to answer. The minimum and maximum value of MAX_TSDR:
Largest Station is:
Min: 37
Max: 65525
• TSET: Setup Time (in tbits) is the reaction time on an event. The minimum and
maximum value of TSET: Setup Time is:
Min: 1
Max: 494
Default values
The default values depend on the baud rate. They have been defined at 45.45 and
93.75kbits/s for respectively the Siemens and Pepperl & Fuchs SK1 DP/PA coupler.
These couplers have specific timing requirements; please check all the settings with the
documentation of the coupler you are using.
• Tid1: Time Idle1 (in tbits) is the time between the acknowledgement frame or token
frame reception and the transmission of the next frame.
• Tid2: Time Idel2 (in tbits) is the time between the transmission of an unconfirmed
packet and the transmission of the next packet.
Calculation of Tid1 and Tid2 parameters is done using the following rule:
Devices Watchdog
Watchdog value in this panel is applied to all Profibus devices in the configuration.
However, this global value can be overwritten in the device configuration panel.
• Default Devices Watchdog (in ms) (read /write) value defines the watchdog value
assigned by default to all devices in the configuration:
When the check box is cleared (default behavior), this field cannot be modified and
contains:
Default Devices Watchdog =: 5 * Profibus Cycle
When the check box is selected, this field can be modified and respects the following
rule:
Min: 1.5 * Profibus Cycle (Minimum Devices Watchdog)
Max: 650000
The default watchdog value is compatible with devices directly attached to the DP
fieldbus. For devices under a DP/PA gateway (Link, SK3) the watchdog must be
modified as they are refreshed at a lower rate.
• Minimum Devices Watchdog (in ms) (read only) value is provided as information as
the minimal watchdog value which can be assigned. It is calculated by
Minimum Watchdog value = 1.5 * Profibus Cycle
Profibus Cycle
• Profibus Cycle (in ms) (read/Write) field defines the cyclic time the master will
respect between two IO Data Exchange sequences. This parameter can be
increased by the user when the Profibus network load does not allow the processing
of acyclic requests.
The Min Slave Interval of each device comes automatically with each Device DTM, but
can be changed in the device configuration panel.
Repetitive Rate
• Value of Repetivie Rate (in ms) (read/write): Defines the “repetitive rate”
parameter of the I/O scanner for the PRM. This is the period at which the PRM will
be scanned. This value will be automatically rounded up to a multiple of the “Step”
parameter.
This minimum, maximum, and default value is given by:
Min: 0 , IO scan requests will be sent as fast as possible by the IO scanner
(value depends on the PLC type)
Max: 50,000 ms
Default : recommended value
• Step (in ms) (read only): Increment step of Repetitive Rate value, fixed to 5 ms.
• Recommended Value (in ms) (read only) is calculated by the Gateway DTM
according to the Profibus cycle.
Health Timeout
• Value of Modbus Health (in ms) (read/write): Sets the “Health Timeout” parameter
for all Modbus request lines. The health timeout field sets the maximum interval
between the responses from a remote device. The minimum, maximum, and
default value of Value is:
Min: 300
Max: 65535
Default: 1500
It must be at least twice the Modbus Rate to avoid any timeout detection by the IO
scanner.
NOTE: This parameter is not automatically updated; check that the value remains
compatible with the Modbus rate value especially when other parameters are
managed in the automatic mode (check boxes unchecked). As an example, the
Modbus rate is changing with the baud rate, particularly pay attention that this
change is not linear especially in the range 45.45 and 93.75kbits/s where specific
timing values are defined for the DP/PA couplers.
Profibus Cycle (in ms) (read only): Shown as a reference value for setting the
Modbus rate.
Fallback Strategy
There is another parameter in the Modbus request line which is called “Last value
(input)” and defines the fallback strategy on inputs from the device in case of
communication errors.
This parameter is fixed for the PRM to the value Set to 0, meaning that the inputs
from the PRM will be seen at 0 by the PLC in case of a communication error.
In the right panel, select the Profibus device to change its address.
Modify the value in the address field (for example "5" for the new address) and click the
Assign Address button to apply the change.
Repeat this sequence for each Profibus device as required.
NOTE: The Assign Address feature IS NOT DESIGNED to physically set the Profibus
address on the device. Set the Profibus address of the device directly on the device
(using switches, etc.) or by using the Set Slave Address command. See the chapter
Master, Gateway, and CommDTM – Online actions Set Physical Slave Address.
This node is present only for devices that support DPV1. This capability is reported by
the Device DTM.
• DPV1 Enable (Read / Write): Indicates if the slave supports DPV1 Class 1 access
(read and write) or alarms. Clear the DPV1 Enable checbox, if the device does not
support DPV1 services. The default value is based on the information provided by the
Device DTM.
• WD Base 1ms (Read / Write): Indicates if the device should use the 1ms base time
for watchdog time calculation. See the chapter “Profibus Settings” below for
watchdog time calculation.
By default, the field will not be selected which sets the watchdog base to 10 ms.
NOTE: The watchdog value is shown in the configuration panel in ms regardless of
this time base setting.
• Fail Safe (Read / Write): The Fail Safe mode determines the behavior of the DP
Slave outputs when the Profibus Master is in CLEAR state:
o If the slave is configured to be Fail Safe and supports this feature,
then it will apply its own fallback value (the Master sends outputs with
0 length data)
o If not, the Master sends output data at 0
Select the Fail Safe check box, if this feature is supported by the device.
Clear the Fail Safe check box, if the device does not support this feature.
The default value is based on the information provided by the Device DTM.
• The following parameters are shown in grey as alarms are not supported by the PRM
in the present version: Enable Pull Plug Alarm, Enable Process Alarm, Enable
Diagnostic Alarm, Enable Manufacturer Specific Alarm, Enable Status Alarm,
Enable Update Alarm
• Check Cfg Mode (Read / Write): This check box is used to define the reaction to the
reception of configuration data. If the check box is not set, the check is as described
in EN 50170. If the check box is set, the check is made according to a specific user
definition. By default, the field will not be selected.
• Alarm Sequence Mode count (Read only): This parameter specifies the maximum
number of possible active alarms for the device. As the PRM doesn’t support alarms,
this field is fixed to the minimum possible value and can not be modified.
Profibus Settings
• Data Order (Read / Write): Is the byte-ordering when accessing the device, two
values are possible:
Little endian
Big endian (default)
• MIN_TSDR (in tbits) (Read / Write): Is the minimum time that a PROFIBUS-DP slave
must wait before it answers. The minimum, maximum, and Default value of
MIN_TSDR is:
Min: 11
Max: 1023
Default: 11
• Watchdog (in ms) (Read / Write): Is used to monitor cyclic communication and must
be significantly higher than the time required for 1 Profibus cycle. If a slave does not
receive a request frame for a period of time longer than the watchdog time, it will
revert to its initial, power-up state and cyclic communication will have to be re-
established.
The minimum and default values are defined by the Profibus Gateway
Configuration Advanced Settings.
The value can be changed. The maximum is 650,000 ms.
NOTE: The default value will be too short for a PA device as it is calculated for a DP
device based on the DP baud rate. Refer to the chapter Diagnostics and
Troubleshooting Troubleshooting for a method for defining a new value.
• Minimum Slave Interval (in 100µs) (Read/Write): This is the minimal time that the
Profibus must wait between two IO data exchanges with this device. The default
value proposed comes from the Device DTM. It can be changed within the following
range:
Min:1
Max: 65535
NOTE:
• This value has an impact on the Profibus cycle
• For a PA device please check that the value is compatible with the DP/PA gateway
(refer to the chapter Diagnostics and Troubleshooting Troubleshooting).
• Profibus Group (Read / Write): Specifies which groups the slave belongs to. A slave
can be in multiple groups at a time (from 1 through 8). Groups are used by the master
when it sends a Sync or Freeze command. Profibus Group check boxes are enabled
when Sync Mode or Freeze Mode check boxes are selected.
• Na_To_Abort (Read / Write): Influences the behavior of the MASTER DPV0 Class1
if it does not receive a response from the slave:
When the check box is cleared, the connection will not be aborted if
No Answer from the slave.
When the check box is selected, the connection will be aborted if No
Answer from the slave.
These variables are mapped inside structured variables to be accessible by the PLC
application, one for the inputs and one for the outputs.
IO Structure Names of In the navigation tree, expand the device node to be modified and select the I/O node.
Devices
The structured variable names (also called “IO structure names”) are by default
<AliasName>_IN and <AliasName>_OUT, <AliasName> being the alias name defined
in the DTM browser when adding the DTM.
These names can be changed in the associated fields Input Structure Name and
Output Structure Name.
NOTE: The DDT types are named T_<AliasName>_IN and T_<AliasName>_OUT
when adding the DTM and cannot be renamed afterwards.
The default IO Structure Names can be returned to default values if you click the
Default Structure Names button. This button can be used to update the structure
name after a change in the device alias name as it is not done automatically.
Variable Management In the selected device sub-tree, select the I/O node.
mode
In the Variable Management section, 2 import modes are present to manage the
variable descriptions:
• Automatic mode (default): Names and types can be read in the Input Variables
and Output Variables panels as pre-defined by the Device DTM but cannot be
changed. Modifications inside the Device DTM impacting this description are
automatically taken into account.
• Manual mode: Names and types can be read in the Input Variables and Output
Variables panels as described by the Device DTM and can be changed.
Modifications inside the Device DTM impacting this description are not automatically
taken into account. Manage the consistency manually.
The button Reimport Variables Names is accessible to re-import the pre-defined
variables provided by the Device DTM. Previous modifications done in the panels are
overwritten.
CAUTION
INCORRECT DEVICE INPUT AND OUTPUT VALUES
In Manual mode, keep the I/O description consistent with the device configuration.
Failure to follow these instructions can result in injury or equipment damage.
• The types are checked and may have been converted to a type supported by Unity
Pro.
• The names are checked and may be changed to be compatible with Unity Pro rules
and settings. For example if leading digits are not allowed in the Unity Pro project
settings, an underscore is added at the beginning of the name.
If the variables are not described by the Device DTM, only one line is shown with the
type “free” meaning these bytes are free to be assigned to variables.
The Generic DTM provides the variable description at the module level: one array of
bytes per module with the size and name described in the GSD.
CAUTION
INCORRECT DEVICE INPUT AND OUTPUT VALUES
• When manually defining the variables, check the consistency of this
description with the input and outputs of the device very carefully. The order
of the variables and the types must be the same.
• Incorrect type definition can result in byte inversion.
Failure to follow these instructions can result in injury or equipment damage.
Introduction The Request Setting tab shows the scan lines of PRM Gateway DTM behind M580
Master DTM. The PRM Gateway DTM scan lines are created in the M580 Master DTM
automatically once the PRM Gateway DTM is configured.
Print the configuration 1. In the Unity Pro Menu bar, select Tools DTM Browser.
2. In the DTM Browser, select PRM Gateway instance, and then right-click the PRM
Gateway instance.
3. Select Print Device to start the printing.
The details of the Gateway DTM printing are displayed inside a web page on the
computer screen; it shows all settings of the Gateway DTM.
To print this document, use the print feature of the web browser.
Scope of this Part This part describes the configuration process for using the PRM CommDTM within a
frame FDT application such as Unity Pro.
It is described using Unity Pro, but it can be done in a similar way in another FDT
frame application.
This is done in 2 parts:
• Description of the Profibus network using the DTM browser
• PRM settings using the Comm DTM
Then the CommDTM can be connected to the PRM to access the diagnostic
features and the Device DTMs can be used online.
The first step of the configuration is to describe the Profibus network in the DTM
browser. This is done by adding devices from the DTM catalog, first the PRM using
the CommDTM, then the Profibus slaves under the CommDTM node.
Refer to the chapter Configuration of the PRM using the Master DTM
Description in the Unity Pro DTM browser. The procedure is the same; simply
replace Master DTM with CommDTM.
An alternative to adding the devices one by one, if the network already exists, is to
launch a fieldbus discovery from the CommDTM. Refer to the chapter Master,
Gateway, and CommDTM – Online actions Profibus network discovery.
Scope of this Chapter This chapter describes the different steps to configure the CommDTM.
The DTM window The window is organized into different areas as defined by the FDT/DTM standard: a
organization navigation tree, an application area for parameters setting, an action area, a status bar
and an identification area at the top.
Navigation tree This provides a structured view of the different configuration panels. If you click a node
in the tree its associated panel will open.
The upper part concerns the PRM itself:
• General Settings
• Profibus Master Configuration
The lower part under the node Profibus Devices concerns the slaves.
The device list is automatically updated when devices are added / removed in the DTM
browser. If you right-click on the Profibus Devices, the device list will be This list can
be globally expanded or collapsed
CAUTION
INCORRECT EXCHANGES WITH DEVICES
Do not change the default values without having the necessary knowledge.
Failure to follow these instructions can result in injury or equipment damage.
Connection
disturbed
Example:
This panel enables the configuration of the Factory IP address and the Dedicated IP
address
Factory IP Address
setting
Check the MAC address on the front face of the PRM module and report it in the
appropriate fields in the Factory IP Address section.
The Factory IP Address assignment is in relation with the PRM module MAC Address
according to the following rule:
If MAC Address = 0:80:F4:FF:xx Hex :yy Hex,
then IP Address = 10.10.aaa.bbb with aaa Dec =xx Hex and bbb Dec =yy Hex
In our example, the MAC Address of the module is 00:80:F4:FF:00:BB.
The Factory IP Address for the corresponding MAC address will be (BB Hex =187 Dec ):
10.10.0.187
This factory IP address will be used by the DTM as a default IP address to address the
PRM.
Basic Settings In the navigation tree, select Profibus Master Configuration Basic Settings.
• Set the Baud Rate (in Kbps) of the Profibus network: 9.6, 19.2, 31.25, 45.45,
93.75, 187.5, 500, 1500, 3000, 6000 or 12000 Kbps. The baud rate selected
should be supported by the slaves in the configuration. The baud rate should be
selected depending on the cable length, see chapter “Introduction to Profibus
DP”.
• Set the TS: Profibus Station Address for the PRM module (Master Profibus). TS
should be unique amongst the other slaves on the Profibus network, it should also
be less than or equal to the HSA below:
Min: 0
Max: 126
Default:1
• Set the HSA: Highest Station Address. This is the highest station address of the
active stations (masters). Passive stations (slaves) can have a higher address
than the HSA.
HSA will impact the general performance of the Profibus DP. The higher it is, the
higher the Profibus DP cycle time will be.
When using a single master (i.e.: PRM only), it is efficient to set the HSA equal to
the TS parameter (Ideally: TS=HSA=1):
Min:1
Max:126
Default:126
• TTR (Total) (in tbits) (read/write): This field allows you to increase the value of the
local TTR. This is required in the event that multiple masters are running. Indeed,
the TTR local calculation does not take into account another master’s presence on
the Profibus network. In addition, in case of several masters, it is highly
recommended that master run with the same TTR.
The minimum, maximum, and default value of TTR (Total) is:
Error Management:
• Token Retry Limit (read/write): Is the number of times that a Profibus Master tries
to pass the token before deciding that a station is not there. The minimum,
maximum, default value of Token Retry Limit is:
Min: 0
Max: 15
Default: 3
• Token Error Limit (read/write): Is the maximum number of detected errors in 256
Min: 0
Max: 255
Default: 4
Min: 0
Max: 15
Default: 1
Min: 1
Max: 100
• TSL: Slot Time (in tbits) (read/write) is the maximum time the PRM will wait, after
the transmission of a request, for the reception of the first byte (Tchar) of an
answer. (It allows detecting a timeout.) It can be increased when repeaters are
used in the Profibus network topology. The minimum and maximum value of TSL:
Slot Time is:
Min: 37
Max: 16383
• TRDY: Ready Time (in tbits) (read/write) is the time after which the transmitting
master will answer frame. The minimum and maximum value of TRDY: Ready Time
is:
Min: 11
Max: 255
• TQUI: Quiet time (in tbits) is the time that a station may need to switch from
sending to receiving. The value range of TQUI: Quiet time is:
• MIN_TSDR: Smallest Station (in tbits) is the minimum time that a Profibus DP
slave must wait before it may answer. The value range of MIN_TSDR: Smallest
Station is:
• MAX_TSDR: Largest Station (in tbits) is the maximum time that a Profibus DP
Min: 37
Max: 65525
• TSET: Setup Time (in tbits) is the reaction time on an event. The minimum and
maximum value of TSET: Setup Time is:
Min: 1
Max: 494
Default values
The default values depend on the baud rate. They have been defined at 45.45 and
93.75kbits/s for respectively the Siemens and Pepperl & Fuchs SK1 DP/PA coupler.
These couplers have specific timing requirements; please check the settings with the
documentation of the coupler you are using.
Calculated Timing:
• Tid1: Time Idle1 (in tbits) is the time between the acknowledgement frame or token
frame reception and the transmission of the next frame.
• Tid2: Time Idel2 (in tbits) is the time between the transmission of an unconfirmed
packet and the transmission of the next packet.
Calculation of Tid1 and Tid2 parameters is done using the following rule:
Multi-master
configuration
CAUTION
UNEXPECTED BEHAVIOR IN A MULTI-MASTER CONFIGURATION
Check that the Baud rate, HSA and TTR have the same value for all the masters.
Failure to follow these instructions can result in injury or equipment damage.
In the right panel, select the Profibus device to change its address.
Modify the value in the address field (for example "5" for the new address) and click
the Assign Address button to confirm the change.
Repeat this process for each Profibus device, as required.
NOTE: The Assign Address feature IS NOT DESIGNED to set the Profibus address
in the device itself, only in the software. The Profibus address of the device can be
set directly on the device (switches, etc.) or by using the Set Slave Address
command. See the chapter Master, Gateway, and CommDTM – Online actions
Set Physical Slave Address.
Print Device
1. In the Unity Pro Menu bar, select Tools DTM Browser.
parameters
2. In the DTM Browser, select the PRM Comm instance
3. Right-click (DTM contextual menu) and select Print Device to start the printing.
The details of the CommDTM printing are displayed inside a web page on the computer
screen showing settings of the CommDTM.
To print this document, use the print feature of the web browser.
Scope of this Part This part describes the configuration process and the use of the Generic DTM.
Preconditions Before using the Generic DTM for a device on a computer, install the Generic DTM on
the computer. This is done using the associated GSD file and the menu of the Master
DTM.
Refer to the Software installation chapter for a precise description of the operating
modes.
NOTE:
• A project using a Generic DTM configured on 1 PC can be used on another
PC where the Generic DTM is not installed, but the device configuration
cannot be changed. A message is shown by the Generic DTM when opening
it.
• Adding the GSD into the library and updating the catalog is insufficient to have
the Generic DTM fully functional. Close and re-open the project.
Once the installation phase is complete, you will find the device in the DTM catalog and
add the device in the DTM browser in the same way as a manufacturer Device DTM.
Configuration panels In the DTM Browser select the Profibus device, and then double-click it.
The navigation tree of the Generic DTM has the following nodes:
- Device Information: read only panel containing the major information
extracted from the GSD file
- GSD view: read only panel containing the contents of the GSD file
- Device parameters
- Modules Configuration
On the left side of the panel are parameters found in the GSD file, displayed in a grid.
To change a parameter: select the parameter in the grid and it will activate the
corresponding box on the right side of the panel (Settings).
These settings will be used to generate the parameter buffer sent to the device when it
starts. The values are shown in the Buffer area.
Add the modules 1. Select the node Modules configuration in the DTM navigation tree
The list of the possible modules defined in the GSD are listed in the section
Modules in GSD
2. Select the module to be added in the Modules in GSD section and click the Add
button.
The module is added to the Configured Modules list and to the Generic DTM
navigation tree under the Modules Configuration node
3. Repeat to add more modules as needed.
4. Click the Apply button to validate.
The Master DTM is updated with the information provided by the Generic DTM
including the I/O description part.
Remove a Module 1. Select the module to remove in the Configured Modules section and click the
Remove button.
The module is removed from the Configured Modules list and from the
Generic DTM navigation tree under the Modules Configuration node.
2. Click the Apply button to validate.
The Master DTM is updated. The module is removed from the configuration
and the associated I/Os are removed.
These settings will be used to generate the parameter buffer sent to the device when it
starts. The values are shown in the Buffer area.
I/Os variables The Generic DTM provides an I/O description to the Master DTM or the Gateway DTM
associated to a Generic at the module level. It consists in an array of bytes (or a byte) per module having the
DTM name of the module as described in the GSD plus an extension. This extension is
_IN_<n> for inputs and _OUT_<n> for outputs, <n> being a placeholder for the number
of the module, starting at 1.
It can be seen in the Master DTM or the Gateway DTM under the nodes
I/O > Input variables or Output variables of the device.
For example for a device having 1 module named Sc_Ad_R_MS:
Replace the array of the bytes with the corresponding variable as described in the
device documentation.
Refer to the chapter Configuration of the PRM using the Master DTM Profibus
devices I/O variables or Configuration of the PRM using the Gateway DTM
Profibus devices I/O variables
Scope of this Part This part describes the steps that have to be done after the configuration phase
when using the Master DTM inside Unity Pro.
Scope of this Chapter This chapter describes how to load the configuration into the PRM module after
configuration is complete.
It describes also how to erase it, which is necessary in certain cases.
How to 1. In the Unity Pro menu bar, select Tools DTM Browser.
2. In the DTM Browser, select < - >PRM_Master.
3. Right-click the PRM_Master node (Master DTM contextual menu), and then
click Connect.
4. Right-click and select Store data to device.
The configuration is stored in the PRM module and the PRM module reboots
automatically.
NOTE: The connection is done using the Dedicated IP address. If the connection
using Dedicated IP address is not possible then the connection will be done using
the Factory address. Both the Dedicated IP address and the Factory address
are defined on the general settings configuration panel.
Connect to PRM To erase the configuration using the Master DTM, connect the PRM module.
module and erase
configuration 1. In the Unity Pro menu bar, select Tools DTM Browser.
2. In the DTM Browser, select < - >PRM_Master.
3. Right-click (Master DTM contextual menu) and select Connect.
4. Right-click and select Device Menu Erase configuration.
The configuration is erased from the PRM module and the PRM module reboots
automatically.
2 types of reboot If the PRM is not running (meaning there is no link with the PLC), the reboot is
immediate after a download or an erase.
If the PRM is running (meaning the IO scanner is running and the CRC_IO are
consistent) , after the download of a new configuration, the type of reboot depends on
the value of the CRC_IO of the new configuration:
• If the CRC_IO is not modified, the change is local to the PRM, then the reboot
is immediate
• If the CRC_IO is modified, and the PLC must also be downloaded to be
consistent with the PRM configuration, then the reboot is synchronized.
Immediate reboot The PRM download and reboot has the following steps after the Store to device
command:
• A confirmation dialog for the download is shown with a message explaining that the
PRM will need to reboot at the end of the download and the Master DTM or the
Gateway DTM will be disconnected
• The transfer of the configuration file takes place, reporting it’s progress with a
progress bar
• A first message is shown at the end of the transfer explaining that the reboot will
take place immediately
• Do the Disconnect and then Connect on the Master DTM or the Gateway DTM in
the DTM browser.
The STOP of the PLC will trigger the PRM reboot, a disconnection message
for the Gateway DTM is shown.
• Do a Disconnect and Connect on the Master DTM or the Gateway DTM in the
DTM browser.
NOTE: It is strongly recommended to do all the steps up to the end and validate
globally that the change is OK. Do not let the system in an intermediary stage where
the change is ready in the PRM but not yet applied because the PLC is still scanning
the PRM. The change might be applied at an inappropriate time (a power outage as an
example).
Precondition After the reboot, if the PLC is running with the same CRC_IO as the PRM, the link is
established between the PLC and the PRM.
Scope of this Part This part describes how configuration changes may impact changes on the PRM
module, Unity Pro and the PLC.
These changes are possible only with the Master DTM in offline mode, meaning it
How to do these
must be disconnected from the PRM.
changes?
Steps are:
• Make the changes in the configuration screens.
The changed values are identified by a pencil icon
• Validate globally the changes by clicking on
- OK button to validate and exit.
- Apply button to validate only.
Impact of changes Assuming that the application was previously in the BUILT state and Unity Pro was
online (connected to the PLC), there are 2 main cases depending on the type of
changes:
Case #1, PRM only: The change has an impact on the PRM but no impact on the
PLC configuration:
It can be done with the PLC connected and running.
The steps are:
1. Confirm the modification
The application is shown in a NOT BUILT state in the Unity Pro status bar
2. Download the PRM with the new configuration using the Connect and Store to
device commands. The CRC_IO of the configuration is not changed, the PRM
will reboot immediately after the download.
3. Build the application using the Build changes button ( ), changes are done
in the PLC online.
Example of this type of change: changing a device’s Profibus settings.
How to do these These changes are possible only with the Gateway DTM in offline mode, meaning it
changes? must be disconnected from the M580 Gatway DTM.
Steps are:
• Make the changes in the configuration screens.
The changed values are identified by a pencil icon
• Click the following button and validate the changes globally:
- OK button to validate and exit.
- Apply button to validate only.
Impact of changes Assuming that the application was previously in the BUILT state and Unity Pro was
online (connected to the PLC), there are 2 main cases depending on the type of
changes:
Case #1, PRM only: The change has an impact on the PRM but no impact on the
PLC configuration:
It can be done with the PLC connected and running.
The steps are:
1. Confirm the modification.
The application is shown in a NOT BUILT state in the Unity Pro status bar
2. Download the PRM with the new configuration using the Connect and Store to
device commands. The CRC_IO of the configuration is not changed, the PRM
will reboot immediately after the download.
3. Build the application using the Build changes button ( ), changes are done
in the PLC online.
Example of this type of change: changing a device’s Profibus settings.
From the DTM browser The following changes can be done from the DTM browser:
From the Modbus The following changes can be done in the Modbus Request tab: the reserved size
Request tab for the PRM (Read and Write length), the repetitive rate step, or the start index.
Do the changes in offline condition (PLC disconnected).
Download the PRM as it has an impact on its configuration.
Operating modes as described above in case #2, PRM & PLC.
From a manufacturer
Device DTM Most of the changes in a Device DTM have no impact on the PRM configuration.
Apply the changes directly to the device by the Store data to device command from
the Device DTM if they are done offline.
Exceptions are changes that modify the Profibus parameters or Profibus
configuration of the device.
For example in some DTMs it is possible to disable some process values.
Those changes have an impact on the PRM configuration and the PLC. They are
directly applied and are not cancellable.
Operating modes as described above in case #2, PRM & PLC (except the
confirmation message).
Introduction
The Implicit exchanges are the exchanges automatically configured by adding the PRM
to the I/O scanning tab.
It consists of the exchange of the implicit area of the PRM process image. This area
contains:
• The Device inputs and outputs exchanged cyclically on Profibus
• 2 variables at the PRM level
The associated variables are automatically created and mapped on the corresponding IO
scanner %MW areas.
NOTE:
• The variables are seen at 0 (fallback value) when the PRM doesn’t answer to
the IO scanning requests (power off, booting, wrong IP address, etc.).
• The device IO variables are stored by device address ascending order. So
adding a new device with a higher Profibus address than the existing ones will
not change the %MW already allocated for the devices.
Device IO Variables For each device having inputs and outputs, 2 structured variables are created with the
structure names defined in the Master DTM.
These structured variables contain elementary variables with the names and types
defined in the inputs and outputs panels of the Master DTM.
These variables can be directly used by the program assuming that their types and the
device byte-ordering have been correctly defined in the Master DTM. The conversion
between big-endian used on Profibus and little-endian used by the PLC is automatically
done.
Example:
For a device named Deltabar_S in the DTM browser, the following variables are
automatically created (if default settings are used):
Process Image
devices inputs and Input area
outputs areas This area:
• is initially set to 0
• is refreshed with Profibus inputs when the Profibus stack is in the OPERATE and
CLEAR state
• will be left unchanged if the Profibus stack returns in the STOP state
Output area
This area:
• is initially set to 0
• is written by the PLC as part of the IO scanner configuration
• is taken into account by the Profibus master only in the OPERATE state
Introduction The Implicit exchanges are the exchanges automatically configured by adding the PRM Gateway
DTM to Master DTM.
It consists of the exchange of the implicit area of the PRM process image. This area contains:
• The PRM inputs and outputs (as an Ethernet device connected to the DIO scanner)
• The Device inputs and outputs exchanged cyclically on profibus
NOTE:
• A specific elementary variable in input variables rises when the PRM does not answer to
the modbus request, requests (power off, booting, wrong IP address, etc.). In addition
other elementary variables in the inputs are seen at 0 (fallback value).
Device IO For each device having inputs and outputs, 1 structured variable is created with the structure
Variables names defined in the Master DTM.
These structured variables contain elementary variables reporting the status of the connection, a
set of elementary variable for inputs and a set of elementary variable for outputs with the names
and types defined in the input and output panels of the Gateway DTM.
These variables can be directly used by the program assuming that their types and the device
byte-ordering have been correctly defined in the Gateway DTM. The conversion between big-
endian used on Profibus and little-endian used by the PLC is automatically done.
Example:
For a device named CERABAR_S in the DTM browser, the following variables are automatically
created (if default settings are used):
Output area
This area:
• Is initially set to 0
• Is written by the PLC as part of the IO scanner configuration
• Is taken into account by the Profibus master only in the OPERATE state
The live list and the diag list flags are managed only for configured devices (class 1
communication) and are valid only when the Profibus stack is in OPERATE or
CLEAR states. Otherwise, all bits will be set to 0.
Mailbox_Status
It provides a status per mailbox.
The mailboxes are used by the PRM DFBs for the commands and explicit exchanges.
This area:
• Is initially set to 0 (also in case of restart of PRM).
• Is written by the PLC as part of the IO scanner configuration:
- If the value is equal to CRC_IO contains in the configuration file, the writing
is accepted
- If the value is false (no configuration file or different value), the writing is
rejected and the field is reset to the value 0
• This field will be also reset to 0 by the PRM when a PLC disconnection is
detected.
Introduction The following explicit exchanges can be done by using the PRM DFBs:
• Get the PRM Full status
• Do explicit exchanges with the Profibus devices (read or write data record or
get diagnosis)
• Send sync and freeze commands
The PRM full status is read from the explicit area of the PRM Process Image.
The other explicit exchanges and commands are done using the PRM mailboxes in
the explicit area of the Process Image to initiate DPV1 requests, diagnostic requests
or SYNC/FREEZE commands on Profibus.
Refer to the PRM DFBs library documentation for a description of the usage of these
DFBs.
PRM Full status The PRM_MGT DFB can be used to get the PRM Full status variable:
• Name
Name assigned to the PRM instance in the DTM browser.
If no configuration file is present, all characters are 0.
• IP Address
IP address of the PRM.
• IO Scanner Status
Number of Modbus IO scan requests received within a cycle.
• Profibus IO Bandwith
This value is the percentage of the Profibus cycle which is consumed to manage
the Data Exchange operation.
In a single master context, it can, in particular, provide a good overview of the
Profibus Network load and of the capability of the master to process acyclic
requests on the network.
IO Bandwith = (Data Exchange Management Time) / Profibus Cycle * 100
This value is valid only when the Profibus stack is in OPERATE mode
Profibus explicit The RDDIAG, WRREC and RDREC DFBs can be used to manage explicit exchanges
exchanges from the PLC application with the Profibus slaves. The PRM must be in RUN.
Scope of this Part This part describes the diagnostic functions and provides some tips for
troubleshooting.
Scope of this Chapter This chapter describes the different states of the LEDs and their meanings.
SF (System failure)
Blocking detected error or absence of a configuration file:
RUN/STOP
Profibus master state:
At a Glance The diagnostic features of the Master PRM operate in online mode and provide
information relative to the PRM on which the Master DTM or the Gateway DTM is
connected.
The configuration in the PC and in the PRM has to be same. If this is not the case, a
message is shown when opening the diagnostic panel and the diagnosis is limited to
information on the PRM itself (nothing available about the slaves).
The navigation tree provides the following nodes:
- PRM: Diagnostic information about the PRM itself, hardware and firmware versions,
IP addressing, etc.
- PLC connection: State of the connection with the PLC
- Profibus master: State of the Profibus master
- Profibus devices:
- One node per configured slave
- Provides the content of the slave diagnostic request and the values of the I/O
(read only).
PRM Advanced diagnosis Double-click PRM PRM advanced diagnosis to view the parameter values for
the PRM module.
This table presents internal counters which trace the PRM activity.
This data could be helpful to solve possible problems in assistance with Schneider
technical support
PLC connection In the navigation tree, select PLC connection for access to diagnostic information
related to the communication with the PLC.
Connection here doesn’t mean only the physical connection between the PLC and
the PRM but also the logical link between (IO scan running, match of CRC_IO,
Start command from the PLC).
Profibus Advanced In the navigation tree, click Profibus Master Profibus Advanced to view
diagnosis advanced diagnostic information related to the Profibus Master.
(For technical support
internal use only) This table presents internal counters to trace the PRM activity.
This panel contains status information and notifies as reported by the 6 first bytes
of the slave diagnostic request:
“Led” fields
The content of the 3 first bytes are shown as one LED per bit.
The LED color is gray when the bit is at 0, red for a detected error, green for an
indication.
- Master Lock: Set by master if slave has been parameterized by another
master.
- Parameter Fault (red): Set by slave if last parameter frame was wrong
- Invalid Slave Response (red):.Set by master in case of an invalid response
- Not Supported (red): Set by slave if the slave doesn't support the required
function.
- Extend Diag: Set by slave to indicate a diagnostic entry is in the slave-
specific diagnostic area.
- Configuration Fault (red): Set by slave if it detects a mismatch in
configuration data.
- Station_Not_Ready (red): Set by the slave if slave not ready for data
exchange
- Station_Non_Existent (red): Set by the master if slave doesn't exist
- Slave Deactivated: Set by the master if slave has been marked inactive
within the slave parameter set and is removed from cyclic processing.
- Sync Mode: Set by slave after it has received a Sync command.
- Freeze Mode: Set by slave after it has received the Freeze command.
- Watchdog On: Set by slave to indicate Watchdog is active.
- Slave Device: Slave sets this bit at 1
- Static Diag: Slave sets this bit to cause the master to retrieve diagnostic
information until this bit is cleared (the slave sets it if it’s not able to provide
user data).
- Re-Parameterization needed: Set by a slave if it needs to be parameterized
and cleared once parameterization is complete.
- Ext Diags Overflow: Set if there is more diagnostic information than
specified in Ext_Diag_Data. For example, slave sets this if the slave has
more diagnostic data than it can enter into its send buffer. Set by the master
if the slave sends more diagnostic information than it can enter into its
diagnostic buffer.
Ident Number device ident number (or 0xFFFF if data not accessible)
Master Address master that has parameterized the slave (255 if any)
Profibus devices In the navigation tree, select Profibus Devices Device Name Advanced to
Advanced diagnosis view advanced diagnostic information related to the device.
Profibus Devices I/O Click Profibus Devices Device Name I/O Values to view the values of its
values inputs and outputs. If an Input or output is not available the character "#" will be
displayed instead of a value.
The CommDTM provides globally the same diagnosis features as the Master DTM.
- By explicit exchanges using the PRM_MGT DFBs to the PRM Full status
For further details on the content of the PRM status and PRM Full status, refer to
chapter Exchanges from the PLC and variables.
For further information on the DFBs, refer to the PRM DFBs library documentation
Scope of this Chapter This chapter describes the Simple Network Management Protocol (SNMP) and the
Schneider private MIB for the PRM module.
The SNMP agent service is implemented on the PRM module. The SNMP protocol
allows a Manager to access MIB objects in the PRM module.
The MIB-II is used to manage TCP/IP communication layers.
The MIB Ethernet Transparent Factory allows a Manager to access data on the
messaging service on port 502.
The SNMP Protocol The SNMP protocol defines 5 types of messages between agent and manager.
These messages are stored in UDP data-grams.
The PRM module supports both SNMP Version 1 and 2 with the following
community names:
• Read community : public
• Write community : public
The object identifier for the root of the Groupe Schneider subtree is
1.3.6.1.4.1.3833 and represents a path to the subtree as follows :
iso(1)
org(3)
dod(6)
internet(1)
private(4)
enterprise(1)
groupeschneider(3833)
PRM Module
Issue Possible cause Solution
Profibus network
Issue Possible cause Solution
Cyclic Configuration not Check the device configuration
Communication correct (especially the watchdog,
not working DPV1_enable and Failsafe value)
with Profibus Bad cabling Check Profibus cables and
devices connectors, see hardware installation
chapter.
Multi-master Check the parameters are consistent
network between the master (baud rate, HAS,
interferences TTR)
Error detected Acyclic - See cyclic communication not
in the DFBs communication not working if DPV1 class 1 used.
reading or working with - Check detected error code returned
writing Profibus devices by DFB.
parameters in
devices
Device DTM Configuration not Check the device configuration, use
cannot be correct the DTM diagnostic screens
connected Bad cabling Check Profibus cables and
connectors, see hardware installation
chapter.
Device PA not Default watchdog - Set the baud rate to 45.45k
ready too short (not - Select the manual mode for the
adapted to PA watchdog of this device, this value will
baud rate) no longer be automatically updated
- Set back the real baud rate
The watchdog is now set to a value
compatible with PA
Recommended A PA device If the device is under a SK3 this
Profibus cycle defined with a big parameter can be reduced down to 6.
>> 1.5 * TTR Minimum Slave
Interval
Scope of this Part This part describes the actions that can be done online from the Master DTM,
Gateway DTM or CommDTM.
The following actions are described in other chapters or sections:
- Store data to device and Erase configuration in the part PRM configuration
download and Start
- Diagnostics in the chapter Diagnostics and Troubleshooting Diagnostic
from the Master DTM or the Gateway DTM
- Download firmware in the chapter PRM operating modes Firmware
update
Introduction The Master DTM, Gateway DTM, and CommDTM have the capability to scan the
Profibus devices. They provide the list of found devices to the FDT frame.
How to select this 1. In the DTM Browser, select the PRM Master instance (or PRM Gateway
command instance or PRM Comm instance)
2. Right-click and select Connect
3. When the connect mode is active, right-click to select Fieldbus discovery.
Master DTM or Gateway Refer to the Unity Pro online help for a description of the way the result is shown.
DTM
Comm DTM The way the result is shown depends on the FDT frame. Refer to the associated
documentation.
NOTE: The CommDTM interface is FDT1.2.1 compliant.
Introduction This command is available from the contextual menu of the Master DTM, Gateway
DTM, and CommDTM in online mode. This is a tool to send a command to a slave to
physically set its address.
A lot of devices have no switches to configure their address and are accessible only
with address 126 until they receive this “Set Slave Address” command with the chosen
address.
It is recommended to do this before integrating the device into the configuration. Assign
the slave address in the configuration to the address set in the device.
How to select the This feature is operating only in online mode and cannot be performed when Data
command exchange is on going with the device.
1. In the DTM Browser, select the PRM Master instance (Gateway DTM instance or
PRM CommDTM instance)
2. Right-click (DTM contextual menu) and select Connect
3. When the connect mode is active, right-click and select Device menu
Set Physical Slave Address.
Min: 0
Max: 126
Read Ident Number button: allow you to read the ident number of the device having
the address specified in Current Station Address. If ident number cannot be read, an
detected error message will be displayed in the result area and the Ident Number field
will contain 0xFFFF.
Prevent Future Changes Before Next Reset (Read / Write): when this check box is
set and the Set Slave Address is pushed (and address parameters are valid), the
device is expected to disallow future changes to the physical address until the next
reset of the device.
New Station Address (Read / Write): will contain the new address for the device the
user wants to change.
The minimum and maximum value of New Station Address is:
Min: 0
Max: 126
The panel also contains a result area which will show the result of the action done on
the device.
Enter the new address in the New Station Address (1-126) field, and then click Set
Slave Address button to write into the device.
The new Profibus slave address is set in the device.
Scope of this Part This part describes the following PRM operating modes: firmware updates and field
replacement.
Overview This section contains the information related to the update of the PRM module firmware.
General The firmware and the configuration of the PRM module are stored in a non-volatile Flash
Description Memory.
The Firmware can be updated. During the update, the concerned flash area will be
replaced with new binary code.
The command is available form the contextual menu of the Master DTM or Gateway
DTM in online mode.
Steps 1. With Windows Explorer, copy the new firmware file in the following directory:
- By default (For PRM Master DTM in Windows XP and Windows 7 (32 bit))
C:\Program Files\Schneider Electric\ PRM master DTM\ Firmware\
- Or <Your_installation_directory>\Firmware\
- By default (For PRM Master DTM in Windows 7 (64 bit))
C:\Program Files (x86)\Schneider Electric\ PRM master DTM\ Firmware\
- Or <Your_installation_directory>\Firmware\
- By default (For PRM Gateway DTM in Windows XP and Windows 7 (32 bit))
C:\Program Files\Common Files\Schneider Electric Shared\PRM Gateway
DTM\Firmware\
- Or <Your_installation_directory>\Firmware\
- By default (For PRM Gateway DTM in Windows 7 (64 bit))
C:\Program Files (x86)\Common Files\Schneider Electric Shared\PRM Gateway
DTM\Firmware\
- Or <Your_installation_directory>\Firmware\
2. Rename it PRMOS.bin
3. In the Menu bar of Unity Pro, select Tools DTM Browser.
4. In the DTM Browser, select < - >PRM_Master or < - >PRM_Gateway instance.
5. Right-click < - >PRM_Master or < - >PRM_Gateway instance, and then and click
Connect.
6. Right-click <->PRM_Master or < - >PRM_Gateway instance, and then click
Device menu Download Firmware.
WARNING
IRREPARABLE EQUIPMENT DAMAGE
During the firmware update process:
• Do not power off the PRM module
• Do not interrupt the communication between the PC and the PRM
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
The new firmware has been downloaded into the PRM and the PRM will reboot with the
new firmware.
Scope of this Chapter This chapter describes the management of the replacement of the PRM module.
These settings are done in the General Setting configuration panel of the PRM
Master DTM:
1. In the DTM Browser window, double-click PRM_Master or PRM_Gateway
instance to access to the PRM Configuration Tool.
2. In the navigation tree, select General Settings.
3. Select both cases Create an entry for …. and Backup the PRM configuration
in FDR …
Provide the extension of the device name as it is set on the rotary switches: for
example the rotary switches are set as followed:
Upper switch: "A"
Lower switch: "0"
Then the extension of the Device Name will take the value "100", and the Role
Name of the PRM module will be "TCSEGPA23F14F100".
Refer to the chapter Configuration of the PRM using the Master DTM Settings
in the Master DTM.
o Check the positions of the rotary switches of the old PRM module,
o Set the rotary switches of the new PRM module identical to the old
one.
o Place the new PRM module in the same location as the old one,
o Connect the Profibus connector to the PRM module,
o Connect the Ethernet RJ45 connector,
o Connect the power supply,
o The PRM module is booting and starts exchanges with the FDR
server in order to get its configuration,
o After the reboot the PRM is operational for data exchange with the
PLC.
NOTE: The new PRM is working in replacement of the old one despite it has another
MAC address. An update of the MAC Address in the Master DTM configuration screens
(General settings) is needed only in case of a communication issue using DHCP in
order to use the default IP based on the MAC address.
Scope of this Part This part contains an overview of Profibus DP fieldbus including technical
characteristics
Profibus DP
Optimized for high speed and inexpensive hookup, this Profibus version is designed
especially for communication between automation control systems and distributed
I/O at the device level. Profibus-DP can be used to replace parallel signal
transmission with 24 V or 4-20 mA.
To utilize these functions, various service levels of the DP protocol were defined:
• DP-V0 provides the basic functionality of DP, including
o Cyclic data exchange,
o Station, module and channel-specific diagnostics
Profibus PA
Profibus PA is designed especially for process automation. It permits sensors and
actuators to be connected on one common bus line through a dedicated DP/PA
gateway or link between the Profibus DP and Profibus PA networks, even in
intrinsically-safe areas. Profibus PA permits data communication and power over the
bus using a 2-wire technology according to the international standard IEC 1158-2.
Profibus FMS
Profibus FMS is the general-purpose solution for communication tasks at the cell
level. Powerful FMS services open up a wide range of applications and provide
great flexibility. Profibus FMS can also be used for extensive and complex
communication tasks. This protocol is the first developed for Profibus, but it is no
longer currently used.
Cyclic communication The DP master class 1 cyclically exchanges data with the slaves assigned to it.
This service is configured. During the configuration process, master and slave
addresses are assigned, the bus parameters are defined, the types and numbers of
modules (in the case of modular slaves) are specified, user-selectable parameter
choices are made, etc.
Before data exchange can take place, the master will send parameterization and
configuration telegrams to its assigned slaves. These parameters and configuration
data are checked by the slaves. If both are valid, the master will initiate cyclic I/O
data communication with the slave devices.
Acyclic communication In addition to the cyclic data exchange, the Profibus protocol has the option of
acyclic communication. This service is not configured.
There are 2 different communication channels possible between the requested
master and the slave:
- MS1 channel (MS1 connection): can only be established if cyclic data
exchange is taking place between that master (DPM1) and the slave.
- MS2 channel (MS2 connection): is possible with several masters
simultaneously, but the connection must be established explicitly by the master.
Acyclic reading and writing of data requires an established MS1 or MS2 connection.
For the MS1 channel, 3 conditions must be satisfied:
- The slave device must support the MS1 channel (key C1_Read_Write_supp at
1 in the GSD file)
- The DPV1_enable bit must be set during the parameter assignment
- Data exchange is taking place
For the MS2 channel, the connection must be explicitly initiated by the master. The
maximum number of possible MS2 connections to the slave must not be reached.
The connection can be closed by either the master or the slave device.
Topology of Profibus
Profibus devices are connected in a bus structure. Up to 32 stations (master or
DP
slaves) can be connected in one segment. The bus is terminated by an active bus
terminator at the beginning and end of each segment. Both bus terminations must
always be powered. When more than 32 stations are used, use repeaters (line
amplifiers) to connect the individual bus segments.
Profibus DP cable Only one type of cable can be used for Profibus network:
description
Parameter Type A
135…165Ω
Surge Impedance
(3 to 20 MHz)
Capacity <30 pF/m
Loop Resistance <110 Ω/km
Wire gauge >0.6 mm
Conductor area >0.34 mm²
The maximum cable length depends on the transmission speed and cable type. The
specified cable length can be increased using the repeaters. The use of more than 3
repeaters in series is not recommended.
Baudrate 3000-
9.6 19.2 93.75 187.5 500 1500
(kbps) 12000
Length
1200 1200 1200 1000 400 200 100
A (m)
Profibus DP connector
description DB9 Pin Description DB9 Pin# DB9 Termination with PRM
Chassis ground 1
Reserved 2
Data+ / B 3 In case of termination connect this
pin to Pin 8 (Data - / A) with 220 ohm
resistor
Tx enable 4
Isolated ground 5 Connect this pin to Pin 8 (Data - / A)
with 390 ohm resistor
Voltage plus 6 Connect this pin to Pin 3 (Data + / B)
with 390 ohm resistor
Reserved 7
Data- / A 8
Reserved 9
A
ASCII American Standard Code for Information Interchange.
Pronounced "aski". This is an American code (but now an international standard)
which allows all alphanumerical characters used in English, punctuation marks, some
graphics characters and various commands to be defined with 7 bits.
B
Bit Contraction of Binary Digit.
This is the binary unit of information content, which can represent two separate values
(or states): 0 or 1. A field of 8 bits constitutes 1 byte.
C
Communication DTM Software interface facilitating the communication between FDT frame application and
or CommDTM field devices using Device DTMs
Configuration The configuration comprises all the data that defines the device (invariable) and that is
necessary to the operation of the module.
CRC Cyclic Redundancy Check: Type of hash function used to produce a checksum – a
small, fixed number of bits – against a block of data, such as a packet of network
traffic or a block of a computer file.
D
DHCP Dynamic Host Configuration Protocol: Protocol allowing a station connected to the
network to obtain its configuration dynamically.
DIN Deutsches Institut für Normung: German standards institute.
DP-V0 DP-V0 (IEC 61784-1) is the basic stage of the PROFIBUS DP communication
protocol. DP-V0 devices (master and slaves) perform the following basic
functionalities: - Cyclic exchange of I/O data between controlling and slave devices -
Device, Identifier (module) and Channel related Diagnosis - Parametrization of DP-
slaves - Configuration of DP-slaves
DP-V1 DP-V1 is the first stage of extension of PROFIBUS DP after DP-V0. DP-V1 devices
shall comply with the following features: - Device related diagnosis is replaced by
status and alarms. - The first three octets of the user parameterization data are now
standardized Optionally these devices may support: - Acyclic communication (MS1,
MS2) - If alarms are used, MS1 shall be supported
DP-V2 DP-V2 is the second stage of extension of PROFIBUS DP after DP-V1. DP-V2 devices
shall comply with the following features: - Data Exchange Broadcast (DxB) for slave to
slave communication (publisher/subscriber principle). - Isochronuos Mode (time tick
synchronized operating slaves, e.g. drives) - Up- and/or download of Load Region
Data (domains) - Function Invocation - Clock Control (synchronization within slaves)
and Time Stamping - Redundancy
DPM1 DP Master Class 1 (IEC 61158-5): a controlling device which controls several DP-
Slaves (field devices). Usually programmable (logic) controllers or process control
systems are hosts for master class 1.
DPM2 DP Master Class 2 (IEC 61158-5): A controlling device which manages configuration
data (parameter sets) and diagnosis data of a DP-Master (Class 1). Additionally the
DP-Master (Class 2) can perform all communication capabilities of a DP-Master (Class
1). Usually personal computers are hosts for DP Master Class2 for programming,
parameterizing, diagnozing, and monitoring purposes.
F
FDL Fieldbus Data Link Layer (IEC 61158-4): The fieldbus data link layer provides basic
time-critical messaging communications between devices in an automation
environment. Type 3 of the IEC standard defines a protocol and the services for
PROFIBUS DP. The maximum system size is an unlimited number of links of 127
nodes, each with 66 SAP-addresses.
FDR Faulty Device Replacement: Automatic configuration recovery service provided by
the module.
FDT technology Field Device Tool standardizes the communication and configuration interface
between all field devices and host systems. FDT provides a common environment for
accessing the devices’ most sophisticated features. Any device can be configured,
operated, and maintained through the standardized user interface – regardless of
supplier, type or communication protocol.
FDT frame application FDT-enabled application e. g. engineering system or asset management tool.
The Frame Application is a software program that implements Device DTMs and
CommDTMs.
Flash memory Form of non-volatile computer memory that can be electrically erased and
reprogrammed.
FTP/TFTP File Transfer Protocol/Trivial File Transfer Protocol: Network file transfer protocol.
G
GND Ground Signal: Common return for the other connections.
GSD file GSD file contains information about the basic capabilities of a Profibus DP device. It is
shipped with the device, or can be downloaded from the vendor's own web site. With
a GSD file, system integrators can determine basic data such as the communications
options and the available diagnostics.
GW Gateway module translates communication information from one protocol to another
transparently at the hardware lever.
GW DTM DTM associated with the GW device, which can manage all the functions of the target
device and also simulate the GW behavior in required context like FDT- DTM. In FDT
DTM world this GW is called as GW DTM.
H
HTTP HyperText Transfer Protocol: Network transfer protocol for documents written in
hypertext (links).
I
IO Scanner Service provided by the Ethernet modules and configured by Unity Pro. The IO
scanner makes it possible to periodically read or write to/from remote inputs/ouputs on
IO Scanning
the Ethernet network, without requiring any specific programming.
M
M340 Schneider Electric PLC range
MAC Address Media Access Control address. The hardware address of a device. A MAC address
is assigned to an Ethernet TCP/IP module in the factory.
MIB Management Information Base: Database used by the SNMP protocol for network
management and containing information on data transmission, station or router
components, etc.
• MIB II: standard MIB
• Schneider Automation MIB: private MIB
MS0 IEC 61158-5: Application relationship for the following purposes: - cyclic exchange of
the I/O data with the DPM1 - cyclic exchange of the Input Data between DP-slaves
(DXB) - acyclic data transfer for parameterisation, configuration and diagnosis (DPM1)
- acyclic transfer of commands to a set of field devices (DPM1) - cyclic transfer of
synchronisation messages to a set of field devices (DPM1) - acyclic read of the I/O
data (DPM2) - acyclic read of configuration information (DPM2) - acyclic read of
diagnosis information (DPM2) - acyclic write of remanent parameter (DPM2).
MS1 IEC 61158-5: Connection-oriented application relationship for the following purposes: -
acyclic read and write of variables - acyclic transfer of alarms - up- and/or download of
load region data - invocation of stateless and/or state-oriented functions.
MS2 IEC 61158-5: Connection-oriented application relationship for the following purposes: -
acyclic read and write of variables - up- and/or download of load region data -
invocation of stateless and/or state-oriented functions.
P
PLC Programmable Logic Controller: It is a small computer used for automation of
industrial processes, such as control of machinery on factory assembly lines.
Premium Schneider Electric PLC range
Q
Quantum Schneider Electric PLC range
R
RS485 Serial connection standard operates at +/-5V differential. The connection uses the
same wire for transmission and receipt. Their "3-status" outputs allow them to switch
to listening mode when transmission is completed.
S
SNMP Simple Network Management Protocol: Network management protocol for
controlling a network remotely by polling the stations for their status and modifying
their configuration, performing security tests and viewing information relating to data
transmission. It can also be used to manage software and databases remotely.
T
TCP Transmission Control Protocol: Virtual circuit protocol that is one of the core
protocols of the Internet protocol suite, often simply referred to as TCP/IP.
U
Unity Pro Schneider Electric PLC programming software.
URL Uniform Resource Locator: The global address of documents and other resources
on the World Wide Web.
USB Universal Serial Bus: A serial bus standard to connect devices to a host computer
A
Acyclic exchanges ................................................................................................................................................... 160, 169, 185
C
CRC_IO .................................................................................................. 149, 152, 154, 155, 156, 157, 163, 166, 168, 176, 179
E
Ethernet
FDR ............................................................................................................. 30, 73, 75, 76, 108, 109, 179, 201, 202, 203, 209
IP address ...30, 31, 73, 74, 75, 76, 92, 106, 107, 108, 109, 133, 147, 148, 162, 169, 174, 175, 178, 179, 184, 190, 191, 192,
202, 203, 208, 210
Rotary switches ..................................................................................................................................................... 31, 169, 202
SNMP .................................................................................................................................. 171, 186, 187, 188, 190, 191, 210
G
Generic DTM ........................................................................................................ 59, 68, 90, 101, 123, 140, 141, 143, 144, 159
I
IO scanning ....11, 17, 18, 23, 64, 74, 75, 83, 92, 93, 95, 107, 116, 149, 155, 158, 159, 162, 163, 165, 166, 168, 169, 176, 179,
193, 209
L
LEDs ......................................................................................................................................................... 38, 172, 173, 174, 192
P
Profibus
DP/PA coupler ........................................................................................................................................ 81, 87, 114, 120, 205
DPV0................................................................................................................................................................. 17, 18, 19, 205
DPV1............................................................................................. 17, 18, 19, 78, 86, 111, 119, 135, 167, 169, 193, 205, 206
Sync & Freeze ............................................................................................................................................... 87, 120, 170, 182
V
Variables
Device IO variables ......................................................................................................................................... 69, 89, 102, 122
PRM variables ............................................................................................................................................. 163, 166, 179, 185