140ACI04000 To get the most benefit from this User Manual, you should have following skills: Studio 5000 Logix Designer ® : launch the program, configure ladder logic, and transfer the ladder logic to the processor Microsoft Windows® : install and launch programs, execute menu commands, navigate dialog boxes, and enter data Hardware installation and wiring: install the module, and safely connect Modbus and CompactLogix or MicroLogix 1500-LRP devices to a power source and to the MVI69E-MBS module’s application port(s) 1.1 System Requirements The MVI69E-MBS module requires the following minimum components: Rockwell Automation CompactLogix or MicroLogix 1500-LRP® processor (firmware version 10 or higher), with compatible power supply. Important: The MVI69E-MBS module has a power supply distance rating of 4 (L43 and L45 installations on first 2 slots of 1769 bus). It consumes 500 mA at 5 VDC. Important: For 1769-L23x processors, please make note of the following limitation: 1769-L23E-QBFC1B = 450 mA at 5 VDC (No MVI69E module can be used with this processor.) The module requires 500 mA of available 5 VDC power Rockwell Automation Studio 5000 Logix Designer programming software Rockwell Automation RSLinx® communication software version 2.51 or higher ProSoft Configuration Builder (PCB) (included) ProSoft Discovery Service (PDS) (included in PCB) Pentium® II 450 MHz minimum. Supported operating systems: o Microsoft Windows® 10 o Microsoft Windows® 8 o Microsoft Windows® 7 o Microsoft Windows XP Professional with Service Pack 1 or 2 128 Mbytes of RAM minimum, 256 Mbytes of RAM recommended 100 Mbytes of free hard disk space 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 minimum requirements. MVI69E-MBS ♦ CompactLogix™ Platform Start Here Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 9 of 159 1.2 Deployment Checklist Before you begin to configure the module, consider the following questions. Your answers will help you determine the scope of your project, and the configuration requirements for a successful deployment. Are you creating a new application or integrating the module into an existing application? Most applications can use the Sample Add-On Instruction or Sample Ladder Logic without any modification. Which slot number in the chassis does the MVI69E-MBS module occupy? For communication to occur, you must enter the correct slot number in the sample program. Are the Studio 5000 and RSLinx software installed? RSLogix and RSLinx are required to communicate to the CompactLogix or MicroLogix 1500-LRP processor. How many words of data do you need to transfer in your application (from CompactLogix or MicroLogix 1500-LRP to Module / to CompactLogix or MicroLogix 1500-LRP from Module)? Is this module replacing an existing legacy MVI69-MCM module (refer to section Legacy Mode on page 76)? 1.3 Package Contents The following components are included with your MVI69E-MBS module, and are all required for installation and configuration. Important: Before beginning the installation, please verify that all of the following items are present. Qty. Part Name Part Number Part Description 1 MVI69E-MBS Module MVI69E-MBS Modbus Serial Enhanced Communication Module 2 Adapter Cable Cable #14 RJ45 to DB9 Male Adapter cable. For DB9 connection to module’s serial application ports 2 Screw Terminal Adapter 1454-9F DB9 female to 9-pin screw terminal. Used 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. MVI69E-MBS ♦ CompactLogix™ Platform Start Here Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 10 of 159 1.4 Setting Jumpers When the module is manufactured, the port selection jumpers are set to RS-232. To use RS-422 or RS-485, you must set the jumpers to the correct position. The following diagram describes the jumper settings. Note: Jumper pin placement on the circuit board may vary. The Setup Jumper acts as "write protection" for the module’s firmware. In "write protected" mode, the Setup pins are not connected, and the module’s firmware cannot be overwritten. 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. MVI69E-MBS ♦ CompactLogix™ Platform Start Here Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 11 of 159 1.5 Installing the Module in the Rack Make sure the processor and power supply are installed and configured before installing the MVI69E-MBS module. Refer to the Rockwell Automation product documentation for installation instructions. Warning: Please follow all safety instructions when installing this or any other electronic devices. Failure to follow safety procedures could result in damage to hardware or data, or even serious injury or death to personnel. Refer to the documentation for each device to be connected to verify that suitable safety procedures are in place before installing or servicing the device. After you verify the jumper placements, insert the MVI69E-MBS into the rack. Use the same technique recommended by Rockwell Automation to remove and install CompactLogix or MicroLogix 1500-LRP modules. Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this module, or damage may result to the module, the processor, or other connected devices. 1 Align the module using the upper and lower tongue-and-groove slots with the adjacent module and slide forward in the direction of the arrow. 2 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. MVI69E-MBS ♦ CompactLogix™ Platform Start Here Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 12 of 159 3 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. 4 Close all DIN-rail latches. MVI69E-MBS ♦ CompactLogix™ Platform Start Here Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 13 of 159 5 Press the DIN-rail mounting area of the controller against the DIN-rail. The latches momentarily open and lock into place. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 14 of 159 2 Configuring the Module in RSLogix To add the MVI69E-MBS module in Studio 5000, you must: 1 Create a new project in Studio 5000. 2 Add the module to the Studio 5000 project. There are two ways to do this: o You can use the Add-On Profile from ProSoft Technology. This is the preferred way, but requires RSLogix version 15 or later. o You can manually create the module using a generic 1769 profile, and then manually configure the module parameters. Use this method if you have RSLogix version 14 or earlier. 3 Create an Add-On Instruction file using ProSoft Configuration Builder (PCB) and export the Add-On Instruction to an Studio 5000 compatible file (.L5X file). 4 Import the Add-On Instruction (the .L5X file) into Studio 5000. The .L5X file contains the Add-On Instruction, user-defined data types, controller tags and ladder logic required to configure the MVI69E-MBS module. 2.1 Creating the Module in an Studio 5000 Project In an Studio 5000 project, there are two ways you can add the MVI69E-MBS module to the project. You can use an Add-On Profile (AOP) from ProSoft Technology. The AOP contains all the configuration information needed to add the module to the project. This is the preferred way, but requires RSLogix version 15 or later. Refer to Creating a Module in the Project Using an Add-On Profile (page 15). If using an AOP is not an option, you can manually create and configure the module using a generic 1769 profile. Use this method if you have RSLogix version 14 or earlier. Refer to Creating a Module in the Project Using a Generic 1769 Module Profile (page 19). MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 15 of 159 2.1.1 Creating a Module in the Project Using an Add-On Profile Installing an Add-On Profile Download the AOP file (MVI69x_RevX.X_AOP.zip) from the product webpage (www.prosoft-technology.com) onto your local hard drive and then extract the files from the zip archive. Make sure you have shut down Studio 5000 and RSLinx before you install the Add-On Profile (AOP). 1 Run the MPSetup.exe file to start the Setup Wizard. Follow the Setup Wizard to install the AOP. 2 Continue to follow the steps in the wizard to complete the installation. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 16 of 159 3 Click FINISH when complete. The AOP is now installed in Studio 5000. You do not need to reboot the PC. Using an Add-On Profile 1 In Studio 5000, expand the I/O CONFIGURATION folder in the Project tree. Right-click the appropriate communications bus and, and then click NEW MODULE. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 17 of 159 This opens the Select Module Type dialog box. In the Module Type Vendor Filters area, uncheck all boxes except the PROSOFT TECHNOLOGY box. A list of ProSoft Technology modules appears in the dialog box. 2 Select the MVI69E-MBS module in the list and click CREATE: 3 A New Module dialog box opens. Edit the NAME and SLOT for the module and click OK. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 18 of 159 Note : The I/O TABLE SIZES above should reflect the Block Transfer Size parameter set in PCB (Section Module Configuration Parameters (page 39)). A Block Transfer Size of 60 uses an I/O TABLE SIZE of 62/61 words. A Block Transfer Size of 120 uses an I/O TABLE SIZE of 122/121 words. A Block Transfer Size of 240 uses an I/O TABLE SIZE of 242/241 words. 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 19 of 159 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. 1 Expand the I/O CONFIGURATION folder in the Project tree. Right-click the appropriate communications bus and choose NEW MODULE. This opens the Select Module Type dialog box. 2 In the Select Module Type dialog, select the 1769-MODULE and click on the CREATE button. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 20 of 159 3 Set the Module Properties values as follows: Parameter Value Name Enter a module identification string. Example: MVI69EMBS Description Enter a description for the module. Example: ProSoft communication module for Serial Modbus communications. Comm Format Select DATA-INT Slot Enter the slot number in the rack where the MV69E-MBS module is installed. Input Assembly Instance 101 Input Size 62 / 122 / 242 Output Assembly Instance 100 Output Size 61 / 121 / 241 Configuration Assembly Instance 102 Configuration Size 0 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: Block Transfer Size Input Block Size Output Block Size 60 62 61 120 122 121 240 242 241 MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 21 of 159 4 On the Connection tab, set the REQUESTED PACKET INTERVAL value for your project and click OK. A value of 10.0 ms or more is recommended. The MVI69E-MBS module is now visible in the I/O Configuration tree. 2.2 Installing ProSoft Configuration Builder Use the ProSoft Configuration Builder (PCB) software to configure the module. You can find the latest version of the ProSoft Configuration Builder (PCB) on our web site: www.prosoft-technology.com. The installation filename contains the PCB version number. For example, PCB_4.3.4.5.0238.EXE. Installing PCB from the ProSoft website: 1 Open a browser window and navigate to www.prosoft-technology.com 2 Navigate to the ProSoft Configuration Builder download link, and save the file to your Windows desktop. 3 After the download completes, double-click the file to install. If you are using Windows 7, right-click the PCB installation file and then choose RUN AS ADMINISTRATOR. Follow the instructions that appear on the screen. 4 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 22 of 159 2.3 Generating the AOI (.L5X File) in ProSoft Configuration Builder The following sections describe the steps required to set up a new configuration project in ProSoft Configuration Builder (PCB), and to export the .L5X file for the project. 2.3.1 Setting Up the Project in PCB 1 Start PROSOFT CONFIGURATION BUILDER (PCB). 2 The PCB window consists of a tree view on the left, and an information pane and a configuration pane on the right side of the window. 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 23 of 159 3 In the Tree view, right-click DEFAULT MODULE, and then click CHOOSE MODULE TYPE. This opens the Choose Module Type dialog box. 4 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 24 of 159 2.3.2 Creating and Exporting the .L5X File There are two parameters in the PCB configuration that affect the format of the .L5X file that is exported. Before exporting the .L5X file to the PC/Laptop, check the Block Transfer Size and Slot Number parameters. 1 Expand the MVI69E-MBS icon by clicking the [+] symbol beside it. Similarly, expand the icon. Double-click the icon to open the Edit - Module dialog box. 2 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). MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 25 of 159 3 Edit the Slot Number indicating where the module is placed in the 1769 bus. 4 Click OK to close the Edit – Module dialog box. The .L5X file is now ready to be exported to the PC/Laptop. 5 Right-click the MVI69E-MBS icon in the project tree and choose EXPORT AOI FILE. 6 Save the .L5X file to the PC/Laptop in an easily found location, such as Windows Desktop. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 26 of 159 2.4 Importing the Add-On Instruction 1 Open the application in Studio 5000. 2 Expand the TASKS folder, and expand the MAINTASK folder. 3 Expand the MAINPROGRAM folder. The MAINROUTINE contains rungs of logic. The very last rung in this routine is blank. This is where you can import 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. 4 Right-click an empty rung in the routine and choose IMPORT RUNGS. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 27 of 159 5 Select the .L5X file that you exported from PCB (Creating and Exporting the .L5X File (page 24)). This opens the Import Configuration dialog box. Click TAGS under MAINROUTINE to 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 28 of 159 6 If the module is not located in the default slot (or is in a remote rack), edit the connection input and output variables that define the path to the module in the FINAL NAME column (NAME column for RSLogix version 16 or less). For example, if your module is located in slot 3, change Local:1:I in the FINAL NAME column to Local:3:I. Do the same for Local:1:O. Note: If your module is located in Slot 1 of the local rack, this step is not required. 7 Click OK to confirm the import. 8 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 AddOn instruction to be used in the project with the MVI69E-MBS module. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 29 of 159 2.5 Adding Multiple Modules in the Rack (Optional) Important: This procedure is for multiple MVI69E-MBS modules running in the same CompactLogix or MicroLogix 1500-LRP rack. You can add additional modules of the same type to the rack. 1 Add a new MVI69E-MBS module to the ProSoft Configuration Builder (PCB) project. 2 Export the module configuration as an L5X file. 3 Add a new MVI69E-MBS to the Studio 5000 project. 4 Import the .L5X file into Studio 5000 for the new module as an Add-On Instruction. 2.5.1 Adding Another Module in PCB 1 Start ProSoft Configuration Builder. 2 Right click DEFAULT LOCATION (which you can rename) and choose ADD MODULE. 3 Right-click NEW MODULE and choose CHOOSE MODULE TYPE. 4 In the Choose Module Type dialog box, select MVI69E in the PRODUCT LINE FILTER area, and then select MVI69E-MBS as the MODULE TYPE. Click OK. 5 Select the MVI69E-MBS module in the tree and repeat the above steps to add a second (or more) module in the PCB project. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 30 of 159 Note: You must give each MVI69E-MBS module a unique name. The default name on a duplicate module appends a number to the end such as MVI69E-MBS_000, MVI69E-MBS_001, etc. 6 You can rename the module by right clicking the module and choosing Rename. 7 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 EXPORT AOI FILE. See Creating and Exporting the .L5X File (page 24). MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 31 of 159 2.5.2 Adding Another Module in Studio 5000 You can place multiple MVI69E-MBS modules in the same rack provided it does not exceed the power distance rating of the CompactLogix or MicroLogix 1500-LRP rack (see System Requirements (page 8)). Adding an additional module to the rack is similar to installing a new module; however, the name of the module must be unique. 1 Start Studio 5000 and open the project. 2 In Studio 5000, locate the I/O CONFIGURATION folder. Right click COMPACTBUS LOCAL and choose NEW MODULE. 3 In the Select Module Type dialog box, select the MVI69E-MBS module. o If you are using an Add-On Profile (AOP), this adds the MVI69E-MBS module and configures the relevant parameters. You must be using RSLogix version 15 or later to to use an AOP. o If using an AOP is not an option, select GENERIC 1769 MODULE and click CREATE. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 32 of 159 4 The New Module dialog box appears. Enter a unique name for the new module, and confirm the slot number of the new module. 5 Click OK. The new module is now visible. 6 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 MAINROUTINE to open the ladder for the routine. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 33 of 159 7 Right-click an empty rung in the routine, and then choose IMPORT RUNGS… 8 Select the .L5X file you created and exported for the new module, and click IMPORT. The new .L5X file has a unique filename that is specific to the new module. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 34 of 159 9 This opens the IMPORT CONFIGURATION dialog box. Click TAGS to show the controller tags in the AOI. You must edit the FINAL NAME column of the tags for the second module to make them unique. 10 Associate the I/O connection variables to the correct module in the corresponding slot number. The default values are Local:1:I and Local:1:O. You must edit these values if the card is placed in a slot location other than slot 1 (Local:1:x means the card is located in slot 1). Since the second card is placed in slot 2, change the FINAL NAME to Local:2:I and Local:2:O. Also, you can append a ‘_2’ at the end of the FINAL NAME of ‘AOI69_MBS’ and ‘MBS’ arrays as shown below. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the Module in RSLogix Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 35 of 159 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the MVI69E-MBS Using PCB Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 36 of 159 3 Configuring the MVI69E-MBS Using PCB ProSoft Configuration Builder (PCB) provides a quick and easy way to manage module configuration files customized to meet your application needs. You build and edit the module’s configuration in ProSoft Configuration Builder. You use PCB to download the configuration file to the CompactLogix or MicroLogix 1500-LRP processor, where it is stored in the MBS.CONFIG controller tag generated by the previously exported AOI. See Creating and Exporting the .L5X File (page 24). When the MVI69E-MBS module boots up, it requests the processor to send the configuration over the backplane in special Configuration Blocks. See the chapter Adding the Module to RSLogix (page 14) for the procedures to create a new PCB project and export a .L5X file for the processor. This chapter describes the module configuration parameters in detail, as well as how to download the configuration to the processor using PCB. 3.1 Basic PCB Functions 3.1.1 Creating a New PCB Project and Exporting an .L5X File Please see the chapter Adding the Module to RSLogix (page 14). 3.1.2 Renaming PCB Objects You can rename objects such as the Default Project and Default Location folders in the tree view. You can also rename the Module icon to customize the project. 1 Right-click the object you want to rename and then choose RENAME. 2 Type the new name for the object and press Enter. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the MVI69E-MBS Using PCB Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 37 of 159 3.1.3 Editing Configuration Parameters 1 Click the [+] sign next to the module icon to expand module information. 2 Click the [+] sign next to any icon to view module information and configuration options. 3 Double-click any icon to open an Edit dialog box. To edit a parameter, select the parameter in the left pane and make your changes in the right pane. Note: Depending on the parameter, you must enter text, or a valid number, or select from a list of options. 4 Click OK to save your changes. 5 Double-click any icon to open an Edit dialog box with a table. Use this dialog box to build and edit Modbus Master commands. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the MVI69E-MBS Using PCB Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 38 of 159 6 To add a row to the table, click ADD ROW. 7 To edit the row, click EDIT ROW. This opens an Edit dialog box. 3.1.4 Printing a Configuration File 1 In the main PCB window, right-click the MVI69E-MBS icon and then choose VIEW CONFIGURATION. 2 In the View Configuration dialog box, click the FILE menu and then click PRINT. 3 In the Print dialog box, choose the printer to use from the drop-down list, select the printing options, and then click OK. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the MVI69E-MBS Using PCB Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 39 of 159 3.2 Module Configuration Parameters 3.2.1 Module Parameters This section contains general module configuration parameters, including database allocation and backplane transfer options. In the ProSoft Configuration Builder (PCB) tree view, double-click MODULE. Parameter Value Description Module Name ASCII characters (max. 38) Assigns a name to the module that can be viewed using the configuration/debug port. Use this parameter to identify the module and the configuration file. Read Register Start 0 to 9999 Specifies the start of the Read Data area in module memory. Data in this area is transferred from the module to the processor. Read Register Count 0 to 10,000 Specifies the size of the Read Data area. Write Register Start 0 to 9999 Specifies the start of the Write Data area in module memory. Data in this area is transferred from the processor to the module. Write Register Count 0 to 10,000 Specifies the size of the Write Data area. Backplane Fail Count 0 to 65535 Specifies the number of consecutive backplane transfer failures that can occur before communications are halted. Error/Status Block Pointer -1 to 9939 Starting register location in the module’s database for the error/status table. If a value of -1 is entered, the error/status data is not placed in the database. This data must be placed in the read data range of module memory. This data includes the module version information and all server error/status data. Refer to MBS.STATUS (page 64) for more information. Initialize Input Image Yes or No This parameter determines if the input image data and the module’s Read Register Data values are initialized with Read Register Data values from the processor. If you set the parameter to No, the Read Register Data values in the module are set to 0 upon initialization. If you set the parameter to Yes, the data is initialized with Read Register Data values from the processor. This option requires associated ladder logic to pass the data from the processor to the module. Block Transfer Size 60, 120 or 240 Specifies the number of words in each block transferred between the module and processor. Slot Number 1 to x Specifies the slot in the CompactLogix or MicroLogix 1500- LRP rack for the module. 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the MVI69E-MBS Using PCB Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 40 of 159 3.2.2 Modbus Port x Parameters This section applies to both MBS PORT 1 and MBS PORT 2. In the ProSoft Configuration Builder tree view, double-click the MODBUS PORT X icon. Configuration Parameters Common to Master and Slave Parameter Value Description Start Active Yes or No Specifies whether or not the port and commands are active upon module boot-up. Type Master, Slave, or Slave with Pass-Through This parameter specifies which device type the port emulates. See Slave Mode (page 72) for more information on Slave Pass-Through options. Protocol RTU or ASCII Specifies the Modbus protocol for the port. Baud Rate Multiple options Specifies the baud rate for the port. Parity None, Odd, Even Specifies the type of parity error checking. All devices on this port must use the same parity setting. Data Bits 7 or 8 Sets the number of data bits for each word used by the protocol. All devices communicating through this port must use the same number of data bits. Stop Bits 1 or 2 Sets the number of stop bits that signal the end of a character in the data stream. For most applications, use one stop bit. For slower devices that require more time to re-synchronize, use two stop bits. All devices communicating through this port must use the same number of stop bits. RTS On 0 to 65535 milliseconds Sets the number of milliseconds to delay after Ready To Send (RTS) is asserted before data is transmitted. RTS Off 0 to 65535 milliseconds Sets the number of milliseconds to delay after the last byte of data is sent before the RTS modem signal is set low. Use CTS Line Yes or No Specifies if the Clear To Send (CTS) modem control line is to be used or not. If you set the parameter to NO, the CTS line is not monitored. If you set the parameter to YES, 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. Float Flag Yes or No Specifies how the Slave driver responds to Function Code 3, 6, 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. MVI69E-MBS ♦ CompactLogix™ Platform Configuring the MVI69E-MBS Using PCB Modbus Serial Enhanced Communication Module User Manual ProSoft Technology, Inc. Page 41 of 159 If the remote Master expects to receive or sends one complete 32-bit floating-point value for each count of one (1), then set this parameter to YES. When set to YES, the Slave driver returns values from two consecutive 16-bit internal memory registers (32 total bits) for each count in the read command, or receive 32-bits per count from the Master for write commands. Example: Count = 10, Slave driver sends 20 16-bit registers for 10 total 32-bit floating-point values. If, however, the remote Master sends a count of two (2) for each 32-bit floating-point value it expects to receive or send, or, if you do not plan to use floating-point data in your application, then set this parameter to NO, which is the default setting. You also need to set the Float Start and Float Offset parameters to appropriate values whenever the Float Flag parameter is set to YES. Float Start 0 to 9998 Defines the first register of floating-point data. All requests with register values greater-than or equal to this value is considered floating-point data requests. This parameter is only used if the Float Flag is enabled. For example, if you enter a value of 7000, all requests for registers 7000 and above are considered as floating-point data. Float Offset 0 to 9998 Defines the start register for floating-point data in the internal database. 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 |