Modbus TCP/IP to PROFIBUS DP-V1
Pass-Through Master
12/21/2009
USER MANUAL
Important Installation Instructions
Power, Input, and Output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods, Article 501-4 (b)
of the National Electrical Code, NFPA 70 for installation in the U.S., or as specified in Section 18-1J2 of the Canadian
Electrical Code for installations in Canada, and in accordance with the authority having jurisdiction. The following
warnings must be heeded:
A WARNING - EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR
CLASS I, DIV. 2;
B WARNING - EXPLOSION HAZARD - WHEN IN HAZARDOUS LOCATIONS, TURN OFF POWER BEFORE
REPLACING OR WIRING MODULES
C WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN
SWITCHED OFF OR THE AREA IS KNOWN TO BE NONHAZARDOUS.
D THIS DEVICE SHALL BE POWERED BY CLASS 2 OUTPUTS ONLY.
All ProLinx® Products
WARNING – EXPLOSION HAZARD – DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN
SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS.
AVERTISSEMENT – RISQUE D'EXPLOSION – AVANT DE DÉCONNECTER L'EQUIPMENT, COUPER LE
COURANT OU S'ASSURER QUE L'EMPLACEMENT EST DÉSIGNÉ NON DANGEREUX.
Markings
UL/cUL ISA 12.12.01 Class I, Div 2 Groups A, B, C, D
cUL C22.2 No. 213-M1987
243333 183151
CL I Div 2 GPs A, B, C, D
Temp Code T5
II 3 G
Ex nA nL IIC T5 X
0° C <= Ta <= 60° C
II – Equipment intended for above ground use (not for use in mines).
3 – Category 3 equipment, investigated for normal operation only.
G – Equipment protected against explosi ve gasses .
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have suggestions, comments,
compliments or complaints about the product, documentation, or support, please write or call us.
, ProLinx ®, inRAx ®, ProTalk®, and RadioLinx ® are R egistered Tra demarks of ProSoft
Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products
and services of, their respective owners.
ProSof t Te ch n ol ogy® Product Documentation
In an effort to conserve paper, ProSoft Technology no longer includes printed manuals with our product shipments.
User Manuals, Datasheets, Sample Ladder Files, and Configuration Files are provided on the enclosed CD-ROM,
and are available at no charge from our web site: www.prosoft-technology.com
Printed documentation is available for purchase. Contact ProSoft Technology for pricing and availability.
North America: +1.661.716.5100
Asia Pacific: +603.7724.2080
Europe, Middle East, Africa: +33 (0) 5.3436.87.20
Latin America: +1.281.298.9109
Contents 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
Contents
Importan t In stallat ion Instruction s...................................................................................................2
Your Feedback Please................................................................................................................... 2
System Requirements..........................................................................8
1.1 Learning Objectives
When y ou have completed the steps in this User Manual, you will have learned
how to:
Understand data flow through the gateway between a Schneider Electric
Modicon M340 or Quantum controller using Modbus
devices on a PROFIBUS DP network.
Configure the 5204SE-MNET-PDPMV1 as a PROFIBUS DP version 1 Master
station to read cyclic data from and write cyclic data to PROFIBUS slave
devices.
Understand how the Unity™ Pro v 4.0 Derived Function Blocks (DFBs)
created by ProSoft Configuration Builder (PCB) work to transfer PROFIBUS
cyclic data and perform any required PROFIBUS acyclic messaging, allowing
the Modicon processor to emulate a PROFIBUS DP version 1 Master.
Observe that the 5204SE - MNET-PDPMV1 gateway is sending and receiv ing
data on the Eth er ne t por t an d PR OF I BU S M aster por t.
1.2 Prerequisites
To get the most benefit from this User Manual, you should have the following
skills:
Microsoft Windows: Install and launch programs, execute menu commands,
navigat e di alog boxes, and enter data.
PROFIBUS communication: Configure a PROFIBUS network using ProSoft
Configuration Builder (PCB) software.
Ethernet networking: Connect the 5204SE-Protocol> gateway and a
Schneider Electric Modicon M340 or Quantum Programmable Automation
Controller (PAC) system to an Ethernet network using valid IP address,
subnet mask, and default network gateway settings.
Hardware installation and wiring: Install the gateway, safely connect all
devices to a power source, and connect the gateway’s PROFIBUS Master
port and its Ethernet port to their respective networks.
®
TCP/IP, and slave
ProSoft Technology, Inc. Page 7 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Scope
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
1.3 System Requirements
The application described in this User Manual requires the following minimum
hardware and software components:
Schneider Electric Telemecanique Modicon PAC system with either:
oBuilt-in Modbus TCP/IP Ethernet communication port
or
oBMXNOE0100 Ethernet Network Module (NOE)
Schneider Electric Telemecanique Unity Pro programming software, version
4.0 or higher
ProSoft Configuration Builder (PCB) software, version 2.1. 9.1 or higher (on
the ProLinx Solutions CD-ROM, or can be downloaded from the web site)
Supported operating systems and PC hardware required:
oMicrosoft Windows VISTA Business Edition 32
Pentium IV, 2.4 GHz processor minimum, 3 GHz recommended
1 GB of RAM minimum, 3 GB recommended
8 GB of hard drive space minimum, 20 GB recommended
oMicrosoft Windows XP Professional with Service Pack 1 or 2
Pentium IV, 1.5 GHz processor minimum, 3 GHz recommended
512 MB of RAM minimum, 1 GB recommended
4GB of hard drive space minimum, 8 GB recommended
VGA or SVGA graphics adapter, 800 x 600 minimum resolution, 24-bit color
resolut ion (True Color)
CD-ROM drive, Windows Mouse and Keyboard
PC with DB9Male RS-232 Serial Port (for full diagnostics using PCB), USB
port (for Unity Pro), and Ethernet port (for configuration and PROFIBUS
diagnostics using PCB and for Unity Pro)
24 vdc power supply (not provided) with at least 500 mA current capacity
availabl e to power the gatew ay
Page 8 of 235 ProSoft Technology, Inc.
December 22, 2009
Functional Overview 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
2 Functional Overview
In This Chapter
General Overview................................................................................9
Data Flow through the Gateway.........................................................11
PROFIBUS DP Pass-Through Data Flow ...........................................13
Cyclic Polling and Acyclic Messaging Control Logic............................14
2.1 General Overview
Automating integration for Schneider Electric (SE) Modicon processors and
maximi zi ng ease-of-use ar e the hallmark des ign criteri a behind the new ProLinx
SE line of communication gateways. The first SE gateway, the 5204SE-MNETPDPMV1 Modbus TCP/IP to PROFIBUS DP-V1 Master gateway, easily turns a
Modicon M340 or Quantum Programmable Automation Controller (PAC) into a
PROFIBUS DP-V1 Master. The new Application Communication Logic functions
built into ProSoft Configuration Builder (PCB) automatically generate all the Unity
Pro data types, variables, and logic required for the processor to perform
PROFIBUS DP-V1 cyclic and acyclic communication.
PCB automatically generates customized export files based on the gateway's
PROFIBUS DP network configuration. You can import these files into Unity Pro
version 4 software without modification, eliminating the need to write additional
communication message logic.
Automatically-generated Derived Function Block logic also provides advanced
PROFIBUS DP-V1 acyclic message pass-through capability. Acyclic messaging
allows the processor to request extended slave data and diagnostics, as well as
access slave-specific special functions.
If you change the configur ation of your P ROFIBUS DP network in P r oSoft
Configuration Builder, you can easily export new logic files, and then import them
into an existing project.
ProSoft Technology, Inc. Page 9 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Functional Overview
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
2.2 Architecture
The following diagram shows an example network that connects a Personal
Computer (PC) and a Modicon M340 or Quantum Programmable Automation
Controller (PAC) to a ProLinx 5204SE-MNET-PDPMV1 gateway.
You configure the gateway using ProSoft Configuration Builder (PCB) software
through an Ethernet connection. The gateway also uses its Ethernet port to
support the Modbus TCP/IP protocol, allowing it to communicate with the
Modicon processor, as well as other Modbus TCP/IP devices.
You ca n also use the Ethernet connec tion to manage your PRO FIBUS network
slaves using ProSoft Technology Field Device Tool/Communications Device
Type Manager (FDT/comDTM) drivers for popular plant asset management
software , such as P ACTware™ and Endress+Hauser FieldCare. For more
information on FDT/comDTM drivers for the gateway, please refer to the ProLinx
PDPMV1 Driver Manual, on the ProLinx Solutions CD-ROM.
The gateway's PROFIBUS port allows it to act as a PROFIBUS DP-V1 Master.
The special Application Communication Logic functions built into PCB create all
the Unity Pro Derived Data Types (DDTs), Variables, and Derived Function Blocks (DFBs) needed by the Modicon processor to be able to send Modbus
TCP/IP messages and have those messages turned into PROFIBUS DP-V1
cyclic I/O and acyclic mailbox messages (called telegrams in the PROFIBUS
protocol). The gateway can also communicate with PROFIBUS PA slaves though
a third-party PROFIBUS DP-to-PA Link Coupler device (not supplied by ProSoft
Technology).
Page 10 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Functional Overview 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
The gateway has an RS-232 serial port. ProSoft Configuration Builder can use
this port to view the gateway's diagnostics and troubleshooting menus. You can
also use the serial port to upgrade the gateway's firmware.
2.3 Data Flow throu gh the Gateway
The internal database is central to the functionality of the gateway. This database
is shared between all the ports on the gateway and is used as a conduit to pass
information from one devi ce on one networ k to on e or m or e devi c es on ei th er
network su pp or te d by t he gateway. This perm i ts d ata from dev ices on one
communication port or network to be viewed and control l ed by dev i c es on
another port or network. In addition to data from the Master port, status and error
information generated by the gateway can also be mapped into the internal
database.
This special SE implementation of the 5204SE-MNET-P DPMV1 gateway uses
the gateway database to store PROFIBUS DP cyclic input and output data. This
means this PROFIBUS cyclic data will be available to the MNET Client (Master)
and Server (Slave) drivers for use on a Modbus TCP/IP network. The SE version
of the MNET Server has also been programmed to "Pass-Through" special
PROFIBUS DP-V1 acyclic mailbox message commands from the Modbus
TCP/IP Server directly to the PDPMV1 PROFIBUS DP-V1 Master driver for
transmiss io n on th e PR OF I BU S network.
ProSoft Technolo gy, Inc . Page 11 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Functional Overview
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
This pass-through capability allows a Modicon processor using its native Modbus
TCP/IP protocol to communicate directly with PROFIBUS DP-V1 slaves and
receive their responses, if any. Pass-through functions bypass the gateway
database, going from Modicon processor to SE MNET Server to PDPMV1
Master to PROFIBUS DP slaves and back.
Note: The normal MNET Server driver will accept and respond normally to remote Modbus TCP/IP
Client requests to read or write data to any address in the gateway's internal database. However,
this special SE implementation of the MNET Server is slightly different.
The SE MNET Server will accept and respond to read requests from Modbus TCP/IP clients in the
same way as the normal MNET Server. However, for write requests, the SE MNET Server will
accept and respond normally only if the address or addresses to be written fall in the gateway
database area designated for PROFIBUS Cyclic Output Data. This area is internal addresses 1000
through 1767, which have corresponding virtual Modbus addresses of 41001 through 41768 (fivedigit addressing) or 401001 through 401768 (six-digit addressing), as shown in the preceding data
flow diagram.
Any write requests received by the special SE MNET Server that are outside this specific data
address range will be rejected by the SE Server and an exception response containing Exception
Code "02 ILLEGAL DATA ADDRESS" will be returned to the requesting Client.
This special modification has been done to preserve the integrity of PROFIBUS Input Data by
preventing external Modbus TCP/IP Clients from writing to and thereby corrupting data in this
critical area, while allowing any Modbus TCP/IP Client to send data to PROFIBUS slaves by writing
it to the PROFIBUS Output Data area.
Page 12 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Functional Overview 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
2.4 PROFIBUS DP Pass-Through Data Flow
The Application Communication Logic functions built into the latest version of
ProSoft Conf igu ration Bu ilde r (PCB) will automatically cre ate all the Derived Data Types (DDTs), Variables, and Derived Function Blocks (DFBs) required by the
Modicon pr oc e ss or to al low it to act as a PROFIBU S DP-V1 Master for acy cl i c
mailbox message communication. PCB uses the PROFIBUS DP Master
configuration to create two files that may be imported into Unity Pro version 4.0
(or higher) to create these data structures and process logic.
PROFIBU S DP- V1 ac yc l ic com m uni c ati o n go es b eyond normal cycl i c I /O dat a
transfers by adding the capability to directly access each PROFIBUS network
slave. The types of acyclic data available varies from slave to slave but generally
include such data as alarm and status information, extended diagnostic
information, extended process data information, and device-specific special
commands.
The following illustration shows the basics of acyclic mailbox message data flow
from a Modicon processor, through the two gateway drivers, out to PROFIBUS
slaves, with responses (if any) returned to the Modicon.
ProSoft Technolo gy, Inc . Page 13 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Functional Overview
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
The DFBs create Modbus TCP/IP Client (Master) commands, which are
transmitted to the ProLinx MNET server (slave) driver. The MNET server
recognizes these special Modbus TCP/IP commands as PROFIBUS DP Acyclic
mailbox messages, strips out the PROFIBUS DP-V1 acyclic mailbox message
parameters contained in the Modbus TCP/IP message, and passes those
PROFIBUS message parameters through to the ProLinx PDPMV1 Master driver
for transmission to the PROFIBUS slave or slaves indicated in the message. Any
response message returned by the a slave to the PDPMV1 Master will be
automatically repackaged as a Modbus TCP/IP message and returned to the
Modicon processor, where the imported DFBs will process it.
This process allows a Modicon processor, using its native Modbus TCP/IP
communication ability, to act as a PROFIBUS DP-V1 Master on a PROFIBUS
network. By using a third-party PROFIBUS DP to PROFIBUS PA Link Coupler
(not supplied by ProSoft Technology), you can extend these PROFIBUS
capabilities even fu rther and communicate with PROFIBUS PA slaves.
2.5 Cyclic Polling and Acyclic Messaging Control Logic
The Application Communication Logic functions of ProSoft Configuration Builder
(PCB) automatically create Variables, DDTs and DFBs that have been
customized to match the PROFIBUS part of your PCB application. These
automatically-created structures and logic give you all the basic building blocks
you need to create an effective Modbus TCP/IP to PROFIBUS DP
communication appli c ation.
To complete your PROFIBUS communication application, all you will need to do
is to create your own customized control and sequencing logic to call the PCBgenerated DFBs in a logical, controlled manner. It will be your sequencing logic
that will decide when to call for PROFIBUS cyclic I/O data, status, and diagnostic
updates. Your logic will also decide if and when to trigger any acyclic messages
you may need to send.
To help you create your control and sequencing logic, here are a few principles
to keep in mind.
1 Once you have successfully created and downloaded your PROFIBUS
configuration to the 5204SE-MNET-PDPMV1 gateway, the PROFIBUS DPV1 Master driver will automatically begin and maintain no rmal PROFIBUS
cyclic I/O communications. PROFIBUS cyclic inputs and outputs will
constantly be updated on the PROFIBUS network with no action being
required from the processor. This means that PROFIBUS cyclic data
transfers are asynchronous and separate from whatever communication the
processor may or may not be doing between itself and the 5204SE-MNETPDPMV1 gateway.
Page 14 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Functional Overview 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
2 In order for the processor to 'see' any of the data being received from the
PROFIBUS slaves or to send any data to the PROFIBUS slaves, your control
and sequencing logic must initiate Modbus TCP/IP Client command
messages from the processor to the gateway by using the binary trigger
variabl es pr ovi d ed for each DFB. Th is requirement ap plies eq ually f or the
cyclic DFBs and for the acyclic DFBs. The main difference will be that the
DFBs to update cyclic data will most likely be triggere d much mo re often than
the acyclic DFBs are triggered. For additional details, see Sample Control
and Sequencing Logic for Cyclic Data Polling (page 113).
3 The basic communication cycle between the processor and the gateway is:
oUser-created logic in the processor sends a Modbus TCP/IP command
message to th e gat ew ay by triggering one o f th e fourteen (14) provided
DFBs.
o The MNET Server driver on the gateway receives the command.
o The MNET Server driver processes the command.
o The MNET Server driver returns a Modbus TCP/IP response to the
processor.
oSome commands cause data to be returned, such as read commands.
Some commands, such as write commands, return only an
acknowledgement that the command was received and executed.
Commands sometimes fail. Any data or error response to a command
returned by the MNET Server will be available in the provided Variables or DDTs after being placed there by the triggered DFB that initiated the
process cycle. User-created logic in the processor must process data or
errors received in the Modbus TCP/IP response, if any.
oIf no Modbus TCP/IP response is received within the time value specified
in a Timeout variable, the triggered DFB will set a Message Error bit flag
to indicate the message sequence failed and should be retried by
triggerin g a new message cycle.
4 In cases where PROFIBUS cyclic I/O data, general gateway status, or
standard PROFIBUS slave diagnostic data are concerned, these read or
write requests from the processor are handled internally in the gateway and
are processed asynchronously from any PROFIBUS DP Master processes
that might also be running in the gateway. This means these cyclic requests
tend to be responded to much more quickly than requests involving acyclic
messages that must be "passed-through" to the PROFIBUS Master for
execution before a Modbus TCP/IP response can be created and returned to
the processor.
5 In cases where PROFIBUS DP-V1 acyclic messages are concerned, these
read or write requests require a longer, more involved process cycle,
synchronized with actions on the PROFIBUS DP-V1 Master side of the
module. When the processor sends a Modbus TCP/IP read or write request,
using an acyclic message DFB:
oUser-created logic in the processor sends a Modbus TCP/IP command
message containing the data needed for the PROFIBUS DP-V1 acyclic
message to th e gateway by trigg er i ng one o f the ten ( 10) pr ovi d ed acyclic
DFBs.
oThe gateway MNET Server must process the incoming command.
ProSoft Technolo gy, Inc . Page 15 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Functional Overview
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
oThe MNET Server must pass the acyclic message and any associated
data through to the PROFIBUS DP-V1 Master.
oThe PROFIBUS Master must insert this command in between normal
slave data polling messages (send an acyclic message to a particular
slave or group of slaves.)
oThe PROFIBUS Master must receive a response from the addressed
PROFIBUS slave.
oThe PROFIBUS Master must return any PROFIBUS slave response data
to the MNET Server.
oThe MNET Server must create and return a Modbus TCP/IP response to
the processor containing the data, if any, from the PROFIBUS slave or
slaves.
oSome acyclic messages cause data to be returned. Some acyclic
messages return no data. Acyclic messages sometimes fail.
Communication failur es co ul d ha ppen on either or both the Modbus
TCP/IP protocol or the PROFIBUS protocol. Any data or error response to
an acyclic message returned by the PROFIBUS Master or the MNET
Server will be available in the provided Variables or DDTs after being
placed there by the triggered DFB that initiated the process cycle. User-
created logic in the processor must process data received in the
PROFIBUS DP or Modbus TCP/IP response, if any.
oIf no Modbus TCP/IP response is received within the time value specified
in a Timeout variable, the triggered DFB will set a Message Error bit flag
to indicate the message sequence failed and should be retried by
triggerin g a new message cycle.
You can see from the amount of processing involved that it will take
somewhat more time for the gateway to respond to acyclic message
commands than it will take to respond to cyclic I/O, status and diagnostics
requests.
6 Due to the nature of the communication routines used in the processor and
the Unity Pro programming language, only one Modbus TCP/IP command
can be "active" or "in process" at any one time. All the provided DFBs hav e
internal checks built in to prevent more than one at a time from being active.
Therefore, any control or sequencing logic you create must respect and
accommo da te thi s pr ocessor/l an gu ag e li mi tation. Part o f the
accommodations you will have to make is to allow for the differing amounts of
time it takes to process cyclic I/O and status commands as well as the
increased time it takes to process acyclic messages.
7 All provided DFBs have binary status bits available which can be monitored
by your control and sequencing logic to be sure you are not trying to activate
more than on e DFB-created Modbus TCP/IP message at a time. There is a
Message Done bit to indicate the communication cycle completed
successfully; and, there is a Message Error bit to indicate the communication
cycle did not complete successfully.
Page 16 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Procedures 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
Set Module Parameters .....................................................................21
Confi g u re the Ga teway......................................................................23
Password Protecting the Module........................................................49
Configure the Modicon M340 Processor with Unity Pro .......................56
Configure the Modicon Quantum Processor with Unity Pro..................74
3.1 ProLinx Reference Guide
The ProLinx Reference Guide on the ProSoft Sol u ti ons CD- R OM provides
detailed information on the entire range of ProLinx modules. If you have any
questions that are not answered in the MNET-PDPMV1 User Manual, please
refer to the P roL inx Reference Guide.
You must install the ProSoft Configuration Builder (PCB) software to configure
the gateway. You can always get the newest version of ProSoft Configuration
Builder from the ProSoft Technology web site.
To install ProSoft Configuration Builder from the ProSoft Web Site
1 Open your web browser and navigate to http://www.prosoft-
technology.com/pcb
2 Click the D
Configuration Builder .
3 Choose "S
4 Save the file to your Windows Desktop, so that you can find it easily when
you have fini s h ed dow nloading.
5 When t h e download is complete, locate and open the file, and then follow the
instructions on your screen to install the program.
OWNLOAD HERE link to download the latest version of ProSoft
AVE"or "SAVE FILE"when prompted.
If you do not have access to the Internet, you can install ProSoft Configuration
Builder from the ProSoft Solutions CD-ROM, included in the package with your
gateway.
ProSoft Technolo gy, Inc . Page 17 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Procedures
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
To install ProSoft Configuration Builder from the Product CD-ROM
1 Insert the ProSoft Solutions Product CD-ROM into the CD-ROM drive of your
PC. Wait for the startup screen to appear.
2 On the startup screen, click P
RODUCT DOCUMENTATION. This action opens a
Windows Explorer file tree window.
3 Click to open th e U
TILITIES folder. This folder contains all of the applications
and files you will need to set up and configure your gatewa y.
4 Double-click the S
"PCB_*.
EXE" file and follow the instructions on your screen to install the
ETUPCONFIGURATIONTOOL folder, double-click the
software on your PC. The information represented by the "*" character in the
file name is the PCB version number and, therefore, subject to change as
new versions of PCB are released.
Note: Many of the configuration and maintenance procedures use files and other utilities on the
CD-ROM. You may wish to copy the files from the Utilities folder on the CD-ROM to a convenient
location on your hard drive.
3.2.1 Using the Online Help
Most of the information needed to help you use ProSoft Configuration Builder is
provided in a Help System that is always available whenever you are running
ProSoft Configuration Builder. The Help System does not require an Internet
connection.
To view the help pages, sta r t ProSoft Configuration Buil der, open the H
menu, and then choose CONTENTS.
ELP
3.2.2 Using ProSoft Configuration Builder
ProSoft Configuration Builder (PCB) prov i d es a qu i ck and easy way to manage
gateway configuration files customized to meet your application needs. PCB is
not only a powerful s olution for ne w configuratio n files, but a lso allows you to
import information from previously installed (known working) configurations to
new projec ts .
Page 18 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Procedures 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
3.2.3 Set Up the Project - SE-MNET-PDPMV1
To begin, start ProSoft Configuration Builder. If you have used other Windows
configuration tools before, you will find the screen layout familiar. ProSoft
Configuration Builder’s window consists of a tree view on the left, an information
pane, and a configuration pane on the right side of the window. When you first
start ProSoft Configuration Builder, the tree view consists of folders for Default
Project and Default Location, with a Default Module in the Default Location
folder. The following illustration shows the ProSoft Configuration Builder windo w
with a new project.
Your first task is to add the 5204SE-MNET-PDPMV1 module to the project.
1 Use the mouse to select D
EFAULT MODULE in the tree view, and then clic k the
right mouse button to open a shortcut menu.
ProSoft Technolo gy, Inc . Page 19 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Procedures
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
2 On the shortcut menu, choose C
C
HOOSE MODULE TYPE dialog box.
HOOSE MODULE TYPE. This actio n op ens the
3 In the P
S
ELECT MODULE TYPE dropdown list, select 5204SE-MNET-PDPMV1, and
then click OK
RODUCT LINE FILTER area of the dialog box, select 5204SE.In the
to save your settings and return to the PROSOFT
CONFIGURATION BUILDER window.
Important: Be sure to pick the 5204SE-MNET-PDPMV1 module from the list. The very similar
5204-MNET-PDPMV1 does not support the special Application Communication Logic functions
available in the 5204SE-MNET-PDPMV1. These functions are required to integrate the 5204SEMNET-PDPMV1 with the Modicon processor.
Page 20 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Procedures 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
3.3 Set Module Parameters
Notice that the contents of the information pane and the configuration pane
changed when you adde d the 5204SE-MNET - PDPMV1 modul e to the project.
At this time, you may wish to rename the "Default Project" and "Default Location"
folders in the tree view.
To rename an object:
1 Select the object, and then click the right mouse button to open a shortcut
menu. From the shortcut menu, choose R
ENAME.
2 Type the name to assi gn to the object.
3 Click away from the object to save the new name.
3.3.1 To Configure Module Parameters
1 Click on the plus sign next to the icon to expand gateway information.
2 Double-click the
3 To edi t a parameter , select the parameter in the left pane and make your
changes in the right pane.
4 Click OK
to save your changes.
icon to open the EDIT dialog box.
ProSoft Technolo gy, Inc . Page 21 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Procedures
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
3.3.2 Printing a Configuration File
1 Select the MODULE icon, and then click the right mouse button to open a
shortcut menu.
2 On the shortcut menu, choose V
V
IEW CONFIGURATION window.
3 On the V
P
RINT.This action opens the PRINT dialog box.
4 On the P
select printing options, and then click OK.
IEW CONFIGURATION window, open the FILE menu, and choose
RINT dialog box, choos e th e printer to use from the dr o pd ow n lis t ,
IEW CONFIGURATION. This action opens the
Page 22 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Procedures 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
3.4 Configure the Gateway
To configure the gateway for your application, follow these steps:
1 Configure the PROFIBUS DP Master Setting and setup all PROFIBUS DP
network slave devices (page 23, page 24)
2 Configure the PROFIBUS Master DP-V1 gateway settings (page 32)
3 Configure the MNET Server Settings (Optional - default settings can be used
without modificati on) (page 38)
4 Configure the MNET Client Settings (Optional - default settings can be used
without modificati on) (page 39)
5 Configure the Ethernet Settings (page 40)
6 Download the Project to the gateway (page 43).
3.4.1 Configure the PROFIBUS DP Network
To configure your PROFIBUS DP network you must perform four tasks:
1 Install any PROFIBUS slave-specific device configuration files, typically
called .GSD files (p age 23).
2 Configure the ProLinx PROFIBUS DP Master (page 23, page 24).
3 Configur e the PROF I BU S Sl av es .
4 Print the Unity Passthru Memory Map (page 30).
Install the GSD Files
ProSoft Con fi guration Buil d er (PCB) us es PROF IBUS slave devi ce definition files
(GSD files) to obtain basic configuration information about the PROFIBUS slaves
you add to the network. The GSD configuration files identify the slave’s
capabilities so that the 5204SE-MNET-PDPMV1 ca n communicate with it
correctly.
Follow these steps to install the GSD file or files for your slave device or devices.
Tip: GSD configuration files for popular PROFIBUS slaves and ProSoft Technology solutions are
included with PCB. Before installing GSD files, browse the list of available slaves in the Tree View
window to see if GSD files for your slave are already installed.
GSD files are often both model number specific as well as model revision specific. Just because
you may have an older GSD file from a manufacturer for the particular make and model of your
slave device does not guarantee it will work for a newer revision of that device. Be sure you obtain
from the device manufacturer the correct GSD file or files for your PROFIBUS slave or slaves.
To install GSD files manually:
1 In ProSoft Configuration Builder tree view, click [+] to expand the module
tree, and then double-cl ic k t he PROFIBUS
DP icon. This action opens the
PDPMV1 PROFIBUS Master Setup dialog box.
2 Click the C
ONFIGURE PROFIBUS button. This action opens the ProSoft
Configuration Builder for PROF IBUS applicati o n.
ProSoft Technolo gy, Inc . Page 23 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Procedures
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
3 Open the T
OOLS menu, and then choose INSTALL NEW GS* FILE.This action
opens a dialog box that allows you to browse for the location of the GSD
configuration files to install. (Depending on the device and language used in
the file, the actual extension may be ".GSD", ".GSE", ".GSS", of other
combinations; hence the generic reference to ".GS*" files, where "*" is a
wildcard that stands for any letter.)
4 Choose the file to install, and then click O
PEN.If the fil e alr e ady exi s ts in the
configuration file path, you will be prompted to overwrite the file.
5 You will be prompted to associate the GSD configuration file with a bitmap
image of the slave device. Use the F
ILE /OPEN dialog box to brow se for the
location of the image file to use. If you have no device-specific bitmap file,
you may C
the Bus Configuration window for this sla ve device.
ANCEL the bitmap upload, and a gene ric device icon will be used in
Configure the PROFIBUS DP Master
1 In ProSoft Configuration Builder tree view, click [+] to expand the module
tree, and then double-cl ic k t he PROFIBUS
DP icon. This action opens the
PDPMV1 PROFIBUS Master Setup dialog box.
2 On the PDPMV1 PROFIBUS Master Setup dialog box , cli c k t he C
ONFIGURE
PROFIBUS button. This action opens the ProSoft C onfiguration Bui l der for
PROFIBUS ap pl i cati o n.
3 Click [+] to expand the PROFIBUS
4 Drag the P
ROSOFT PROFIBUS Master icon into the Bus Configuration
MASTER tree.
window.
Page 24 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Procedures 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
5 Double-click the P
ROSOFT MASTER icon in the Bus Configuration window.
This action opens the Master Properties di al o g bo x .
Configur e the PROF I BU S Sl aves
Important: The GSD file for this example is not included on the ProLinx Solutions CD-ROM, and is
used for illustrative purposes only. You can download a variety of example GSD files from the
PROFIBUS Trade Organization web site at www.profibus.org, or from the manufacturer's web site
for your PROFIBUS slaves.
The followi n g steps, descri be how to add and configure a Sieme ns EM 277 I/O
chassis to the PR OF I BU S network. The con fig ur at i on infor m a ti on (.GSD file) for
this device must be installed according to the procedure found in Install the GSD
Files ( page 23). Most other PROFIBUS Slaves can be configure d in a simi l ar
manner.
1 In ProSoft Configuration Builder for PROFIBUS, click the plus sign [+] to
expand the PROFIBUS
DPtree.
ProSoft Technolo gy, Inc . Page 25 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Procedures
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
2 Navigate to the folder containing the type of slave device to add
(PLC
S/SIEMENS/EM277, in this example), and then click the plus sign [+]to
expand the folder.
3 Click on the
EM277PROFIBUS-DP icon in the tree view and drag and drop
the icon into the Bus Configuration view. This action adds the slave device
and connects it to the Master in a network relationship.
Page 26 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Procedures 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
4 In the tree view, click the plus sign [+]
to expand the slave device you adde d.
This action opens a list of device configuration values. The following
illustration shows the possible input/output configuration values for a Siemens
EM 277. The selections available for other devices may be different, so you
should review the specifications for the pro duc t you a re insta lling in order to
determine the correct values to use.
ProSoft Technolo gy, Inc . Page 27 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Procedures
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
5 Drag the input and output parameters to the slot location grid (Subscriber
List) below the Bus Configuration window. The slot view displays the slot
number, c on fi guration data, and input and out put addresse s. T he PR OFIBUS
DP Master uses this information to identify and communicate with individual
slaves on the ne tw or k.
For this example, we will configure 8 words of input and 32 words of output.
These input and output words are assigned to addresses within the
gateway's internal database.
For each new slave added to the PROFIBUS network, ProSoft Configuration
Builder automatically converts the input/output byte addresses to word
input/output addresses.
Tip: To make it easier to view the data from individual slaves, you can create a spreadsheet with
all added slaves and input and output data offsets, or you can view and print the data map.
Page 28 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Procedures 5204SE-MNET-PDPMV1 ♦ ProLinx Gateway
User Manual Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
6 Double click the S
LAVE icon to view the Slave properties dialog.
ProSoft Configuration Builder automatically assigns a PROFIBUS address to
each new slave. The slave address assignment begins at address 3 for the
first slave added to the network (addresses 0, 1, and 2 are reserved for use
with PROFIBUS Masters), and is incremented by 1 for each new slave added
to the network. You may, however, assign any address, 0-125 to any Master
or slave node as long as you do not assign the same address to more than
one device. You can change the address in the C
OMMON tab of the Slave
properties dialog box. ProSoft Configuration Builder will not allow you to
assign a PROFIBUS address that is already in use by another device on this
network.
Leave the remaining settings unchan ge d for now , an d cli c k OK
to close the
Slave properties di al o g box.
7 Repeat steps 2 through 6 for all slaves you intend to place on the network.
8 When yo u are f inished adding slave s, open the P
E
XIT.Click YES to save the project and retur n to the PROFIBUS Master Setup
dialog box.
ROJECT menu and choos e
ProSoft Technolo gy, Inc . Page 29 of 235
December 22, 2009
5204SE-MNET-PDPMV1 ♦ ProLinx Gateway Procedures
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master User Manual
Print the Unity Passthru Memory Map
The Unity Passthru Memory Map dialog box uses the information about your
PROFIBUS Master and slave configuration to display where the data may appear
in your Modicon processor's Memory Word (%MW) data registers. You need to
know where in the Modicon processor %MW area you want the PROFIBU S da ta
to appear before you will be ab le to input configuration parameters that will make
this Memory Map display valid addresses.
To view or print the ProLinx Memory Map
1 On the PDPMV1 PROFIBUS Master Setup dialog box , cli c k t he
SHOW PLX
MEMORY MAP button, near the bottom of the window.
Page 30 of 235 ProSoft Technolo gy, Inc .
December 22, 2009
Loading...
+ 205 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.