ProSoft Technology CompactLogix MVI69E-MBS User Manual

ProSoft Technology CompactLogix MVI69E-MBS User Manual

Modbus serial enhanced communication module
Table of Contents

Advertisement

Quick Links

MVI69E-MBS
CompactLogix™ Platform
Modbus Serial Enhanced Communication
Module
August 11, 2022
USER MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CompactLogix MVI69E-MBS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ProSoft Technology CompactLogix MVI69E-MBS

  • Page 1 MVI69E-MBS CompactLogix™ Platform Modbus Serial Enhanced Communication Module August 11, 2022 USER MANUAL...
  • Page 2: Your Feedback Please

    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 at: www.prosoft-technology.com...
  • Page 3: Important Safety Information

    If you wish to discard electrical and electronic equipment (EEE), please contact your dealer or supplier for further information. Warning – Cancer and Reproductive Harm – www.P65Warnings.ca.gov Agency Approvals & Certifications Please visit our website: www.prosoft-technology.com ProSoft Technology, Inc. Page 3 of 159...
  • Page 4: Table Of Contents

    Using Controller Tags Controller Tags ....................54 4.1.1 MVI69E-MBS Controller Tags ................. 54 User-Defined Data Types (UDTs)..............56 4.2.1 MVI69E-MBS User-Defined Data Types ............56 MBS Controller Tag Overview ................. 58 4.3.1 MBS.CONFIG ....................58 ProSoft Technology, Inc. Page 4 of 159...
  • Page 5 Communication Error Codes ................. 110 7.7.1 Standard Modbus Protocol Exception Code Errors ........110 7.7.2 Module Communication Error Codes ............110 7.7.3 Command List Entry Errors ................110 Connecting to the Module’s Webpage ............111 ProSoft Technology, Inc. Page 5 of 159...
  • Page 6 8.5.1 Ethernet Cable Specifications ................ 153 Modbus Application Port Connection ............154 8.6.1 RS-232 Wiring....................154 8.6.2 RS-422 Wiring....................157 8.6.3 RS-485 Wiring....................157 8.6.4 DB9 to RJ45 Adaptor (Cable 14) ..............158 ProSoft Technology, Inc. Page 6 of 159...
  • Page 7 MVI69E-MBS ♦ CompactLogix™ Platform Contents Modbus Serial Enhanced Communication Module User Manual Support, Service & Warranty Contacting Technical Support ................ 159 Warranty Information ..................159 ProSoft Technology, Inc. Page 7 of 159...
  • Page 8: Start Here

    256-color VGA graphics adapter, 800 x 600 minimum resolution Note: The Hardware and Operating System requirements in this list are the minimum recommended to install and run software provided by ProSoft Technology . Other third party applications may have different ®...
  • Page 9: Deployment Checklist

    DB9 female to 9-pin screw terminal. Used Adapter for RS422 or RS485 connections to Port 1 and 2 of the module If any of these components are missing, please contact ProSoft Technology Technical Support for replacement parts. ProSoft Technology, Inc. Page 9 of 159...
  • Page 10: Setting Jumpers

    The module is shipped with the Setup jumper OFF. If an update of the firmware is needed, apply the Setup jumper to both pins. The following illustration shows the MVI69E-MBS jumper configuration, with the Setup Jumper OFF. ProSoft Technology, Inc. Page 10 of 159...
  • Page 11: Installing The Module In The Rack

    Move the module back along the tongue-and-groove slots until the bus connectors on the MVI69 module and the adjacent module line up with each other. ProSoft Technology, Inc. Page 11 of 159...
  • Page 12 Push the module’s bus lever back slightly to clear the positioning tab and move it firmly to the left until it clicks. Ensure that it is locked firmly in place. Close all DIN-rail latches. ProSoft Technology, Inc. Page 12 of 159...
  • Page 13 MVI69E-MBS ♦ CompactLogix™ Platform Start Here Modbus Serial Enhanced Communication Module User Manual Press the DIN-rail mounting area of the controller against the DIN-rail. The latches momentarily open and lock into place. ProSoft Technology, Inc. Page 13 of 159...
  • Page 14: Configuring The Module In Rslogix

    Create a new project in Studio 5000. Add the module to the Studio 5000 project. There are two ways to do this: You can use the Add-On Profile from ProSoft Technology. This is the preferred way, but requires RSLogix version 15 or later.
  • Page 15: Creating A Module In The Project Using An Add-On Profile

    Add-On Profile (AOP). Run the MPSetup.exe file to start the Setup Wizard. Follow the Setup Wizard to install the AOP. Continue to follow the steps in the wizard to complete the installation. ProSoft Technology, Inc. Page 15 of 159...
  • Page 16 PC. Using an Add-On Profile In Studio 5000, expand the I/O C folder in the Project tree. Right-click ONFIGURATION the appropriate communications bus and, and then click N ODULE ProSoft Technology, Inc. Page 16 of 159...
  • Page 17 Technology modules appears in the dialog box. Select the MVI69E-MBS module in the list and click C REATE A New Module dialog box opens. Edit the N and S for the module and click ProSoft Technology, Inc. Page 17 of 159...
  • Page 18 Applications that require smaller amounts of data or faster update times, such as ControlNet networks, will benefit from smaller block transfer sizes. The MVI69E-MBS module is now visible in the I/O Configuration tree. ProSoft Technology, Inc. Page 18 of 159...
  • Page 19: Creating A Module In The Project Using A Generic 1769 Module Profile

    Modbus Serial Enhanced Communication Module User Manual 2.1.2 Creating a Module in the Project Using a Generic 1769 Module Profile This procedure is not required if you installed the ProSoft Technology Add-On Profile for this module. Expand the I/O C folder in the Project tree.
  • Page 20 The following illustration shows an example where the module was configured for a block transfer size of 60 words (input block size = 62 words, output block size = 61 words): The following options are available: Output Block Size Input Block Size Block Transfer Size ProSoft Technology, Inc. Page 20 of 159...
  • Page 21: Installing Prosoft Configuration Builder

    . Follow the instructions that appear on the screen. DMINISTRATOR If you want to find additional software specific to your MVI69E-MBS, enter the model number into the ProSoft website search box and press the Enter key. ProSoft Technology, Inc. Page 21 of 159...
  • Page 22: Generating The Aoi (.L5X File) In Prosoft Configuration Builder

    The tree view consists of folders for Default Project and Default Location, with a Default Module in the Default Location folder. The following illustration shows the PCB window with a new project. ProSoft Technology, Inc. Page 22 of 159...
  • Page 23 In the Product Line Filter area of the dialog box, click MVI69. In the Select Module Type dropdown list, click MVI69E-MBS, and then click OK to save your settings and return to the ProSoft Configuration Builder window. The MVI69E-MBS icon is now visible in the tree view. ProSoft Technology, Inc. Page 23 of 159...
  • Page 24: Creating And Exporting The .L5X File

    Set the Block Transfer Size to the desired size of the data blocks transferred between the module and processor (60, 120 or 240 words). Block transfer size information can be found starting in the section on Normal Data Transfer (page 68). ProSoft Technology, Inc. Page 24 of 159...
  • Page 25 PC/Laptop. Right-click the MVI69E-MBS icon in the project tree and choose E AOI F XPORT Save the .L5X file to the PC/Laptop in an easily found location, such as Windows Desktop. ProSoft Technology, Inc. Page 25 of 159...
  • Page 26: Importing The Add-On Instruction

    Note: You can place the Add-On Instruction in a different routine than the MainRoutine. Make sure to add a rung with a jump instruction (JSR) in the MainRoutine to jump to the routine containing the Add-On Instruction. Right-click an empty rung in the routine and choose I MPORT UNGS ProSoft Technology, Inc. Page 26 of 159...
  • Page 27 M OUTINE display the controller tags in the Add-On Instruction. Note: If you are using RSLogix version 16 or earlier, the Import Configuration dialog box does not contain the Import Content tree. ProSoft Technology, Inc. Page 27 of 159...
  • Page 28 When the import is completed, the new rung with the Add-On Instruction is visible. The procedure also imports new user-defined data types, data objects and the Add- On instruction to be used in the project with the MVI69E-MBS module. ProSoft Technology, Inc. Page 28 of 159...
  • Page 29: Adding Multiple Modules In The Rack (Optional)

    MVI69E-MBS as the M . Click OK. ODULE Select the MVI69E-MBS module in the tree and repeat the above steps to add a second (or more) module in the PCB project. ProSoft Technology, Inc. Page 29 of 159...
  • Page 30 Configure the module parameters. See Module Configuration Parameters (page 39) and then export the AOI .L5X file for the new module (right-click the module and choose E AOI F . See Creating and Exporting the .L5X File (page 24). XPORT ProSoft Technology, Inc. Page 30 of 159...
  • Page 31: Adding Another Module In Studio 5000

    You must be using RSLogix version 15 or later to to use an AOP. If using an AOP is not an option, select G 1769 M and click C ENERIC ODULE REATE ProSoft Technology, Inc. Page 31 of 159...
  • Page 32 You must also import the Add-On Instruction (AOI) for the new module (see Adding another module in PCB (page 29)). In the Controller Organizer pane, double-click to open the ladder for the routine. OUTINE ProSoft Technology, Inc. Page 32 of 159...
  • Page 33 MPORT UNGS Select the .L5X file you created and exported for the new module, and click I MPORT The new .L5X file has a unique filename that is specific to the new module. ProSoft Technology, Inc. Page 33 of 159...
  • Page 34 1). Since the second card is placed in slot 2, change the F INAL to Local:2:I and Local:2:O. Also, you can append a ‘_2’ at the end of the F INAL of ‘AOI69_MBS’ and ‘MBS’ arrays as shown below. ProSoft Technology, Inc. Page 34 of 159...
  • Page 35 Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual 11 Click OK. The setup procedure is now complete. Save the project. It is ready to download to the CompactLogix or MicroLogix 1500-LRP processor. ProSoft Technology, Inc. Page 35 of 159...
  • Page 36: Configuring The Mvi69E-Mbs Using Pcb

    You can also rename the Module icon to customize the project. Right-click the object you want to rename and then choose R ENAME Type the new name for the object and press Enter. ProSoft Technology, Inc. Page 36 of 159...
  • Page 37: Editing Configuration Parameters

    Note: Depending on the parameter, you must enter text, or a valid number, or select from a list of options. Click OK to save your changes. Double-click any icon to open an Edit dialog box with a table. Use this dialog box to build and edit Modbus Master commands. ProSoft Technology, Inc. Page 37 of 159...
  • Page 38: Printing A Configuration File

    In the View Configuration dialog box, click the F menu and then click P RINT In the Print dialog box, choose the printer to use from the drop-down list, select the printing options, and then click OK. ProSoft Technology, Inc. Page 38 of 159...
  • Page 39: Module Configuration Parameters

    Important: The sum of the Read Register Count and Write Register Count cannot exceed 10,000 total registers. Furthermore, neither the Read Data nor the Write Data area may extend above module register 9999. The Read Data and Write Data areas must not overlap. ProSoft Technology, Inc. Page 39 of 159...
  • Page 40: Modbus Port X Parameters

    Float Flag and 16 commands (read and write Holding Registers) from a remote Master when it is moving 32-bit floating-point data. Note: Most applications using floating-point data do not need this parameter enabled. ProSoft Technology, Inc. Page 40 of 159...
  • Page 41 This parameter is used only if the Float Flag is enabled. For example, if you set the Float Offset value to 3000 and the float start parameter to 7000, data requests for register 7000 use the internal Modbus register 3000. ProSoft Technology, Inc. Page 41 of 159...
  • Page 42 1000, the command errors are copied to the database as follows: 1000: error code for command 0 1001: error code for command 1 … An error code of 0 means that the command was successfully sent (no error). ProSoft Technology, Inc. Page 42 of 159...
  • Page 43 Modbus function 3, 6, or 16 Offset commands. For example, if you set the value to 50, a request for address 0 corresponds to the register 50 in the database. ProSoft Technology, Inc. Page 43 of 159...
  • Page 44: Modbus Port X Commands

    The MVI69E-MBS Master (and Slave) communication drivers support several data read and write commands. When a command is configured, the type of data (bit, 16-bit integer, 32-bit float, etc), and the level of Modbus support in the slave equipment needs to be considered. ProSoft Technology, Inc. Page 44 of 159...
  • Page 45 10 * 16 bits per register = 160). Similarly, use this formula for function codes 5 or 15 for writing bits. 0 to 65535 Specifies the minimum interval between executions of Poll Interval (1/10 second) continuous commands (Enable code = 1). ProSoft Technology, Inc. Page 45 of 159...
  • Page 46 Note: The value entered here does not need to include the "Modbus Prefix" addressing scheme. Also, this value is an offset of the zero-based Modbus addressing scheme. ProSoft Technology, Inc. Page 46 of 159...
  • Page 47: Ethernet 1

    In the ProSoft Configuration Builder tree view, double-click the E 1 icon. THERNET Description Parameter Unique IP address assigned to the module IP Address Subnet mask of module Netmask Gateway (if used) Gateway ProSoft Technology, Inc. Page 47 of 159...
  • Page 48: Downloading The Configuration File To The Processor

    User Manual Downloading the Configuration File to the Processor In the ProSoft Configuration Builder tree view, right-click the module icon and choose OWNLOAD FROM EVICE In the Download Configuration File dialog box, click RSW ProSoft Technology, Inc. Page 48 of 159...
  • Page 49 OK. Notice the CIPConnect path has been updated in the Download Configuration File dialog box. Click T to verify the path is active and can successfully ONNECTION connect to the processor. ProSoft Technology, Inc. Page 49 of 159...
  • Page 50 Following the download process, the module is automatically rebooted. After rebooting, the ladder logic sends the configuration data from the processor to the module. When that is complete, the module starts Modbus communications. ProSoft Technology, Inc. Page 50 of 159...
  • Page 51: Uploading The Configuration File From The Processor

    Configuring the MVI69E-MBS Using PCB Modbus Serial Enhanced Communication Module User Manual Uploading the Configuration File from the Processor In the ProSoft Configuration Builder tree view, right-click the MVI69E-MBS icon and choose U PLOAD FROM EVICE TO ProSoft Technology, Inc. Page 51 of 159...
  • Page 52 In the Upload Configuration File dialog box, the CIPConnect path should already be constructed if you have previously downloaded the configuration file from the same PC. If not, click RSW , browse to, then select the CompactLogix or MicroLogix 1500-LRP Processor, and click OK. ProSoft Technology, Inc. Page 52 of 159...
  • Page 53 ONNECTION the processor. When ready, click U . When upload is complete, click C PLOAD LOSE PCB now displays the uploaded configuration file. ProSoft Technology, Inc. Page 53 of 159...
  • Page 54: Using Controller Tags

    For most applications, the Add-On Instruction works without needing any modification. 4.1.1 MVI69E-MBS Controller Tags The main controller tag structure, MBS, is broken down into five lower-level controller tag structures. ProSoft Technology, Inc. Page 54 of 159...
  • Page 55 Individual controller tags are declared with basic data types, such as INT and BOOL. Controller tag arrays are declared with arrays of basic data types. Controller tag structures are declared with user- defined data types (UDTs). ProSoft Technology, Inc. Page 55 of 159...
  • Page 56: User-Defined Data Types (Udts)

    MBS. There are five UDTs one level below MBSMODULEDEF. These lower-level UDTs were used to create the MBS.CONFIG, MBS.DATA, MBS. CONTROL, MBS.STATUS, and MBS.UTIL controller tag structures. Click the [+] signs to expand the UDT structures and view lower-level UDTs. ProSoft Technology, Inc. Page 56 of 159...
  • Page 57 WriteData integer array in the D column of the MBSDATA UDT. In the example below, the ReadData array size has been changed to 2000. Save and download the ladder program for this change to take effect. ProSoft Technology, Inc. Page 57 of 159...
  • Page 58: Mbs Controller Tag Overview

    Modbus data coming into the module from the Modbus network. Data area copied from the processor to the module. This array MBS.DATA.WriteData stores the outgoing data sent from the module to the Modbus network. ProSoft Technology, Inc. Page 58 of 159...
  • Page 59: Mbs.control

    Port number to be associated with Command Control MBS.CONTROL.CmdControl. function PortNumber 0 or 249 Command Index of port command [x] to be enabled. MBS.CONTROL.CmdControl. Up to 6 command indexes can be populated at a CommandIndex[x] time. ProSoft Technology, Inc. Page 59 of 159...
  • Page 60 & byte swap, 3 = byte swap Data.SwapCode Modbus function code (1,2,3,4,5,6,15, or 16) MBS.CONTROL.EventCmd_DB Data.ModbusFunctionCode 0 to 9999 Modbus address of the target slave database MBS.CONTROL.EventCmd_DB Data.DeviceDBAddress Event status returned by the module MBS.CONTROL.EventCmd_DB Data.EventCmdStatusReturned ProSoft Technology, Inc. Page 60 of 159...
  • Page 61 Data values to be sent to the slave MBS.CONTROL.EventCmd_Processor Data.Data[x] Command status MBS.CONTROL.EventCmd_Processor Data.EventCmdStatusReturned Port x Status array MBS.CONTROL.EventCmd_Processor Data.PortxStatus Status code. See Communication Error MBS.CONTROL.EventCmd_Processor Codes (page 110). Data.PortxStatus.Status Last error code MBS.CONTROL.EventCmd_Processor Data.PortxStatus.LastError ProSoft Technology, Inc. Page 61 of 159...
  • Page 62 Note: The AOI will not reset the tag array to 0 after being enabled. 0 or 1 Triggers request to read slave status. MBS.CONTROL.SlavePoll.Portx. 0 = Disable, 1 = Enabled GetSlavesStatus Data array with status. MBS.CONTROL.SlavePoll.Portx. SlavesStatus[x] ProSoft Technology, Inc. Page 62 of 159...
  • Page 63 0 = Disable, 1 = Enable MBS.CONTROL.WarmBoot This tag allows the processor to Warmboot the module (driver reboot). Description Tag Name Range 0 or 1 Triggers a warm boot the module WarmBoot 0 = Disable, 1 = Enable ProSoft Technology, Inc. Page 63 of 159...
  • Page 64: Mbs.status

    For a slave port, this field contains the value of the last MBS.STATUS.PortxPreviousErr error code returned. For a master port, this field contains the index of the command with an error. ProSoft Technology, Inc. Page 64 of 159...
  • Page 65: Mbs.util

    Event Command with Data is completed Timer used to clear both cold and warm boot requests MBS.UTIL.BootTimer Holds variables used for processing pass-through messages MBS.UTIL.PassThru[ ] Array ProSoft Technology, Inc. Page 65 of 159...
  • Page 66: Mvi69E-Mbs Backplane Data Exchange

    Allocate and initialize Module Register space Enable Modbus application port(s) After the module has received the module configuration, the module begins communicating with other devices on the Modbus network, depending on the Modbus configuration of the module. ProSoft Technology, Inc. Page 66 of 159...
  • Page 67: Backplane Data Transfer

    The following illustration shows the data transfer method used to move data between the CompactLogix or MicroLogix 1500-LRP processor, the MVI69E-MBS module and the Modbus Network. ProSoft Technology, Inc. Page 67 of 159...
  • Page 68: Normal Data Transfer

    Description Length (words) Offset Read Block ID Write Block ID Read Data 2 to (n+1) (n) = 60, 120, or 240 depending on the Block Transfer Size parameter (refer to the configuration file). ProSoft Technology, Inc. Page 68 of 159...
  • Page 69: Read And Write Block Transfer Sequences

    Database address 480 to 959 is continuously transferred from the processor to the module. The Block Transfer Size parameter configures how the Read Data and Write Data areas are broken down into data blocks (60, 120, or 240). ProSoft Technology, Inc. Page 69 of 159...
  • Page 70 MVI69E-MBS ♦ CompactLogix™ Platform MVI69E-MBS Backplane Data Exchange Modbus Serial Enhanced Communication Module User Manual If Block Transfer Size = 60 If Block Transfer Size = 120 ProSoft Technology, Inc. Page 70 of 159...
  • Page 71 MVI69E-MBS ♦ CompactLogix™ Platform MVI69E-MBS Backplane Data Exchange Modbus Serial Enhanced Communication Module User Manual If Block Transfer Size = 240 ProSoft Technology, Inc. Page 71 of 159...
  • Page 72: Data Flow Between The Module And Processor

    In Slave Pass-Through mode, write commands from the Master are handled differently than they are in Normal mode. In Slave Pass-Through mode, all write requests are passed directly to the processor and data is not written directly into the module’s database. ProSoft Technology, Inc. Page 72 of 159...
  • Page 73 This gives the ladder logic the opportunity to also change the values stored in these addresses, if need be, before they are written to the database. Note: The ReadData array is not used in Pass-Through mode. Same as normal mode. Same as normal mode. ProSoft Technology, Inc. Page 73 of 159...
  • Page 74: Master Mode

    Master driver for processing. Data received from a slave in response to a read command is stored in the module’s internal database. Status is returned to the processor for each command in the Master Command List. ProSoft Technology, Inc. Page 74 of 159...
  • Page 75 Read Data area; refer to Additional Configuration Parameters as Master (page 42). Note: The Command Error List must be placed in the Read Data area of the database, so it can be transferred to the processor in the input image. ProSoft Technology, Inc. Page 75 of 159...
  • Page 76: Legacy Mode

    Legacy Mode. This conversion procedure is supported by PCB v4.4.24.20.0302 or later. Webpage Configuration Open the MVI69E-MBS webpage. For further information, please see Connecting to the Module’s Webpage on page 111. Click on the Advanced Settings option. ProSoft Technology, Inc. Page 76 of 159...
  • Page 77 Modbus Serial Enhanced Communication Module User Manual field to ‘Yes’, In the Advanced Settings page, change the L EGACY then click on the U button. PDATE EGACY Confirm the update by clicking OK. ProSoft Technology, Inc. Page 77 of 159...
  • Page 78 MVI69E-MBS ♦ CompactLogix™ Platform Legacy Mode Modbus Serial Enhanced Communication Module User Manual The module will reboot during the update process. Once complete, the homepage displays Legacy Mode – Yes. ProSoft Technology, Inc. Page 78 of 159...
  • Page 79: Pcb Configuration

    You will need to convert the existing ‘MVI69-MCM’ PCB project to an ‘MVI69E-MBS’ project. Open the existing MVI69-MCM project in PCB. Right-click on the MVI69-MCM icon and select C ONVERT TO NHANCED After the conversion, the PCB module parameters are updated. ProSoft Technology, Inc. Page 79 of 159...
  • Page 80: Comment Parameter

    Legacy Mode Modbus Serial Enhanced Communication Module User Manual 6.2.1 Comment Parameter Under the M option in the module configuration, you can make a ODULE OMMENT note that this configuration is a Legacy conversion. ProSoft Technology, Inc. Page 80 of 159...
  • Page 81: Backplane69 Parameter

    60, 120 or 240 Specifies the number of words in each block Block Transfer Size transferred between the module and processor. ProSoft Technology, Inc. Page 81 of 159...
  • Page 82: Mcm Port X Parameters

    , the CTS line is monitored and must be high before the module sends 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. ProSoft Technology, Inc. Page 82 of 159...
  • Page 83 (Master mode) Specifies a time delay to be added to the Inter-character 3.5 character time delay used by the module to recognize Timeout the end of a message. 0 to 4998 (Master mode) Internal Database offset location of Command Error command error Offset ProSoft Technology, Inc. Page 83 of 159...
  • Page 84: Modbus Port X Commands

    The MVI69E-MBS Master supports several data read and write commands. When a command is configured, the type of data (bit, 16-bit integer, 32-bit float, etc), and the level of Modbus support in the slave equipment needs to be considered. ProSoft Technology, Inc. Page 84 of 159...
  • Page 85 (inputs or coils) to be associated with the command. For Modbus Function Codes 3, 4 and 16, this parameter sets the number of 16-bit registers to be associated with the command. ProSoft Technology, Inc. Page 85 of 159...
  • Page 86 40010 in the slave, a value of ‘9’ would be entered in this parameter. The firmware (internally) adds a ‘40001’ offset to the value entered. This is the same for all Modbus addresses (0x, 1x, 3x, 4x). ProSoft Technology, Inc. Page 86 of 159...
  • Page 87: Ethernet 1 Parameter

    MVI69E-MBS ♦ CompactLogix™ Platform Legacy Mode Modbus Serial Enhanced Communication Module User Manual 6.2.5 Ethernet 1 Parameter 1 option allows you to configure the module’s IP Address, Subnet The E THERNET Mask, and Gateway. ProSoft Technology, Inc. Page 87 of 159...
  • Page 88: Downloading Pcb Configuration To The Mvi69E-Mbs

    Right-click on the MVI69-MBS icon and select D OWNLOAD FROM EVICE In the Download files from PC to module dialog, click on the B ROWSE EVICE button. The ProSoft Discovery Service Utility searches for ProSoft devices on the network. ProSoft Technology, Inc. Page 88 of 159...
  • Page 89 Modbus Serial Enhanced Communication Module User Manual Double-click on the module icon. . When complete, the ‘Module Running’ message is displayed. Click D OWNLOAD Once complete, the MVI69E-MBS in Legacy Mode will operate similarly to the MVI69-MCM. ProSoft Technology, Inc. Page 89 of 159...
  • Page 90: Optional Add-On Instruction

    Note: The Optional AOI may be added to an existing legacy MVI69E-MBS application to add the new functionality during a module replacement. Add a new rung to the existing processor ladder logic. Right-click on the new rung and select Import Rungs… Select the Optional AOI file: MVI69E_MBS_Optional_AddOn_Rung.L5X ProSoft Technology, Inc. Page 90 of 159...
  • Page 91 Legacy Mode Modbus Serial Enhanced Communication Module User Manual At the Import Configuration window, select the Operation parameter to C . Then REATE click OK. The imported AOI rung is now in place. ProSoft Technology, Inc. Page 91 of 159...
  • Page 92: Setting Up The Optional Aoi

    In the Message Configuration dialog, under the Communication tab, select the button. ROWSE In the Message Path Browser dialog, select the MVI69E-MBS module under the 1769 Bus and click at OK. ProSoft Technology, Inc. Page 92 of 159...
  • Page 93 The module name is displayed in the Path field. Click OK to confirm the route configuration. Repeat the same procedure to set the route for the remaining messages:  WriteEthernetMSG  ReadClockMSG  WriteClockMSG ProSoft Technology, Inc. Page 93 of 159...
  • Page 94: Synchronizing The Ip Settings From The Mvi69E-Mbs To The Processor

    To trigger the IP settings read operation, set the MVI69EMBSEthernet.Read bit to ‘1’. Once the operation is concluded, the tag will automatically reset to ‘0’. The data is stored in the MVI69EMBSEthernet.Config tags (IP, Netmask, Gateway) as follows: ProSoft Technology, Inc. Page 94 of 159...
  • Page 95: Synchronizing The Ip Settings From The Processor To The Mvi69E-Mbs

    Populate the IP settings in the MVI69EMBSEthernet.Config tag: Set the MVI69EMBSEthernet.Write bit to ‘1’ to trigger the IP settings write operation. The MVI69EMBSEthernet.Write bit will automatically reset to ‘0’ once the operation is concluded. ProSoft Technology, Inc. Page 95 of 159...
  • Page 96: Reading The Date/Time From The Mvi69E-Mbs To The Processor

    Toggle the MVI69EMBSClock.Read bit to ‘1’ to toggle the date/time read operation. The MVI69EMBSClock.Read bit will automatically reset to ‘0’ once the operation is concluded. The date and time read from the MVI69E-MBS is stored at the MVI69EMBSClock.Config tag. ProSoft Technology, Inc. Page 96 of 159...
  • Page 97: Writing The Date/Time From The Processor To The Mvi69E-Mbs

    Toggle the MVI69EMBSClock.Write bit to ‘1’ to trigger the write date/time operation. The MVI69EMBSClock.Write tag will be automatically reset to ‘0’ once the write date/time operation is concluded. For further information concerning the MVI69-MCM, please download the MVI69-MCM User Manual from www.prosoft-technology.com. ProSoft Technology, Inc. Page 97 of 159...
  • Page 98: Diagnostics And Troubleshooting

    Major fault or module shutting down Green Module is ok The program has detected an error or is being configured. If the LED remains red for over 10 seconds, the program has probably halted. ProSoft Technology, Inc. Page 98 of 159...
  • Page 99: Ethernet Led Indicators

    Verify correct configuration data is being transferred to the module from the CompactLogix or MicroLogix 1500-LRP controller. If the module's OK LED does not turn GREEN, verify that the module is inserted completely into the rack. If this does not cure the problem, contact ProSoft Technology Technical Support. ProSoft Technology, Inc.
  • Page 100: Troubleshooting

    Configuration/Debug (or Communication) port to see if the module is running. If the program has halted, turn off power to the rack, remove the card from the rack, then re-insert it, and then restore power to the rack. ProSoft Technology, Inc. Page 100 of 159...
  • Page 101: Connecting The Pc To The Module's Ethernet Port

    Port, and the other end to an Ethernet hub or switch accessible from the same network as the PC. Or, connect directly from the Ethernet Port on the PC to the ETH 1 Port on the module. ProSoft Technology, Inc. Page 101 of 159...
  • Page 102: Setting Up A Temporary Ip Address

    (For instructions on opening and using a project in PCB, please refer to Configuring the MVI69E-MBS Using PCB (page 36). Right-click the module icon in the tree and choose D IAGNOSTICS In the Diagnostics window, click the S button. ONNECTION ProSoft Technology, Inc. Page 102 of 159...
  • Page 103 Connection Setup dialog box, then click T THERNET ADDRESS to verify that the module is accessible with the current settings. ONNECTION If the Test Connection is successful, click C . The Diagnostics window is now ONNECT accessible. ProSoft Technology, Inc. Page 103 of 159...
  • Page 104: Using The Diagnostics Menu In Pcb

    . For instructions on opening and using a project in IAGNOSTICS PCB, please refer to Configuring the MVI69E-MBS Using PCB (page 36). After the Diagnostics window opens, click the S button to browse ET UP ONNECTION for the module’s IP address. ProSoft Technology, Inc. Page 104 of 159...
  • Page 105 Click T to verify that ONNECTION the module is accessible with the current settings. If the T is successful, click C . The Diagnostics window is ONNECTION ONNECT now visible. ProSoft Technology, Inc. Page 105 of 159...
  • Page 106: Diagnostics Menu

    Ethernet configuration port. The menu is arranged as a tree structure. 7.6.2 Monitoring Network Configuration Information In the Diagnostics window in Prosoft Configuration Builder, click NETWORK and then click C to view the Ethernet network configuration information. ONFIG ProSoft Technology, Inc. Page 106 of 159...
  • Page 107: Monitoring Backplane Information

    Modbus Serial Enhanced Communication Module User Manual 7.6.3 Monitoring Backplane Information In the Diagnostics window in ProSoft Configuration Builder, click BACKPLANE to view the backplane information. This menu has two submenus:  ONFIGURATION  TATUS ProSoft Technology, Inc. Page 107 of 159...
  • Page 108: Port X Module Information

    Slave Status List (Status of each slave on the network, used when port is configured as a Modbus master)  Master Command Status (Status code for each master command, used when port is configured as a Modbus master) ProSoft Technology, Inc. Page 108 of 159...
  • Page 109: Monitoring Data Values In The Module's Database

    In the Diagnostics window in ProSoft Configuration Builder, click DATABASE and then to view the contents of the MVI69E-MBS module’s internal database. You click D ECIMAL can view data values in ASCII, Hexadecimal, and Float format. ProSoft Technology, Inc. Page 109 of 159...
  • Page 110: Communication Error Codes

    7.7.3 Command List Entry Errors Description Code Invalid enable code Internal address > maximum address Invalid node address (< 0 or > 255) Count parameter set to 0 Invalid function code Invalid swap code ProSoft Technology, Inc. Page 110 of 159...
  • Page 111: Connecting To The Module's Webpage

    In the Connection Setup dialog box, click B ) to start ProSoft ROWSE EVICE Discovery Service. ’ Right-click the module icon and choose V to launch your ODULE EBPAGE default browser and display the module’s webpage. ProSoft Technology, Inc. Page 111 of 159...
  • Page 112: Reference

    CFG Port (ETH) RS-232, RS-485 or RS-422 (jumper selectable) App Ports (P1,P2) RJ45 Port (DB-9F with supplied cable) 500V Optical isolation from backplane RJ45 to DB-9M cables for each application port Shipped with Unit ProSoft Technology, Inc. Page 112 of 159...
  • Page 113: General Specifications - Modbus Master/Slave

    The MVI69E-MBS module also works as an input/output module between itself and the Rockwell Automation backplane and CompactLogix or MicroLogix 1500-LRP processor. The module uses an internal database to pass data and commands between the processor and Master and Slave devices on Modbus networks. ProSoft Technology, Inc. Page 113 of 159...
  • Page 114: Modbus Master

    Each command list record has the same general format. The first part of the record contains the information relating to the communication module and the second part contains information required to interface to the Modbus slave. ProSoft Technology, Inc. Page 114 of 159...
  • Page 115: Read Coil Status (Function Code 01)

    Data Coil Data Coil Error Check Node Code Count Status 20 Status 28 Status 36 Status 44 Status 52 Field Address to 27 to 35 to 43 to 51 to 56 (2 bytes) ProSoft Technology, Inc. Page 115 of 159...
  • Page 116 1B (HEX) = 0001 1011 (Binary), contains the status of only 5 coils (52 to 56) instead of 8 coils. The 3 left most bits are provided as zeros to fill the 8-bit format. ProSoft Technology, Inc. Page 116 of 159...
  • Page 117: Read Input Status (Function Code 02)

    The status of inputs 10197 to 10204 is shown as AC (HEX) = 10101 1100 (binary). Reading left to right, this show that inputs 10204, 10202, and 10199 are all on. The other input data bytes are decoded similar. ProSoft Technology, Inc. Page 117 of 159...
  • Page 118: Read Holding Registers (Function Code 03)

    In the example below, the registers 40108 to 40110 have the decimal contents 555, 0, and 100 respectively. Function Byte High High High Error Check Node Code Count Data Data Data Data Data Data Field Address (2 bytes) ProSoft Technology, Inc. Page 118 of 159...
  • Page 119: Read Input Registers (Function Code 04)

    In the example below the register 30009 contains the decimal value 0. Function Byte Count Data Input Data Input Error Check Field Node Code Register High Register Low (2 bytes) Address ProSoft Technology, Inc. Page 119 of 159...
  • Page 120: Force Single Coil (Function Code 05)

    Coils that are reprogrammed in the controller logic program are not automatically cleared upon power up. Thus, if such a coil is set ON by function Code 5 and (even months later), an output is connected to that coil, the output is "hot". ProSoft Technology, Inc. Page 120 of 159...
  • Page 121: Preset Single Register (Function Code 06)

    In general, issuing a diagnostic function to a remote device does not affect the running of the user program in the remote device. Device memory bit and register data addresses are not accessed by the diagnostics. However, certain functions can optionally reset error counters in some remote devices. ProSoft Technology, Inc. Page 121 of 159...
  • Page 122 (A5 37 hex). Response Request (Hex) Field Name (Hex) Field Name Function Function Sub-function Hi Sub-function Hi Sub-function Lo Sub-function Lo Data Hi Data Hi Data Lo Data Lo ProSoft Technology, Inc. Page 122 of 159...
  • Page 123 MVI69E-MBS ♦ CompactLogix™ Platform Reference Modbus Serial Enhanced Communication Module User Manual The data fields in responses to other kinds of queries could contain error counts or other data requested by the sub-function code. ProSoft Technology, Inc. Page 123 of 159...
  • Page 124: Force Multiple Coils (Function Code 15)

    Coils that are not programmed in the controller logic program are not automatically cleared upon power up. Thus, if such a coil is set ON by function code 15 and (even months later) an output is connected to that coil, the output is hot. ProSoft Technology, Inc. Page 124 of 159...
  • Page 125: Preset Multiple Registers (Function Code 16)

    The normal response to a function 16 query is to echo the address, function code, starting address and number of registers to be loaded. Func Data Start Data Start Number Number Error Check Field (2 bytes) Node Code Address Address of Points of Points Address High High ProSoft Technology, Inc. Page 125 of 159...
  • Page 126: Floating-Point Support

    (something you would do to receive floating-point values from the module) is shown below. This instruction moves two 16-bit integer registers containing one floating point value image into the floating-point tag. For multiple values increase the Length field. ProSoft Technology, Inc. Page 126 of 159...
  • Page 127: Enron Floating Point Support

    47101 and 47102 represent TEMP Pump #1), then you do not need to set the Float Flag, or Float Start for the module for Modbus FC 6 or 16 commands being written to the slave. ProSoft Technology, Inc. Page 127 of 159...
  • Page 128 This is device dependent. Check Command Entry formats Section. Func Code - Tells the master to write the float values to the slave. FC16. Addr in Dev - Tells the master where in the slave's database to locate the data. ProSoft Technology, Inc. Page 128 of 159...
  • Page 129 Other slaves know at which byte the data begins and read from the wire the remaining bytes in the packet as the data the master is sending. ProSoft Technology, Inc. Page 129 of 159...
  • Page 130 Other slaves read all 8 bytes in this example because they know where in the packet the data starts and ignore the byte count parameter inside the Modbus packet. ProSoft Technology, Inc. Page 130 of 159...
  • Page 131 In the above example the (a NON-Enron/Daniel supporting) slave's Modbus command that is transmitted inside the Modbus packet is as follows. Slave Address Function Code Byte Count Data 32.75 00 00 42 03 ProSoft Technology, Inc. Page 131 of 159...
  • Page 132: Function Blocks

    Pass-through formatted block for function 23 9961 Pass-through block for function 99 9970 Set module time using received time 9972 Pass module time to processor 9973 Reset status block 9997 Warm-boot control block 9998 Cold-boot control block 9999 ProSoft Technology, Inc. Page 132 of 159...
  • Page 133: Event Command Blocks (1000 To 1255, 2000 To 2255)

    Result of the event request. 1 = the command was placed in the command queue; 0 = no room was found in the command queue. Number of commands in the command queue for the specified port. Spare 4 to (n-1) ProSoft Technology, Inc. Page 133 of 159...
  • Page 134: Slave Polling Disable Blocks

    Write Block ID: To be used by the processor in its next Write block. Number of slaves processed in the last request. This number should match the value passed in Word 1of the request block. Spare 3 to (n-1) ProSoft Technology, Inc. Page 134 of 159...
  • Page 135: Slave Polling Status Blocks (3002 To 3006, 3102 To 3106)

    Number of slaves in this block Slave polling status data 4 to 61 Spare 62 to (n-1) Slave Status values Description Value Exceeded retry count and in error delay count mode Block 3000 or 3100 ProSoft Technology, Inc. Page 135 of 159...
  • Page 136: Command Control Blocks (5001 To 5006, 5101 To 5106)

    Write Block ID: To be used by the processor in its next Write block. Number of commands in the block placed in the command queue. Number of commands in the command queue for the specified port. Spare 4 to (n-1) ProSoft Technology, Inc. Page 136 of 159...
  • Page 137: Add Event With Data Blocks (8000, 8001)

    -1=port is not enabled -2=port is not a master port -3=port is not active (enabled) -4=port busy with previous event command -5=invalid Modbus command -6=invalid point count for command Spare 3 to (n-1) ProSoft Technology, Inc. Page 137 of 159...
  • Page 138: Get Event With Data Status Block (8100)

    Error code for last command executed for Port 1 Event command status for Port 2: 0=No message active 1=Waiting to execute command 2=Command complete Error code for last command executed for Port 2 Spare 6 to (n-1) ProSoft Technology, Inc. Page 138 of 159...
  • Page 139: Get Configuration File Information Block (9000 Or -9000)

    Size of the module's Output image from the processor. Status of configuration file. These two registers contain the size of the configuration file in bytes. These two registers contain the CRC for the configuration file. ProSoft Technology, Inc. Page 139 of 159...
  • Page 140: Get Configuration File Block (9001 Or -9001)

    Contents of configuration file. If the size of the configuration file exceeds the block 5 to (n-1) transfer size, this information is transferred in multiple blocks. Where n = 60, 120, or 240 depending on the Block Transfer Size parameter. ProSoft Technology, Inc. Page 140 of 159...
  • Page 141: Get General Module Status Data Block (9250)

    Port 2 Responses: Total number of messages received on the port. Port 2 Errors Sent: Total number of message errors sent out of the port. Port 2 Errors Received: Total number of message errors received on the port. ProSoft Technology, Inc. Page 141 of 159...
  • Page 142 For a master port, this field contains the index of the command with an error. 35 to (n-1) Spare Where n = 60, 120, or 240 depending on the Block Transfer Size parameter. ProSoft Technology, Inc. Page 142 of 159...
  • Page 143: Set Port And Command Active Bits Block (9500)

    Block 9500: Response from Module to Processor Description Offset Read Block ID: 9500 requested by processor. Write Block ID: To be used by the processor in its next Write block. Spare 2 to (n-1) ProSoft Technology, Inc. Page 143 of 159...
  • Page 144: Get Port And Command Active Bits Block (9501)

    Command enable bits for Port 1 commands (0=disabled, 1=enabled) 3 to 22 Port 2 active state: 0=disabled, 1=enabled Command enable bits for Port 2 commands (0=disabled, 1=enabled) 24 to 43 Spare 44 to (n-1) ProSoft Technology, Inc. Page 144 of 159...
  • Page 145: Pass-Through Formatted Word Data Block For Functions 6 & 16 (9956)

    This informs the module that the command has been processed and can be cleared from the Pass-Through queue. Block 9956: Response from Processor to Module Description Offset Write Block ID: 9956 Spare (Length in words = n - 2) 1 to n ProSoft Technology, Inc. Page 145 of 159...
  • Page 146: Pass-Through Formatted Float Data Block For Functions 6 & 16 (9957)

    Write Block ID: 9957 Spare (Length in words = n - 2) 1 to n This informs the module that the command has been processed and can be cleared from the Pass-Through queue. ProSoft Technology, Inc. Page 146 of 159...
  • Page 147: Pass-Through Formatted Block For Function 5 (9958)

    Write Block ID: 9958 Spare (Length in words = n - 2) 1 to n This informs the module that the command has been processed and can be cleared from the Pass-Through queue. ProSoft Technology, Inc. Page 147 of 159...
  • Page 148: Pass-Through Formatted Block For Function 15 (9959)

    Block 9959: Response from Processor to Module Description Offset Write Block ID: 9959 Spare 1 to (n-1) This informs the module that the command has been processed and can be cleared from the Pass-Through queue. ProSoft Technology, Inc. Page 148 of 159...
  • Page 149: Pass-Through Formatted Block For Function 23 (9961)

    Write Block ID: 9961 Spare (Length in words = n - 2) 1 to n This informs the module that the command has been processed and can be cleared from the Pass-Through queue. ProSoft Technology, Inc. Page 149 of 159...
  • Page 150: Pass-Through Block For Function 99 (9970)

    Write Block ID: 9970 Spare (Length in words = n - 2) 1 to n This informs the module that the command has been processed and can be cleared from the Pass-Through queue. ProSoft Technology, Inc. Page 150 of 159...
  • Page 151: Pass Module Time To Processor Block (9973)

    Read Block ID: 9973 Write Block ID: To be used by the processor in its next Write block. Year (0-9999) Month (1-12) Day (1-31) Hour (0-23) Minutes (0-59) Seconds (0-59) Milliseconds Spare 9 to (n-1) ProSoft Technology, Inc. Page 151 of 159...
  • Page 152: Reset Status Block (9997)

    MBS memory, error and status data. Block 9999: Request from Processor to Module Description Offset Write Block ID: 9999 Spare 1 to (n-1) Where n = 60, 120, or 240 depending on the Block Transfer Size parameter. ProSoft Technology, Inc. Page 152 of 159...
  • Page 153: Ethernet Port Connection

    RJ-45 PIN 3 Tx+ 1 Tx+ 1 Rx+ 1 Rx+ 6 Tx- 2 Tx- 2 Rx- 2 Rx- 1 Rx+ 3 Rx+ 3 Tx+ 3 Tx+ 2 Rx- 6 Rx- 6 Tx- 6 Tx- ProSoft Technology, Inc. Page 153 of 159...
  • Page 154: Modbus Application Port Connection

    When the RS-232 interface is selected, the use of hardware handshaking (control and monitoring of modem signal lines) is user definable. If no hardware handshaking is used, here are the cable pin-outs to connect to the port. ProSoft Technology, Inc. Page 154 of 159...
  • Page 155 The "Use CTS Line" parameter for the port configuration should be set to 'Y' for most modem applications. RS-232: Null Modem Connection (Hardware Handshaking) This type of connection is used when the device connected to the module requires hardware handshaking (control and monitoring of modem signal lines). ProSoft Technology, Inc. Page 155 of 159...
  • Page 156 N and no jumper is required between Pins 7 (RTS) and 8 (CTS) on the connector. If the port is configured with the Use CTS Line set to Y, then a jumper is required between the RTS and the CTS lines on the port connection. ProSoft Technology, Inc. Page 156 of 159...
  • Page 157: Wiring

    Note: Depending upon devices on the network, if there are problems in RS-485 communication that can be attributed to the signal echoes or reflections, then consider adding 120 OHM terminating resistors at both ends of the RS-485 line. ProSoft Technology, Inc. Page 157 of 159...
  • Page 158: Db9 To Rj45 Adaptor (Cable 14)

    If communication in the RS-422 or 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. 8.6.4 DB9 to RJ45 Adaptor (Cable 14) ProSoft Technology, Inc. Page 158 of 159...
  • Page 159 LED patterns Details about the serial, Ethernet or Fieldbus devices interfaced to the module, if any. Note: For technical support calls within the United States, ProSoft Technology’s 24/7 after-hours phone support is available for urgent plant-down issues. Europe / Middle East / Africa Regional Office North America (Corporate Location) Phone: +1.661.716.5100...

Table of Contents