ProSoft Technology MVI46-MBP User Manual

MVI46-MBP
SLC Platform
Modbus Plus Communication Module
User Manual
February 19, 2008
Please Read This Notice
This manual is provided to assist the user. Every attempt has been made to ensure that the information provided is accurate and a true reflection of the product's installation requirements. In order to ensure a complete understanding of the operation of the product, the user should read all applicable Rockwell Automation documentation on the operation of the Rockwell Automation hardware.
Under no conditions will ProSoft Technology be responsible or liable for indirect or consequential damages resulting from the use or application of the product.
Reproduction of the contents of this manual, in whole or in part, without written permission from ProSoft Technology is prohibited.
Information in this manual is subject to change without notice and does not represent a commitment on the part of ProSoft Technology Improvements and/or changes in this manual or the product may be made at any time. These changes will be made periodically to correct technical inaccuracies or typographical errors.
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments or complaints about the product, documentation or support, please write or call us.
ProSoft Technology
1675 Chester Avenue, Fourth Floor Bakersfield, CA 93301 +1 (661) 716-5100 +1 (661) 716-5101 (Fax)
http://www.prosoft-technology.com
Copyright © ProSoft Technology, Inc. 2000 - 2008. All Rights Reserved.
MVI46-MBP User Manual February 19, 2008 PSFT.MBP.MVI46.UM.08.02.19
ProSoft Technology ®, ProLinx ®, inRAx ®, ProTalk® and RadioLinx ® are Registered Trademarks of ProSoft Technology, Inc.
Contents MVI46-MBP ♦ SLC Platform Modbus Plus Communication Module
Contents
PLEASE READ THIS NOTICE................................................................................................................2
Your Feedback Please ...................................................................................................................... 2
GUIDE TO THE MVI46-MBP USER MANUAL.......................................................................................5
1 START HERE....................................................................................................................................7
1.1 System Requirements................................................................................................................. 7
1.2 Package Contents.......................................................................................................................8
1.3 Install the Module in the Rack..................................................................................................... 8
1.4 Connect your PC to the Processor ........................................................................................... 10
1.5 Download the Sample Program to the Processor.....................................................................11
1.5.1 Configuring RSLinx.................................................................................................................... 12
1.6 Connect your PC to the Module................................................................................................ 13
2 INSTALLING AND CONFIGURING THE MODULE.......................................................................15
2.1 Module Data..............................................................................................................................17
2.2 Module Configuration ................................................................................................................17
3 LADDER LOGIC .............................................................................................................................19
4 DIAGNOSTICS AND TROUBLESHOOTING.................................................................................21
4.1 Reading Status Data from the Module...................................................................................... 21
4.1.1 The Configuration/Debug Menu................................................................................................. 21
4.1.2 Required Hardware ...................................................................................................................22
4.1.3 Required Software..................................................................................................................... 22
4.1.4 Using the Configuration/Debug Port .......................................................................................... 22
4.1.5 Main Menu................................................................................................................................. 24
4.1.6 Data Analyzer............................................................................................................................ 28
4.1.7 Database View Menu ................................................................................................................31
4.1.8 Master Command Error List Menu............................................................................................. 33
4.2 LED Status Indicators ...............................................................................................................34
4.2.1 Troubleshooting......................................................................................................................... 35
5 REFERENCE...................................................................................................................................37
5.1 Product Specifications............................................................................................................... 37
5.1.1 Features and Benefits ...............................................................................................................37
5.1.2 General Specifications............................................................................................................... 38
5.1.3 Hardware Specifications............................................................................................................ 38
5.1.4 Functional Specifications........................................................................................................... 38
5.2 Functional Overview.................................................................................................................. 39
5.2.1 General Concepts...................................................................................................................... 39
5.2.2 Pass-Through Control Blocks.................................................................................................... 46
5.2.3 Data Flow between MVI46-MBP Module and SLC Processor................................................... 48
5.2.4 Dual Port Operation................................................................................................................... 55
5.3 RS-232 Configuration/Debug Port ............................................................................................57
5.3.1 Disabling the RSLinx Driver for the Com Port on the PC........................................................... 57
5.4 Modbus Plus Connections ........................................................................................................59
5.5 DB9 to RJ45 Adaptor (Cable 14) ..............................................................................................59
5.6 Modbus Plus Communication Port............................................................................................ 60
5.7 Database Definition...................................................................................................................60
5.7.1 Module Memory Map................................................................................................................. 60
5.7.2 Status Data Definition................................................................................................................ 61
5.7.3 Configuration Data..................................................................................................................... 66
5.7.4 Global Output Data.................................................................................................................... 74
5.7.5 Input File Data ........................................................................................................................... 74
5.7.6 Command Event Data ............................................................................................................... 75
ProSoft Technology, Inc. Page 3 of 101 February 19, 2008
MVI46-MBP SLC Platform Contents Modbus Plus Communication Module
5.8 Configuration Forms ................................................................................................................. 77
5.8.1 Module Configuration ................................................................................................................ 77
5.9 Frequently Asked Questions .................................................................................................... 87
5.9.1 How is data transferred between the SLC and the MVI46-MBP?.............................................. 87
5.9.2 How many registers can be used for user data? ....................................................................... 87
5.9.3 How is new configuration data written to the MVI46-MBP module? .......................................... 87
5.9.4 How is the current module configuration copied to the SLC memory? ...................................... 87
5.9.5 Why do I get an error code 3 every time I try to send configuration data from the module to the
processor and no data is moved?............................................................................................................ 87
5.9.6 Is it possible to create and send commands from the ladder logic? .......................................... 88
5.9.7 Is it possible to disable and enable commands in ladder?......................................................... 88
5.9.8 After I disable (or enable) a specific command, how do I check the status of the command?... 88
5.9.9 What happens if the MVI46-MBP module performs a COLDBOOT or WARMBOOT after
commands have been disabled by the ladder? ....................................................................................... 88
5.9.10 Does the MVI46-MBP operate as a Master and Slave simultaneously? ................................... 88
6 SUPPORT, SERVICE & WARRANTY........................................................................................... 89
6.1 How to Contact Us: Sales and Support.................................................................................... 90
6.2 Return Material Authorization (RMA) Policies and Conditions................................................. 91
6.2.1 All Product Returns ................................................................................................................... 91
6.3 Procedures for Return of Units Under Warranty ...................................................................... 91
6.4 Procedures for Return of Units Out of Warranty ...................................................................... 92
6.4.1 Un-repairable Units ................................................................................................................... 92
6.4.2 Purchasing Warranty Extension ................................................................................................ 93
6.5 LIMITED WARRANTY.............................................................................................................. 93
6.5.1 What Is Covered By This Warranty ........................................................................................... 93
6.5.2 What Is Not Covered By This Warranty..................................................................................... 94
6.5.3 DISCLAIMER REGARDING HIGH RISK ACTIVITIES .............................................................. 95
6.5.4 DISCLAIMER OF ALL OTHER WARRANTIES......................................................................... 95
6.5.5 LIMITATION OF REMEDIES**.................................................................................................. 95
6.5.6 Time Limit for Bringing Suit ....................................................................................................... 95
6.5.7 No Other Warranties ................................................................................................................. 96
6.5.8 Intellectual Property................................................................................................................... 96
6.5.9 Additional Restrictions Relating To Software And Other Intellectual Property........................... 96
6.5.10 Allocation of risks ...................................................................................................................... 96
6.5.11 Controlling Law and Severability ............................................................................................... 97
INDEX.................................................................................................................................................... 99
Page 4 of 101
February 19, 2008
Start Here MVI46-MBP SLC Platform Modbus Plus Communication Module
Guide to the MVI46-MBP User Manual
Function Section to Read Details
Introduction (Must Do)
Verify Communication, Diagnostic and Troubleshooting
Reference Product Specifications Functional Overview Glossary
Support, Service, and Warranty
Index
Start Here (page 7)
Verifying Communication (page 34)
Diagnostics and Troubleshooting (page 21)
Reference (page
37) Functional
Overview (page 39) Product
Specifications (page 37)
Support, Service and Warranty (page 89)
This Section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration.
This section describes how to verify communications with the network. Diagnostic and Troubleshooting procedures.
These sections contain general references associated with this product, Specifications, and the Functional Overview.
This section contains Support, Service and Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 5 of 101 February 19, 2008
MVI46-MBP SLC Platform Start Here Modbus Plus Communication Module
Page 6 of 101 ProSoft Technology, Inc.
February 19, 2008

Start Here MVI46-MBP SLC Platform Modbus Plus Communication Module

1 Start Here
In This Chapter
System Requirements .............................................................................7
Package Contents ...................................................................................8
Install the Module in the Rack .................................................................8
Connect your PC to the Processor ........................................................10
Download the Sample Program to the Processor..................................11
Connect your PC to the Module ............................................................13
Installing the MVI46-MBP module requires a reasonable working knowledge of the Rockwell Automation hardware, the MVI46-MBP Module and the application in which they will be used.
Caution: It is important that those responsible for implementati on can complete the application without exposing personnel, or equipment, to unsafe or inappropriate working conditions. Safety, quality and experience ar e key factors in a successful installation.
1.1 System Requirements
The MVI46-MBP module requires the following minimum hardware and software components:
Rockwell Automation SLC 5/02 M0/M1 capable processors (or newer), with
compatible power supply and one free slot in the rack, for the MVI46-MBP module. The module requires 800mA of available power.
Rockwell Automation RSLogix 500 programming software. Rockwell Automation RSLinx communication software Pentium® II 500 MHz minimum. Pentium III 733 MHz (or better)
recommended
Supported operating systems:
o Microsoft® Windows 98 o Windows NT® (version 4 with SP4 or higher) o Windows 2000 o Windows XP
32 Mbytes of RAM minimum, 64 Mbytes of RAM recommended 50 Mbytes of free hard disk space (or more based on application
requirements)
16-color VGA graphics adapter, 640 x 480 minimum resolution (256 Color
800 × 600 recommended)
ProSoft Technology, Inc. Page 7 of 101 February 19, 2008
MVI46-MBP SLC Platform Start Here Modbus Plus Communication Module
CD-ROM drive 3.5 inch floppy disk drive HyperTerminal or other terminal emulator program capable of file transfers
using Ymodem protocol.
1.2 Package Contents
The following components are included with your MVI46-MBP module, and are all required for installation and configuration.
Important: Before beginning the installation, please verify that all of the following items ar e present.
Qty. Part Name Part Number Part Description
1
1 Cable
1 Cable
1
MVI46-MBP Module
ProSoft Solutions CD
MVI46-MBP Modbus Plus Communication Module
Cable #15, RS232 Null Modem
Cable #14, RJ45 to DB9 Male Adapter
For RS232 Connection to the CFG Port
For DB9 Connection to the CFG Port
Contains sample programs, utilities and documentation for the MVI46-MBP module.
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.

1.3 Install the Module in the Rack

If you have not already installed and configured your SLC processor and power supply, please do so before installing the MVI46-MBP module. Refer to your Rockwell Automation product documentation for installation instructions.
Warning: You must follow all safety instructions when installing this or any other electronic devices. Failure to follow safety procedures could result in damage to hardware or data, or ev en serious injury or death to personnel. Refer to the documentation for each device you plan to connect to verify that suitable safety procedures ar e in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert MVI46-MBP into the SLC™ chassis. Use the same technique recommended by Rockwell Automation to remove and install SLC™ modules.
Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this module, or damage may result to the module, the processor, or other connected devices.
1 Turn power OFF.
Page 8 of 101 ProSoft Technology, Inc.
February 19, 2008
Start Here MVI46-MBP SLC Platform Modbus Plus Communication Module
2 Align the module with the top and bottom guides, and slide it into the rack
until the module is firmly against the backplane connector.
3 With a firm but steady push, snap the module into place. 4 Check that the holding clips on the top and bottom of the module are securely
in the locking holes of the rack.
5 Make a note of the slot location. You will need to identify the slot in which the
module is installed in order for the sample program to work correctly. Slot numbers are identified on the green circuit board (backplane) of the SLC rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave unpredictably.
ProSoft Technology, Inc. Page 9 of 101 February 19, 2008
MVI46-MBP SLC Platform Start Here Modbus Plus Communication Module

1.4 Connect your PC to the Processor

1 Connect the right-angle connector end of the cable to your controller at the
communications port.
2 Connect the straight connector end of the cable to the serial port on your
computer.
Page 10 of 101 ProSoft Technology, Inc.
February 19, 2008
Start Here MVI46-MBP SLC Platform Modbus Plus Communication Module

1.5 Download the Sample Program to the Processor

To download the sample program from RSLogix 500 to the SLC processor:
Note: The key switch on the front of the SLC processor must be in the REM position.
1 If you are not already online to the processor, open the Communications
menu, and then choose Download. RSLogix will establish communication with the processor.
2 Click the Download button to transfer the sample program to the processor. 3 RSLogix will compile the program and transfer it to the processor. This
process may take a few minutes.
4 When the download is complete, RSLogix will open another confirmation
dialog box. Click Yes to switch the processor from Program mode to Run mode.
Note: If you receive an error message during these steps, refer to your RSLogix documentation to interpret and correct the error.
ProSoft Technology, Inc. Page 11 of 101 February 19, 2008
MVI46-MBP SLC Platform Start Here Modbus Plus Communication Module
1.5.1 Configuring RSLinx
If RSLogix is unable to establish communication with the processor, follow these steps:
1 Open RSLinx. 2 Open the Communications menu, and choose Configure Drivers.
This action opens the Configure Drivers dialog box.
Note: If the list of configured drivers is blank, you must first choose and configure a driver from the Available Driver Types list. The recommended driv er type to choose for serial communication with the processor is "RS-232 DF1 Devices".
Page 12 of 101 ProSoft Technology, Inc.
February 19, 2008
Start Here MVI46-MBP SLC Platform Modbus Plus Communication Module
3 Click to select the driver, and then click Configure. This action opens the
Configure Allen-Bradley DF1 Communications Device dialog box.
4 Click the Auto-Configure button. RSLinx will attempt to configure your serial
port to work with the selected driver.
5 When you see the message "Auto Configuration Successful", click the OK
button to dismiss the dialog box.
Note: If the auto-configuration procedure fails, verify that the cables are connected correctly between the processor and the serial port on your computer, and then try again. If you are still unable to auto-configure the port, refer to yo ur RSLinx documentation for further troubleshooting steps.

1.6 Connect your PC to the Module

With the module securely mounted, connect your PC to the Configuration/Debug port using the RJ45-DB-9 Serial Adapter Cable and the Null Modem Cable included in the package with the MVI46-MBP module.
1 Connect the RJ45-DB-9 Serial Adapter Cable to the Null Modem Cable. 2 Insert the RJ45 cable connector from the RJ45-DB-9 cable into the
Configuration/Debug port of the module.
3 Attach the other end to the serial port on your PC or laptop.
ProSoft Technology, Inc. Page 13 of 101 February 19, 2008
MVI46-MBP SLC Platform Start Here Modbus Plus Communication Module
Page 14 of 101 ProSoft Technology, Inc.
February 19, 2008
Installing and Configuring the Module MVI46-MBP SLC Platform Modbus Plus Communication Module

2 Installing and Configuring the Module

In This Chapter
Module Data .......................................................................................... 17
Module Configuration ............................................................................17
This chapter describes how to install and configure the module to work with your application. The configuration process consists of the following steps.
1 Use RSLogix 500 to identify the module to the processor and add the module
to a project.
Note: The RSLogix 500 software must be in "offline" mode to add the module to a project.
2 Modify the example ladder logic to meet the needs of your application, and
copy the ladder logic to the processor. Example ladder logic files are provided on the CD-ROM.
Note: If you are installing this module in an existin g application, you can copy the necessary elements from the example ladder logic into your application.
The rest of this chapter describes these steps in more detail. The first step in installing and configuring the module is to define the module to
the system. Select the I/O Configuration option from the program screen. This displays the following dialog box:
ProSoft Technology, Inc. Page 15 of 101 February 19, 2008
MVI46-MBP SLC Platform Installing and Configuring the Module Modbus Plus Communication Module
Select the Other module from the list. This action opens the following dialog box.
Enter the module I/O card ID number as 13635, and then click OK. Double-click the mouse on the module just added to the rack. Fill in the following dialog box as shown in the following screen example:
Click OK to apply these settings to the module. Then, close the I/O Configuration dialog box.
The next step is to define the user-defined files to hold status and read/write database areas.
The last step is to add the ladder logic. If the example ladder logic is used, adjust the ladder to fit the application. When the ladder example is not used, copy the example ladder logic to your application and alter as necessary.
The module is now set up and ready to use with your application. Insert the module in the rack, then attach the serial communication cable to the debug port and the cable from the application port to the Modbus Plus network. Download the new application to the controller and place the processor in run mode. If all the configuration parameters are set correctly, and the module is attached to a network, the module's Application LED (APP LED) should blink (6 times per second) and the backplane activity LED (BP ACT) should blink very rapidly. If you encounter errors, refer to the Diagnostics and Troubleshooting (page 21) section for information on how to connect to the module's Config/Debug port to use its troubleshooting features.
Page 16 of 101 ProSoft Technology, Inc.
February 19, 2008
Installing and Configuring the Module MVI46-MBP SLC Platform Modbus Plus Communication Module
2.1 Module Data
All data related to the MVI46-MBP module is stored in user defined data files and the module's M1 and M0 files. Files should be defined for each data type to be used with the module. Additionally, a file should be defined to hold the module status data. The status data should be copied from the M1 file and placed in the assigned status file. Read (monitor) data should be copied to the user files from the M1 file and write (control) data should be copied from the user files to the M1 file.
2.2 Module Configuration
In order for the MVI46-MBP module to function in any of its possible modes, a minimum amount of configuration data must be transferred to the module. The following table provides an overview of the different types of configuration data that the module will require, depending on the operating modes to be supported.
Module Register Address
4370 to 4409 Global In
4410 to 4449 Global In Input File Map If the module's Input File is to be used to transfer data
4450 to 5089 Global In
5090 to 7089 Master Master Command List If the module's Master Mode functionality is to be used,
Functional Modes Affected
Global Out Slave Master
Master
Name Description
General Module Configuration
Device Definition If the module's Global Input or Master Mode functionality
This section of the configuration data contains the generic module configuration data, and must be configured for the module to operate.
from the module to the processor, then this section of configuration data must be set up.
is to be used, then this section of configuration data must be set up.
then he Master Command List must be set up.
Refer to the Reference chapter of this manual for a description of the configuration of the module.
Important: The module will not function correctly until the Module Configuration Data is received from the processor with at least the Local Modbus Plus Node Address set to a valid value.
The MVI46-MBP module must be configured at least once when the card is first powered, and any time thereafter when the parameters must be changed.
Power Up
On power up, the module enters into a logical loop waiting to receive configuration data from the processor. Upon receipt, the module begins execution of the command list if present.
ProSoft Technology, Inc. Page 17 of 101 February 19, 2008
MVI46-MBP SLC Platform Installing and Configuring the Module Modbus Plus Communication Module
Changing Parameters During Operation
Changing values in the configuration table can be done at any time. Because the module is operating using the live data in the internal database, any changes made to the database become immediately active. This permits remote programming of the module by any node on the Modbus Plus network. Care must be taken when altering the parameters in an order that will not disturb any running processes. New configuration data can be downloaded from the database to the SLC processor by executing a write command with a value of 9997 to register 4370 in the module's internal database or M1 file. To force the module to perform a warm-boot or cold-boot operation, write to register 4370 with values of 9998 and 9999, respectively.
The only parameters that must be set through a restart of the module are related to the read and write data sizes and registers for data transfer. These parameters cannot be changed while the module is operating as it could place the module in an inoperable mode.
Page 18 of 101 ProSoft Technology, Inc.
February 19, 2008

Ladder Logic MVI46-MBP SLC Platform Modbus Plus Communication Module

3 Ladder Logic
Ladder logic is required for application of the MVI46-MBP module. Tasks that must be handled by the ladder logic are module data transfer, special block handling and status data receipt. Additionally, a power-up handler may be needed to handle the initialization of the module's data and to clear any processor fault conditions.
The sample ladder logic, on the ProSoft Solutions CD-ROM, is extensively commented, to provide information on the purpose and function of each rung. For most applications, the sample ladder will work without modification.
ProSoft Technology, Inc. Page 19 of 101 February 19, 2008
MVI46-MBP SLC Platform Ladder Logic Modbus Plus Communication Module
Page 20 of 101 ProSoft Technology, Inc.
February 19, 2008

Diagnostics and Troubleshooting MVI46-MBP SLC Platform Modbus Plus Communication Module

4 Diagnostics and Troubleshooting
In This Chapter
Reading Status Data from the Module ..................................................21
LED Status Indicators............................................................................ 34
The module provides information on diagnostics and troubleshooting in the following forms:
Status data values are transferred from the module to the processor. Data contained in the module can be viewed through the
Configuration/Debug port attached to a terminal emulator.
LED status indicators on the front of the module provide information on the
module's status.

4.1 Reading Status Data from the Module

The MVI46-MBP module returns a 365-word Status Data area that can be used to determine the module's operating status. This data is located in the module's database and the M1 file at registers 4000 to 4365. Nodes on the Modbus Plus network read this data area through the issuance of read commands to the module. For a complete listing of the status data objects, Refer to the Reference chapter.
The Configuration/Debug port provides the following functionality:
Full view of the modules database View of the module's status data View of the module's configuration Version Information Control over the module (that is, cold boot)
4.1.1 The Configuration/Debug Menu
The Configuration and Debug menu for this module is arranged as a tree structure, with the Main Menu at the top of the tree, and one or more sub-menus for each menu command. The first menu you see when you connect to the module is the Main menu.
Because this is a text-based menu system, you enter commands by typing the command letter from your computer keyboard in the terminal application (for example, HyperTerminal). The module does not respond to mouse movements or clicks. The command executes as soon as you press the command letter — you do not need to press [Enter]. When you type a command letter, a new screen will be displayed in your terminal application.
ProSoft Technology, Inc. Page 21 of 101 February 19, 2008
MVI46-MBP SLC Platform Diagnostics and Troubleshooting Modbus Plus Communication Module
4.1.2 Required Hardware
You can connect directly from your computer's serial port to the serial port on the module to view configuration information and perform maintenance.
ProSoft Technology recommends the following minimum hardware to connect your computer to the module:
80486 based processor (Pentium preferred) 1 megabyte of memory At least one serial communications port available A null modem serial cable.
4.1.3 Required Software
In order to send and receive data over the serial port (COM port) on your computer to the module, you must use a communication program (terminal emulator).
A simple communication program called HyperTerminal is pre-installed with recent versions of Microsoft Windows operating systems. If you are connecting from a machine running DOS, you must obtain and install a compatible communication program. The following table lists communication programs that have been tested by ProSoft Technology.
DOS ProComm, as well as several other terminal emulation programs Windows 3.1 Terminal Windows 95/98 HyperTerminal Windows NT/2000/XP HyperTerminal
4.1.4 Using the Configuration/Debug Port
To connect to the module's Configuration/Debug port:
1 Connect your computer to the module's port using a null modem cable. 2 Start the communication program on your computer and configure the
communication parameters with the following settings:
Baud Rate 57,600 Parity None Data Bits 8 Stop Bits 1 Software Handshaking None
3 Open the connection. When you are connected, press the [?] key on your
keyboard. If the system is set up properly, you will see a menu with the module name followed by a list of letters and the commands associated with them.
Page 22 of 101 ProSoft Technology, Inc.
February 19, 2008
Diagnostics and Troubleshooting MVI46-MBP SLC Platform Modbus Plus Communication Module
If there is no response from the module, follow these steps: 1 Verify that the null modem cable is connected properly between your
computer's serial port and the module. A regular serial cable will not work.
2 Verify that RSLinx is not controlling the COM port. Refer to Disabling the
RSLinx Driver for the Com Port on the PC (page 57).
3 Verify that your communication software is using the correct settings for baud
rate, parity and handshaking.
4 On computers with more than one serial port, verify that your communication
program is connected to the same port that is connected to the module.
If you are still not able to establish a connection, you can contact ProSoft Technology Technical Support for further assistance.
Navigation
All of the sub-menus for this module contain commands to redisplay the menu or return to the previous menu. You can always return from a sub-menu to the next higher menu by pressing [M] on your keyboard.
The organization of the menu structure is represented in simplified form in the following illustration:
The remainder of this section shows you the menus available for this module, and briefly discusses the commands available to you.
Keystrokes
The keyboard commands on these menus are almost always non-case sensitive. You can enter most commands in lower case or capital letters.
The menus use a few special characters ([?], [-], [+], [@]) that must be entered exactly as shown. Some of these characters will require you to use the [Shift], [Ctrl] or [Alt] keys to enter them correctly. For example, on US English keyboards, enter the [?] command as [Shift][/].
Also, take care to distinguish capital letter [I] from lower case letter [l] (L) and number [1]; likewise for capital letter [O] and number [0]. Although these characters look nearly the same on the screen, they perform different actions on the module.
ProSoft Technology, Inc. Page 23 of 101 February 19, 2008
MVI46-MBP SLC Platform Diagnostics and Troubleshooting Modbus Plus Communication Module
4.1.5 Main Menu
When you first connect to the module from your computer, your terminal screen will be blank. To activate the main menu, press the [?] key on your computer's keyboard. If the module is connected properly, the following menu will appear on your terminal screen:
Caution: Some of the commands available to you from this menu ar e designed for advanced debugging and system testing only, and can cause the module to stop communicating with the processor or with other devices, resulting in potential data loss or other failures. Only use these commands if you are specifically directed to do so by ProSoft Technology, Inc. Technical Support staff. Some of these command keys are not listed on the menu, but are active nevertheless. Please be careful when pressing keys so that you do not accidentally execute an unwanted command.
Opening the Data Analyzer Menu
Press [A] to open the Data Analyzer Menu. Use this command to view all bytes of data transferred on each port. Both the transmitted and received data bytes are displayed. Refer to Data Analyzer for more information about this menu.
Important: When in analyzer mode, program execution will slow down. Only use this tool during a troubleshooting session. Before disconnecting from the Config/Debug port, please be sure to press [M] to return to the main menu and disable the data analyzer. This action will allow the module to resume its normal operating mode.
Viewing Backplane Diagnostic Information
Press [B] from the Configuration/Debug Menu to view the Backplane Diagnostic Information screen.
Use this command to display the configuration and statistics of the backplane data transfer operations between the module and the processor. The information on this screen can help determine if there are communication problems between the processor and the module.
Tip: Repeat this command at one-second intervals to determine the number of blocks transferred each second.
Page 24 of 101 ProSoft Technology, Inc.
February 19, 2008
Diagnostics and Troubleshooting MVI46-MBP SLC Platform Modbus Plus Communication Module
Viewing Module Configuration
Press [C] to view the Module Configuration screen. Use this command to display the current configuration and statistics for the
module.
Opening the Database Menu
Press [D] to open the Database View menu. Use this menu command to view the current contents of the module's database.
Opening the Command Error List Menu
Press [I] to open the Command Error List. This list consists of multiple pages of command list error/status data. Press [?] to view a list of commands available on this menu.
Viewing Global Input Status and Counter Data
Press [G] to view the Global Input Status and Counter data for each Modbus Plus node defined in the Device Definition Table.
The Status data area displays the current status of each node on the network. Refer to the Module Set Up section for a complete listing and definition of the status codes. The Counters section displays the number of Global Input data messages received from the device.
Opening the Device Definition List Menu
Press [L] to open the Device Definition List. This list consists of multiple pages of device definition data. Press [?] to view a list of commands available on this menu.
ProSoft Technology, Inc. Page 25 of 101 February 19, 2008
MVI46-MBP SLC Platform Diagnostics and Troubleshooting Modbus Plus Communication Module
Viewing I/O File Data
Press [O] to display the module's global input and output data.
The In File Address Map, values represent the data set for selecting the registers in the module's database to transfer to the In File Data area. The In File Data section displays the current values transferred from the module to the SLC processor. The Out File Data section contains the values used for Global Output Data to be transferred from the module to the Modbus Plus network.
Viewing Version Information
Press [V] to view Version information for the module. Use this command to view the current version of the software for the module, as
well as other important values. You may be asked to provide this information when calling for technical support on the product.
Values at the bottom of the display are important in determining module operation. The Program Scan Counter value is incremented each time a module's program cycle is complete.
Tip: Repeat this command at one-second intervals to determine the frequency of program execution.
Warm Booting the Module
Caution: Some of the commands available to you from this menu ar e designed for advanced debugging and system testing only, and can cause the module to stop communicating with the processor or with other devices, resulting in potential data loss or other failures. Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff. Some of these command keys are not listed on the menu, but are active nevertheless. Please be careful when pressing keys so that you do not accidentally execute an unwanted co mmand.
Press [W] from the Main Menu to warm boot (restart) the module. This command will cause the program to exit and reload, refreshing configuration parameters that must be set on program initialization. Only use this command if you must force the module to re-boot.
Page 26 of 101 ProSoft Technology, Inc.
February 19, 2008
Diagnostics and Troubleshooting MVI46-MBP SLC Platform Modbus Plus Communication Module
Viewing the Event Command Enable List
Press [X] to view the Event Command Enable List. Use this command to display the status of each of the event command enable bits received from the SLC processor.
If the event command bit is set, a value of 1 will be displayed. A value of 0 indicates the command event bit is clear. Each bit in the table corresponds to an associated command in the master command table. The bits displayed are shown with the high-bits in the word on the left side and the least-significant bit on the right side. Therefore, bit 15 (command 16) is the first bit displayed in the upper-right of the list and bit 0 (command 1) is the last bit of the first row of data.
Transferring Module Configuration to the Processor
Press [Y] to transfer the module's configuration data to the processor. Ladder logic is required in the processor to receive and implement the updated configuration. You will be prompted to confirm the transfer.
If the operation is not successful, an error code will be returned.
Code Description
0 Transfer successful
-1 Error transferring module configuration data (block -9000)
-2 Error transferring device definition data (blocks -9100 to -9103)
-3 Error transferring master command list data (blocks -6000 to -6007)
After successful data transfer, the module will perform a warm-boot operation to read in the new data.
Viewing Communication Status
Press [1] to view the communication status and statistics of the Modbus Plus Network for the module's node address. This command is useful for troubleshooting purposes.
Exiting the Program
Caution: Some of the commands available to you from this menu ar e designed for advanced debugging and system testing only, and can cause the module to stop communicating with the processor or with other devices, resulting in potential data loss or other failures. Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff. Some of these command keys are not listed on the menu, but are active nevertheless. Please be careful when pressing keys so that you do not accidentally execute an unwanted co mmand.
ProSoft Technology, Inc. Page 27 of 101 February 19, 2008
MVI46-MBP SLC Platform Diagnostics and Troubleshooting Modbus Plus Communication Module
Press [Esc] to restart the module and force all drivers to be loaded. The module will use the configuration stored in the module's Flash ROM to configure the module.
4.1.6 Data Analyzer
Use this menu to display Modbus Plus messages generated and received by the module. This tool is extremely useful in determining the operation of the module and nodes on the network. Press [?] to view the list of commands available on this menu. In the following illustration, master command status errors can be resolved.
Use the commands on this menu to choose the type of data to view. You can view more than one type of data at the same time. For example, to view the master command processing of messages from the MVI46-MBP module to other nodes on the network, press [2], and then press [5]. All master Put and Get messages handled by the module will be displayed on the screen.
The Current Debug Level parameter displayed at the bottom of the display shows the current debug level being monitored by the analyzer. A value of 0000 indicates that the analyzer is not monitoring any messages.
(0x0000) Turn Debug off
Press [0] (zero) to turn the analyzer off. This is useful to freeze the analyzer screen with the last values displayed. If you are using a terminal emulation program that buffers previously received data, you can scroll through the acquired data to view the transactions that occurred on the Modbus Plus interface by the module.
(0x0001) Service Requests
Press [1] to view all service request operations performed. After selecting the option, the screen should scroll very rapidly as these messages are trapped. An example display is shown below:
Page 28 of 101 ProSoft Technology, Inc.
February 19, 2008
Diagnostics and Troubleshooting MVI46-MBP SLC Platform Modbus Plus Communication Module
(0x0002) Put Master Command to Output Path
Press [2] to display master command requests sent from the module to the network. Example output of this option is shown below:
(0x0004) Get Slave Command from Input Path
Press [3] to display slave request messages received for the module. Example output of this option is shown below:
(0x0008) Put Slave Response to Input Path
Press [4] to display slave response messages sent to requests made by other nodes on the network to the module. Example output of this option is shown below:
(0x0010) Get Master Response from Output Path
Press [5] to display master response messages received from other nodes on the network in response to command requests made by the module. Example output of this option is shown below:
(0x0020) Abort Transaction
Press [6] to display any abort transaction messages processed on the Modbus Plus network by the module.
(0x0040) Configuration Status
Press [7] to display any configuration status messages processed by the module.
ProSoft Technology, Inc. Page 29 of 101 February 19, 2008
MVI46-MBP SLC Platform Diagnostics and Troubleshooting Modbus Plus Communication Module
(0x0080) Interface Diagnostics
Press [8] to display any interface diagnostic messages processed by the module.
(0x0100) Software Reset
Press [9] to display any software-reset commands sent from the module to the Modbus Plus Chipset.
(0x0200) Put Global Data
Press [A] to display any global output messages processed by the module. The following illustration shows an example of the output.
(0x0400) Get Global Data
Press [B] to display any global input messages processed by the module. The following illustration shows an example of the output.
Returning to the Main Menu
Press [M] to return to the Main Menu.
Page 30 of 101 ProSoft Technology, Inc.
February 19, 2008
Loading...
+ 71 hidden pages