Rockwell Automation 22-WIM-N1 User Manual

Serial Converter Module
22-SCM-232 FRN 2.xxx
User Manual
Important User Information
Solid state equipment has operational characteristics differing from those of electromechanical equipment. “Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls” (Publication SGI-1.1 available from your local Rockwell Automation Sales Office or online at http://www.ab.com/ manuals/gi) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc. is prohibited.
Throughout this manual we use notes to make you aware of safety considerations.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic
!
loss.
Attentions help you:
identify a hazard
avoid the hazard
recognize the consequences
Important: Identifies information that is especially important for successful
application and understanding of the product.
Shock Hazard labels may be located on or inside the drive to alert people that dangerous voltage may be present.
Allen-Bradley, ControlFLASH, DPI, DSI, DriveExplorer, DriveExecutive, MicroLogix, SLC, PLC-5, ControlLogix, and CompactLogix are trademarks of Rockwell Automation, Inc.
PowerFlex® is a registered trademark of Rockwell Automation, Inc.
RSLogix is a trademark of Rockwell Software.
Windows, Windows CE, Windows NT, Windows ME, Windows 2000, Windows XP, and Microsoft are either registered trademarks or trademarks of Microsoft Corporation.
Summary of Changes
This is the second release of the 22-SCM-232 serial converter module (FRN 2.xxx).
Location Description of Changes
Chapter 4 Added (before old Chapter 4 - Troubleshooting) to describe how to use
Chapter 5 Was Chapter 4 - renumbered to 5.
Appendix D Added to describe MicroLogix 1000 example ladder program.
Appendix E Added to describe MicroLogix 1200/1500 example ladder program.
Appendix F Added to describe SLC example ladder program.
Appendix G Added to describe PLC example ladder program.
Appendix H Added to describe ControlLogix example ladder program.
Appendix I Added to describe the Logic Command/Logic Status words that are
22-SCM-232 module with Allen-Bradley controllers to control and read/ write data to PowerFlex
used for PowerFlex 4 and 40 drives.
®
4 and 40 drives.
soc-2
Notes:
Table of Contents
Preface About This Manual
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . P-1
Rockwell Automation Support. . . . . . . . . . . . . . . . . . . . . . . . P-2
Chapter 1 Getting Started
Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Compatible Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Required Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Chapter 2 Installing the Serial Converter Module
Selecting Cables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Installing the Serial Converter Module . . . . . . . . . . . . . . . . . 2-2
Removing the Serial Converter Module. . . . . . . . . . . . . . . . . 2-3
Chapter 3 Configuring the Serial Converter Module
Configuration Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Using DriveExplorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Using Terminal Emulation Software . . . . . . . . . . . . . . . . . . . 3-3
Setting the RS-232 Serial Port Rate. . . . . . . . . . . . . . . . . . . . 3-7
Setting the Fault Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Resetting the Serial Converter Module . . . . . . . . . . . . . . . . . 3-9
Chapter 4 Controlling PowerFlex 4 and 40 Drives with
Allen-Bradley Controllers
Controller Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Cabling Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Messaging (MSG Instruction) . . . . . . . . . . . . . . . . . . . . . . . . 4-3
PowerFlex 4 and 40 Memory Addressing . . . . . . . . . . . . . . . 4-4
Example Controller Programs . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Chapter 5 Troubleshooting
Understanding the Status Indicators . . . . . . . . . . . . . . . . . . . 5-1
Module Diagnostic Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Viewing and Clearing the Event Queue . . . . . . . . . . . . . . . . . 5-3
Viewing and Clearing DF1 Communication Statistics . . . . . 5-5
Troubleshooting Potential Problems . . . . . . . . . . . . . . . . . . . 5-6
ii Table of Contents
Appendix A Specifications
Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Agency Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Appendix B Serial Converter Module Parameters
Parameter List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Appendix C Flash Updates
Preparing for a Flash Update . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Performing a Flash Update with HyperTerminal. . . . . . . . . . C-2
Troubleshooting Potential HyperTerminal Flash Problems. . C-3
Performing a Flash Update with DriveExplorer . . . . . . . . . . C-4
Appendix D MicroLogix 1000 Example Ladder Program
Appendix E MicroLogix 1200/1500 Example Ladder Program
Appendix F SLC Example Ladder Program
Appendix G PLC-5 Example Ladder Program
Appendix H ControlLogix/CompactLogix Example Ladder Program
Appendix I Logic Command/Status Words
PowerFlex 4 and PowerFlex 40 Drives . . . . . . . . . . . . . . . . . I-1
Glossary
Index
Preface
About This Manual
Read this preface to become familiar with the rest of the manual.
Topic Page
Related Documentation
Conventions Used in this Manual P-1
Rockwell Automation Support P-2
Related Documentation
For Information On: Refer to: Publication
DF1 Protocol DF1 Protocol and Command Set Reference manual 1770-6.5.16 DriveExplorer™ 'ULYH([SORUHU*HWWLQJ5HVXOWV0DQXDO
DriveTools 2000™ KWWSZZZDEFRPGULYHVGULYHWRROVB
Documentation can be obtained online at http://www.ab.com/manuals
2QOLQHKHOSLQVWDOOHGZLWKWKHVRIWZDUH
P-1
9306-GR001
Conventions Used in this Manual
The following conventions are used throughout this manual:
Parameter names follow the format Parameter xx - [*]. The xx
represents the parameter number. The * represents the parameter name. For example, Parameter 01 - [Adapter Cfg].
Menu commands are shown in bold type face 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.
The firmware release is displayed as FRN X.xxx. The “FRN” signifies Firmware Release Number. The “X” is the major release number. The “xxx” is the minor update number.
P-2 About This Manual
Rockwell Automation Support
Rockwell Automation, Inc. offers support services worldwide, with over 75 sales/support offices, over 500 authorized distributors, and over 250 authorized systems integrators located through the United States alone. In addition, Rockwell Automation, Inc. representatives are in every major country in the world.
Local Support
Contact your local Rockwell Automation, Inc. representative for:
Sales and order support.
Technical training.
Warranty support.
Support service agreements.
Technical Assistance
If you need to contact Rockwell Automation, Inc. for technical assistance, please review the information in Chapter 5 first. If you still have questions, then contact your local Rockwell Automation, Inc. representative.
, Troubleshooting
86$OOHQ%UDGOH\'ULYHV7HFKQLFDO6XSSRUW
(PDLO VXSSRUW#GULYHVUDURFNZHOOFRP 7HO  )D[  2QOLQH ZZZDEFRPVXSSRUWDEGULYHV
8.&XVWRPHU6XSSRUW&HQWHU
(PDLO HVXSSRUW#UDURFNZHOOFRP 7HO  )D[ 
*HUPDQ&XVWRPHU6HUYLFH&HQWHU
(PDLO UDJHUPDQ\FVF#UDURFNZHOOFRP 7HO  )D[ 
Getting Started
The 22-SCM-232 serial converter provides a communications interface between a computer or controller and any Allen-Bradley product implementing DSI, such as PowerFlex 4 and 40 drives. It uses the full-duplex, RS-232 DF1 protocol
Topic Page Topic Page
Components
Features 1-2 Quick Start 1-5
Compatible Products 1-2 Modes of Operation 1-6
Required Equipment 1-3
1-1 Safety Precautions 1-4
Components
Figure 1.1 Components of the Serial Converter
.
Chapter 1
AB
# Part Description
DSI Connection Standard RJ45 connector. The 22-RJ45CBL-C20 cable is
Status Indicators LEDs that indicate module operation, data is being received
RS-232 Serial Port Locking low profile connector. The 1203-SFC serial cable is
22-RJ45CBL-C20
Cable
1203-SFC Serial
Cable
Not
DriveExplorer Lite
Shown
CD-ROM
plugged into this connector.
from and sent to the computer. Refer to Chapter 5
plugged into this connector.
DSI cable (2 m) with male-to-male RJ45 connectors.
Serial cable (2 m) with a locking low profile connector to connect to the serial converter and a 9-pin sub-miniature D female connector to connect to a computer.
CD including DriveExplorer Lite software and documentation.
, Troubleshooting, for more information.
1-2 Getting Started
Features
The 22-SCM-232 serial converter module features the following:
The serial converter module can connect to products implementing DSI such as PowerFlex 4 and 40 drives.
Provides a means for DriveExplorer (version 3.01 or higher) and DriveExecutive (version 1.01 or higher) software tools to access PowerFlex 4 and 40 drives.
Allows various Allen-Bradley controllers, from MicroLogix to ControlLogix, to control and read/write data to PowerFlex 4 and 40 drives.
Three status indicators (LEDs) report the operating status of the module.
DF1 serial baud rates of 9600 bps, 19.2 kbps, and 38.4 kbps are supported. The factory default baud rate is 9600 bps.
The serial converter module receives power from the DSI host product. An outside power source is not needed.
DriveExplorer (version 3.01 or higher), DriveExecutive (version 1.01 or higher), or terminal emulation software can be used to configure the serial converter.
The serial converter module is flash upgradeable to take advantage of feature enhancements. For example, version 1.xxx SCM’s can be flashed to version 2.xxx (or higher).
Compatible Products
The 22-SMC-232 serial converter module is compatible with Allen-Bradley products that support DSI. At the time of publication, compatible products include:
PowerFlex 4 drives
PowerFlex 40 drives
Getting Started 1-3
Required Equipment
Equipment Shipped with the Serial Converter Module
When you unpack the serial converter module, verify that the package
includes:
One 22-SCM-232 Serial Converter ModuleOne 1203-SFC serial cableOne 22-RJ45CBL-C20 cableOne DriveExplorer Lite CDThis manual
User-Supplied Equipment
To configure the serial converter, you must use one of the following:
DriveExplorer software (version 3.01 or higher).DriveExecutive software (version 1.01 or higher).Terminal emulation software such as HyperTerminal.VT-100 compatible terminal.
1-4 Getting Started
Safety Precautions
Please read the following safety precautions carefully.
ATTENTION: Risk of injury or equipment damage exists. Only personnel familiar with drive and power products and the associated
!
machinery should plan or implement the installation, start-up, configuration, and subsequent maintenance of the product using the serial converter module. Failure to comply may result in injury and/or equipment damage.
ATTENTION: Risk of injury or equipment damage exists. If the serial converter module is transmitting control I/O to the drive (indicated by a
!
solid green diamond LED), the drive may fault when you remove or reset the serial converter module. Determine how your drive will respond before removing or resetting a connected serial converter module.
ATTENTION: Risk of injury or equipment damage exists. Parameter 04 - [Comm Flt Action] lets you determine the action of
!
the serial converter module and connected drive if DF1 serial communications are disrupted. By default, this parameter faults the drive. You can set this parameter so that the drive continues to run. Precautions should be taken to ensure that the setting of this parameter does not create a hazard of injury or equipment damage.
Getting Started 1-5
Quick Start
This section is designed to help experienced users quickly start using the serial converter module. If you are unsure how to complete a step, refer to the referenced chapter.
Step Action Refer to
1 Review the safety precautions for the serial converter
module.
2 Install the serial converter module.
Connect a 22-RJ45CBL-C20 cable to the serial converter module and the DSI drive. Then, connect a 1203-SFC serial cable to the serial conver ter module and a computer. Make sure that power has been applied to the DSI drive.
3 Configure the serial converter module for your
application.
Use one of the following to configure parameters in the serial converter module:
DriveExplorer (v3.01 or higher)
DriveTools 2000 (v1.01 or higher)
Terminal emulation software
VT-100 compatible terminal
Figure 1.2 Example Serial Connection to a Personal Computer
Throughout This Manual
,
Chapter 2 Installing the Serial Converter Module
Chapter
3, Configuring the Serial Converter Module
22-RJ45CBL-C20 Cable
DSI Host
Serial
Converter
Figure 1.3 Example Serial Connection to a Hand-Held Computer
22-RJ45CBL-C20 Cable
DSI Host
Serial
Converter
1203-SFC Cable
1203-SFC Cable
(sold separately)
Computer
Serial Cable
1203-SNM Null Cable
Converter
Hand-Held
Computer
1-6 Getting Started
Figure 1.4 Example Serial Connection to a Controller
22-RJ45CBL-C20 Cable
DSI Host
Serial
Converter
1203-SFC Cable
MicroLogix
Modes of Operation
Figure 1.5 Status Indicators on the Serial Converter Module
➊ ➋
AB
The serial converter module uses three status indicators to report its operating status (Figure 1.5). The following table describes the state of the status indicators under normal operation:
# Status Indicator State Description
Diamond Flashing Green Serial converter is connected to a product
Solid Green Serial converter is or was receiving control
Off No power or Flash operation in progress.
TX Off Not transmitting data.
RX Off Not receiving data.
Flashing Green Transmitting data.
Flashing Green Receiving data.
implementing DSI.
I/O. Removing or resetting the serial converter may cause a serial fault in the product.
If the diamond status indicator is red, there is a problem. Refer to
Chapter 5
, Troubleshooting.
Chapter 2
Installing the Serial Converter Module
Chapter 2 provides instructions for installing and removing the serial converter module.
Topic Page
Selecting Cables
Installing the Serial Converter Module 2-2
Removing the Serial Converter Module 2-3
Selecting Cables
The following cables are all you should need to connect the serial converter module to a drive and a computer.
Figure 2.1 Cables
2-1
Number Description Catalog Number
Important: To provide proper termination of the serial cable shield, the
DSI cable to connect the serial conver ter module to the drive.
Serial cable to connect the serial converter module to the computer.
When connecting the serial converter module to an H/PC (Hand-Held PC), you must use a null modem cable with two male 9-pin sub-miniature D connectors. These must be purchased separately.
chassis of the computer should be properly grounded. If it is not possible or practical to ground this, then a ground wire
22-RJ45CBL-C20
1203-SFC
1203-SNM (sold separately)
2-2 Installing the Serial Converter Module
should be connected to the serial cable shield at the shell of the 9-pin sub-miniature D connector.
Important: The DSI cable shield must be properly grounded in order to
provide EMC protection. On the PowerFlex 4 and 40 drive that means that Pin 16 of the drive control terminal block must be connected to the drive earth ground terminal.
Installing the Serial Converter Module
Important: The 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.
1. Connect the module to the drive using the
Figure 2.2 Connecting a 22-RJ45CBL-C20 Cable to the Serial Converter
22-RJ45CBL-C20 cable.
TX
RX
2. Connect the module to the computer using the 1203-SFC cable.
Figure 2.3 Connecting a 1203-SFC Cable to the Serial Converter
3. Verify that power is applied to the DSI-enabled drive. The serial
converter module receives power from the drive, so it must be powered before the serial converter module will operate.
The diamond light on the serial converter module flashes green to indicate that the module is properly installed and receiving power. If it is not green, refer to Chapter 5
, Troubleshooting.
Installing the Serial Converter Module 2-3
Removing the Serial Converter Module
ATTENTION: Risk of injury or equipment damage exists. If the serial converter module is transmitting control I/O to the drive (indicated by a
!
solid green diamond LED), the drive may fault when you remove or reset the serial converter. Determine how your drive will respond before removing or resetting a connected serial converter module.
1. Disconnect the 22-RJ45CBL-C20 cable from the DSI-enabled drive
and then from the converter module. To disconnect the cable, press on the cable latch and then pull it out.
2. Disconnect the 1203-SFC serial cable from the serial converter
module and then the computer.
2-4 Installing the Serial Converter Module
Notes:
Chapter 3
Configuring the Serial Converter Module
Chapter 3 provides instructions and information for configuring the serial converter module.
Topic Page
Configuration Tools
Using DriveExplorer 3-2
Using Terminal Emulation Software 3-3
Setting the RS-232 Serial Port Rate 3-7
Setting the Fault Action 3-8
Resetting the Serial Converter Module 3-9
For a list of parameters, refer to Appendix B, Serial Converter Module
Parameters. For definitions of terms in this chapter, refer to the Glossary.
Configuration Tools
3-1
The serial converter module stores parameters and other information in its own non-volatile memory. You must, therefore, access the module to view and edit its parameters. The following tools can be used to access the module parameters.
Tool Refer To
DriveExplorer software (version 3.01 or higher) page 3-2 DriveExecutive software (version 1.01 or higher) KWWSZZZDEFRPGULYHV
Terminal emulation software page 3-3
VT100-compatible terminal Documentation for the terminal
Important: The RS-485 serial port on DSI products, such as PowerFlex
4 and 40 drives, does not need to be configured before using the serial converter module. DSI communications are configured automatically (19.2K baud and 8-N-1).
in this manual
GULYHWRROVB
in this manual
3-2 Configuring the Serial Converter Module
Using DriveExplorer
With DriveExplorer software, you can edit parameters in both the serial converter module and the connected DSI-enabled drive. On PowerFlex 4/40 drives (or other DSI products), you can also edit parameters in any of the attached peripherals. DriveExplorer Lite is shipped with the serial converter module and is a free, limited-feature version of DriveExplorer.
Important: Parameter 1 - [Adapter Cfg] must be set to “Auto”
(default) for DriveExplorer to operate. HyperTerminal can be used if Parameter 1 - [Adapter Cfg] needs to be changed (see Using Terminal Emulation Software
DriveExplorer Lite Quick Start
This section is designed to help you quickly start using DriveExplorer Lite. If you are unsure how to complete a step, refer to the online help (select Help > Help Topics) or the DriveExplorer Getting Results Manual, Publication 9306-5.2, which is included on the CD.
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.
section).
2. Select Explore > Connect > Local. A node will appear under Devices.
3. In the left pane, click the + signs to expand the tree. Click the product
or serial converter module to display parameters in the right pane. Double-click a parameter to edit it.
Figure 3.1 DriveExplorer
Configuring the Serial Converter Module 3-3
Using Terminal Emulation Software
This section provides detailed instructions on how to use terminal emulation software to access the serial converter module so that you can view and edit its parameters or view its event queue.
A variety of terminal emulation programs can be used to establish a serial connection between a computer and the serial converter module. The following instructions describe how to establish the initial serial connection to the serial converter module using a computer running HyperTerminal – terminal emulation software provided with most Windows 95/98/NT 4.0/2000/XP operating systems.
Important: The following instructions use screen captures from
Windows 95 HyperTerminal. If you are using a different operating system the screens may differ.
To use HyperTerminal to access the serial converter module
1. Verify that the serial converter module is installed correctly. Refer to
Chapter 2, Installing the Serial Converter Module.
2. On the Windows 95 desktop, click the Start button, and then select Programs > Accessories > HyperTerminal to display the
HyperTerminal dialog box (see Figure 3.2 look slightly different.
). Your dialog box may
Figure 3.2 HyperTerminal Dialog Box in List View
On the Windows NT desktop, click the Start button, and then select Programs > Accessories > HyperTerminal to display the
Connection dialog box (see Figure 3.3
3. Double-click Hypertrm.exe.
The Connection Description dialog box appears in the HyperTerminal workspace.
). Then, go to step 4.
3-4 Configuring the Serial Converter Module
Figure 3.3 Connection Dialog Box
4. In the Name window, type any name (for example, converter), and
then select any icon in the Icon box.
5. Click OK to display the Phone Number dialog box (see Figure 3.4
Figure 3.4 Phone Number Dialog Box
6. In the Connect Using window, select the communications port that
you intend to use (usually Com1 or Com2).
7. Click OK to display the Properties dialog box.
8. Select the settings shown in Figure 3.5
.
Important: If Parameter 03 - [DF1 Rate Cfg] was previously set
to 19.2K or 38.4K, select that value in the Bits per second window.
).
Configuring the Serial Converter Module 3-5
Figure 3.5 Properties Dialog Box
9. Click OK. A blank HyperTerminal workspace appears.
10. Select File > Properties to display the Properties dialog box.
11. Click the Settings tab (see Figure 3.6
Figure 3.6 Properties Dialog Box
).
12. Under Function, arrow, and ctrl keys act as, select Termi n a l keys .
3-6 Configuring the Serial Converter Module
13. In the Emulation window, select VT100.
14. Click OK to display the HyperTerminal workspace.
TIP: Select File > Save to save the HyperTerminal configuration that
you just created. In future connections, you can select the saved configuration and quickly connect to the serial converter module.
15. Press the Enter key until the main menu appears (see Figure 3.7).
Figure 3.7 Main Menu
Main Menu - Enter Number for Selection 1> Display Setup Parameters 2> Display Event Queue 3> Flash Upgrade
What do you want to do? Page
Edit the serial port rate, or fault action 3-7
View the event queue 5-3
View DF1 data 5-5
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 Chapter
Troubleshooting Potential Problems section for detailed instructions.
through 3-9
5 in the
To navigate in the terminal emulation software
Key Description
0
Esc
Enter
.. .
OR
OR
In the main menu, keys 1 – 3 select a menu option.
9
In the parameter screen, keys 0 – 9 enter a value.
Display the main menu or abort changes to a parameter.
Scroll through parameters or events.
Scroll through the values for a parameter.
Save a value for a parameter.
Configuring the Serial Converter Module 3-7
Setting the RS-232 Serial Port Rate
The serial port rate, sometimes called baud rate or DF1 rate, is the speed at which the computer and serial converter module communicate over RS-232. You can select a serial port rate of 9600, 19.2K, or 38.4K. The factory-default serial port rate is 9600.
Important: If you change the serial port rate in the serial converter
module, you must set your software to use the same serial port rate. The serial converter module must be reset or power cycled before baud rate changes take affect.
To set the serial port rate
1. Set Parameter 03 - [DF1 Rate Cfg] to the desired rate.
Figure 3.8 DF1 Rate Cfg Parameter 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. Press the ENTER key to save a new value.
3> DF1 Rate Cfg = 9600
2. Reset the serial converter module. Refer to Resetting the Serial
Converter Module section in this chapter.
3. Set the serial port rate in your software to match the new serial port rate in the serial converter module.
3-8 Configuring the Serial Converter Module
Setting the Fault Action
By default, when DF1 serial communications are disrupted (for example, a serial cable is disconnected) and control I/O is being transmitted, the serial converter module and connected drive respond by faulting. You can set a different response to communication disruptions using
Parameter 04 - [Comm Flt Action].
ATTENTION: Risk of injury or equipment damage exists. Parameter 04 - [Comm Flt Action] lets you determine the action of
!
the serial converter module and connected drive if communications are disrupted. By default, this parameter faults the drive. You can set this parameter so that the drive continues to run. Precautions should be taken to ensure that the setting of this parameter does not create a hazard of injury or equipment damage.
To change the fault action
Set the value of Parameter 04 - [Comm Flt Action] to the desired
response:
Action Description
Fault The drive is faulted and stopped. (Default)
Stop The drive is stopped, but not faulted (DSI host products only).
Zero data The drive is sent 0 for output data after a communications disruption.
Hold last The drive continues in its present state after a communications
This does not command a stop.
disruption.
Figure 3.9 Comm Flt Action Parameter 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. Press the ENTER key to save a new value.
4> Comm Flt Action = Fault
Changes to this parameter take effect immediately. A reset is not required.
Configuring the Serial Converter Module 3-9
Resetting the Serial Converter Module
Change to settings on some module parameters require that you reset the serial converter module before the new settings take effect. You can reset the module by cycling power to the module or by using Parameter 05 -
[Reset Module].
ATTENTION: Risk of injury or equipment damage exists. If the serial
converter module is transmitting control I/O to the drive (indicated by a
!
solid green diamond LED), the drive may fault when you remove or reset the module. Determine how your drive will respond before removing or resetting a connected serial converter module.
To reset the serial converter
Set Parameter 05 - [Reset Module] to either Reset Module or Set Defaults. “Reset Module” will reset the serial converter. “Set
Defaults” will set all parameters in the serial converter to their factory-default values.
Figure 3.10 Reset Module Parameter 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. Press the ENTER key to save a new value.
5> Reset Module = Reset Module
After you enter the “Reset Module” value, the serial converter will be reset. This parameter will then be reset to “Ready.”
3-10 Configuring the Serial Converter Module
Notes:
Chapter 4
Controlling PowerFlex 4 and 40 Drives with Allen-Bradley Controllers
Chapter 4 illustrates how to use the 22-SCM-232 serial converter with Allen-Bradley controllers to control and read/write data to PowerFlex 4 and 40 drives.
Topic Page
Controller Compatibility
Cabling Requirements 4-2
Messaging (MSG Instruction) 4-3
PowerFlex 4 and 40 Memory Addressing 4-4
Example Controller Programs 4-4
Controller Compatibility
Any Allen-Bradley controller capable of initiating and receiving DF1 messages can be used with the 22-SCM-232 serial converter:
4-1
MicroLogix 1000 (Series C or later discrete controllers, and all
analog controllers)
MicroLogix 1200/1500
SLC 5/03, 5/04, 5/05
PLC5
ControlLogix/CompactLogix
The 22-SCM-232 converts the protocol from DF1 to Modbus RTU, and the media from RS232 to RS485. It can be used for point-to-point and multiple drive applications (see Figure 4.1
Important: DSI HIMs (22-HIM-*) and/or DSI communication adapters
(22-COMM-*) cannot be used in an Allen-Bradley controller/22-SCM-232 system.
and Figure 4.2 respectively).
4-2 Controlling PowerFlex 4 and 40 Drives with Allen-Bradley Controllers
A
B
A
B
Figure 4.1 Point-to-Point Example
Drive
Controller
RS232
DF1
RS485
Modbus RTU
22-SCM-232
Serial Converter
Figure 4.2 Multiple Drive Example
Drive # 1
Drive # 2
Drive # 31
Controller
RS232
DF1
22-SCM-232
Serial Converter
RS485
Modbus RTU
AK-U0-RJ45-SC1
Splitter Cable
AK-U0-RJ45-TB2P
Ter minal Blocks
1/4W, 120 Ω
Ter minating Resistors
(on first and last drives)
Cabling Requirements
In addition to using the 22-SCM-232 serial converter module, the required cabling depends on the type of Allen-Bradley controller being used:
Controller Type Requires 22-SCM-232 plus
MicroLogix 1000/1200/1500 LSP
1761-CBL-PM02 or 1761-CBL-AP00 (8-pin DIN to 9-pin Female) and 1203-SNM Serial Null Modem adapter (9-pin Male to 9-pin Male)
MicroLogix 1500 LRP
SLC 5/03, 5/04 or 5/05
PLC5 9-pin Male to 25-pin Male adapter (3rd party)
ControlLogix/CompactLogix —
Loading...
+ 74 hidden pages