Allen-Bradley 1747-KE User Manual
Allen-Bradley 1747-KE User Manual

Allen-Bradley 1747-KE User Manual

Dh-485/rs-232c interface module
Hide thumbs Also See for 1747-KE:
Table of Contents

Advertisement

DH-485/RS-232C
Interface Module
Catalog Number 1747-KE
User Manual
AB Parts

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 1747-KE and is the answer not in the manual?

Questions and answers

Summary of Contents for Allen-Bradley 1747-KE

  • Page 1 DH-485/RS-232C Interface Module Catalog Number 1747-KE User Manual AB Parts...
  • Page 2 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.literature.rockwellautomation.com, describes some important differences between solid state equipment and hard-wired electromechanical devices.
  • Page 3: Publication 1747-Um005B-En-P - March

    Summary of Changes The information below summarizes the changes to this manual since the last printing. To help you find new and updated information in this release of the manual, we have included change bars as shown to the right of this paragraph.
  • Page 4 Summary of Changes Notes: Publication 1747-UM005B-EN-P - March 2006...
  • Page 5: Table Of Contents

    Table of Contents Preface Who Should Use This Manual ..... . P-1 Purpose of This Manual......P-1 Related Documentation .
  • Page 6 Table of Contents Add an Interface Module to Your System ... 4-2 Replace a Series A Interface Module in Your System . . . 4-2 Set the Module’s Mode ......4-4 Configure with an ASCII Terminal .
  • Page 7 Table of Contents DF1 Full-duplex Setup Parameters ....6-10 DF1 Half-duplex Setup Parameters ....6-11 Build the DH-485 Configuration Packet .
  • Page 8 Table of Contents Appendix B PLC-5 to SLC 500 Communications Overview ........B-1 PLC-5 Message Instruction .
  • Page 9: Who Should Use This Manual

    You should have a basic understanding of SLC 500 products, DF1 communications protocol, and DH-485 network communications. If you do not, contact your local Allen-Bradley representative for information on available training courses before using this product. Purpose of This Manual This manual is a reference guide for the DH-485/RS-232C Interface Module.
  • Page 10: Related Documentation

    Rockwell Automation representative. Terms and Abbreviations The following terms and abbreviations are specific to this product. For a complete listing of Allen-Bradley terminology, refer to the Allen-Bradley Industrial Automation Glossary, publication AG-7.1. ASCII Terminal - an industrial terminal, workstation, or personal computer with terminal mode software (such as PBASE or Windows HyperTerminal) that communicates in alphanumeric mode.
  • Page 11: Conventions Used In This Manual

    Preface Half-duplex - a mode of operation for a point-to-point or multi-point baseband link with two physical circuits, in which messages or transmission blocks can be sent in one direction or the other, but not both at the same time. Modem - Modulator/demodulator.
  • Page 12 Preface Publication 1747-UM005B-EN-P - March 2006...
  • Page 13: Interface Module Overview

    • a brief discussion on using RSLinx software with your module. • typical configurations. Interface Module Overview The DH-485/RS-232C Interface Module, catalog number 1747-KE, is a communications interface module that acts as a bridge between DH-485 networks and devices requiring DF1 protocol. The DF1 port on the interface module can be configured for RS-232/423, RS-422, or RS-485 devices.
  • Page 14: Features

    Overview Features The features of the module are shown below. 1747-KE Module Features LEDs DH-485/RS-232C CONFIG Port CONFIG Port DH-485 Battery Port DH485 Door Label There are three communication ports on the front of the module. They are: • CONFIG - used to configure the module with an ASCII terminal.
  • Page 15: Led Indicators

    Configuration mode. FAULT A system problem was detected during diagnostics. Cycle power to reset. If it remains on, contact your Allen-Bradley representative. No system problems are detected during diagnostics. BA LOW The voltage of the battery that backs up configuration RAM is low. A new battery is needed.
  • Page 16: Jumper Jw1

    Overview Jumper JW1 JW1 lets you to select the communication interface for the CONFIG port. Refer to page 4-5. Jumper JW2 JW2 lets you to select the communication interface for the DF1 port. Refer to page 4-6. Jumper JW4 JW4 lets you to select the functionality and mode of the interface module.
  • Page 17: Use A Modem With Your Interface Module

    Connecting a modem to this Module port lets you to call remote networks and control them as if you were connected locally. DF1 Protocol Interface Module (1747-KE) DF1 Protocol 1747-C13 Cable Modem DF1 Protocol Modem AB Parts...
  • Page 18: Typical Configurations

    The following configurations illustrate some of the possible uses for the module. Full-duplex (Point-to-point) Full-duplex (Point-to-point) Interface Module (1747-KE) Modem Modem 1747-C13 Cable This illustration shows a connection to a single remote SLC node. The 1747-C13 cable eliminates the need for a 1747-AIC link coupler.
  • Page 19: Full-Duplex (Network, Example 2)

    Overview Full-duplex (Network, Example 2) Full-duplex (Network, Example 2) RSLinx Interface Module (1747-KE) Link Coupler Modem (1747-AIC) Host computer is capable of calling and interfacing with one network at a time. Modem Link Coupler (1747-AIC) Link Coupler (1747-AIC) Interface Module...
  • Page 20: Half-Duplex (Local Mode)

    Overview Half-duplex (Local Mode) Half-duplex (Local Mode) Master Interface Module (1747-KE) Link Coupler PLC-5 (1747-AIC) processor Modem Link Coupler (1747-AIC) Modem Link Coupler (1747-AIC) This configuration allows the host controller to interface on a remote DH-485 network of up to 31 SLC nodes using the half-duplex protocol.
  • Page 21: Half-Duplex (Remote Mode)

    Overview Half-duplex (Remote Mode) Half-duplex (Remote Mode) Master SLC 5/05 processor Dedicated Line Modem Dedicated Interface Module Line Modem (1747-KE) Dedicated Line Dedicated Line Interface Module Modem Interface Module Modem (1747-KE) (1747-KE) Group 00 Group 01 Group 02 This illustration shows a host connect up to eight groups of DH-485 networks, connecting up to a total of 254 SLC nodes.
  • Page 22: Half-Duplex (Slave-To-Slave Communication)

    1-10 Overview Half-duplex (Slave-to-slave Communication) Half-duplex (Slave-to-slave Communication) (DF1 Slave) Interface Module (1747-KE) Link Coupler Link Coupler (1747-AIC) (1747-AIC) Dedicated Line SLC 5/05 Modem processor Dedicated Line Link Coupler Modem (1747-AIC) RSLinx Link Coupler Dedicated Line (1747-AIC) Modem (DF1 Slave) This configuration allows a DF1 slave device send a message to another DF1 slave device.
  • Page 23: Required Tools And Equipment

    Quick Start This chapter can help you to get started using the DH-485/RS-232C Interface Module (catalog number 1747-KE). The procedures included here assume that you have a basic understanding of SLC 500 products. You should understand electronic process control and be able to interpret the ladder logic instructions required to generate the electronic signals that control your application.
  • Page 24: Procedures

    If the contents are incomplete, call your local Rockwell Automation representative for assistance. Install the Module Do not install or remove the 1747-KE module from ATTENTION the SLC chassis until all power dissipates from the SLC 500 power supply (approximately 10 seconds).
  • Page 25: Configure The Module

    Quick Start Configure the Module Configure the module by either connecting to an ASCII terminal or communicating through the backplane. For more information, see Chapter 5 (Module Configuration Using an ASCII Terminal) and Chapter 6 (Module Configuration Using the Backplane). Start-up the Module Power up your system by performing standard start-up procedures as indicated in your processor manual.
  • Page 26 Quick Start Publication 1747-UM005B-EN-P - March 2006...
  • Page 27: Chapter 3 Df1 Communication

    Chapter Communicate with the Interface Module This chapter explains: • full- and half-duplex DF1 communication. • local and remote half-duplex operation. • communicating with master and slave DH-485 devices. • communicating with a modem. DF1 Communication The module supports full-duplex DF1 protocol and half-duplex DF1 slave protocol on its RS-232 connection to the host computer (using the DF1 Port).
  • Page 28: Half-Duplex Df1 Protocol

    Communicate with the Interface Module Full-duplex (Point-to-point) Full-duplex (Point-to-point) Interface Module (1747-KE) RSLinx Modem Modem 1747-C13 Cable This illustration shows a connection to a single remote SLC node. The 1747-C13 cable eliminates the need for a 1747-AIC link coupler for connections to one node.
  • Page 29 Communicate with the Interface Module You may prefer local mode for use in applications where the RS-232C link is not networked, since it simplifies the polling algorithm. Remote mode should be used when more than 31 SLC nodes are required on the DH-485 network. Because the interface module is transparent to the master device, existing drivers can be used without rewriting.
  • Page 30 Communicate with the Interface Module Local Mode SLC 500 SLC 500 Node 01 Link Coupler Node 02 ((1747-AIC) PLC 5 controller RS-232C DF1 DF1 Master SLC 500 Node 03 DH-485 Link Coupler ((1747-AIC) SLC 500 Node 00 DH-485 Link Coupler ((1747-AIC) Remote Mode The valid range of slave addresses on a half-duplex network is 000...
  • Page 31 Communicate with the Interface Module Messages from the remote nodes on the DH-485 network (such as the SLC nodes) use the destination address of the module. Normally the module responds to a message from the DF1 master by swapping the source and destination addresses in the received message, assuring that the reply message is sent to the proper DF1 master station.
  • Page 32 Communicate with the Interface Module Half-duplex Remote Address Conversion Table DH-485 Half–duplex DF1 Address (octal) Node Group 00 Group 01 Group 02 Group 03 Group 04 Group 05 Group 06 Group 07 Address (decimal) Illegal Publication 1747-UM005B-EN-P - March 2006...
  • Page 33 Communicate with the Interface Module Remote Mode Addressing on a Multi-drop Network Example This example shows a PLC-5 controller as the half-duplex master in a multi-drop configuration. Each interface module has been configured after Remote mode has been selected. The half-duplex master address of the PLC-5 controller has been set to 010 (octal).
  • Page 34 Communicate with the Interface Module The group number is used by the interface module to create a half-duplex DF1 address for each node on the DH-485 network. The DF1 addresses are the octal equivalent of an eight bit binary word with the three most significant bits corresponding to the group number and the five least significant bits corresponding to the local network address.
  • Page 35 For example, if the RSLinx terminal in the illustration below is DF1 node 3, the interface module’s Master Station Address must be configured as node 3. Slave-to-slave Communication DF1 Slave Interface Module (1747-KE) Link Coupler (1747-AIC) PLC-5 processor (DF1 Master)
  • Page 36: Dh-485 Token Passing Devices

    (such as an SLC 5/02 processor) and with DH-485 token passing slave devices (such as an SLC 5/01 processor). The module communicates with other master stations using the Allen-Bradley programmable controller command set. For details, refer to the DF1 Protocol and Command Set Reference Manual, publication 1770-RM516.
  • Page 37: Dh-485 Non-Token Passing Devices

    Communicate with the Interface Module 3-11 DH-485 Non-Token Passing Devices The DH-485 network also supports non-token passing slave devices. The module communicates with these slaves using a special PLC command (CMD) byte. Application programs communicate with non-token passing slaves via Send and Receive Data (SRD) messages on DH-485.
  • Page 38 3-12 Communicate with the Interface Module For successful modem communication be sure that: • RSLinx software and the interface module agree on communication rate and error checking. • both modems have the echo disabled. • both modems have Carrier Detect set to normal (unforced). •...
  • Page 39: European Union Directives Compliance

    • Module installation • Cable connection • LC chassis, DF1 driver, and module configuration Do not install or remove the 1747-KE module from ATTENTION the SLC chassis until all power dissipates from the SLC 500 power supply (approximately 10 seconds).
  • Page 40: Choose The Module's Functionality

    Installation and System Configuration Choose the Module’s Your series B interface module has the ability to function as a series A interface module. This feature may be important to you if you are Functionality replacing a series A module with a series B module. Refer to page 4-2 for more information.
  • Page 41 Installation and System Configuration module configuration ID equivalent to the module configuration ID of the series A module you are replacing (4209). As you work through the remainder of this manual, follow the instructions for series A functionality (horizontal placement of the JW4 jumper).
  • Page 42: Set The Module's Mode

    Installation and System Configuration Set the Module’s Mode Setting the module’s mode depends on which method you want to use to configure the module. You can configure the module using: • an ASCII terminal. • backplane communications. You can only use backplane communications if you IMPORTANT selected series B functionality for the module.
  • Page 43: Verify Config Port Configuration

    Installation and System Configuration Verify CONFIG Port Jumper JW1, located at the top of the module, selects the following electrical interface for the CONFIG port. Configuration • RS-423/232 (default) • RS-422 • RS-485 CONFIG Port Configuration 2 4 6 8 10 RS-423/232 1 3 5 7 9 RS-422...
  • Page 44: Verify Df1 Port Configuration

    Installation and System Configuration Verify DF1 Port Jumper JW2 selects the following electrical interface for the DF1 port. Configuration • RS-423/232 (default) • RS-422 • RS-485 DF1 Port Configuration RS-423/232 RS-485 JW2 DF1 Port RS-422 All other jumper settings are illegal and may cause ATTENTION damage to the module.
  • Page 45: Install Your Module In An Open Slot

    I/O or specialty module. Open Slot Make sure you have JW1, JW2, and JW4 configured. IMPORTANT Do not install or remove the 1747-KE module from ATTENTION the SLC 500 chassis until all power dissipates from the SLC 500 power supply (approximately 10 seconds).
  • Page 46: Connect Cable To Config Or Df1 Ports

    Installation and System Configuration Connect Cable to CONFIG or The CONFIG and DF1 ports communicate to user devices through RS-423/232, RS-422, and RS-485 Communication modes. DF1 Ports The Communication mode is selected by setting jumpers JW1 and JW2 as described on pages 4-5 and 4-6. The following table and cable drawings assume the IMPORTANT peripheral devices have conventional pin...
  • Page 47 Installation and System Configuration These illustrations show wiring diagrams for the RS-423/232, RS-422, and RS-485 communications. RS-423/232 DTE to DCE (Non-modem Hardware Handshake to DCE) Interface Module Peripheral 9-pin 25-pin RS-423/232 DTE to DCE (Modem Hardware Handshake to DCE) Interface Module Peripheral 9-pin 25-pin AB Parts...
  • Page 48 4-10 Installation and System Configuration RS-423/232 DTE to DCE (No Handshake to DCE) Interface Module Peripheral 9-pin 25-pin Connect DSR to DTR and CTS to RTS when using devices that cannot disable their hardware handshaking. RS-423/232 DTE to DTE (Soft or No Handshake to DTE Interface Module Peripheral 9-pin 25-pin...
  • Page 49: Connect Cable To The Dh-485 Port

    Power for the link coupler will come from the interface module. Refer to page A-1 for more information. Connect to the DH-485 Port via the 1747-C11 Cable Interface Module (1747-KE) Link Coupler (1747-AIC) CONFIG Port DF1 Port J1 (CPU)
  • Page 50 4-12 Installation and System Configuration Connect to the DH-485 Port via the 1747-C11 Cable Interface Module (1747-KE) Link Coupler (1747-AIC) CONFIG Port J2 (Peripheral) Cable (1747-C11) DF1 Port J1 (CPU) DH-485 Port Cable (1747-C11) Power is supplied to link coupler through the DH-485 port on the SLC 500 processor.
  • Page 51: Configure Your Slc Chassis

    Installation and System Configuration 4-13 Configure Your SLC Chassis The slot containing the interface module must be assigned within the SLC program. Using RSLogix 500 software, you can either manually insert the KE module into the chassis configuration in I/O Configuration or select Read I/O Config to read the current I/O configuration out of the processor and insert the module automatically.
  • Page 52: Configure The Df1 Driver Within Rslinx Software

    To configure the DF1 driver within RSLinx software: within RSLinx Software 1. Open RSLinx Classic. 2. Select Configure Drivers. 3. Click Add New. 4. Click Auto-Configure. If RSLinx software successfully communicates with the 1747-KE module, the following dialog appears. Publication 1747-UM005B-EN-P - March 2006...
  • Page 53: Configure Your Module

    Complete the Installation of Once your interface module has been configured, complete the module’s installation. Your Module Do not install or remove the 1747-KE module from ATTENTION the SLC 500 chassis until all power dissipates from the SLC 500 power supply (approximately 10 seconds).
  • Page 54 4-16 Installation and System Configuration c. Re-insert the module into the chassis. Make sure you have JW4 positioned for the Run IMPORTANT mode that corresponds to the functionality you’ve chosen for your module. 2. Connect the DF1 cable to the DF1 port. 3.
  • Page 55 Chapter Module Configuration Using an ASCII Terminal This chapter guides you through the configuration of your interface module using an ASCII terminal. If you prefer to configure your module using backplane communication, proceed to Chapter 6. Once you complete the configuration, return to page 4-15 for instructions on completing the installation of your module.
  • Page 56: Ascii Terminal Configuration

    The ASCII terminal can be any industrial terminal, workstation, or personal computer with terminal mode software that communicates in alphanumeric mode. Allen-Bradley has a development software package (catalog number 1747-PBASE) for the SLC 500 BASIC module that is capable of ASCII terminal emulation on an IBM compatible computer.
  • Page 57: Module Configuration With A Terminal Overview

    Module Configuration Using an ASCII Terminal Module Configuration with Configuration of the module with an ASCII terminal requires: a Terminal Overview • an ASCII terminal connected to the CONFIG port. • jumper JW4 to be in the configuration position. See page 4-4 for more information. •...
  • Page 58: Top Level Setup Menu

    Module Configuration Using an ASCII Terminal Top Level Setup Menu The Top Level Setup Menu provides six selections. Top Level Setup Menu 1747 KE Module, FRN # Top Level Setup Menu. 1. CONFIG PORT 2. DF1 PORT 3. DH 485 PORT 4.
  • Page 59: Config Port Menu

    Module Configuration Using an ASCII Terminal When you enter a valid value the prompt line disappears, indicating that your change has been saved. You now have the option to select another parameter. 3. Once you finish changing parameters, press [X] to return to the Top Level Setup Menu.
  • Page 60: Df1 Port Menu

    Module Configuration Using an ASCII Terminal DF1 Port Menu The DF1 PORT Setup Menu provides five selections. DF1 PORT Setup Menu DF1 POR T Setup Menu 1. Baudrate 2. Bits per character 3. Parity 4. Stop bits X. SAVE AND EXIT Enter Selection.
  • Page 61: Dh-485 Port Menu

    Module Configuration Using an ASCII Terminal DH-485 Port Menu The DH-485 PORT Setup Menu provides six selections. DH-485 Port Menu DF1 PORT Setup Menu 1. Baudrate 2. Bits per character 3. Parity 4. Stop bits X. SAVE AND EXIT Enter Selection..DH-485 Port Setup Parameters When the module is powered up for the first time, the DH-485 port will be set to the default parameters.
  • Page 62: Df1 Protocol Menu

    Module Configuration Using an ASCII Terminal DF1 Protocol Menu When you press [4] to select the DF1 Protocol Menu, you are first prompted at the bottom of the Top Level Setup Menu to select [H] or [F] for half- or full-duplex. Choose [F] for full-duplex when using RSLinx IMPORTANT software.
  • Page 63: Df1 Full-Duplex Setup Parameters

    Module Configuration Using an ASCII Terminal DF1 Full-duplex Setup Parameters When the module is powered up for the first time, the DF1 protocol will be set to the default parameters. If these parameters are changed and the setup is saved, then the module will always power up with the new settings, unless the battery fails and power to the module’s RAM is lost.
  • Page 64: Df1 Half-Duplex Setup Menu

    5-10 Module Configuration Using an ASCII Terminal DF1 Half-duplex Setup Menu When you press [4] on the Top Level Setup Menu, you are prompted at the bottom of the menu to select [H] or [F] for half- or full-duplex. Enter [H] to display the Half–Duplex Setup Menu. Choose [F] for full-duplex when using RSLinx IMPORTANT software.
  • Page 65 Module Configuration Using an ASCII Terminal 5-11 DF1 Half-duplex Setup Parameters Parameter Default Options Description Duplicate Packet Disabled Enabled, Disabled Determines whether duplicate message detection is Disabled Detection or Enabled. When enabled, duplicate messages will be acknowledged and discarded. Checksum BCC, CRC16 Determines the type of error detection that will be used on the DF1 link.
  • Page 66: Display Parameters Menu

    5-12 Module Configuration Using an ASCII Terminal Display Parameters Menu When you press [5] from the Top Level Setup Menu, you see a screen displaying all of the parameter settings of the CONFIG, DF1, and DH-485 ports. There are two Setup Summary screens, one for full-duplex and one for half-duplex.
  • Page 67: Chapter 6 Overview

    Chapter Module Configuration Using the Backplane Configuration through the backplane is an alternate IMPORTANT configuration method than that presented in Chapter 5. If you prefer to configure your module using an ASCII terminal, or have already done so, you do not need to go through this chapter.
  • Page 68: Configure The Interface Module From The Slc Processor

    Module Configuration Using the Backplane There are six valid Data ID values, one for each of the configuration packets you create to configure your interface module. Valid Data ID Values Data ID value Lets you build a configuration packet for Calendar/Clock Function DF1 Set Up Parameters DH-485 Set Up Parameters...
  • Page 69 Module Configuration Using the Backplane Configure the Module From the SLC Processor With the SLC processor you The interface module then 1. Place the module into software Configuration mode, if it is not already. Do this setting the Module Mode Bit (O:e.0/15). 2.
  • Page 70: Place The Module Into Software Run Mode From

    Module Configuration Using the Backplane Place the Module into When configuration is complete, place the module in software Run mode by following these steps. Software Run Mode from SLC Processor Place the Module in Run Mode With the SLC processor you The interface module then 1.
  • Page 71: Read The Module's Configuration From The Slc Processor

    Module Configuration Using the Backplane Read the Module’s The interface module’s current configuration can be read back to the SLC processor using the Input and Output Image files. Configuration from the SLC Processor The interface module can be in software Run or IMPORTANT software Configuration mode during the read operation.
  • Page 72: Examine The Slc Processor's Status Word

    Module Configuration Using the Backplane Examine the SLC SLC Output Status Word to the Interface Module Processor’s Status Word The output status word reserved for implementing backplane configuration and for resetting the interface module is shown below. Those status bits not defined here are reserved for future use. SLC Output Status Word Status Bits Data Handshake Bit 0 = Data in the output image may not be...
  • Page 73: Status Codes From The Module To The Processor

    Module Configuration Using the Backplane Status Codes from the Module to the Processor The module informs the SLC processor on the status of the configure or read transaction by placing a status value in the Input Image file word 0, bits 4 to 10. A value of 00 indicates that the status is okay. Status Codes from the Module to the SLC Processor Value Value...
  • Page 74: Build The Df1 Configuration Packet

    Module Configuration Using the Backplane Build the DF1 Configuration Use the SLC processor to set up the DF1 port. Packet Build the configuration packet shown by following the configuration instructions found on page 6-2. SLC Output File to the Interface Module Word Module Data...
  • Page 75: Df1 Port Setup Parameters

    Module Configuration Using the Backplane DF1 Port Setup Parameters When the module is powered up for the first time, the DF1 port will be set to the default parameters shown in the table below. If these parameters are changed and the setup is saved (by changing to software Run mode), then the module will always power up with the new settings, unless the battery fails and power to the module’s RAM is lost.
  • Page 76: Df1 Full-Duplex Setup Parameters

    6-10 Module Configuration Using the Backplane DF1 Full-duplex Setup Parameters Upon initial power up, the module defaults to full–duplex and the parameters shown in the table below. If these parameters are changed and the setup is saved (by changing to software Run mode), then the module will always power up with the new settings, unless the battery fails and power to the module’s RAM is lost.
  • Page 77: Df1 Half-Duplex Setup Parameters

    Module Configuration Using the Backplane 6-11 DF1 Half-duplex Setup Parameters If you set Word 1, bit 11 to half-duplex (0), the default parameters are those shown in the table on the following page. If these parameters are changed and the setup is saved (by changing to software Run mode), then the module will always power up with the new settings, unless the battery fails and power to the module’s RAM is lost.
  • Page 78: Dh-485 Port Setup Parameters

    6-12 Module Configuration Using the Backplane Parameter Default Options Description Local/Remote Mode Local Local, Remote Refer to pages 3-3 and 3-4 for a description of these half– duplex modes. Slave Address/ Slave Add. = 0...254 Slave address is a half-duplex local mode parameter and is Group Number Group No.
  • Page 79: Build The Modem Init String Configuration Packets

    Module Configuration Using the Backplane 6-13 DH-485 Port Setup Parameters Parameter Default Options Description Node Address 0...31 (decimal) The address of this node on the DH-485 network. Every device on the DH-485 network must be given a unique node address. For optimum performance, set devices to consecutive addresses starting at 0.
  • Page 80: Modem Init String For Characters 1 Through 14

    6-14 Module Configuration Using the Backplane Modem Init String for Characters 1 Through 14 To set up string characters 1 to 14, build the configuration in the table shown below. Please note that sending a ~ character produces a one second wait on the modem.
  • Page 81: Modem Init String For Characters 15 Through 28

    Module Configuration Using the Backplane 6-15 Modem Init String for Characters 15 Through 28 Build the configuration in the table shown below if you need to use characters 15 to 28 of the Modem Init String. Please note that sending a ~ character produces a one second wait on the modem.
  • Page 82: Use The Real Time Clock

    6-16 Module Configuration Using the Backplane Use the Real Time Clock You can use the interface module as a Real Time Clock in conjunction with normal module operation. Set up the Calendar/Clock Function by using the configuration instructions found on page 6-2 and the configuration packet information shown below.
  • Page 83: Establish A Data Echo Between The Interface Module And The Slc Processor

    Module Configuration Using the Backplane 6-17 Establish a Data Echo Whether in software Run or software Configuration mode, the SLC processor can send data in the Output Image file to the interface Between the Interface module and have it echoed back by the module’s Input Image file. Module and the SLC This feature gives the SLC processor the ability to verify that the module is operating properly.
  • Page 84: Reset The Interface Module From The Slc Processor

    6-18 Module Configuration Using the Backplane Reset the Interface Module The SLC processor can perform a soft reset of the interface module when the module is in either software Run or software Configuration from the SLC Processor mode. If the Reset bit is set, all other configuration information within that Output Image file will be ignored by the interface module.
  • Page 85: Interpret The Led Indicators

    Chapter Interpret the LED Indicators This chapter contains the following information. • Interface module status indicators • Input image description • SLC fault code Interface Module Status For a full description of the eight LED indicators on the front of the module, see page 1-3.
  • Page 86: Input Image Description

    Check DF1 cabling. Make sure the LED indicator is not flashing. module’s JW4 jumper is not in Configuration mode. FAULT A system problem was detected Contact your Allen-Bradley during background diagnostics. representative. BA LOW Red The voltage of the battery that Replace battery.
  • Page 87: Status Codes From The Module To The Processor

    Interpret the LED Indicators Status Codes from the The module informs the SLC processor on the status of the configure or read transaction by placing a status value in the Input Image file Module to the Processor word 0, bits 4 to 10. A value of 00 indicates that the status is okay. Status Codes from the Module to the SLC Processor Value Value...
  • Page 88 Interpret the LED Indicators Publication 1747-UM005B-EN-P - March 2006...
  • Page 89: Application Examples

    Chapter Application Examples This chapter contains the following application examples. • Basic configuration example using the backplane • Supplementary examples using the backplane • RSLinx software to SLC network via modem example Basic Configuration This example demonstrates configuration of the interface module using the backplane.
  • Page 90: Parameter Settings

    Application Examples Parameter Settings For this example, configure the parameters to the settings provided below. DF1 Configuration (N10:11...17) Parameter Configuration Word and Bits Used Communication Rate 1200 N10:11/0...2 Bits Per Character N10:11/3 Parity None N10:11/4...5 Stop Bits N10:11/6 Duplicate Packet Detection Disabled N10:11/7 Checksum...
  • Page 91: Configuration Results

    Application Examples Configuration Results Configuration occurs upon power up or when entering Run mode. The configuration is successful only if data file N10:0=4. If your configuration is unsuccessful, check the table below for the failed configuration block. Failed Configuration Block If N10:0= Then failure occurred in the DF1 port...
  • Page 92: Backplane Configuration User Program

    Application Examples Backplane Configuration User Program The following steps summarize the user program. 1. N10:0 is initialized. 2. The DF1 port config block is copied to the interface module. 3. The results of the DF1 config are checked. 4. The DH-485 port config block is copied to the interface module. 5.
  • Page 93 Application Examples N10:0 is initialized here. N10:0 points to the Config block that is being transferred. Clear pointer. Rung MOVE Source Dest N10:0 Put interface module in Config Mode. Reset Handshake bit. This rung copies a new DF1 Config block to the interface module. Config handshake Config handshake Copy DF1 Config...
  • Page 94 Application Examples This rung copies a new DH±485 Config block to the interface module. Config handshake Config handshake Copy DH±485 Config bit to the module. ACK bit from the module. to the module. Rung EQUAL COPY FILE Source A N10:0 Source #N10:20 Dest...
  • Page 95 Application Examples This rung checks the Modem Init String (15±28) from the interface module. Config handshake Config handshake Copy Config from bit to the module. ACK bit from the module. the module. Rung EQUAL COPY FILE Source A N10:0 Source #I:1.0 Dest #N11:30...
  • Page 96: Configuration Data Table

    Application Examples This rung checks the Modem Init String (15±28) from the interface module. Config handshake Config handshake Copy Config to bit to the module. ACK bit from the module. the module. Rung EQUAL COPY FILE Source A N10:0 Source #I:1.0 Dest #N11:40...
  • Page 97: Supplementary Example Using The Backplane

    Application Examples Supplementary Example These supplementary examples demonstrate how to use the backplane to operate the interface module’s Real Time Clock and Data Using the Backplane Echo features. Before you begin these applications, be sure that the IMPORTANT JW4 jumper is in vertical Run mode (module configuration ID=3509).
  • Page 98 8-10 Application Examples This rung initializes the module. Copy the RTC data. Rung COPY FILE [OSR] Source #N10:0 Dest #O:1.0 Length Put Interface Module in Config mode. Turn ON the handshake bit. This rung gets the calendar/clock data from the module. Handshake Handshake bit from...
  • Page 99: Data Echo Feature

    Application Examples 8-11 Configuration Data Table Shown below is the configuration information for N10 in Decimal radix. Configuration Data Table Address 0 N10:0 N10:10 N10:20 Data Echo Feature The Data Echo feature gives the SLC processor the ability to verify that the interface module is operating properly.
  • Page 100 8-12 Application Examples This rung provides a 40 second base timer. Data echo timer. (EN) Rung TIMER ON DELAY (DN) Timer T4:0 Time Base 0.01 Preset 4000 Accum This rung provides a 5 second timer. Start the response timeout. Response timer. T4:0 (EN) Rung...
  • Page 101 Application Examples 8-13 This rung checks that proper data was echoed from the module, or that 5 seconds passed without interface module response. Handshake Handshake Get data from the bit to bit from interface module. module. module. O:1.0 I:1.0 Rung COPY Source #I:1.0...
  • Page 102: Rslogix Software To Slc Network Via Modem Example

    Example you through the steps necessary to set up the following system. RSLogix Software to SLC Network Interface Module (1747-KE) DF1 Protocol 1747-C13 cable Modem Modem To connect RSLogix software to a SLC 500 network, the serial...
  • Page 103: Configure The Module's Serial Port

    Application Examples 8-15 Configure the Module’s Serial Port The steps below describe how to configure the interface module’s serial port using an ASCII terminal. However, you may use an alternate configuration method if you choose (for example, ASCII terminal emulation software or backplane communication).
  • Page 104: Later

    Configure the DF1 Modem Driver Using RSLinx 2.x or Later The DF1 driver makes the communication connection between the PC (sending modem) and the 1747-KE module (receiving modem). Once configured, this driver can be called by the programming software used to program the SLC processor.
  • Page 105 Application Examples 8-17 The driver configuration screen appears. From the driver configuration window, you will need to add a new RS-232 DF1 driver or modify an existing RS-232 DF1 driver so it can be configured for modem communication. Modify an Existing Driver If an RS-232 DF1 driver is already configured, double-click on the driver in the Configured Drivers window.
  • Page 106 8-18 Application Examples Configure the driver for KE Communication through a Modem Set all the parameters to match the configuration. The station number is the DH-485 node address of the KE Module and should have a unique number. Once are the parameters are set: 1.
  • Page 107 Application Examples 8-19 Modem Dialer Configuration Dialog The Modem Dialer configuration window serves two purposes; one as a phone book and the other as an operator. The window associates a name with the phone number and stores it for later use. The window also will dial the number and send out the proper modem initialization strings required to establish modem connection.
  • Page 108 8-20 Application Examples 5. Tab to the Phone Number field and enter the phone number of the remote network modem. 6. Click OK. 7. To adjust the modem port parameters, click the following icon. 8. To adjust the modem dialing parameters, click the following icon.
  • Page 109 Also, the network modem must be connected to a working Allen-Bradley network. Once the proper connections are verified, the AB_DF1-1 driver can be tested. AB Parts...
  • Page 110 Dialer dialog. When the connection is properly established, the status will be connected to the 1747-KE module. 11. Click OK to exit the dialer and maintain a connection to the network device.
  • Page 111 Application Examples 8-23 13. Click Close to exit the Configure Drivers dialog. 14. Click on Communications>RSWho If everything was completed properly, you should be remotely monitoring the DH-485 network and all existing devices on the network. AB Parts Publication 1747-UM005B-EN-P - March 2006...
  • Page 112 8-24 Application Examples The following is an example network configuration. Publication 1747-UM005B-EN-P - March 2006...
  • Page 113: Go Online Using Rslogix 500 Software And Rslinx

    Go Online using RSLogix 500 Software and RSLinx Version 2.x and Later The DF1 driver makes the communication connection between the PC (sending modem) and the 1747-KE module (receiving modem). Once configured, this driver can be called by the programming software used to program the SLC processor.
  • Page 114 8-26 Application Examples 3. Select the driver of the PLC controller. Make sure the driver currently selected is AB_DF1-1. If another driver is in the driver window, click on the combo box down arrow and select the AB_DF1-1 driver. 4. Select the node address of the PLC controller. If the node address is known then enter the value directly into the Processor Node dialog.
  • Page 115 Application Examples 8-27 The program returns to the System Options dialog and the Processor Node dialog is populated with the node address selected in the NetworkWho. 6. Click the Online button. If everything occurred correctly, you will have a remote connection with the processor.
  • Page 116 8-28 Application Examples Publication 1747-UM005B-EN-P - March 2006...
  • Page 117: Specifications

    (0.085 A @ 24V dc) through the module. Add this to the current listed for the link coupler requirements. If a 1747-AIC link coupler is connected to the 1747-KE module with a 1747-C13 cable, then the power for the link coupler comes from either an SLC 500 controller or an external power supply.
  • Page 118: Certification

    Specifications The 1747-KE module requires both 5V dc and 24V dc IMPORTANT power from the SLC backplane. The power consumption of the module must be taken into consideration when planning your SLC 500 system. Refer to the documentation supplied with your SLC...
  • Page 119: Maximum Communication Distances

    Specifications Maximum Communication Distances Maximum Communication Distances Communication Max. Distance Allowed in m (ft) Rate (Kbps) RS-232 RS-423 RS-422 RS-485 15 (50) 1230 (4000) 1230 (4000) 1230 (4000) 15 (50) 920 (3000) 1230 (4000) 1230 (4000) 1200 15 (50) 770 (2500) 1230 (4000) 1230 (4000) 2400...
  • Page 120 Specifications Publication 1747-UM005B-EN-P - March 2006...
  • Page 121: Appendix B Overview

    CIF file is already open by another device. These types of read and write commands are somewhat universal in that they are implemented in many other Allen-Bradley Programmable Controllers. Although the format of the Unprotected Reads and...
  • Page 122: Plc-5 Message Instruction

    PLC-5 to SLC 500 Communications File 9 must be created and defined at the time that IMPORTANT the SLC processor is programmed. File 9 must also be made large enough to include the unprotected read and write addressing space. Otherwise, all unprotected reads and unprotected writes will be rejected by the SLC processor.
  • Page 123: Use The Plc-5 Message Instruction With Word

    PLC-5 processor and the SLC 5/02 processor, such as a 1784-KA5 linking a DH+ and the DH-485 network. The 1747-KE module can be used as a bridge between the DF1 and DH-485 network.
  • Page 124: Use The Plc-5 Message Instruction With Byte

    PLC-5 processor and the SLC 5/02 processor, such as a 1784-KA5 linking a DH+ and the DH-485 network. The 1747-KE module can be used as a bridge between the DF1 and DH-485 network.
  • Page 125: Appendix C Battery Replacement

    Appendix Lithium Battery Replacement, Handling, and Disposal This appendix contains important information you should know when using lithium batteries. Battery Replacement Your module provides back-up power for RAM through a replaceable lithium battery (catalog number 1747-BA). This battery provides back-up for approximately five years. A BAT LOW indicator on the front of the module alerts you when the battery voltage has fallen below the replace battery threshold level.
  • Page 126 Lithium Battery Replacement, Handling, and Disposal Battery Location Red Wire White Wire Battery 3. Unplug the battery connector. The module has a capacitor that provides 30 minutes IMPORTANT of battery back-up while the battery is disconnected. Data in RAM is not lost if the battery is replaced within 30 minutes.
  • Page 127: Battery Handling

    Lithium Battery Replacement, Handling, and Disposal Battery Handling The procedures listed below must be followed to be sure of proper battery operation and reduce personnel hazards. • Use battery only for intended operation • Do not ship or dispose of cells except according to recommended procedures •...
  • Page 128 Lithium Battery Replacement, Handling, and Disposal Three or More Batteries Procedures for the transportation of three or more batteries shipped together within the United States are specified by the Department of Transportation (DOT) in the Code of Federal Regulations, CRF49, “Transportation”.
  • Page 129: Battery Disposal

    Lithium Battery Replacement, Handling, and Disposal Battery Disposal The following procedures must be followed when disposing of lithium batteries. Do not incinerate or dispose of lithium batteries in ATTENTION general trash collection. Explosion or violent rupture is possible. Batteries should be collected for disposal in a manner to prevent against short circuiting, compacting, or destruction of case integrity and hermetic seal.
  • Page 130 Lithium Battery Replacement, Handling, and Disposal Publication 1747-UM005B-EN-P - March 2006...
  • Page 131 Appendix Interface Module Configuration Worksheets This appendix contains worksheets to help you configure the interface module. You will find worksheets on: • DF1 Full-duplex. • DF1 Half-duplex. AB Parts Publication 1747-UM005B-EN-P - March 2006...
  • Page 132: Df1 Full-Duplex

    Interface Module Configuration Worksheets DF1 Full-duplex Name:_______________________________ Date:____________ DH485 Port Parameter Options Your Configuration Node Address 0...31 (decimal) Max. Node Address 1...31 (decimal) Message Timeout 100...12,750 ms Pass Through Disabled, Enabled Communication Rate 300, 600, 1200, 2400, 4800, 9600, 19200 DF1 Port Parameter Options...
  • Page 133: Df1 Half-Duplex

    Interface Module Configuration Worksheets DF1 Half-duplex Name:________________________________ Date:____________ DH485 Port Parameter Options Your Configuration Node Address 0...31 (decimal) Max. Node Address 1...31 (decimal) Message Timeout 100...5000 ms Pass Through Disabled, Enabled Communication Rate 300, 600, 1200, 2400, 4800, 9600, 19200 DF1 Port Parameter Options...
  • Page 134 Interface Module Configuration Worksheets Publication 1747-UM005B-EN-P - March 2006...
  • Page 135: Index

    Index 3-11 Numerics use a modem communication rate 1746-N2 CONFIG port 4-16 card slot filler DF1 port 5-6, 6-9, 8-2, D-2, D-3 1747-AIC link coupler 5-7, 6-13, 8-2, D-2, DH-485 port 4-11 1747-C11 cable 1-2, 4-11 1747-C13 cable CONFIG port 1770-KF2 parameter options setup...
  • Page 136 Index diagnostics 1-3, 7-2 use LED indicators 5-9, 5-11, initialization string, modem 5-12 display parameters menu 6-10, 6-11, D-2, D-3 input 6-6, 7-2 image 6-6, 7-2 status word equipment needed installation error handling 4-15 final steps European directives compliance quick start procedures examples supplementary 8-11...
  • Page 137 Index module definition 4-5, 4-6 1-4, 4-2 selection configuration ID RS-423 functionality multidrop network definition 4-5, 4-6 selection RS-485 definition node 4-5, 4-6 selection addressing 1-4, 4-4, 4-15 Run mode 3-11 non-token passing devices series A functionality output status word series B functionality overview of module setup summary...
  • Page 139 Please contact your local Rockwell Automation representative for States return procedure. SLC, SLC 500, RSLogix 500, PLC-2, PLC-5, Data Highway Plus, DTAM, Allen-Bradley, and Rockwell Automation are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies.

Table of Contents