ProSoft Technology PLX51-PBM User Manual

PLX51-PBM
PROFIBUS DP Master/Slave to EtherNet/IP™ Gateway
August 29, 2019
v1.0
USER MANUAL
Page 2 of 162
CONTENTS
1. Preface ............................................................................................................................... 7
Introduction................................................................................................................. 7
Features ....................................................................................................................... 9
Architecture ............................................................................................................... 10
Additional Information .............................................................................................. 11
Support ...................................................................................................................... 11
2. Installation ....................................................................................................................... 13
Module Layout .......................................................................................................... 13
Module Mounting ..................................................................................................... 15
PROFIBUS DP Port (RS485) ........................................................................................ 16
3. Setup ................................................................................................................................ 17
Installing the Configuration Software ....................................................................... 17
Network Parameters ................................................................................................. 18
GSD File Management ............................................................................................... 22
Creating a New Project .............................................................................................. 25
PLX51-PBM Parameters ............................................................................................ 27
General ............................................................................................................... 27
PROFIBUS – Master Mode ................................................................................. 29
PROFIBUS – Slave Mode .................................................................................... 32
Logix ................................................................................................................... 33
Advanced ........................................................................................................... 35
Module Download ..................................................................................................... 36
Device Discovery (Online) – Master Mode ............................................................... 38
Discovery ............................................................................................................ 38
Device Station Address Change ......................................................................... 40
Adding PROFIBUS DP Devices – Master Mode ......................................................... 41
General ............................................................................................................... 42
PROFIBUS Configuration .................................................................................... 43
DPV1 ................................................................................................................... 44
User Parameters ................................................................................................ 46
Slot Configuration .............................................................................................. 47
Page 3 of 162
Slot Configuration - Modules .................................................................................................... 48
Data Points ................................................................................................................................ 50
Slot Configuration – Logix Specific ............................................................................................ 52
Start-up Parameters ........................................................................................... 52
Adding PROFIBUS DP Devices – Slave Mode ............................................................. 53
General ............................................................................................................... 54
PROFIBUS Configuration .................................................................................... 55
DPV1 ................................................................................................................... 56
Slot Configuration .............................................................................................. 57
DPV1 Objects ..................................................................................................... 57
DPV1 Alarms ...................................................................................................... 59
Logix Configuration ................................................................................................ 60
EDS AOP (Logix v21+) ..................................................................................... 60
Generic Module Profile (Logix Pre-v21) ......................................................... 63
Multi-Connection ........................................................................................... 65
Logix Mapping........................................................................................................ 67
4. Operation ......................................................................................................................... 71
Logix Operation ......................................................................................................... 71
PROFIBUS DP - Master ....................................................................................... 71
Master Status ............................................................................................................................ 71
Master Control .......................................................................................................................... 74
Status and DPV0 Data Exchange ............................................................................................... 74
DPV1 Explicit Messaging ........................................................................................................... 77
DPV1 Class 1 Messaging (MS1) ................................................................................................. 78
DPV1 Class 2 Messaging (MS2) ................................................................................................. 80
PROFIBUS Diagnostics ............................................................................................................... 85
Global Control ........................................................................................................................... 88
Alarming .................................................................................................................................... 89
PROFIBUS DP - Slave .......................................................................................... 91
General Status ........................................................................................................................... 92
General Control ......................................................................................................................... 94
Status and DPV0 Data Exchange ............................................................................................... 96
DPV1 Class 1 Messaging (MS1) ................................................................................................. 98
Alarming .................................................................................................................................... 99
Page 4 of 162
Explicit Messaging Utility ........................................................................................ 101
Firmware upgrading ................................................................................................ 103
5. Device Type Manager (DTM) ......................................................................................... 107
Installation ............................................................................................................... 107
Configuration ........................................................................................................... 108
Operation ................................................................................................................ 111
6. Diagnostics ..................................................................................................................... 115
LEDs ......................................................................................................................... 115
Module Status Monitoring ...................................................................................... 117
PLX51-PBM ....................................................................................................... 118
General .................................................................................................................................... 119
Slave Status ............................................................................................................................. 122
General Statistics .................................................................................................................... 123
DPV1 Statistics ........................................................................................................................ 126
Live List .................................................................................................................................... 128
Discovered Nodes ................................................................................................................... 128
Ethernet Clients ...................................................................................................................... 129
TCP/ARP .................................................................................................................................. 129
Device Status .................................................................................................... 130
General – Master Mode .......................................................................................................... 131
Statistics .................................................................................................................................. 132
Standard Diagnostics............................................................................................................... 135
Extended Diagnostics .............................................................................................................. 136
PROFIBUS Packet Capture ....................................................................................... 137
Module Event Log.................................................................................................... 140
Web Server .............................................................................................................. 141
7. Technical Specifications ................................................................................................. 143
Dimensions .............................................................................................................. 143
Electrical .................................................................................................................. 144
Ethernet ................................................................................................................... 144
PROFIBUS DP ........................................................................................................... 145
Agency Approvals and Certifications ...................................................................... 145
8. PROFIBUS DP .................................................................................................................. 147
Introduction............................................................................................................. 147
Page 5 of 162
PROFIBUS master and slave .................................................................................... 148
PROFIBUS master class 1 (DPM1) or class 2 (DPM2) .............................................. 149
Cyclic communication ............................................................................................. 149
Acyclic communication............................................................................................ 150
Topology of PROFIBUS DP ....................................................................................... 150
PROFIBUS DP cable description .............................................................................. 151
PROFIBUS DP connector description....................................................................... 151
9. Appendix ........................................................................................................................ 153
DPV1 Response Status (Master Only) ..................................................................... 153
DPV1 Extended Status Codes (Master Only) – FDL Error ........................................ 153
DPV1 Extended Status Codes (Master Only) – DPV1 Error ..................................... 154
DPV1 Read/Write Error .................................................................................... 154
DPV1 Extended Status - Byte 1 ............................................................................................... 154
DPV1 Extended Status - Byte 2 ............................................................................................... 154
DPV1 Abort....................................................................................................... 155
DPV1 Extended Status - Byte 1 - Subnet ................................................................................. 155
DPV1 Extended Status - Byte 2 – Instance/Reason................................................................. 156
10. Support, Service & Warranty ...................................................................................... 157
Contacting Technical Support .............................................................................. 157
Warranty Information ......................................................................................... 159
11. Index ............................................................................................................................ 161
Page 6 of 162
Preface
1. PREFACE
INTRODUCTION
This manual describes the installation, operation, and diagnostics of the PLX51-PBM PROFIBUS DPV0/DPV1 Master/Slave module. The module will hereafter be collectively referred to as PLX51-PBM.
The PLX51-PBM allows you to interface PROFIBUS DP to EtherNet/IP™.
The PLX51-PBM can operate as a PROFIBUS DPV0/DPV1 Master or multiple PROFIBUS DPV0/DPV1 Slaves. This allows EtherNet/IP devices (e.g. Rockwell Logix platform) to exchange process, alarming, and diagnostic data with PROFIBUS DP devices, as well as provide parameterization and asset management of slave devices using Device Type Managers (DTMs).
The PLX51-PBM slave feature can operate only as one or more PROFIBUS DPV0/DPV1 Slaves. This allows EtherNet/IP devices to exchange process, alarming, and diagnostic data with other PROFIBUS DP Master(s).
Page 7 of 162
Preface
Figure 1.1 – PLX51-PBM Typical PROFIBUS Master Architecture
Figure 1.2 – PLX51-PBM Typical PROFIBUS Slave Architecture
Page 8 of 162
Preface
FEATURES
The PLX51-PBM can be set to operate as either a PROFIBUS DP Master or Slave.
The PLX51-PBM has two Ethernet ports allowing for either a Linear or Ring (Device Level Ring – DLR) Ethernet topology. The Ethernet ports can also be set up for port mirroring allowing for better fault analysis.
The PLX51-PBM can synchronize to an NTP Server, allowing for automatic time synchronization. The PLX51-PBM also supports an onboard non-volatile event log for improved fault finding.
PLX51-PBM as a PROFIBUS Master
The PLX51-PBM can exchange process data (DPV0) with up to 125 PROFIBUS DP slave devices, providing up to 1536 cyclic bytes input and 1536 bytes output data. The data is formatted into the engineering units for use in a Logix platform by using the automatically generated mapping imports for Logix User Defined Data Types (UDTs).
The PLX51-PBM also provides DPV1 communication allowing you to exchange DPV1 Class 1 and Class 2 data with each slave device. The PLX51-PBM Gateway DTM can be used to configure and parameterize each slave device using Device Type Manager (DTM) technology.
From a Logix controller, the PLX51-PBM allows you to monitor and extract DPV1 alarms from each slave device on the connected PROFIBUS DP fieldbus.
PLX51-PBM as a PROFIBUS Slave
The PLX51-PBM can also be configured to emulate up to 10 PROFIBUS slave devices, providing up to 1536 bytes of Input and Output Cyclic I/O data between EtherNet/IP devices and a PROFIBUS DP master. Each slave device emulated by the PLX51-PBM can be configured to provide DPV0 data exchange with a PROFIBUS Master on the network.
The data is formatted into the engineering units for use in a Logix platform by using the automatically generated mapping imports for Logix User Defined Data Types (UDTs).
Each emulated slave can also be configured to exchange DPV1 Class 1 data by mapping Logix tags for the relevant DPV1 data exchange. Each emulated slave is able to provide DPV1 alarming for the PROFIBUS Master.
The PLX51-PBM provides a range of statistics and tools to provide a detailed diagnostic overview of each emulated slave which speeds up fault finding. The PLX50 Configuration Utility allows you to perform a PROFIBUS DP packet capture of the running Fieldbus which can be used to analyze the bus behaviour and packets received. The PLX51-PBM also provides global and device specific statistics.
Page 9 of 162
Preface
ARCHITECTURE
The figure below provides an example of a typical network setup for a PLX51-PBM PROFIBUS Master architecture using an EtherNet/IP interface.
Figure 1.3 – PLX51-PBM PROFIBUS Master to EtherNet/IP architecture
The figure below provide an example of the typical network setup for a PLX51-PBM PROFIBUS Slave architecture using an EtherNet/IP interface.
Figure 1.4 – PLX51-PBM PROFIBUS Slave to EtherNet/IP architecture
Page 10 of 162
Preface
Resource
Link
PLX50 Configuration Utility Installation
www.prosoft-technology.com
PLX51-PBM User Manual PLX51-PBM Datasheet
www.prosoft-technology.com
Resource
Link
Contact Us link
www.prosoft-technology.com
Support email
support@prosoft-technology.com
ADDITIONAL INFORMATION
The following documents contain additional information that can assist you with installation and operation.
Table 1.1 - Additional Information
SUPPORT
Technical support is provided via the Web (in the form of user manuals, FAQ, datasheets etc.) to assist with installation, operation, and diagnostics.
For additional support, use either of the following:
Table 1.2 – Support Details
Page 11 of 162
Page 12 of 162
Installation
2. INSTALLATION
MODULE LAYOUT
The PLX51-PBM has one RS485 PROFIBUS DP port as well as two Ethernet. The Ethernet cable must be wired according to industry standards, which can be found in the Additional Information section of this document.
The module provides six diagnostic LEDs, as shown in the front view figure below. These LEDs are used to provide information regarding the module system operation, the Ethernet interface, and the PROFIBUS network status.
Figure 2.1 – PLX51-PBM Side and Front view
Page 13 of 162
Installation
DIP Switch
Description
DIP 1
Used to force the module into “Safe Mode”. When in “Safe Mode”, the module will not load the application firmware and will wait for new firmware to be downloaded. This should only be used in the rare occasion when a firmware update was interrupted at a critical stage.
DIP 2
This forces the module into DHCP mode which is useful when you have forgotten the IP address of the module.
DIP 3
This is used to lock the configuration from being overwritten by the PLX50 Configuration Utility. When set, the PLX50 Configuration Utility will not be able to download to the PLX51-PBM module.
DIP 4
When this is set, a module reboot will set the module Ethernet IP address to
192.168.1.100 and network mask 255.255.255.0. You can then switch the DIP switch off and assign the module a static IP address if needed.
At the bottom of the PLX51-PBM module, there is one 3-way power connector.
Figure 2.2 – PLX51-PBM Power connector
The PLX51-PBM has an input voltage range of 10 to 36 VDC, applied to the module via the power connector. The power connector also provides an Earth connection for the PLX51­PBM.
NOTE: It is recommended to always have a good clean earth connected to the module via the Earth connector on the power connector.
At the back of the module, there is slot for a SD memory card. The module provides four DIP switches at the top of the enclosure as shown in the top view figure below.
Figure 2.3 – PLX51-PBM Top view
Table 2.1. - DIP Switch Settings
Page 14 of 162
Installation
MODULE MOUNTING
The PLX51-PBM provides a DIN rail clip to mount onto a 35mm DIN rail.
Figure 2.4 - DIN rail specification
The DIN rail clip is mounted at the back of the module as shown in the figure below. Use a flat screw driver to pull the clip downward. Once the module is mounted onto the DIN rail, the clip must be pushed upwards to lock the module onto the DIN rail.
Figure 2.5 - DIN rail mouting
Page 15 of 162
Installation
Pin
Signal
Description
1
-
Not connected
2
-
Not connected
3
RxD/TxD-P
Data received and transmit (+)
4
CNTR-P
Control signal to repeater (+)
5
DGND
Reference potential for +5Vdc
6
VP
+5Vdc for terminating resistors (active termination)
7
-
Not connected
8
RxD/TxD-N
Data received and transmit (-)
9
-
Not connected
PROFIBUS DP PORT (RS485)
The PROFIBUS DP port uses a female DB9 connector. This provides connection for the communication conductors, cable shielding, and +5Vdc output power.
Figure 2.6 – PLX51-PBM PROFIBUS DP (RS485) DB9 connector
Table 2.2 – DB 9 Connector layout
Page 16 of 162
Setup
3. SETUP
INSTALLING THE CONFIGURATION SOFTWARE
All PLX51-PBM network setup and configuration is done in the ProSoft PLX50 Configuration Utility. This software can be downloaded from: www.prosoft-technology.com
Figure 3.1. - ProSoft PLX50 Configuration Utility Environment
Page 17 of 162
Setup
NETWORK PARAMETERS
The PLX51-PBM has DHCP (Dynamic Host Configuration Protocol) enabled as factory default. Thus, a DHCP server must be used to provide the module with the required network parameters (IP address, subnet mask, etc.). There are a number of DHCP utilities available, however it is recommended that the DHCP server in the PLX50 Configuration Utility is used.
Within the PLX50 Configuration Utility environment, the DHCP server can be found under the Tools menu.
Figure 3.2. - Selecting DHCP Server
Once opened, the DHCP server listens on all available network adapters for DHCP requests and display their corresponding MAC addresses.
Figure 3.3. - DHCP Server
NOTE: If the DHCP requests are not displayed in the DHCP Server, it may be due to the local PC’s firewall. During installation, the necessary firewall rules are automatically created for the Windows firewall. Another possibility is that another DHCP Server is operational on the network and it has assigned the IP address.
Page 18 of 162
Setup
To assign an IP address, click on the corresponding ASSIGN button. The Assign IP Address for MAC window opens.
Figure 3.4. - Assigning IP Address for MAC
The required IP address can be either entered, or a recently used IP address can be selected by clicking on an item in the Recent list.
If the Enable Static checkbox is checked, the IP address will be set to static after the IP assignment, thereby disabling future DHCP requests.
Once you click OK, the DHCP server will automatically assign the IP address to the module and then read the Identity object product name from the device.
The successful assignment of the IP address by the device is indicated by the green background of the associated row.
Figure 3.5. - Successful IP address assignment
It is possible to force the PLX51-PBM back into DHCP mode by powering up the device with DIP switch 2 set to the On position.
Page 19 of 162
Setup
A new IP address can then be assigned by repeating the previous steps.
NOTE: It is important to return DIP switch 2 back to Off position, to avoid the module returning to a DHCP mode after the power is cycled again.
In addition to the setting the IP address, a number of other network parameters can be set during the DHCP process. These settings can be viewed and edited in the PLX50 Configuration Utility Application Settings, in the DHCP Server tab.
Once the DHCP process is complete, the network settings can be set using the Ethernet Port Configuration via the Target Browser.
The Target Browser can be accessed under the Tools menu.
Figure 3.6. - Selecting the Target Browser
The Target Browser automatically scans the Ethernet network for EtherNet/IP devices.
Figure 3.7. - Target Browser
Page 20 of 162
Setup
Right-clicking on a device, reveals the context menu, including the Port Configuration option.
Figure 3.8. - Selecting Port Configuration
The Ethernet port configuration parameters can be modified using the Ethernet Port Configuration window.
Figure 3.9. - Port Configuration
Alternatively, these parameters can be modified using Rockwell Automation’s RSLinx software.
Page 21 of 162
Setup
GSD FILE MANAGEMENT
Each PROFIBUS device has a GSD file that is required to provide information needed to configure the device for data exchange. The PLX50 Configuration Utility manages the GSD library which is used for adding devices to the PLX51-PBM.
1 The GSD File Management Tool is opened by selecting GSD File Management under
the Tool menu in the configuration utility.
Figure 3.10 – Launching the GSD File Management Tool
2 Once the tool opens, a list of registered slave devices are displayed, using their GSD
files.
Figure 3.11 – GSD File Management Tool
Page 22 of 162
Setup
3 To add a GSD file, select the Add option under the GSD File menu.
Figure 3.12 – GSD File Adding
4 Select the required GSD file and click OPEN.
Figure 3.13 – Adding GSD File
5 Once the file has been selected, the GSD File Management tool adds the slave device
to the device list and recompile the GSD catalog.
Page 23 of 162
Setup
A GSD catalog can be exported from another PLX50 Configuration Utility by exporting the GSD catalog from one PLX50 Configuration Utility, and importing it in another. This is done by selecting either Import or Export under the Catalog menu as shown below:
Figure 3.14 – GSD Catalog import/export
Page 24 of 162
Setup
CREATING A NEW PROJECT
1 Before you configure the module, a new PLX50 Configuration Utility project must be
created. Under the File menu, select New.
Figure 3.15 - Creating a new project
2 A PLX50 Configuration Utility Design Tool project is created, showing the Project
Explorer tree view. To save the project use the Save option under the File menu.
3 A new device can now be added by selecting Add under the Device menu.
Figure 3.16 - Adding a new device
Page 25 of 162
Setup
4 In the Add New Device window, the PLX51-PBM and click the OK button.
Figure 3.17 – PLX51-PBM
5 The device appears in the Project Explorer tree and its configuration window opened.
The device configuration can be reopened by double-clicking the module in the Project Explorer tree, or right-clicking the module and selecting Configuration.
Figure 3.18 – PLX51-PBM configuration
Page 26 of 162
Setup
PLX51-PBM PARAMETERS
The PLX51-PBM parameters are configured by the PLX50 Configuration Utility.
Refer to the Additional Information section for documentation and installation links for ProSoft’s PLX50 Configuration Utility.
GENERAL
The PLX51-PBM General configuration is opened by either double-clicking on the module in the tree, or right-clicking the module and selecting Configuration.
Figure 3.19 – PLX51-PBM General configuration
Page 27 of 162
Setup
Parameter
Description
Instance Name
This parameter is a user defined name to identify between various PLX51-PBM modules.
Description
This parameter is used to provide a more detailed description of the application for the module.
IP Address
The IP address of the module.
Mode
The PLX51-PBM can operate in one of three modes:
Quiet
This mode allows you to connect the PLX51-PBM to an active bus and run a DP packet capture. In this mode, the PLX51-PBM will not communicate on the DP Bus, but rather only listen.
Standalone Master
In this mode, the PLX51-PBM is the DP Master on the PROFIBUS network.
Slave
In this mode, the PLX51-PBM will emulate multiple PROFIBUS Slave devices.
Primary Interface
This is the network the PLX51-PBM will interface the PROFIBUS network.
EtherNet/IP (Logix)
The General configuration consists of the following parameters:
Table 3.1 - General configuration parameters
Page 28 of 162
Setup
Parameter
Description
Basic Settings
Station Address (TS)
PROFIBUS Station Address for the PLX51-PBM module. TS should be unique on the PROFIBUS network, it should also be less-than or equal to the HSA below:
Min: 0 Max: 126 Default: 1
Highest Address (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.
Min: 1 Max: 126 Default: 126
Baud Rate
Baud Rate (in Kbps) of the PROFIBUS network: 9.6, 19.2, 45.45,
93.75, 187.5, 500, 1500, 3000, 6000 or 12000 Kbps. The baud rate should be supported by all slaves in the configuration. The baud rate should be selected depending on the cable length, see chapter “PROFIBUS DP.
PROFIBUS MASTER MODE
The PLX51-PBM PROFIBUS configuration is opened by either double-clicking on the module in the tree, or right-clicking the module and selecting Configuration. Then select the PROFIBUS tab.
Figure 3.20 – PLX51-PBM PROFIBUS configuration – Master mode
The PROFIBUS configuration consists of the following parameters:
Page 29 of 162
Setup
Advanced Settings
Logix Comms Fail
Specifies the PROFIBUS Master behavior when losing communication with Logix, either:
Force to Offline Force to Clear
Logix Program Mode
Specifies the PROFIBUS Master behavior when Logix is set in Program mode, either:
Force to Offline Force to Clear
Extra DPV1 Poll / Cycle
The number of additional DPV1 Polls (Class 2) per PROFIBUS Cycle. Increasing this parameter results in faster Asset Management DTM updates.
Error Management
Token Retry Limit
Token Retry Limit is the number of times that a PROFIBUS Master tries to pass the token before deciding that a station is not there. Value must be in the following range:
Min: 0 Max: 15 Default: 3
Message Retry Limit
Message Retry Limit is the number of telegram repetitions if the address doesn’t react. Value must be in the following range:
Min: 0 Max: 15 Default: 1
Timing
TTR
Target Rotation Time 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), all mandatory timing with respect to the PROFIBUS standard (time slot, min and
max Tsdr, Tqui, Tset, …) and a safety margin which allows bandwidth for acyclic
messages (DPV1, …).
Min: 0 Max: 16777215
Slot Time (TSL)
Slot Time (in tbits) is the maximum time the PLX51-PBM 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 value must respect the rule:
Min: 37 Max: 16383
Gap Update Factor
Gap Update Factor: The range of addresses between 2 consecutive active stations is called GAP. This GAP is submitted to a cyclic check during which the system identifies the station condition (not ready, ready or passive).
Min: 1 Max: 100
Quiet Time (TQUI)
Quiet time (in tbits) is the time that a station may need to switch from sending to receiving. It must respect the rule:
TQUI < MIN_TSDR Min: 0 Max: 255
Page 30 of 162
Loading...
+ 132 hidden pages