ProSoft Technology MVI71-DFNT User Manual

MVI71-DFNT
EtherNet/IP Client/Server Communication Module
USER MANUAL
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 our products, documentation, or support, please write or call us.
How to Contact Us
ProSoft Technology
5201 Truxtun Ave., 3rd Floor Bakersfield, CA 93309 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) www.prosoft-technology.com support@prosoft-technology.com
Copyright © 2011 ProSoft Technology, Inc., all rights reserved.
MVI71-DFNT User Manual
January 18, 2011
ProSoft Technology 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.
®
, ProLinx ®, inRAx ®, ProTalk ®, and RadioLinx ® are Registered Trademarks of ProSoft
ProSoft Technology® 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
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 NON-HAZARDOUS.
D THIS DEVICE SHALL BE POWERED BY CLASS 2 OUTPUTS ONLY.
MVI (Multi Vendor Interface) Modules
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'ÉQUIPEMENT, COUPER LE COURANT OU S'ASSURER QUE L'EMPLACEMENT EST DÉSIGNÉ NON DANGEREUX.
Warnings
North America Warnings
A Warning - Explosion Hazard - Substitution of components may impair suitability for Class I, Division 2. B Warning - Explosion Hazard - When in Hazardous Locations, turn off power before replacing or rewiring
modules. Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is known to be nonhazardous.
C Suitable for use in Class I, division 2 Groups A, B, C and D Hazardous Locations or Non-Hazardous Locations.
ATEX Warnings and Conditions of Safe Usage:
Power, Input, and Output (I/O) wiring must be in accordance with the authority having jurisdiction
A Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or wiring modules. B Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
known to be non-hazardous.
C These products are intended to be mounted in an IP54 enclosure. The devices shall provide external means to
prevent the rated voltage being exceeded by transient disturbances of more than 40%. This device must be used only with ATEX certified backplanes.
D DO NOT OPEN WHEN ENERGIZED.
Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this module, or damage may result to the module, the processor, or other connected devices.
Battery Life Advisory
The MVI46, MVI56, MVI56E, MVI69, and MVI71 modules use a rechargeable Lithium Vanadium Pentoxide battery to backup the real-time clock and CMOS. The battery should last for the life of the module. The module must be powered for approximately twenty hours before the battery becomes fully charged. After it is fully charged, the battery provides backup power for the CMOS setup and the real-time clock for approximately 21 days. When the battery is fully discharged, the module will revert to the default BIOS and clock settings.
Note: The battery is not user replaceable.
Markings
Electrical Ratings
Backplane Current Load: 800 mA @ 5 Vdc  Operating Temperature: 0°C to 60°C (32°F to 140°F)  Storage Temperature: -40°C to 85°C (-40°F to 185°F)  Shock: 30 g operational, 50 g non-operational; Vibration: 5 g from 10 Hz to 150 Hz  Relative Humidity 5% to 95% (with no condensation)  All phase conductor sizes must be at least 1.3 mm(squared) and all earth ground conductors must be at least
4mm(squared).
Label Markings
Agency Approvals and Certifications
Agency Applicable Standards
ANSI / ISA ISA 12.12.01 Class I Division 2, GPs A, B, C, D CSA/cUL C22.2 No. 213-1987 CSA CB Certified IEC61010 ATEX EN60079-0 Category 3, Zone 2
EN60079-15
243333
MVI71-DFNT PLC 5 Contents EtherNet/IP Client/Server Communication Module User Manual
Contents
Your Feedback Please ........................................................................................................................ 2
How to Contact Us .............................................................................................................................. 2
ProSoft Technology® Product Documentation .................................................................................... 2
Important Installation Instructions ....................................................................................................... 3
MVI (Multi Vendor Interface) Modules ................................................................................................ 3
Warnings ............................................................................................................................................. 3
Battery Life Advisory ........................................................................................................................... 3
Markings .............................................................................................................................................. 4
Guide to the MVI71-DFNT User Manual 9
1 Start Here 11
1.1 System Requirements ............................................................................................. 12
1.2 Package Contents ................................................................................................... 13
1.3 Setting Jumpers ...................................................................................................... 14
1.4 Install the Module in the Rack ................................................................................. 15
1.5 Connect your PC to the Processor .......................................................................... 16
1.6 Download the Sample Program to the Processor ................................................... 17
1.6.1 Configuring the RSLinx Driver for the PC COM Port .............................................. 18
1.7 Connect your PC to the Module .............................................................................. 20
2 Installing and Configuring the Module 21
2.1 Module Configuration .............................................................................................. 23
2.1.1 Obtain the Sample Configuration Files ................................................................... 23
2.2 Configuration File .................................................................................................... 24
2.2.1 [Module] ................................................................................................................... 25
2.2.2 [DF1 Pass-Through Server Port 1] .......................................................................... 26
2.2.3 [DF1 Pass-Through Port] ........................................................................................ 27
2.2.4 [DFNT Client 0] ........................................................................................................ 30
2.2.5 [DFNT Client x Commands] .................................................................................... 31
2.3 IP Address ............................................................................................................... 38
2.4 Uploading and Downloading the Configuration File ................................................ 39
2.4.1 Required Software ................................................................................................... 39
2.5 Installing ProSoft Configuration Builder Software ................................................... 40
2.6 Module Data ............................................................................................................ 41
3 Ladder Logic 43
4 Diagnostics and Troubleshooting 45
4.1 LED Status Indicators .............................................................................................. 46
4.1.1 Ethernet LED Indicators .......................................................................................... 49
4.1.2 Clearing a Fault Condition ....................................................................................... 49
4.1.3 Troubleshooting ....................................................................................................... 50
4.2 The Configuration/Debug Menu .............................................................................. 51
ProSoft Technology, Inc. Page 5 of 175 February 3, 2011
Contents MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
4.2.1 Navigation ............................................................................................................... 51
4.2.2 Using the Configuration/Debug Port ....................................................................... 52
4.2.3 Main Menu .............................................................................................................. 53
4.2.4 Database View Menu .............................................................................................. 57
4.2.5 Master Command Error List Menu.......................................................................... 59
4.2.6 Master Command List Menu ................................................................................... 60
4.2.7 Network Menu ......................................................................................................... 61
4.3 Reading Status Data from the Module ................................................................... 63
5 Reference 65
5.1 Product Specifications ............................................................................................ 66
5.1.1 EtherNet/IP (Explicit Messaging) Compatible Devices ........................................... 66
5.1.2 General Specifications ............................................................................................ 66
5.1.3 Hardware Specifications ......................................................................................... 67
5.1.4 Functional Specifications ........................................................................................ 68
5.2 Functional Overview ............................................................................................... 69
5.2.1 General Concepts ................................................................................................... 69
5.2.2 Normal Data Transfer ............................................................................................. 71
5.2.3 Module Control Blocks ............................................................................................ 72
5.2.4 Data Flow between MVI71-DFNT Module and PLC Processor ............................. 76
5.3 Cable Connections ................................................................................................. 82
5.3.1 Ethernet Connection ............................................................................................... 82
5.3.2 RS-232 Configuration/Debug Port .......................................................................... 84
5.3.3 DB9 to RJ45 Adaptor (Cable 14) ............................................................................ 86
5.4 Pass-Through Ports ................................................................................................ 87
5.5 MVI71-DFNT Status Data Definition ....................................................................... 88
5.5.1 BTR Response Block (250) ................................................................................... 88
5.5.2 BTR Response Block (251) ................................................................................... 90
5.5.3 BTR Response Block (252) ................................................................................... 93
5.5.4 BTR Response Block (253) ................................................................................... 96
5.5.5 BTR Response Block (254) ................................................................................... 98
5.5.6 Client Configuration Error Word ............................................................................ 101
5.5.7 Pass-Through Port Configuration Error Word ...................................................... 101
5.5.8 Pass-Through Server Configuration Error Word .................................................. 102
5.5.9 Pass-Through Server State Parameter ................................................................ 102
5.5.10 Socket State Parameter ........................................................................................ 103
5.5.11 Connection State Parameter ................................................................................ 103
5.6 Error Codes ........................................................................................................... 104
5.6.1 Local STS Error Codes ......................................................................................... 104
5.6.2 Remote STS Error Codes ..................................................................................... 105
5.6.3 Errors When EXT STS Is Present ........................................................................ 106
5.6.4 Module Specific Error (not DFNT Compliant) ....................................................... 107
5.7 TCP/IP Interface Errors ........................................................................................ 108
5.7.1 Timeout Errors ...................................................................................................... 108
5.7.2 Register Session Response Errors....................................................................... 108
5.7.3 Forward Open Response Errors ........................................................................... 108
5.7.4 PCCC Response Errors ........................................................................................ 109
5.8 Configuration Data ................................................................................................ 110
5.9 DFNT Command Entry Form ................................................................................ 113
5.10 Command Function Codes ................................................................................... 114
5.11 General Command Structure ................................................................................ 115
5.11.1 Function Code #1 - Protected Write (Basic Command Set) ................................. 116
Page 6 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Contents EtherNet/IP Client/Server Communication Module User Manual
5.11.2 Function Code #2 - Unprotected Read (Basic Command Set) ............................. 116
5.11.3 Function Code #3 - Protected Bit Write (Basic Command Set) ............................ 117
5.11.4 Function Code #4 - Unprotected Bit Write (Basic Command Set) ........................ 117
5.11.5 Function Code #5 - Unprotected Write (Basic Command Set) ............................. 118
5.11.6 Function Code #100 - Word Range Write (PLC-5 Command) (Binary Address) .. 119
5.11.7 Function Code #101 - Word Range Read (PLC-5 Command) (Binary Address) . 120
5.11.8 Function Code #102 - Read-Modify-Write (PLC-5 Command) (Binary Address) . 121
5.11.9 Function Code #150 - Word Range Write (PLC-5 Command) (ASCII Address) .. 122
5.11.10 Function Code #151 - Word Range Read (PLC-5 Command) (ASCII Address) .. 122
5.11.11 Function Code #152 - Read-Modify-Write (PLC-5 Command) (ASCII Address) .. 123
5.11.12 Function Code #501 - Protected Typed Logical Read (Two Address Fields) ....... 124
5.11.13 Function Code #502 - Protected Typed Logical Read (Three Address Fields) .... 125
5.11.14 Function Code #509 - Protected Typed Logical Write (Two Address Fields) ....... 126
5.11.15 Function Code #510 - Protected Typed Logical Write (Three Address Fields) .... 127
5.11.16 Function Code #511 - Protected Typed Logical Write with Mask (Three Address Fields) 128
5.12 PLC-5 Processor Specifics.................................................................................... 129
5.12.1 PLC-5 Sub-Element Codes ................................................................................... 129
5.13 SLC Processor Specifics ....................................................................................... 131
5.13.1 SLC File Types ...................................................................................................... 131
5.14 MicroLogix Processor Specifics ............................................................................ 132
5.14.1 SLC File Types ...................................................................................................... 132
5.15 ControlLogix Processor Specifics ......................................................................... 133
5.16 Server Driver ......................................................................................................... 134
5.16.1 RSLinx Software .................................................................................................... 134
5.16.2 ControlLogix (CLX) Processor .............................................................................. 144
5.16.3 PLC5 Processor .................................................................................................... 151
5.16.4 SLC 5/05 Processor .............................................................................................. 153
5.16.5 RSView Software .................................................................................................. 156
5.17 Accessing a PLC Processor via Ethernet Using MVI71-DFNT ............................. 159
5.17.1 Troubleshooting ..................................................................................................... 163
6 Support, Service & Warranty 165
Contacting Technical Support ......................................................................................................... 165
6.1 Return Material Authorization (RMA) Policies and Conditions.............................. 167
6.1.1 Returning Any Product .......................................................................................... 167
6.1.2 Returning Units Under Warranty ........................................................................... 168
6.1.3 Returning Units Out of Warranty ........................................................................... 168
6.2 LIMITED WARRANTY ........................................................................................... 169
6.2.1 What Is Covered By This Warranty ....................................................................... 169
6.2.2 What Is Not Covered By This Warranty ................................................................ 170
6.2.3 Disclaimer Regarding High Risk Activities ............................................................ 170
6.2.4 Intellectual Property Indemnity .............................................................................. 171
6.2.5 Disclaimer of all Other Warranties ........................................................................ 171
6.2.6 Limitation of Remedies ** ...................................................................................... 172
6.2.7 Time Limit for Bringing Suit ................................................................................... 172
6.2.8 No Other Warranties ............................................................................................. 172
6.2.9 Allocation of Risks ................................................................................................. 172
6.2.10 Controlling Law and Severability ........................................................................... 172
Index 173
ProSoft Technology, Inc. Page 7 of 175 February 3, 2011
Contents MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
Page 8 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Guide to the MVI71-DFNT User Manual
system requirements, hardware installation, and
EtherNet/IP Client/Server Communication Module User Manual
Guide to the MVI71-DFNT User Manual
Function
Introduction (Must Do)
Diagnostic and Troubleshooting
Reference
Product Specifications
Functional Overview
Support, Service, and Warranty
Index
Section to Read Details
Start Here (page 11) This section introduces the customer to the
Diagnostics and
Troubleshooting (page 45)
Reference (page 65)
Product Specifications (page
66)
Functional Overview (page 69)
Support, Service
and Warranty (page
165)
Index
module. Included are: package contents,
basic configuration.
This section describes Diagnostic and Troubleshooting procedures.
These sections contain general references associated with this product, Specifications, and the Functional Overview.
This section contains Support, Service and Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 9 of 175 February 3, 2011
Guide to the MVI71-DFNT User Manual MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
Page 10 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Start Here EtherNet/IP Client/Server Communication Module User Manual
1 Start Here
In This Chapter
System Requirements
Package Contents ................................................................................. 13
Setting Jumpers .................................................................................... 14
Install the Module in the Rack ............................................................... 15
Connect your PC to the Processor ........................................................ 16
Download the Sample Program to the Processor .................................. 17
Connect your PC to the Module ............................................................ 20
........................................................................... 12
To get the most benefit from this User Manual, you should have the following skills:
Rockwell Automation
®
RSLogix™ software: launch the program, configure
ladder logic, and transfer the ladder logic to the processor
Microsoft Windows: install and launch programs, execute menu commands,
navigate dialog boxes, and enter data
Hardware installation and wiring: install the module, and safely connect
Ethernet/IP and PLC devices to a power source and to the MVI71-DFNT module’s application port(s)
ProSoft Technology, Inc. Page 11 of 175 February 3, 2011
Start Here MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
1.1 System Requirements
The MVI71-DFNT module requires the following minimum hardware and software components:
Rockwell Automation PLC processor, with compatible power supply and one
free slot in the rack, for the MVI71-DFNT module. The module requires 800mA of available power.
The PLC Processor must provide for at least 64 words of BTR/BTW area,
otherwise the module may not function correctly.
Rockwell Automation RSLogix 5 programming software. Rockwell Automation RSLinx communication software Pentium Supported operating systems:
o Microsoft Windows XP o Microsoft Windows 2000 o Microsoft Windows NT v4.0 with Service Pack 3 or greater o Microsoft Windows ME o Microsoft Windows 98
64 Mbytes of RAM minimum, 256 Mbytes of RAM recommended 100 Mbytes of free hard disk space (or more based on application
requirements)
256-color VGA graphics adapter, 800 x 600 minimum resolution (True Color
1024 × 768 recommended)
CD-ROM drive HyperTerminal or other terminal emulator program capable of file transfers
using Zmodem protocol.
®
100 MHz minimum. Pentium III 700 MHz (or better) recommended
Page 12 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Start Here EtherNet/IP Client/Server Communication Module User Manual
1.2 Package Contents
The following components are included with your MVI71-DFNT module, and are all required for installation and configuration.
Important: Before beginning the installation, please verify that all of the following items are present.
Qty. Part Name Part Number Part Description
1 MVI71-DFNT Module MVI71-DFNT EtherNet/IP Client/Server Communication
1 Cable Cable #15, RS232
3 Cable Cable #14, RJ45 to
2 Adapter 1454-9F Two Adapters, DB9 Female to Screw
1 ProSoft Solutions CD Contains sample programs, utilities and
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.
Module For RS232 Connection to the CFG Port
Null Modem
For DB9 Connection to Module’s Port DB9 Male Adapter cable
Terminal. For RS422 or RS485
Connections to Port 1 and 2 of the Module
documentation for the MVI71-DFNT
module.
ProSoft Technology, Inc. Page 13 of 175 February 3, 2011
Start Here MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
1.3 Setting Jumpers
The Setup Jumper acts as "write protection" for the module’s flash memory. In "write protected" mode, the Setup pins are not connected, and the module’s firmware cannot be overwritten. Do not jumper the Setup pins together unless you are directed to do so by ProSoft Technical Support.
The following illustration shows the MVI71-DFNT jumper configuration.
Note: If you are installing the module in a remote rack, you may prefer to leave the Setup pins jumpered. That way, you can update the module’s firmware without requiring physical access to the module.
Page 14 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Start Here EtherNet/IP Client/Server Communication Module User Manual
1.4 Install the Module in the Rack
If you have not already installed and configured your PLC processor and power supply, please do so before installing the MVI71-DFNT module. Refer to your Rockwell Automation product documentation for installation instructions.
Warning: You must follow all safety instructions when installing this or any other electronic devices. Failure to follow safety procedures could result in damage to hardware or data, or even serious injury or death to personnel. Refer to the documentation for each device you plan to connect to verify that suitable safety procedures are in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert MVI71-DFNT into the PLC™ chassis. Use the same technique recommended by Rockwell Automation to remove and install PLC modules.
Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this module, or damage may result to the module, the processor, or other connected devices.
1 Turn power OFF. 2 Align the module with the top and bottom guides, and slide it into the rack
until the module is firmly against the backplane connector.
3 With a firm but steady push, snap the module into place. 4 Check that the holding clips on the top and bottom of the module are securely
in the locking holes of the rack.
5 Make a note of the slot location. You will need to identify the slot in which the
module is installed in order for the sample program to work correctly. Slot numbers are identified on the green circuit board (backplane) of the PLC rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave unpredictably.
ProSoft Technology, Inc. Page 15 of 175 February 3, 2011
Start Here MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
1.5 Connect your PC to the Processor
1 Connect the right-angle connector end of the cable to your controller at the
communications port.
2 Connect the straight connector end of the cable to the serial port on your
computer.
Page 16 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Start Here EtherNet/IP Client/Server Communication Module User Manual
1.6 Download the Sample Program to the Processor
To download the sample program from RSLogix 5 to the PLC processor
Note: The key switch on the front of the PLC processor must be in the REM position.
1 If you are not already online to the processor, open the Communications
menu, and then choose Download. RSLogix will establish communication with the processor.
2 Click the Download button to transfer the sample program to the processor. 3 When prompted, choose Computer to PLC
4 RSLogix will compile the program and transfer it to the processor. This
process may take a few minutes.
ProSoft Technology, Inc. Page 17 of 175 February 3, 2011
Start Here MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
5 When the download is complete, RSLogix will open another confirmation
dialog box. Click OK to switch the processor from Program mode to Run mode.
Note: If you receive an error message during these steps, refer to your RSLogix documentation to interpret and correct the error.
1.6.1 Configuring the RSLinx Driver for the PC COM Port
If RSLogix is unable to establish communication with the processor, follow these steps.
1 Open RSLinx. 2 Open the C
OMMUNICATIONS menu, and choose CONFIGURE DRIVERS.
This action opens the Configure Drivers dialog box.
Note: If the list of configured drivers is blank, you must first choose and configure a driver from the
Available Driver Types list. The recommended driver type to choose for serial communication with the processor is RS-232 DF1 Devices.
Page 18 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Start Here EtherNet/IP Client/Server Communication Module User Manual
3 Click to select the driver, and then click CONFIGURE. This action opens the
Configure RS-232 DF1 Devices dialog box.
4 Click the AUTO-CONFIGURE button. RSLinx will attempt to configure your
serial port to work with the selected driver.
5 When you see the message Auto Configuration Successful, click the OK
button to dismiss the dialog box.
Note: If the auto-configuration procedure fails, verify that the cables are connected correctly between the processor and the serial port on your computer, and then try again. If you are still unable to auto-configure the port, refer to your RSLinx documentation for further troubleshooting steps.
ProSoft Technology, Inc. Page 19 of 175 February 3, 2011
Start Here MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
1.7 Connect your PC to the Module
With the module securely mounted, connect your PC to the Configuration/Debug port using an RJ45-DB-9 Serial Adapter Cable and a Null Modem Cable.
1 Attach both cables as shown. 2 Insert the RJ45 cable connector into the Configuration/Debug port of the
module.
3 Attach the other end to the serial port on your PC.
Page 20 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Installing and Configuring the Module EtherNet/IP Client/Server Communication Module User Manual
2 Installing and Configuring the Module
In This Chapter
Module Configuration
Configuration File .................................................................................. 24
IP Address ............................................................................................. 38
Uploading and Downloading the Configuration File ............................... 39
Module Data .......................................................................................... 41
............................................................................ 23
This chapter describes how to install and configure the module to work with your application. The configuration process consists of the following steps.
1 Modify the module’s configuration files to meet the needs of your application,
and copy the updated configuration to the module. Example configuration files are provided on the CD-ROM. Refer to the Modifying the Example Configuration File section, later in this chapter, for more information on the configuration files.
2 Modify the example ladder logic to meet the needs of your application, and
copy the ladder logic to the processor. Example ladder logic files are provided on the CD-ROM.
Note: If you are installing this module in an existing application, you can copy the necessary elements from the example ladder logic into your application.
ProSoft Technology, Inc. Page 21 of 175 February 3, 2011
Installing and Configuring the Module MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
The rest of this chapter describes these steps in more detail. Set up of the MVI71-DFNT module requires software configuration using the
RSLogix 5 program and the DFNT.CFG file on the Compact Flash Disk in the module. The easiest method to implement the module is to start with the appropriate example provided with the module MVI71DFNT_BT.RSP for the block transfer interface and the default configuration file. If you are installing this module in an existing application, you can copy the elements required from the example ladder logic to your application.
It is now time to edit the DFNT.CFG file to set up the module for the specific application. Refer to the Configuration File section of this document. Download this configuration to the module along with the associated ladder logic.
Enter the ladder logic to handle the blocks transferred between the module and the PLC. Download the program to the PLC and test the program with the module.
The module is now set up and ready for your application. Insert the module in the rack (with the power turned off) and attach the serial communication cables. Download the new application to the controller and place the processor in run mode. Download the new DFNT.CFG file to the module using a terminal emulation program. If all the configuration parameters are set correctly and the module is attached to a network, the module’s Application LED (APP LED) should remain off and the backplane activity LED (BP ACT) should blink very rapidly. Refer to Diagnostics and Troubleshooting if you encounter errors. Attach a computer or terminal to Port 0 on the module and look at the status of the module using the Configuration/Debug Menu in the module.
Page 22 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Installing and Configuring the Module EtherNet/IP Client/Server Communication Module User Manual
2.1 Module Configuration
This section contains the setup procedure, data, and ladder logic for successful application of the MVI71-DFNT module. Each step in the setup procedure is defined in order to simplify the use of the module.
2.1.1 Obtain the Sample Configuration Files
The ProSoft Solutions CD is organized in folders by module name. In the folder for the module you are using, you will find sample configuration files and other information.
1 Use Windows Explorer to locate the sample configuration files for your MVI71
module on the MVI71 CD.
2 When you have located the correct configuration files, use the C
P
ASTE commands to move the files to a location on your PC’s hard drive. We
recommend C:\temp.
3 Files copied from a CD-ROM are read-only. You must make the files writable.
Navigate to the directory where you copied the files, then select the files and click the right mouse button to open a shortcut menu. On the shortcut menu, select P
4 Next, open the configuration files in a text editor such as Notepad, which
comes with Windows. To start Notepad, click the S choose P
5 When Notepad starts, open the F
to the folder where you copied the configuration file on your PC and select the file. Click O editing.
ROPERTIES, and clear (uncheck) the READ ONLY check box.
ROGRAMS / ACCESSORIES / NOTEPAD.
PEN. The configuration file will open in Notepad, ready for
OPY and
TART button, and then
ILE menu, and then choose OPEN. Navigate
Note: We do not recommend opening the configuration file in a word processor such as Microsoft Word, because the file may be saved in a format that cannot be read by the module.
ProSoft Technology, Inc. Page 23 of 175 February 3, 2011
Installing and Configuring the Module MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
2.2 Configuration File
In order for the module to operate, a configuration file (DFNT.CFG) is required. This configuration file contains information to set the data transfer characteristics between the module and the processor, to configure the module's client and command list, and to configure the pass-through features. Each parameter in the file must be set carefully in order for the application to be implemented successfully.
The configuration file is separated into sections with topic header names enclosed in the [ ] characters. The configuration file consists of the following sections:
[Section] Description
[Module] General module configuration information [DFNT Client 0] Configuration for the DFNT client [DFNT Client 0 Commands] Command list for the DFNT client [DF1 Pass-Through Server Port 1] Parameters for the pass-through port of the second port
[DF1 Pass-Through Port] Parameters for the DF1 port emulated on the third port of
After each section header, the file contains a set of parameters. Unique labels are used under each section to specify a parameter. Each label in the file must be entered exactly as shown in the file for the parameter to be identified by the program. If the module is not considering a parameter, look at the label for the data item. Each parameter's value is separated from the label with the ":" character. This character is used by the program to delimit the position in the data record where to start reading data. All data for a parameter must be placed after the ":" character. For numeric parameter values any text located after the value will not be used. There must be at least one space character between the end of the parameter value and the following text.
Any record that begins with the "#" character is considered to be a comment record. These records can be placed anywhere in the file as long as the "#" character is found in the first column of the line. These lines are ignored in the file and can be used to provide documentation within the configuration file. Liberal use of comments within the file can ease the use and interpretation of the data in the file.
The client command list section is formatted differently than the other sections. These sections contain lists of parameters to be used. Each list begins with the label START and when the END label is reached. When entering the records into the list, make certain that the first character in each line is left blank.
The [DFNT CLIENT 0 COMMANDS] section defines the Ethernet/IP commands to be issued from the module to server devices on the network. These commands can be used for data collection and/or control of devices on the TCP/IP network.
on the module
the module
Page 24 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Installing and Configuring the Module EtherNet/IP Client/Server Communication Module User Manual
2.2.1 [Module]
This section provides the module with a unique name, identifies the method of failure for the communications for the module if the processor is not in run, and describes how to initialize the module upon startup.
Module Name
0 to 80 characters This parameter assigns a name to the module that can be viewed using the
configuration/debug port. Use this parameter to identify the module and the configuration file.
Read Register Start
0 to 3999 This parameter specifies the starting register address of a block of data registers
to transfer from the module to the processor.
Read Register Count
0 to 3960 This parameter specifies the number of registers to be transferred from the
module to the processor.
Write Register Start
0 to 3999 This parameter specifies the starting register address of a module register block
where data transferred from the processor will be stored.
Write Register Count
0 to 3960 This parameter specifies the number of registers to transfer from the processor to
the module.
Failure Flag Count
0 through 65535 This parameter specifies the number of successive transfer errors that must
occur before halting communication on the application port(s). If the parameter is set to 0, the application port(s) will continue to operate under all conditions. If the value is set larger than 0 (1 to 65535), communications will cease if the specified number of failures occur.
ProSoft Technology, Inc. Page 25 of 175 February 3, 2011
Installing and Configuring the Module MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
Initializing Output Data
YES or NO This parameter determines if the output data for the module should be initialized
with values from the processor. If the value is set to N be initialized to 0. If the value is set to Y
ES (1), the data will be initialized with
O (0), the output data will
data from the processor. Use of this option requires associated ladder logic to pass the data from the processor to the module.
DFNT Server File Size
100 or 1000 Sets the maximum file size (100 or 1000) for the servers
2.2.2 [DF1 Pass-Through Server Port 1]
This section is used to define the DF1 pass-through server on Port 1 (the second port)
[DF1 Pass-Through Server Port 1] Enabled : Yes #Y=Use server, N=Do not use server Service Port Number : 15000 #TCP service port for this server Busy Timeout : 500 #Time to wait for not Busy (100-65535 milliseconds) Baud Rate : 19200 #Baud rate for port 110-19200 Parity : N #N=None,O=Odd,E=Even,M=Mark,S=Space Data Bits : 8 #5, 6, 7 or 8 Stop Bits : 1 #1 or 2
Enabled
Yes or No This parameter determines if the server will be utilized by the module. If a value
of "Yes" is entered, the server will be used. Any other value will disable the server.
Service Port Number
1 to 65535 This parameter sets the TCP/IP service port for this server. Each server can
have its own unique service port or can share the same number with other servers.
Busy Timeout
100 to 65535 milliseconds This parameter sets the number of milliseconds the server will wait for the serial
pass-through port to become available. Valid data range for this parameter is 100 to 65535.
Page 26 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Installing and Configuring the Module EtherNet/IP Client/Server Communication Module User Manual
Baud Rate - 110 to 19200
110 to 19200 This parameter specifies the baud rate for the primary port on the module. Baud
rate entries are 110, 150, 300, 600, 1200, 2400, 4800, 9600 or 19200
Parity None, Odd, Even
Parity is a simple error checking algorithm used in serial communication. This parameter specifies the type of parity checking to use.
All devices communicating through this port must use the same parity setting.
Data Bits
5, 6, 7 or 8 This parameter sets the number of data bits for each word used by the protocol.
All devices communicating through this port must use the same number of data bits.
Stop Bits
1 or 2 Stop bits signal the end of a character in the data stream. For most applications,
use one stop bit. For slower devices that require more time to re-synchronize, use two stop bits.
All devices communicating through this port must use the same number of stop bits.
2.2.3 [DF1 Pass-Through Port]
This section is used to define the configuration for the DF1 pass-through port on Port 2 (the third port)
[DF1 Pass-Through Port] Enabled : Y #Y=Use port, N=Do not use port Local Station ID : 1 #DF1 node address Protocol : H #F=Full-Duplex, H=Half-Duplex Termination Type : CRC #B=BCC, C=CRC Baud Rate : 38400 #Baud rate for port 1200-38400 Parity : None #N=None,O=Odd,E=Even,M=Mark,S=Space Data Bits : 8 #5, 6, 7 or 8 Stop Bits : 1 #1 or 2 RTS On : 0 #0-65536 mSec before message RTS Off : 0 #0-65536 mSec after message Use CTS Line : N #Use CTS modem control line (Y/N)
Retry Count : 3 #Response failure retry count Request Timeout : 500 #Request message timeout (0-10000 mSec) Busy Timeout : 500 #Port Busy timeout (0-10000 mSec)
ProSoft Technology, Inc. Page 27 of 175 February 3, 2011
Installing and Configuring the Module MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
Enabled
Yes or No This parameter determines if the server will be utilized by the module. If a value
of "Yes" is entered, the server will be used. Any other value will disable the server.
Local Station ID
0 to 254 This parameter specifies the local station ID for all DF1 messages sent to this
port. A value of 255 is not permitted as this is the broadcast address. The application will only accept messages with this node address.
Protocol
F (Full duplex) or H (Half duplex) The value selected should match that set for the PLC processor.
Termination Type
BCC or CRC This parameter specifies the error checking for all DF1 messages. Enter BCC or
CRC.
Baud Rate - 1200 to 38400
1200 to 38400 This is the baud rate to be used for the port. Enter the baud rate as a value. Baud
rate entries are 1200, 2400, 4800, 9600, 19200, 28800 or 38400.
Parity
None, Odd, Even, Mark, Space Parity is a simple error checking algorithm used in serial communication. This
parameter specifies the type of parity checking to use. All devices communicating through this port must use the same parity setting.
Data Bits
5, 6, 7 or 8 This parameter sets the number of data bits for each word used by the protocol.
All devices communicating through this port must use the same number of data bits.
Page 28 of 175 ProSoft Technology, Inc. February 3, 2011
MVI71-DFNT PLC 5 Installing and Configuring the Module EtherNet/IP Client/Server Communication Module User Manual
Stop Bits
1 or 2 Stop bits signal the end of a character in the data stream. For most applications,
use one stop bit. For slower devices that require more time to re-synchronize, use two stop bits.
All devices communicating through this port must use the same number of stop bits.
RTS On
0 to 65535 milliseconds This parameter sets the number of milliseconds to delay after Ready To Send
(RTS) is asserted before data will be transmitted.
RTS Off
0 to 65535 milliseconds This parameter sets the number of milliseconds to delay after the last byte of
data is sent before the RTS modem signal will be set low.
Use CTS Line
YES or NO This parameter specifies if the Clear To Send (CTS) modem control line is to be
used or not. If the parameter is set to N the parameter is set to Y
ES, the CTS line will be monitored and must be high
O, the CTS line will not be monitored. If
before the module will send data. Normally, this parameter is required when half­duplex modems are used for communication (2-wire). This procedure is commonly referred to as hardware handshaking.
Retry Count
0 to 10 This parameter specifies the number of times a command will be retried if it fails.
Request Timeout
0 to 10000 milliseconds This parameter specifies the number of milliseconds to wait for a complete
request message. The timer is started after the DLE-STX character sequence is received for the full-duplex protocol or the DLE-SOH sequence for the half­duplex protocol. If the timer expires, the current request message will be aborted.
Busy Timeout
0 to 10000 milliseconds This parameter specifies the number of milliseconds to wait for the pass-through
port to become available.
ProSoft Technology, Inc. Page 29 of 175 February 3, 2011
Installing and Configuring the Module MVI71-DFNT PLC 5 User Manual EtherNet/IP Client/Server Communication Module
ACK Timeout
0 to 10000 milliseconds This parameter specifies the number of milliseconds to wait for a DLE-ACK
character sequence after a response is issued.
2.2.4 [DFNT Client 0]
This section is used to define the configuration for the master device simulated on network port
[DFNT Client 0] Minimum Command Delay : 30 #Minimum number of msec’s between commands Response Timeout : 1000 #Response message timeout (0-5000 mSec) Retry Count : 3 #Response failure retry count
Minimum Command Delay
0 to 65535 milliseconds This parameter specifies the number of milliseconds to wait between the initial
issuances of a command. This parameter can be used to delay all commands sent to servers to avoid "flooding" commands on the network. This parameter does not affect retries of a command as they will be issued when failure is recognized.
Response Timeout
0 to 65535 milliseconds This is the time in milliseconds that a Client will wait before re-transmitting a
command if no response is received from the addressed server. The value to use depends on the type of communication network used, and the expected response time of the slowest device on the network.
Retry Count
0 to 10 This parameter specifies the number of times a command will be retried if it fails.
Page 30 of 175 ProSoft Technology, Inc. February 3, 2011
Loading...
+ 145 hidden pages