ProSoft Technology 3170-MBS User Manual

3170-MBS
Flex Platform
Modbus Slave Interface Module
October 18, 2010
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 © 2010 ProSoft Technology, Inc., all rights reserved.
3170-MBS User Manual
October 18, 2010
ProSoft Technology ®, ProLinx ®, inRAx ®, ProTalk ®, and RadioLinx ® are Registered Trademarks 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.
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: 30g Operational; 50g non-operational; Vibration: 5 g from 10 Hz to 150 Hz  Relative Humidity 5% to 95% (without 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 CertificationsANSI / ISA
CSA/cUL C22.2 No. 213-1987 CSA CB Certified IEC61010 ATEX EN60079-0 Category 3, Zone 2
ISA 12.12.01 Class I Division 2, GPs A, B, C, D
EN60079-15
243333
3170-MBS ♦ Flex Platform Contents Modbus Slave Interface 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
1 Product Specifications 7
1.1
1.2
General Specifications .............................................................................................. 8
Modbus Specifications .............................................................................................. 9
2 Functional Overview 11
2.1
2.2
Modbus Addressing Concepts ................................................................................ 11
The Data Space in the module ................................................................................ 12
3 Module Configuration and Installation 13
3.1
3.2
3.3
3.4
3.3.1
Mounting on a DIN-rail before installing the terminal base units............................. 14
Mounting (or Replacing) the module on an existing system ................................... 15
Wiring ...................................................................................................................... 16
RS-485 Tip .............................................................................................................. 16
Setting the switches ................................................................................................ 17
4 Module Addressing 19
4.1
4.2
Reading Discrete Inputs .......................................................................................... 20
Writing Discrete Outputs ......................................................................................... 21
5 Status Information 23
5.1
5.2
5.3
5.4
5.5
5.5.1
Adapter Status Word ............................................................................................... 24
Module Status Words .............................................................................................. 25
Module Information .................................................................................................. 26
Modbus Function Counters ..................................................................................... 27
Modbus Status ........................................................................................................ 28
Error Codes ............................................................................................................. 28
6 Diagnostics and Troubleshooting 29
6.1
6.2
LED Indicators ......................................................................................................... 30
Troubleshooting: General ........................................................................................ 31
ProSoft Technology, Inc. Page 5 of 55 October 27, 2010
Contents 3170-MBS ♦ Flex Platform User Manual Modbus Slave Interface Module
7 Example Address Mapping 33
7.1
7.2
7.3
7.4
Application Example ............................................................................................... 34
Address Map ........................................................................................................... 35
Function Code Address Ranges ............................................................................. 37
Work Sheets ........................................................................................................... 38
8 Support, Service & Warranty 45
Contacting Technical Support .......................................................................................................... 45
8.1
8.2
8.1.1
8.1.2
8.1.3
8.2.1
8.2.2
8.2.3
8.2.4
8.2.5
8.2.6
8.2.7
8.2.8
8.2.9
8.2.10
Return Material Authorization (RMA) Policies and Conditions ............................... 47
Returning Any Product ............................................................................................ 47
Returning Units Under Warranty ............................................................................. 48
Returning Units Out of Warranty ............................................................................. 48
LIMITED WARRANTY ............................................................................................ 49
What Is Covered By This Warranty ........................................................................ 49
What Is Not Covered By This Warranty .................................................................. 50
Disclaimer Regarding High Risk Activities .............................................................. 50
Intellectual Property Indemnity ............................................................................... 51
Disclaimer of all Other Warranties .......................................................................... 51
Limitation of Remedies ** ....................................................................................... 52
Time Limit for Bringing Suit ..................................................................................... 52
No Other Warranties ............................................................................................... 52
Allocation of Risks .................................................................................................. 52
Controlling Law and Severability ............................................................................ 53
Index 55
Page 6 of 55 ProSoft Technology, Inc. October 27, 2010
3170-MBS ♦ Flex Platform Product Specifications Modbus Slave Interface Module User Manual
1 Product Specifications
In This Chapter
General Specifications............................................................................. 8
Modbus Specifications............................................................................. 9
The 3170-MBS Modbus Slave Communication Adapter can interface up to 8 Rockwell Automation FLEX and/or Integra I/O modules directly with any Modbus Master. The following functionality is available:
Multi-drop on an RS-485 link with other Modbus compatible devices Interface Analog and/or Discrete I/O directly to a Host Add FLEX I/O into applications where other manufacturer’s devices are
already in use
The 3170-MBS module is simple to use, requiring only the setting of several dip­switch options. The Flex and Integra module data images are pre-mapped into Modbus addresses to simplify reading and writing using standard Modbus commands.
The 3170-MBS has read/write access to all Flex and Integra modules. This allows a Host system to perform all functions necessary to get all I/O modules functioning. All register data values can be accessed using Function Codes 3, 4, 6 and 16. Bit level Function Codes 1, 2, and 5 are also supported.
ProSoft Technology, Inc. Page 7 of 55 October 27, 2010
Product Specifications 3170-MBS ♦ Flex Platform User Manual Modbus Slave Interface Module
1.1 General Specifications
I/O Capacity: 8 I/O modules (Flex and/or Integra) RS-485 Communication port - 3 screw termination Status LEDs
o
Power / Control Status
o
Serial TX, RX and ERROR Status
Input Voltage: 24 VDC (19.2-31.2 VDC) Max Input Power: 8.6 W Max Backplane Output Current: 640 ma @ 5V Operating Temp.: 0 to 55°C Storage Temp.: -40 to 85°C Dimensions: 87x68x69 mm (3.4x2.7x2.7 inches) UL Class I Div 2 Groups A,B,C,D
Page 8 of 55 ProSoft Technology, Inc. October 27, 2010
3170-MBS ♦ Flex Platform Product Specifications Modbus Slave Interface Module User Manual
1.2 Modbus Specifications
The 3170-MBS product support the following features:
RTU mode (binary) with CRC-16 error checking ASCII 7 and 8-bit modes with LRC error checking Accepts broadcast commands from the Master Function codes:
1: Read Output Coils (Horizontal addressing only) 2: Read Discrete Inputs (Horizontal addressing only) 3: Read Multiple Holding Registers 4: Read Multiple Input Registers 5: Force (Write) Single Coil (Horizontal addressing only) 6: Preset (Write) Single Holding Register 16: Preset (Write) Multiple Holding Registers
Pre-assigned Modbus memory map Parameters configured via dip switches:
o
Address: 1 to 247
o
Parity: None, Odd or Even
o
Stop Bits: 1 or 2
o
Baud Rate: 1200, 2400, 4800, 9600, 19200, 38400, 62500
ProSoft Technology, Inc. Page 9 of 55 October 27, 2010
Product Specifications 3170-MBS ♦ Flex Platform User Manual Modbus Slave Interface Module
Page 10 of 55 ProSoft Technology, Inc. October 27, 2010
3170-MBS ♦ Flex Platform Functional Overview Modbus Slave Interface Module User Manual
2 Functional Overview
2.1 Modbus Addressing Concepts
Modicon developed the Modbus addressing scheme around the data table and I/O structure in Modicon PLCs. As a result, the Modbus protocol supports access to the various data spaces in the Modicon PLC.
By far the most common data space used is the 4xxxx space using the Function Codes 3, 6 and 16. This space is used to transfer 16 bit register values and can be used to transfer bit mapped data. Using formal Modbus addressing terminology, this data space actually starts at address 40001.
Access to the different data spaces is determined by the Function Code that is used. The following chart shows the four different types of data spaces, the numerical range of these spaces, and the Function Codes that are used to execute read and write instructions within these data spaces. The following illustration shows the relationship between the Modbus Function Codes and the Modbus addressing scheme.
ProSoft Technology, Inc. Page 11 of 55 October 27, 2010
Functional Overview 3170-MBS ♦ Flex Platform User Manual Modbus Slave Interface Module
2.2 The Data Space in the module
One of the concepts, which are important to develop an understanding of, is the relationship between the data space in the module and how this data can be moved between the module and the Modbus Master.
Page 12 of 55 ProSoft Technology, Inc. October 27, 2010
3170-MBS ♦ Flex Platform Module Configuration and Installation Modbus Slave Interface Module User Manual
3 Module Configuration and Installation
In This Chapter
Installation ............................................................................................. 14
Mounting (or Replacing) the module on an existing system .................. 15
Wiring .................................................................................................... 16
Setting the switches .............................................................................. 17
Component Identification
1 Modbus Adapter Module 2 Indicators 3 Communication reset pushbutton (PRL) 4 Access door to switches S1 and S2 5 Switches S1 and S2 (behind access door) 6 Modbus cable connector 7 +24V dc connections 8 24V common connections 9 Flexbus connector
ProSoft Technology, Inc. Page 13 of 55 October 27, 2010
Module Configuration and Installation 3170-MBS ♦ Flex Platform User Manual Modbus Slave Interface Module
3.1 Mounting on a DIN-rail before installing the terminal base units
1 Position the Modbus adapter module A on a 35 X 7.5mm DIN-rail B
(Rockwell Automation pt. no. 199-DR1: 46277-3; EN 50022) at a slight angle.
2 Hook the lip on the rear of the adapter (A) onto the top of the DIN-rail (B),
and rotate the adapter module onto the rail.
3 Press the adapter module down onto the DIN-rail until flush. Locking tab (C)
will snap into position and lock the adapter module to the DIN-rail.
4 If the adapter module does not lock in place, use a screwdriver or similar
device to move the locking tab down while pressing the adapter module flush onto the DIN-rail and release the locking tab to lock the adapter module in place. If necessary, push up on the locking tab to lock.
5 Connect the adapter wiring as shown under "Wiring" later in this document.
Page 14 of 55 ProSoft Technology, Inc. October 27, 2010
3170-MBS ♦ Flex Platform Module Configuration and Installation Modbus Slave Interface Module User Manual
3.2 Mounting (or Replacing) the module on an existing system
1 Remove the Modbus plug-in connector from the front of the adapter. 2 Disconnect any wiring jumpered to the adjacent terminal base. 3 Using a screwdriver or similar tool, open the lock and remove the module
from the base unit to which the adapter will be attached.
4 Push the flexbus connector toward the right side of the terminal base to
unplug the backplane connection.
5 Release the locking tab and remove the adapter. 6 Before installing the new adapter, notice the notch on the right rear of the
adapter. This notch accepts the hook on the terminal base unit. The notch is open at the bottom. The hook and adjacent connection point keep the terminal base and adapter tight together, reducing the possibility of a break in communication over the backplane.
7 Complete the adapter mounting as shown below.
Attention: Make certain that the hook on the terminal base is properly hooked into the adapter. Failure to lock the hook into the adjacent base/adapter can result in loss of communication on the backplane.
8 If the adapter module does not lock in place, use a screwdriver or similar
device to move the locking tab C down while pressing the adapter module flush onto the DIN-rail. Then release the locking tab to lock the adapter module in place. If necessary, push up on the locking tab to lock.
9 Reinstall the module into the terminal base unit.
ProSoft Technology, Inc. Page 15 of 55 October 27, 2010
Module Configuration and Installation 3170-MBS ♦ Flex Platform User Manual Modbus Slave Interface Module
3.3 Wiring
Attention: When connecting wiring, torque terminal screws to 7 to 9 inch-pounds.
Connect To
TxRxD- 1 TxRxD+ 2
1 Connect the Modbus cable to the removable connector. 2 Connect +24V dc input to the left side of the lower connector, terminal E. 3 Connect 24V common to the left side of the upper connector, terminal D. 4 Connections G and F are used to pass 24V dc power (G) and 24V common
(F) to the next module in the series (if required).
3.3.1 RS-485 Tip
If communication in the RS-485 mode does not work at first, despite all attempts, try switching termination polarities. Some manufacturers interpret + and -, or A and B, polarities differently.
Page 16 of 55 ProSoft Technology, Inc. October 27, 2010
3170-MBS ♦ Flex Platform Module Configuration and Installation Modbus Slave Interface Module User Manual
3.4 Setting the switches
The adapter switches are located under a flip-open cover on the front of the adapter Set the switches as shown below.
1 Lift the hinged switch cover on the front of the adapter to expose the
switches.
2 Set the switches as shown below. 3 Cycle power to the adapter after setting the switches.
Baud Rate S1-1 S1-2 S1-3
1200 OFF OFF OFF 2400 ON OFF OFF 4800 OFF ON OFF 9600 ON ON OFF 19200 OFF OFF ON 38400 ON OFF ON
62.5K OFF ON ON Undefined(Defaults to 19200) ON ON ON
Stop Bit S1-4
1 OFF 2 ON
Parity S1-5 S1-6
None OFF OFF Odd ON OFF Even OFF ON
Data Bits S1-7
8 OFF 7 ON
Modbus Mode S1-8
RTU OFF ASCII ON
ProSoft Technology, Inc. Page 17 of 55 October 27, 2010
Loading...
+ 38 hidden pages