ICC MBP-100 Instruction Manual

Modbus plus multiprotocol network gateway
Table of Contents

Advertisement

Quick Links

NETWORK GATEWAY SERIES
ICC
INDUSTRIAL CONTROL COMMUNICATIONS, INC.
MBP-100

MODBUS PLUS

MULTIPROTOCOL NETWORK GATEWAY
August 2008
ICC #10498-3.100-001

Advertisement

Table of Contents
loading

Summary of Contents for ICC ICC MBP-100

  • Page 1: Modbus Plus

    NETWORK GATEWAY SERIES INDUSTRIAL CONTROL COMMUNICATIONS, INC. MBP-100 MODBUS PLUS MULTIPROTOCOL NETWORK GATEWAY August 2008 ICC #10498-3.100-001...
  • Page 2 Introduction Thank you for purchasing the ICC MBP-100 Modbus Plus Multiprotocol Network Gateway. The MBP-100 allows information to be transferred seamlessly among many different fieldbus networks with minimal configuration requirements. The MBP-100 provides one Modbus Plus port, one RS485 port,...
  • Page 3 MBP-100 Modbus Plus Multiprotocol Network Gateway User's Manual Part Number 10498-3.100-001 Printed in U.S.A. ©2008 Industrial Control Communications, Inc. All rights reserved Industrial Control Communications, Inc. reserves the right to make changes and improvements to its products without providing notice. Notice to Users INDUSTRIAL CONTROL COMMUNICATIONS, INC.’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE-SUPPORT...
  • Page 4: Usage Precautions

    ASD’s E/GND terminals, the motor, or to any other power ground. • When making common serial connections between the gateway and Toshiba ASDs, do not use cables that exceed 5 meters in length. • For further drive-specific precaution, safety and installation information, please refer to the appropriate documentation supplied with your drive.
  • Page 5: Table Of Contents

    Mounting Clip ...8 External Interface ...9 Feature Summary...11 Installing the Gateway...14 RS-485 Network in Use...14 Toshiba ASD (Common Serial) Network in Use ...15 4.2.1 Installation for G7 ASDs...15 4.2.2 Installation for S7, S9, S11, A7 and VF-nC1 ASDs...17 RS485 Port Electrical Interfaces ...19 Environmental Specifications ...20...
  • Page 6 Coil & Discrete Input Mappings... 50 14.1.2 Modbus RTU Slave... 51 14.1.3 Modbus RTU Master... 51 14.2 Modbus Plus... 53 14.3 Toshiba Common Serial ASD Protocol... 54 14.4 Toshiba RS485 ASD Protocol ... 54 14.5 Mitsubishi ASD Protocol ... 57 14.6 Teco-Westinghouse ASDs... 61 14.6.1 MA7200 ...
  • Page 7: The Network Gateway Series Concept

    1. The Network Gateway Series Concept The MBP-100 is a member of the ICC Network Gateway Series product family. Members of this family are designed to provide a uniform interface, configuration and application experience. This commonality reduces the user’s learning curve, reducing commissioning time while simplifying support. The MBP-100 provides simultaneous support for many different communication protocols, allowing complex interchanges of data among otherwise incompatible networks.
  • Page 8: Mechanical Diagrams

    2. Mechanical Diagrams 2.1 Enclosure Figure 1: Enclosure Dimensions (units are inches)
  • Page 9: Mounting Clip

    2.2 Mounting Clip Figure 2: Mounting Clip Dimensions (units are inches)
  • Page 10: External Interface

    2.3 External Interface Chassis Modbus Plus Network Figure 3: Bottom View Reserved Modbus Plus Modbus Plus Node Status LED Address Switches RS485 MMI (RS232) AUX Power port port Figure 4: Front View...
  • Page 11 Data Write LEDs ASD Link ASD #2 ASD #3 ASD #1 LEDs Figure 5: Top View...
  • Page 12: Feature Summary

    Just plug it in – it’s that simple. Power Supply When connected to Toshiba ASDs via the ASD1 / ASD2 / ASD3 ports, can be either powered directly from the attached ASDs, or from the auxiliary power (“POWER”) input jack. All other non-Toshiba applications require the use of the “POWER”...
  • Page 13 New network drivers are continuously being added, and can be downloaded for free from our web site. Text-Based Console Configuration Unit configuration is performed via a text-based console interface, available locally over the RS232 port via a standard PC terminal program such as Microsoft Windows HyperTerminal®.
  • Page 14 In all cases, the unit can be easily unsnapped from the mounting clip to temporarily provide easier access to the chassis ground terminal or network connector.
  • Page 15: Installing The Gateway

    4.1 RS-485 Network in Use Note that in order to power the unit when not connecting to Toshiba ASDs via the common serial ports, the optional 120VAC/9VDC power supply (ICC part number 10456) or a user-supplied power source meeting the requirements outlined in section 11 must also be installed.
  • Page 16: Toshiba Asd (Common Serial) Network In Use

    4.2 Toshiba ASD (Common Serial) Network in Use The gateway connects to each drive via the drive’s common serial (logic level) communication port, typically located on either the main drive control board (G7, S11), on the front of the drive enclosure under a small snap-on cover (A7, S9), on the right-hand side of the drive enclosure under a small snap-on cover (S7), or on the bottom side of the drive enclosure (VF-nC1).
  • Page 17 CNU2A (on the LCD panel), then this connection must first be switched over to CNU1 (on the drive control board) and CNU1A (on the LCD panel). Refer to Toshiba’s documentation for any precautions or notices regarding this connection change. If the LCD panel is already connected via the RS485/RS232 channel, then no change is required.
  • Page 18: Installation For S7, S9, S11, A7 And Vf-Nc1 Asds

    ICC or your local Toshiba representative for assistance if the problem persists. 4.2.2 Installation for S7, S9, S11, A7 and VF-nC1 ASDs Mount the unit via the desired method (refer to page 12 for more information). CAUTION! be connected have been turned OFF and are locked and tagged out.
  • Page 19 If the drives do not appear to power up, or do not function properly, immediately turn power OFF. Repeat steps 2 and 3 to remove all power from the drives. Then, verify all connections. Contact ICC or your local Toshiba representative for assistance if the problem persists.
  • Page 20: Rs485 Port Electrical Interfaces

    5. RS485 Port Electrical Interfaces In order to ensure appropriate network conditions (signal voltage levels, etc.) when using the gateway’s RS485 port, some knowledge of the network interface circuitry is required. Refer to Figure 6 for a simplified network schematic of the RS485 interface circuitry. Note that the “Shield” terminal has no internal connection: its purpose is simply to provide a cable shield chaining location between devices.
  • Page 21: Environmental Specifications

    6. Environmental Specifications Item Specification Indoors, less than 1000m above sea level, do not Operating Environment expose to direct sunlight or corrosive / explosive gasses -10 ∼ +50°C (+14 ∼ +122°F) Operating Temperature -40 ∼ +85°C (-40 ∼ +185°F) Storage Temperature 20% ∼...
  • Page 22: Maintenance And Inspection

    7. Maintenance and Inspection Preventive maintenance and inspection is required to maintain the gateway in its optimal condition, and to ensure a long operational lifetime. Depending on usage and operating conditions, perform a periodic inspection once every three to six months. Before starting inspections, disconnect all power sources. Inspection Points •...
  • Page 23: Storage And Warranty

    8. Storage and Warranty 8.1 Storage Observe the following points when the gateway is not used immediately after purchase or when it is not used for an extended period of time. • Avoid storing the unit in places that are hot or humid, or that contain large quantities of dust or metallic dust.
  • Page 24: Led Indicators

    These LEDs and their functions are summarized here. 9.1 Toshiba ASD Common Serial Port Indicators Each Toshiba ASD common serial port RJ45 connector contains two integrated green LEDs. Figure 8 indicates the functions of these LEDs. Data Write...
  • Page 25: Configuration Switches

    10. Configuration Switches There are eight configuration DIP switches (marked “CONFIG”) located on the front side of the gateway. Switches #1 - #6 set the Modbus Plus station address of the gateway (refer to Table 1). Note that whenever the station addressing switches (#1 - #6) are changed, power must be cycled to the gateway to validate the change.
  • Page 26: Auxiliary Power Supply

    Switches #7 and #8 perform the following functions: Switch #7 ...RS232 port selection switch. When “OFF” at unit startup, the RS232 port will act as the serial console, regardless of the port’s configuration or protocol assignment (refer to section 13 for more information on the serial console).
  • Page 27: Unit Configuration Concepts

    Although each communication port can be configured via the serial console interface, their configuration selections vary slightly. The Toshiba ASD common serial ports have a simple enable/disable selection. The RS232 and RS485 ports can be disabled, or can have one of a selection of control protocols assigned to them.
  • Page 28: Point Configuration

    The selection of what a specific point is to mirror is performed via its “source port” selection. For example, a point may be configured to contain Toshiba ASD parameter mapping and Modbus master ID and register mapping information. However, because both of these protocols act as “master”...
  • Page 29: General Configuration Procedure

    This concept may best be further explained by way of a representative scenario. For example, let’s assume that the gateway’s RS485A port has been designated to be a Modbus Master. Let’s further assume that the “Modbus Master” portion of point #5 indicates an “Address” value of 8 and “Register” value of 14, and that point #5’s “Source Port”...
  • Page 30 Access the serial console configuration interface via Hyperterminal or other text-based console program. Assign (or enable/disable) the desired protocols and their characteristics to the specific communication ports. Perform the desired per-protocol mapping and definition assignments for each point, including the name, timeout and “source port” assignments.
  • Page 31: Console Access

    13. Console Access 13.1 RS232 The console is accessible via an RS232 interface for direct connection to a computer’s serial (COM) port. This is performed by connecting the unit’s RS232 (MMI) port to the computer’s serial port via the included serial cable. 13.1.1 Requirements All that is needed is a computer with a serial (COM) port containing some sort of communications software (such as HyperTerminal, included with Microsoft...
  • Page 32 Figure 10: HyperTerminal Properties…Connect To Figure 11: HyperTerminal Properties…Connect To…Configure...
  • Page 33 Figure 12: HyperTerminal Properties…Settings...
  • Page 34: Invocation

    13.2 Invocation The console provides standard access and editing methods for the various configuration items (ports, points and their associated attributes). It is important to note that whenever you modify the point database and are ready to restart the gateway (“exit”), you must save the database to the internal file system prior to restarting or your changes will be lost.
  • Page 35: Main Menu

    13.3 Main Menu The main menu is shown in Figure 14. All gateway configuration is performed by “drilling down” into progressively lower-level menus. Figure 14: Console Main Menu All navigation and data entry commands are input by simply entering the menu selection number to the right of the “>”...
  • Page 36: View/Edit Points

    13.3.1 View/Edit Points Main menu selection number 1 displays a screen which shows a summary of the current point configuration (see Figure 15). This screen only displays the point number and the point name: in order to access more detailed point information, menu selection number 1 “Edit/View a Point”...
  • Page 37 Refer to section 12.3 for more information about source ports. • Edit Toshiba, Mitsubishi, Modbus Master/Slave/Plus: Menu selections 5-9 allow you to edit/view protocol-specific point attributes. Enter the menu selection corresponding to the protocol you wish to edit/view.
  • Page 38 ASD parameter that this point will access. Figure 17 shows an example of how to change the current setting of FA00 to FA04 (which would be a typical change if the Toshiba RS485 protocol were to be used with this point). Note that Toshiba parameter values must be...
  • Page 39 Mitsubishi Point Attributes Figure 18: Edit Mitsubishi Attributes • Edit Address: Menu selection 1 allows you to edit the network address of the Mitsubishi ASD that this point refers to. • Edit Parameter: Menu selection 2 allows you to edit the Mitsubishi ASD parameter that this point will access.
  • Page 40 Modbus Master Point Attributes Figure 19: Edit Modbus Master Attributes • Edit Address: Menu selection 1 allows you to edit the network address of the Modbus slave that this point refers to. • Edit Register: Menu selection 2 allows you to edit the Modbus holding register or input register that this point will access.
  • Page 41 Modbus Slave Point Attributes Figure 20: Edit Modbus Slave Attributes • Edit Register: Menu selection 1 allows you to assign a Modbus register (accessible as either a holding register or input register) to this point. Figure 20 shows an example of how to change the current setting of 7 to 8.
  • Page 42 Modbus Plus Point Attributes Figure 21: Edit Modbus Plus Attributes • Edit Get Global Node: Menu selection 1 allows modification of the selected node on the network from which this point will consume (get) global data. This value is ignored if the “Get Global Offset” is “DISABLED”.
  • Page 43 Implementing Global Data As indicated above, three global data configuration items exist for each point in the point database: a “get” node, a “get” offset, and a “put” offset. If a given point is intended to be accessed only via standard MSTR write and read commands (MSTR functions 1 and 2, respectively), then both the “get”...
  • Page 44 Table 2: Global Data Assignment Example (x=Don’t Care) Point # Get Offset Node DISABLED DISABLED DISABLED DISABLED DISABLED DISABLED DISABLED DISABLED With the indicated global data assignments, we can get a logical overview of the three relevant global data areas from Figure 22, Figure 23 and Figure 24. Offset 0 Offset 1 ignored...
  • Page 45: View/Edit Ports

    Menu selections 1-3 correspond to the Toshiba common serial ASD ports, and these contain no other port configuration other than enable/disable. The syntax used to disable port ASD1 is shown at the bottom of Figure 25.
  • Page 46 RS485/232 Port Configuration Figure 26: Edit Port Configuration • Edit Protocol Selection: Menu selection 1 allows you to change what serial protocol is running on the selected port. Note that not all ports run the same protocols. Figure 26 shows an example of changing the protocol selection on the RS485 port from Disabled to Modbus Slave.
  • Page 47: Load Points

    13.3.3 Load Points Main menu selection number 3 allows the retrieval of a predefined configuration into working memory (see Figure 27). Loading one of these configurations overwrites the existing point configuration. Currently, entering submenu selection 1 returns the gateway’s configuration to its factory default state.
  • Page 48 argument of the xmodem command indicates the mode, and must be set to either “/crc” for Xmodem CRC mode, or “/cs” for Xmodem checksum mode. As mentioned above, configuration files can be both downloaded and uploaded. The second argument in the xmodem command indicates the action to take, and must be set to either “/d”...
  • Page 49: Mbp-100 Information

    Figure 29: HyperTerminal receive file dialog box When uploading a file, the procedure is similar to downloading. Enter “/u” instead of “/d” for the action parameter of the xmodem command. Once the xmodem upload command is entered, the user will have 30 seconds to click the “send”...
  • Page 50: Protocol-Specific Information

    14. Protocol-Specific Information This section will discuss topics that are specific to each of the available network selections. 14.1 Modbus The gateway supports Modbus slave and master functionality via Modbus RTU. The slave implementations share common access methods, which is to say they support the same functions and reference the internal points via a common “Modbus Slave”...
  • Page 51: Coil & Discrete Input Mappings

    • Because the transaction is handled locally within the gateway, write data checking is not available. For example, if a write is performed to a register with a data value that is out-of-range of the corresponding “source port” object, no Modbus exception will be immediately returned. However, the point will always reflect the “source port”...
  • Page 52: Modbus Rtu Slave

    For clarity, let’s use Equation 1 and Equation 2 in a calculation example. Say, for instance, that we are going to read coil #34. Using Equation 1, we can determine that coil #34 resides in register #3, as ⎣3.0625⎦ = ⎣3 r1⎦ = 3. Then, using Equation 2, we can determine that the bit within register #3 that coil #34 targets is (34-1)%16 = 1, as 33%16 = mod(2 r1) = 1.
  • Page 53 Modbus RTU master protocol. e.g. VF-AS1/G9 “command 1” parameter is documented to be FA00 in the Toshiba literature. Converting this to decimal, we arrive at a value of 64000. To allow a point in the gateway’s database to correctly access the “command 1”...
  • Page 54: Modbus Plus

    14.2 Modbus Plus • Supported MSTR functions are indicated in Table 5. Table 5: Supported MSTR Functions Function Code • Modbus Plus register assignments are common between the Modbus Plus and Modbus RTU Slave protocols. In other words, when a point in the point database has been assigned a “Modbus Slave”...
  • Page 55: Toshiba Common Serial Asd Protocol

    Point parameter number entry radix is hexadecimal (e.g. 10 = 0x0010 or 14.4 Toshiba RS485 ASD Protocol • The gateway can act as a Toshiba ASD master via its RS485 port. All Toshiba drives that implement the Toshiba protocol and provide either a built-in or option-based RS485 port are supported.
  • Page 56 The Toshiba RS485 terminal block connections for G7/Q7/H7/W7 drives are shown in Figure 32 for reference only. Because there are many possible RS485 port configurations & options available for the various Toshiba drives, please refer to the relevant Toshiba documentation for your drive. Signal Ground...
  • Page 57 All parameter writes use the drive’s RAM / EEPROM data write (“W”) command. For all writes that target the drive’s EEPROM, be sure to follow Toshiba’s guidelines regarding the number of times a specific parameter can be written without risk of EEPROM damage.
  • Page 58: Mitsubishi Asd Protocol

    14.5 Mitsubishi ASD Protocol • The gateway acts as a Mitsubishi protocol master via its RS485 port. Adjustable speed drives such as the FR-A500/E500/F500 series and F700- series that support the Mitsubishi protocol can be accessed. Also supported are MGI Technologies, Inc. M3000, M4000 and M5000-series drives that support the Mitsubishi protocol.
  • Page 59 Connect as shown in Figure 35. Figure 34: EIA/TIA Wiring Standards RDA SDA SDB RDB Signal (TB:2) Ground (TB:1) (TB:3) Figure 35: PU Port Connections • For 700-series drives, the gateway can connect to the ASD via either the PU (panel) connector as indicated in Figure 35, or via the on-board RS485 terminals.
  • Page 60 (TB:1) Figure 36: 700-Series ASD Connections • Note that although the 700-series ASD also supports the Modbus RTU protocol, the initial ASD firmware did not support the Modbus RTU protocol in 2-wire format. Therefore, using the Mitsubishi protocol may be the only available method to communicate with the gateway (ASD parameter 549 must be “0”).
  • Page 61 on these parameters, please refer to the relevant Mitsubishi documentation. Table 6: Additional Mitsubishi Parameter Assignments Parameter Number 1000 1001 1002 1003 1004 1005 1006 1007 1008 Most recent #1 and #2 alarms / alarm clear 1009 1010 1011 1014 Inverter status monitor / operation command 1015 1016...
  • Page 62: Teco-Westinghouse Asds

    14.6 Teco-Westinghouse ASDs The gateway can act as a Modbus RTU protocol master via its RS232 and RS- 485 ports, which allows connection to Modbus-capable Teco-Westinghouse ASDs. While it is possible to connect to any Teco-Westinghouse ASD that supports Modbus (either RS232 or RS485), this section will discuss in particular some important considerations to make note of when connecting to, and interacting with, the PA7300 (with installed PA-M card) and MA7200 ASDs via RS485.
  • Page 63: Pa7300

    • The MA7200 Modbus manual indicates that control data registers (0000H..000FH) are read/write, but reading always returns 0. • All drive parameters may be read at any time, but only Cn parameters can be written while the inverter is in DRV mode. The inverter must be in PRG mode to write any other parameters.
  • Page 64 “known as” register value of 37, which can then be entered in the Modbus master “register” assignment of a point on the gateway.
  • Page 65: Modicon Plc Programming Examples

    15. Modicon PLC Programming Examples This section of the manual is being provided solely as a brief overview of the general ladder logic program architecture that can be used to interface with the MBP-100 over a Modbus Plus network. For the most detailed information available, the appropriate Modicon PLC Programming Manual should always be consulted.
  • Page 66: Mstr Parameters

    15.1.1 MSTR Parameters • The number in the top portion of the MSTR block is the address of the first of six registers in the Control Block, and is generally configured as indicated in Table 7. Table 7: MSTR Control Block Format Address Identifies which MSTR function is to be executed.
  • Page 67: Mstr Inputs And Outputs

    15.1.2 MSTR Inputs and Outputs Figure 38 indicates the inputs and outputs associated with MSTR instructions. INPUTS Activ ate MSTR Instruction Terminate MS TR Instruction Figure 38: MSTR Inputs and Outputs 15.2 MSTR Function Error Codes Table 8 indicates the error codes that may be output in the “4x+1” location of the MSTR control block.
  • Page 68: Mstr Write Example

    Address 40050 MSTR function (read) 40051 Error code 40052 Number of consecutive registers to read 40053 Starting register 40054 Destination node address 40055 Master node address Set the middle portion of the MSTR instruction to 40100. This will be the starting address of the MSTR Data Area.
  • Page 69: Mstr Global Read Example

    Address 40200 Value to write to register 1 @ network address 32 40201 Value to write to register 2 @ network address 32 40202 Value to write to register 3 @ network address 32 40203 Value to write to register 4 @ network address 32 In this case, we are accessing four registers, so set the bottom portion of the MSTR instruction (“number of registers”) to 4.
  • Page 70: Mstr Global Write Example

    In this case, we are accessing 32 words of global data, so set the bottom portion of the MSTR instruction (“number of registers”) to 32. In the case of MSTR global reads, this number cannot exceed 32 by definition. Initiate the global read command by closing internal relay 1. The data response will be seen in the MSTR Data Area (starting at register 40300).
  • Page 71: Firmware Updates

    16. Firmware Updates The gateway’s embedded firmware resides in flash memory that can be updated in the field. Firmware updates may be released for a variety of reasons, such as custom firmware implementations, firmware improvements and added functionality as a result of user requests. ICC is continually striving to enhance the functionality and flexibility of our products, and we therefore periodically release new embedded firmware to achieve these goals and meet customer requests.
  • Page 72: Using The Rfu Utility

    download firmware to its flash memory: all other application functions (such as communications, console access etc.) will be disabled. 16.3 Using the RFU Utility Support for downloading new application firmware to the gateway is provided by the free Rabbit Field Utility (RFU), which is a 32-bit application that runs on Microsoft Windows platforms.
  • Page 73 The Communications Options window shown in Figure 40 then appears. Confirm that the settings are as shown, with the possible exception of the “Comm Port” settings, which depends on the COM port you are using. Click “OK” when complete. Figure 40: Communications Options Window Next, select the “Setup…File Locations”...
  • Page 74: Transmitting Firmware Files

    16.3.3 Transmitting Firmware Files When a board support package (BSP) has been downloaded and unzipped, the flash firmware file will be the one with “.BIN” as its file name extension. Once the RFU utility has been configured, the flash firmware files can be downloaded to the gateway by two different methods.
  • Page 75: Wrap-Up

    16.4 Wrap-Up Once downloading is complete, close the RFU utility, move CONFIG switch #8 back to the “OFF” (up) position to exit “firmware download” mode, and cycle power momentarily to the unit by either disconnecting the auxiliary power supply and/or powering down all connected drives or momentarily removing all drive communication cables from the unit.
  • Page 76 INDUSTRIAL CONTROL COMMUNICATIONS, INC. Madison Office 1600 Aspen Commons, Suite 210 Middleton, WI USA 53562-4720 Tel: [608] 831-1255 Fax: [608] 831-2045 http://www.iccdesigns.com Houston Office 12300 Dundee Court, Suite 212 Cypress, TX USA 77429-8364 Printed in U.S.A...

Table of Contents