Serial Converter Module M/N MDCOMM-232 Instruction Manual D2-3502-1
The information in this manual is subject to change without notice. Throughout this manual, the following notes are used to alert you to safety considerations: ! Important: ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Identifies information that is critical for successful application and understanding of the product.
CONTENTS Chapter 1 Introduction 1.1 1.2 1.3 1.4 Serial Converter Module Features................................. 1-1 Related Publications ...................................................... 1-1 Conventions Used in This Manual ................................. 1-2 Getting Assistance from Rockwell Automation .............. 1-2 Chapter 2 Getting Started 2.1 Serial Converter Components ....................................... 2-1 2.2 Required Equipment ......................................................
Appendix A Technical Specifications .................................................... A-1 Appendix B Serial Converter Parameters ............................................. B-1 Appendix C Flash Updates ................................................................... C-1 Glossary ............................................................................... Glossary-1 Index ....................................................................................
List of Figures Figure 2.1 – Components of the Serial Converter ..................................... 2-1 Figure 2.2 – Example of Serial Connection to a Personal Computer ........ 2-3 Figure 3.1 – Cables ................................................................................... 3-1 Figure 3.2 – Connecting the MDCBL-RJ45 Cable to the Serial Converter 3-2 Figure 3.3 – Connecting the RECBL-SFC Cable to the Serial Converter.. 3-2 Figure 4.1 – VS Utilities Screen ........................................
IV Serial Converter Module (MDCOMM-232)
List of Tables Table 4.1 – Configuration Tools................................................................. 4-1 Table 4.2 – Key Descriptions ..................................................................... 4-6 Table 4.3 – Selections for Product Response to Communication Fault..... 4-7 Table 5.1 – Diamond Status Indicator: State Definitions ........................... 5-2 Table 5.2 – RX Status Indicator: State Definitions..................................... 5-3 Table 5.
VI Serial Converter Module (MDCOMM-232)
CHAPTER 1 Introduction The Serial Converter module (MDCOMM-232) provides an electronic communications interface between a computer and an MD60 or MD65 AC drive. It uses the full-duplex, RS-232 DF1 protocol. The Serial Converter receives power from the connection to the host product. An outside power source is not required. This manual is intended for qualified electrical personnel. For definitions of terms in this manual, refer to the Glossary. 1.
1.3 Conventions Used in This Manual The following conventions are used throughout this manual: 1.4 • Menu commands are shown in bold typeface and follow the format Menu > Command. For example, if you read “Select File > Open,” you should click the File menu and then click the Open command. • Parameters will be referenced by the parameter name followed by the parameter number as follows: Reset Module (05).
CHAPTER 2 Getting Started This chapter provides: 2.1 • • • A description of the Serial Converter module components • An installation checklist A list of equipment supplied with the module A list of user-supplied equipment required for installing and configuring the module Serial Converter Components ➊ ➍ ➋ AB ➎ ➌ # Part Description ➊ RJ45 Connection Standard RJ45 connector. The MDCBL-RJ45 cable (item 4) is plugged into this connector.
2.2 Required Equipment Equipment Shipped with the Serial Converter When you unpack the Serial Converter, verify that the package includes: ❑ One Serial Converter ❑ One RECBL-SFC serial cable ❑ One MDCBL-RJ45 cable ❑ One VS Utilities CD ❑ Serial Converter Module User Manual, D2-3502 User-Supplied Equipment To configure the Serial Converter, you must use one of the following: • • • 2.3 VS Utilities software (V3.
MDCBL-RJ45 Cable RECBL-SFC Cable Host Serial Converter Computer Figure 2.
2-4 Serial Converter Module (MDCOMM-232)
CHAPTER 3 Installing the Serial Converter Chapter 3 provides instructions for installing and removing the Serial Converter. 3.1 Identifying the Supplied Cables The following cables, supplied with the Serial Converter, are all you should need to connect the Serial Converter to a product and computer. ➊ # ➊ ➋ ➋ Description Cable to connect the Serial Converter to a host product (for example, an MD60 or MD65 drive). Serial cable to connect the Serial Converter to the computer.
3.2 Installing the Serial Converter Important: The Serial Converter module must not be installed in an area where the ambient atmosphere contains volatile or corrosive gas, vapors, or dust. If the module is not going to be installed for a period of time, it must be stored in area where it will not be exposed to a corrosive atmosphere. Use the following procedure to install the Serial Converter. RX TX Step 1. Connect the Serial Converter to the drive using the MDCBL-RJ45 cable. See figure 3.2.
3.3 Removing the Serial Converter ! ATTENTION: If the Serial Converter is transmitting control I/O to the product (indicated by a steady green diamond LED on the Serial Converter), the product may fault when you remove or reset the Serial Converter. Determine how your product will respond before removing or resetting a connected Serial Converter. Failure to observe these precautions could result in bodily injury and/or damage to equipment.
3-4 Serial Converter Module (MDCOMM-232)
CHAPTER 4 Configuring the Serial Converter This chapter provides information about configuring the Serial Converter. For a list of parameters, refer to Appendix B, Serial Converter Parameters. 4.1 Configuration Tools The Serial Converter stores parameters and other information in its own non-volatile storage (NVS). You must, therefore, access the Serial Converter to view and edit its parameters. Table 4.1 lists tools that you can use to access the Serial Converter and edit its parameters. Table 4.
This section is designed to help users start using VS Utilities. If you are unsure how to complete a step, refer to the online help (select Help > Help Topics). Use the following procedure to configure the Serial Converter using VS Utilities software: Step 1. Select Explore > Configure Communication. Select the communications port and baud rate that you are using. Select either checksum and accept the default time for the time-out. Step 2. Select Explore > Connect > Local.
4.3 Using Terminal Emulation Software This section provides detailed instructions on how to use terminal emulation software to access the Serial Converter so that you can view and edit Serial Converter parameters or view the Serial Converter event queue. A variety of terminal emulation programs can be used to establish a serial connection between a computer and the Serial Converter.
Figure 4.3 – Connection Dialog Box Step 4. In the Name window, type any name (for example, converter), and then select any icon in the Icon box. Step 5. Click OK to display the Phone Number dialog box. Step 6. In the Connect Using window, select the communications port that you intend to use (usually COM1 or COM2). Step 7. Click OK to display the Properties dialog box. Step 8. Select the settings shown in figure 4.4. Important: If you have previously set the parameter DF1 Rate Cfg (03) to 19.
Step 9. Click OK. A blank HyperTerminal workspace appears. Step 10. Select File > Properties to display the Properties dialog box. Step 11. Click the Settings tab. See figure 4.5. Figure 4.5 – Converter Properties Dialog Box Step 12. Under the area labeled Function, arrow, and ctrl keys act as, select Terminal keys. Step 13. In the Emulation box, select VT100. Step 14. Click OK to display the HyperTerminal workspace. TIP: Select File > Save to save the HyperTerminal configuration that you just created.
To do this: See section Edit the serial port rate 4.4 Edit the fault action 4.5 View the event queue 5.3.1 View DF1 data 5.4 Update the firmware C-1 If no text or meaningless text appears instead of the Main Menu, adjust the baud rate in your software. Refer to section 5.5 for detailed instructions. Navigating in the Terminal Emulation Software Table 4.2 describes the keys used to navigate the terminal emulation software. Table 4.2 – Key Descriptions Key Description 0 ...
To set the serial port rate: Step 1. Set DF1 Rate Cfg (03) to the desired rate. Figure 4.7 shows a sample HyperTerminal screen. Press the UP ARROW or DOWN ARROW key to scroll through the parameter list. Press the LEFT ARROW or RIGHT ARROW key to modify parameter values. Press the ENTER key to save a new value. 3> DF1 Rate Cfg = 9600 Figure 4.7 – DF1 Rate Cfg Parameter (03) in HyperTerminal 4.5 Step 2. Reset the Serial Converter. Refer to section 4.6. Step 3.
To change the fault action, set the value of Comm Flt Action (04) to the desired fault action. Figure 4.8 shows a sample HyperTerminal screen. Press the UP ARROW or DOWN ARROW key to scroll through the parameter list. Press the LEFT ARROW or RIGHT ARROW key to modify parameter values. Press the ENTER key to save a new value. 4> Comm Flt Action = Fault Figure 4.8 – Comm Flt Action Parameter (04) in HyperTerminal Changes to this parameter take effect immediately. A reset is not required. 4.
CHAPTER 5 Troubleshooting the Serial Converter Chapter 5 provides information to troubleshoot the Serial Converter. 5.1 Understanding the Status Indicators (LEDs) The Serial Converter reports its status using status indicators. See figure 5.1. ➊ ➌ ➋ # Status Indicator Description Refer to Section ➊ Diamond Serial Converter status 5.1.1 ➋ RX Serial Converter is receiving data 5.1.2 ➌ TX Serial Converter is transmitting data 5.1.3 Figure 5.
5.1.1 Diamond Status Indicator ! ATTENTION: If the Serial Converter is transmitting control I/O to the product (indicated by a steady green diamond LED on the Serial Converter), the product may fault when you remove or reset the Serial Converter. Determine how your product will respond before removing or resetting a Serial Converter. Failure to observe this precaution could result in bodily injury and/or damage to equipment. Table 5.
5.1.2 RX Status Indicator Table 5.2 – RX Status Indicator: State Definitions State Off Flashing Green Cause Serial Converter is not receiving data. Serial Converter is receiving data from the computer. Corrective Action • Verify that the drive is configured to use the RS-485 port. • • • Securely connect cables. Apply power to the product. Configure the computer software to use the same serial port rate as the Serial Converter No action required. 5.1.3 TX Status Indicator Table 5.
5.2 Module Diagnostic Items Table 5.4 lists module diagnostic items that can be accessed using VS Utilities. Table 5.4 – Module Diagnostic Items No. Name 1 Field Flash Cnt 2 Adapter Events 3 Reference 4 Common Logic Cmd 5 Common Logic Sts 6 Feedback 5.3 Description Number of field flashes recorded. The number of events in the event queue. Host’s Reference Command. Host’s Common Logic Command. Host’s Common Logic Status. Host’s Feedback Status.
5.3.1 Viewing the Event Queue To view the event queue: Step 1. Access the event queue using a configuration tool. Refer to section 4.1. Step 2. Scroll through events in the event queue. The most recent event can be found at 2R > Event Queue 1. The R stands for Read Only. Figure 5.2 shows an example of the event queue in HyperTerminal. Press the UP ARROW or DOWN ARROW key to scroll through the parameter list. Press the LEFT ARROW or RIGHT ARROW key to modify parameter values.
5.4.1 Viewing DF1 Data To view DF1 data: Step 1. Access the parameters in the Serial Converter using a configuration tool. Refer to section 4.1. Step 2. Scroll through the DF1 parameters. Parameters 06 through 17 contain DF1 data. For a description of each parameter, refer to Appendix B, Serial Converter Parameters. Figure 5.4 shows DF1 data viewed in HyperTerminal. Press the UP ARROW or DOWN ARROW key to scroll through the parameter list. Press the LEFT ARROW or RIGHT ARROW key to modify parameter values.
5.5 Troubleshooting Problems Table 5.6 – Troubleshooting the Serial Converter Problem Corrective Action You are unable to establish a connection between your computer and the Serial Converter. • If the status indicators are off, connect the cables and apply power to the product. • Configure your software and Serial Converter to use the same COMM port and serial port rate (baud rate).
5-8 Serial Converter Module (MDCOMM-232)
APPENDIX A Technical Specifications Communications RS-232 Side Protocol Port Rate Data Bits Parity Stop Bits Flow Control Error RS-232 Serial DF1, Full Duplex 9600, 19.2K, or 38.4K 8 None 1 None CRC or BCC (Auto-Detected) Host Side Data Rates 19.2 K Electrical Consumption 170 mA at +5V DC The Serial Converter draws the required power from the connected product. An external power source is not required. Mechanical Dimensions 103.5 x 73.4 x 23.6 mm (4.08 x 2.89 x 0.93 in) Weight 70.88 g (2.
Environmental Temperature Operating Storage 0° to +50°C (32° to 122°F) -40° to +85°C (-40° to 185°F) Relative Humidity 5 to 95% non-condensing Atmosphere Important: Module must not be installed in an area where the ambient atmosphere contains volatile or corrosive gas, vapors, or dust. If the module is not going to be installed for a period of time, it must be stored in an area where it will not be exposed to a corrosive atmosphere.
APPENDIX B Serial Converter Parameters 01 Adapter Cfg Range: 0 = Auto 1 = Master 2 = Slave 3 = RTU Master 4 = RTU Passthru Default: 0 = Auto Type: Read/Write Reset Required: Yes Selects the module’s mode of operation. Leave at 0 = Auto setting when used with software tools. Note that options 3 = RTU Master and 4 = RTU Passthru are reserved for future use. Important: 02 Adapter Cfg (01) must be set to Auto (default) for VS Utilities to operate.
03 DF1 Rate Cfg Range: 0 = 9600 1 = 19.2K 2 = 38.4K Default: 0 = 9600 Type: Read/Write Reset Required: Yes Selects the serial port rate for the RS-232 DF1 serial port on the Serial Converter. Important: 04 If you change the serial port rate in the Serial Converter, you must set your software to use the same serial port rate. The Serial Converter must be reset or power cycled before baud rate changes take effect.
05 Reset Module Range: 0 = Ready (No action) 1 = Reset Module (Resets the Serial Converter) 2 = Set Defaults (Restores the Serial Converter to its factory-default settings) Default: 0 Type: Read/Write Reset Required: No This parameter is a command. The value will be set to Ready after a Reset Module command or Set Defaults command has been performed.
08 DF1 Packets Rcvd Range: 0 to 4294967295 Default: 0 Type: Read Only Number of DF1 packets received by the Serial Converter. The value of this parameter is normally approximately equal to the value of DF1 Packets Sent (07). 09 Undelivered Msgs Range: 0 to 65535 Default: 0 Type: Read Only Number of DF1 messages that were sent but not acknowledged. This value is normally a low value.
12 NAKs Received Range: 0 to 65535 Default: 0 Type: Read Only Number of NAK (Negative Acknowledgement) characters received by the Serial Converter. This value is normally a low value. If it is continually incrementing and you are having communications problems, use a lower baud rate or replace the RECBL-SFC serial cable.
15 Duplicate Msgs Range: 0 to 65535 Default: 0 Type: Read Only Number of duplicate messages sent by the Serial Converter. This value contains the total number of consecutive messages received by this device with the same TNS (Transaction Sequence) number. This value is normally a low value. If it is continually incrementing and you are having communications problems, use a lower baud rate or replace the RECBL-SFC serial cable.
APPENDIX C Flash Updates Appendix C provides information on updating peripheral product firmware. C.1 Preparing for a Flash Update A Flash update should be preformed when updated peripheral product firmware is available. Please take the following precautions to ensure a successful Flash update: • Obtain the new firmware version from Rockwell Automation. Save it to the hard drive of the computer. Do not attempt to perform a Flash procedure from a floppy disk or a network.
C.2 Performing a Flash Update with HyperTerminal ! ATTENTION: When you perform a Flash update, the product will fault if it is receiving control I/O from the Serial Converter. Verify that the product has stopped safely before beginning a Flash update. Failure to observe this precaution could result in bodily injury and/or damage to equipment. ATTENTION: If you interrupt a Flash procedure that is updating boot code, the device may become inoperable.
Figure C.2 – Send File Dialog Box Step 7. Click Send. A dialog box appears and reports the progress of the download. When it is complete, the message “Operation Complete” appears. Important: Keep the device powered for 15 seconds after the operation has completed. Step 8. Press Enter to return to the main menu.
C.3 Troubleshooting Potential Flash Problems Table C.1 – Flash Troubleshooting Problem Description “Transfer Cancelled by Remote System” message appears and the Flash is not completed. Corrective Action • Restart HyperTerminal and repeat the Flash procedure. • If you are using Windows NT 4.0, install SP3 or later. Windows NT service packs are available from the Microsoft web site: http://www.microsoft.com. • Download a HyperTerminal Private Edition update from the Hilgraeve web site: http://www.
GLOSSARY application code - Code that runs in the module after the boot code calls it. It performs the normal operations of the system. block check character (BCC) - An error detection scheme where the 2s complement of the 8-bit sum (modulo-256 arithmetic sum) of all data bytes in a transmission block. It provides a means of checking the accuracy of each message transmission. boot code - Code that runs when the module first receives power. It checks basic operations and then calls the application code.
programmable controller communications command (PCCC) The protocol used by some controllers to communicate with devices on a network. Some software products (for example, VS Utilities) also use PCCC to communicate. serial converter - A device that provides an electronic communications interface between an MD60 or MD65 drive and a computer with an RS-232 port. The MDCOMM-232 Serial Converter uses a full-duplex RS-232 DF1 protocol.
INDEX C M cables, 3-1 communication specifications, A-1 configuration tools, 4-1 configuring the module, 4-1 to 4-8 manuals, related, 1-1 mechanical specifications, A-1 D parameter descriptions, B-1 to B-6 power consumption, A-1 publications, related, 1-1 DF1 data, viewing, 5-5 DF1 rate, setting, 4-6 dimensions, A-1 E equipment required for installation, 2-2 event queue, 5-4 events clearing, 5-4 viewing, 5-4 F fault action, setting, 4-7 fault queue, see event queue faults, see events features, modul
Index-2 Serial Converter Module (MDCOMM-232)
U.S. Drives Technical Support Tel: (1) 262.512.8176, Fax: (1) 262.512.2222, Email: support@drives.ra.rockwell.com, Online: www.ab.com/support/abdrives Publication D2-3502-1 – August 2003 Copyright © 2003 Rockwell Automation, Inc. All Rights Reserved. Printed in USA.