Home
1747-UM005-EN-P, DH-485/RS-232C Interface Module User Manual
Contents
1. i Interface Module Stine a Link Coupler ul MATERIE SS Fass SPRRPEFERREE LT 0000000 u Modem E B Modem D m Link Coupler _ AG 1747 AlC Link Coupler _ 1747 AlC This illustration shows a connection to a remote DH 485 network of up to 31 SLC nodes Half duplex DF1 Protocol The module provides two modes of half duplex addressing local and remote Local mode is provided for compatibility with earlier DF1 products such as the Data Highway Data Highway Plus Asynchronous Interface Module catalog number 1770 KF2 and when only one interface module is used in the system Communicate with the Interface Module 3 3 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 Local Mode Local mode requires an intelligent master device capable of specifying both a station address and a destination address Because the interface module acts as a slave on a half duplex network the half duplex ma
2. Chapter 2 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 Because it is a start up guide this chapter does not contain detailed explanations about the procedures listed It does however reference other chapters in this book where you can get more information about applying the procedures described in each step If you have any questions or are unfamiliar with the terms used or concepts presented in the procedural steps always read the referenced chapters and other recommended documentation before trying to apply the information This chapter e tells you what tools and equipment you need e lists preliminary considerations e explains how to install the module e describes when to configure the module e discusses system start up procedures Required Tools and Have the following tools and equipment ready Equipment e Medium blade screwdriver e Programming equipment RSLogix 500 software Publication 1747 UM005B EN P March 2006 2 2 Quick Start Procedures Publication 1747 UMO005B EN P March 2006 Unpack the Module Remove the items from the packa
3. Run T 4 B3 MOV a IE OSR MOVE 2 2 11 0 Source S 4 0 Dest N10 1 123 Copy test echo data to interface module COP COPY Source N10 0 Dest 0 1 0 Length 8 Turn OFF interface Reset bit 0 1 0 U 12 Turn ON handshake bit to interface module 0 1 0 L 14 Publication 1747 UM005B EN P March 2006 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 bit to bit from Get data from the module module interface module 0 1 0 I 1 0 COP I 1 E COPY 14 14 Source I 1 0 Dest N10 10 Handshake No response Set 5 secs Length 8 bit to the from after data interface interface echo Reset 40 second base module module timer 0 1 0 I 1 0 S 4 T4 0 It 1 L It RES 14 14 7 Turn OFF handshake bit to interface module lt END gt Configuration Data Table Shown below is the configuration information for N10 in Decimal radix Configuration Data Table 0 1 0 U 14 Check the first Turn ON interface word echoed Reset bit NEQ 0 1 0 NOT EQUAL L Source A N10 11 12 0 Source B N10 1 123 Check the last word echoed NEQ NOT EQUAL Source A N10 17 0 Source B N10 7 654 Address 0 1 2 3 4 5 6 7 8 9 N10 0 6 XXX 456 789 3
4. 0 Modem carrier detected Modem carrier inactive no modem connected echoed from Output Image 1 Applies to series B or later interface modules only Interpret the LED Indicators 7 3 Status Codes from the Module to the Processor SLC Fault Code 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 Indicates improper status for hex dec 01 01 Day 02 02 Month 03 03 Year 04 04 Day of the Week 05 05 Hour 06 06 Minute 07 07 Second 08 08 Data ID 09 09 Not Used DA 10 Not Used 0B 11 DF1 Eng Msg Retry 0C 12 Modem Init String Delay OD 13 Master Station NAK Rec Retry OE 14 Slave Address Group Number OF 15 Not Used 10 16 DF1 Message Timeout 11 17 Not Used 12 18 RTS Off Delay 13 19 DH 485 Node Address 14 20 DH 485 Max Node Address 15 21 DH 485 Communication Rate 16 22 DH 485 Message Tlmeout 17 23 Modem Init String character 18 24 A write operation is attempted but the configuration bit is not set still in software Run mode If a fault has occurred in the SLC system and the SLC fault code indicates the slot the interface module is installed in the fault might be assoc
5. H RSLogix 500 Modem_ke ss ioi x File Edit View Search Comms Tools Window Help qea a ele Self A e re al REMOTEPAOG S NoFoces _ e E ejeje No Eats MYE Forces Disabled gt N ser Cat X TimerKourter X mpaOupa A Co Driver AB_DF1 1 Node 1d a Modem_ke rss 42 Project H E Help 5 Controller i Controller Properties T Processor Status all 10 Configuration He Channel Configuration E Multipoint Monitor Program Files SYSO For Help press F1 XREF 20000 APP READ 4 Publication 1747 UMO005B EN P March 2006 8 28 Application Examples Publication 1747 UMO005B EN P March 2006 Hardware Specifications Specifications Appendix A This appendix contains information regarding hardware specifications for the DH 485 RS 232C Interface Module The module hardware specifications are listed in the following tables Hardware Specifications Attribute Value Power Supply Loading at 0 150 A module only aV de 0 150 A module with link coupler Power Supply Loading at 0 070 A module only 2 8 24V de a 0 125 A module with link coupler Noise Immunity NEMA Standard ICS 2 230 Vibration Displacement 0 015 in peak to peak at 5 57 Hz Acceleration 2 5 g at 57 2000 Hz Shock operating 30g Port Isolation CONFIG Port 300V ac DF1 Port s00V ac 500V ac CONFIG and DF1 Port Ambient
6. 1 7 Half duplex Local Mode ua an eat 1 8 Half duplex Remote Mode 2 2222er 1 9 Half duplex Slave to slave Communication 1 10 Chapter 2 Required Tools and Equipment 004 2 1 Proeed res an ai 2 2 Unpack the Module oa ue eet gern 2 2 Install the Module 2 43 42 42 2828 2 20a 2 2 Configure the Module so i ota 2 wurde 2 3 Start up the Module aa aie Du ah a 2 3 Chapter 3 DF1 Communication aaas aaae 3 1 Full duplex DER Protocol n a 0p Ps Ca kate ESS 3 1 Half duplex DF1 Protocol a2 oo Sw oles Bee 3 2 Communicate with DH 485 Devices 0 3 10 DH 485 Token Passing Devices 05 3 10 DH 485 Non Token Passing Devices 3 11 Communicate with a Moden rare 3 11 Chapter 4 European Union Directives Compliance 4 1 EMG Direetiverns marama os dead acd wilt gt dnd as 4 1 Choose the Module s Functionality 4 2 Publication 1747 UM005B EN P March 2006 ii Table of Contents Module Configuration Using an ASCII Terminal Module Configuration Using the Backplane Publication 1747 UM005B EN P March 2006 Add an Interface Module to Your System Replace a Series A Interface Module in Your System Set the Module Mode 3 4 sera Configure with an ASCII Terminal Configure Through the Backplane Verify CONFIG Port Configuration Verify DF1 Port Configuration
7. Configure Drivers Aue N Configure Client Applications Workstation C Configure CIP Options aa Link Gate Configure Gateway Hee AB_DFI 1 Driver Diagnostics CIP Diagnostics Gateway Diagnostics CAP NUM 09722798 30 AM Display station browser If everything was completed properly you should be remotely monitoring the DH 485 network and all existing devices on the network Publication 1747 UMO005B EN P March 2006 8 24 Application Examples The following is an example network configuration lt Q RSLinx Gateway RSWho 1 i loj xj Fie Edit view Communications Station DDE OPC Security Window Help amp S 8 k x VW Autobrowse jefresh i Browsing node 23 not found Workstation RAJEFORGUITES 5 01 02 u es Linx Gateways Ethernet Workstation JES503 1747 KE 00 Workstation RAJEF 01 SLC 5 03 JES503 02 Computer 1747 KE al l of For Help press F1 um 03 05 02 02 00PM 4 Publication 1747 UMO005B EN P March 2006 Application Examples 8 25 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 The steps below describe ho
8. Port Isolation Isolation Voltage CONFIG Backplane to Port 500V dc DF1 Backplane to Port 500V dc CONFIG and DF1 CONFIG to DF1 500V dc IMPORTANT The DH 485 Port is not isolated Specifications A 3 Maximum Communication Distances Maximum Communication Distances Communication Max Distance Allowed in m ft Rate Kbps RS 232 RS 423 RS 422 RS 485 600 15 50 920 3000 1230 4000 11230 4000 1200 15 50 770 2500 1230 4000 11230 4000 2400 15 50 502 1650 1230 4000 11230 4000 4800 15 50 245 800 1230 4000 11230 4000 9600 15 50 120 400 1230 4000 11230 4000 19200 15 50 60 200 1230 4000 11230 4000 IMPORTANT When communicating in RS 232 mode use the RS 423 jumper settings When communicating in RS 423 mode use RS 423 or compatible receivers Publication 1747 UMO005B EN P March 2006 A 4 Specifications Publication 1747 UM005B EN P March 2006 Overview Appendix B PLC 5 to SLC 500 Communications This appendix details how to use the PLC 5 Message instruction to access an SLC 500 processor This method uses PLC 2 Unprotected Reads and Unprotected Writes to access the Common Interface File CIF File 9 of an SLC processor PLC 2 Unprotected Reads and Writes are not really implemented as unprotected in the SLC processor They are subject to the SLC s file protection schemes For instance they will be rejected if a downl
9. Application Examples 8 5 N10 0 is initialized here N10 0 points to the Config block that is being transferred Clear pointer S 1 MOV Rung IE MOVE 2 0 15 Source 0 Dest N10 0 0 Rung 2 1 Rung 2 2 Config handshake bit to the module Config handshake This rung copies a new DF1 Config block to the interface module ACK bit from the module Put interface module in Config Mode 0 1 L 15 Reset Handshake bit 0 1 U 14 Copy DF1 Config to the module EQU 0 1 I 1 COP EQUAL 1 E 1 E COPY FILE Source A N10 0 14 14 Source N10 10 0 Dest 0 1 0 Source B 0 Length 8 Config handshake bit to the module O 1 L 14 This rung checks the results of the DF1 Config from the interface module Config handshake Config handshake Copy Config from bit to the module ACK bit from the module the module EQU 0 1 I 1 COP EQUAL IE IE COPY FILE Source A N10 0 14 14 Source I 1 0 0 Dest N11 10 Source B 0 Length 8 Config handshake bit to the module 0 1 U 14 Check status and point to next Config block MEQ ADD MASKED EQUAL ADD Source N11 10 Source A N10 0 0 0 Mask 07FO Source B 1 Compare 0 Dest N10 0 0 Publication 1747 UMO005B EN P March 2006 8 6 Application Examples This rung copies a new DH 485 Config block to th
10. your processor Series A Functionality If you do not want to alter the existing configuration in your user program in any way choose the series A functionality for your new module The horizontal placement of JW4 gives the series B module a Installation and System Configuration 4 3 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 me The increased functionality of the series B interface module for example the Real Time Clock backplane configuration and SLC processor reset of the interface module is not available with the series A functionality Series B Functionality The series B module functions identical to the series A module but has these additional features e Real Time Clock RTC e Backplane configuration e SLC processor reset of the interface module If you want to use the added features of the series B interface module follow the directions given for series B functionality vertical placement of the JW4 jumper as you work through the remainder of this manual Tria You will be required to change the module configuration ID assigned in your processor The vertical placement of the JW4 jumper gives your module a configuration ID that differs from the configuration ID of your series A int
11. Half duplex Remote Address Conversion Table DH 485 Half duplex DF1 Address octal Pe Group 00 Group 01 Group 02 Group 03 Group 04 Group 05 Group 06 Group 07 decimal 00 000 040 100 140 200 240 300 340 01 001 041 101 141 201 241 301 341 02 002 042 102 142 202 242 302 342 03 003 043 103 143 203 243 303 343 04 004 044 104 144 204 244 304 344 05 005 045 105 145 205 245 305 345 06 006 046 106 146 206 246 306 346 07 007 047 107 147 207 247 307 347 08 010 050 110 150 210 250 310 350 09 011 051 111 151 211 251 311 351 10 012 052 112 152 222 252 322 352 11 013 053 113 153 213 253 313 353 12 014 054 114 154 214 254 314 354 13 015 055 115 155 215 255 315 355 14 016 056 116 156 216 256 316 356 15 017 057 117 157 217 257 317 357 16 020 060 120 160 220 260 320 360 17 021 061 121 161 221 261 321 361 18 022 062 122 162 222 262 322 362 19 023 063 123 163 223 263 323 363 20 024 064 124 164 224 264 324 364 21 025 065 125 165 225 265 325 365 22 026 066 126 166 226 266 326 366 23 027 067 127 167 227 267 327 367 24 030 070 130 170 230 270 330 370 25 031 071 131 171 231 271 331 371 26 032 072 132 172 232 272 332 372 27 033 073 133 173 233 273 333 373 28 034 074 134 174 234 274 334 374 29 035 075 135 175 235 275 335 375 30 036 076 136 176 236 276 336 376 31 037 077 137 177 237 271 337 Illega Communicate with t
12. Parameter 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 DF1 Half duplex Setup Parameters Default Options Description Duplicate Packet Detection Disabled Enabled Disabled Determines whether duplicate message detection is Disabled or Enabled When enabled duplicate messages will be acknowledged and discarded Checksum BCC BCC CRC16 Determines the type of error detection that will be used on the DF1 link It must be the same as that for the DF1 device Constant Carrier Detect Disabled Disabled Enabled If enabled hardware handshaking is forced on The module will monitor the carrier from the modem DCD signal and will not begin communication until it is detected Modem Init String blank Lets you configure your modem using Hayes commands upon every power cycle of the module For example entering ATDT here would get the modem s attention AT and set it to tone dialing DT Sending a character will produce a one second wait on the modem Refer to your modem user manual for details Modem Init String
13. The 1747 C13 cable eliminates the need for a 1747 AIC link coupler Full duplex Network Example 1 Full duplex Network Example 1 Interface Module RSLInx 1747 KE Link Coupler 1747 AlC raft ll Ne 3 Be 0 a NN Modem Sa 000000 Link Coupler U 1747 AlC Link Coupler _w 1747 AlC This illustration shows a connection to a remote DH 485 network of up to 31 SLC nodes Overview 1 7 Full duplex Network Example 2 Full duplex Network Example 2 RSLinx Interface Module m 1747 KE n T Moeh a Host computer is capable of x EN a B lge P calling and interfacing with r o one network at a time g 0000000 Modem A i Link Coupler 7 A 1747 AIC Link Coupler ew 1747 AlC Interface Module x Interface Module 1747 KE 1747 KE Link Coupler aa 1747 AIC l a Madea z 7 FE N z we FE Link Coupler_ em 1747 AlC Modem Link Coupler Link Coupler 1747 AlC OTAG Link Coupler Link Coupler 1747 AlC 1747 AlC This configuration allows the host to call more than one remote network one network connected at a time Each remote network can consist of up to 31 SLC nodes Publication 1747 UMO005B EN P March 2006 1 8 Overview Publication 1747 UM005B EN P March 2006 Half duplex Local Mo
14. X SAVE AND EXIT Enter Selection DF1 Port Setup Parameters When the module is powered up for the first time the DF1 port 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 DF1 Port Setup Parameters Parameter Default Options Description Communication Rate 1200 300 600 1200 2400 The speed in bits per second at which data is transferred 4800 9600 19200 Must be set the same as the DF1 device Bits Per Character 18 7 8 The size in number of bits of each character to be transferred Must be set the same as the DF1 device Parity None Even Odd None Used for checking data during the transfer Must be set the same as the DF1 device Stop Bits 1 1 2 Used for delineating data during the transfer Must be set the same as the DF1 device Publication 1747 UMO005B EN P March 2006 Module Configuration Using an ASCII Terminal 5 7 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 If these parameters are changed and the setup is saved then
15. Delay 0 25 s Determines the amount of time the module will wait before sending the Modem Init String to the modem Message Timeout 10 000 ms 100 12 750 ms The time to wait for a response to a message sent on a DF1 network This parameter is rounded down to the nearest 50 ms increment For example if you enter 199 ms it is accepted as 150 ms Hardware Handshaking Disabled Disabled Enabled If enabled the module will use the RTS and CTS signals for control of the modem Poll Timeout 200 x 5 ms 0 65 535 x 5 ms Determines the time to wait to be polled by the DF1 master before a transmission request is ignored Message Retries 0 254 Determines the number of allowable retries on the DF1 link before failure RTS On Delay 0x5ms 0 65 535 x 5 ms Determines the delay between the RTS Request to Send signal and the start of transmission by the module This parameter is only required when communicating with the type of radio modem that requires a delay after exerting the RTS signal It only takes effect if hardware handshaking is enabled Refer to your modem user manual RTS Off Delay 0x5ms 0 65 499 x 5 ms Determines the delay between the end of the message and the module setting RTS Request to Send inactive This parameter is only required when communicating with modems that require a delay between sending the last character and raising the RTS sig
16. Handshake bit to indicate the data in the Output Image file is valid O e 0 14 N 3 Resets the Module Mode bit to software Run in the SLC Input Image File l e 0 15 4 Sets the Data Handshake bit l e 0 14 5 Reset the Data Handshake bit 0 8 0 14 6 Resets the Data Handshake bit l e 0 14 Module Configuration Using the Backplane 6 5 Read the Module s Configuration from the SLC Processor The interface module s current configuration can be read back to the SLC processor using the Input and Output Image files IMPORTANT operation The interface module can be in software Run or software Configuration mode during the read Read the Module s Configuration from the SLC Processor With the SLC processor you The interface module then 1 Set the Read or Write bit to indicate a configuration read operation 0 e 0 13 N Set the Data ID value for the configuration parameters to be read 0 e 0 0 3 Se Set the Data Handshake bit to indicate the data in the Output Image file is valid O e 0 14 4 Interprets the Data ID value 5 Gets the configuration data from the Interface Module o Loads the data into the Input Image file l e 1 7 7 Sets the Data Handshake bit to indicate the image data is valid e 0 14 8 Read configuration data 9 9 Reset the Data Handshake bit 0 8 0 14 10 10 Res
17. In remote mode the module appears transparent to the half duplex master so that remote SLC 500 controllers can be polled directly as individual slaves on the half duplex network The interface module responds to the half duplex master if the station address specified corresponds to the node address of any token passing station on the DH 485 network connected to that interface module Communicate with the Interface Module 3 5 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 If a DH 485 node initiates a message to the DF1 master the module overwrites the destination address with the master station value configured in the Remote mode submenu The message received by the half duplex master will contain a source address equal to the station address specified in the poll packet and a destination address equal to the address of the half duplex master device Remember that half duplex DF1 group addresses are in octal and DH 485 node addresses are in decimal The table on page 3 6 provides the conversion using the group number Publication 1747 UMO005B EN P March 2006 3 6 Communicate with the Interface Module Publication 1747 UMO005B EN P March 2006
18. Parameter Settings The values used by the RTC are in N10 1 7 and are initialized as shown in the table below Parameter Settings In this example Equals Day 5 Month 12 Year 1993 Day of the week 4 Wednesday Hours 11 Minutes 15 Seconds 30 User Program The example program shown on the following page initializes the interface module s calendar and RTC when bit B3 0 0 is toggled from low to high Bit B3 0 1 is toggled every 2 56 seconds and the new RTC values that are read are then placed in data file N10 11 17 Publication 1747 UMO005B EN P March 2006 8 10 Application Examples This rung initializes the module Rung 2 0 Copy the RTC data Rung 2 1 This rung gets B3 B3 COP IE OSR COPY FILE 0 2 Source N10 0 Dest 0 1 0 Length 8 Handshake Handshake the calendar clock data from the module Put Interface Module in Config mode O 1 U 13 Turn ON the handshake bit 0 1 bit from bit to module module I 1 O 1 MEQ It It MASKED EQUAL 14 14 Source I 1 0 32762 Mask 07FO Compare 0 i 14 Get data from module This rung sets the 2 56 second free run counter COP COPY FILE Source 1 1 0 Dest N10 10 Length 8 Unlatch handshake to module O 1 U 14 Move the RTC data to the module En S 4 B
19. To configure the module s serial port 1 Place the interface module s JW4 jumper into either horizontal or vertical configuration mode depending on which functionality you chose See Chapter 4 2 Connect an RS 232 cable between an ASCII terminal and the interface module s configuration port Please refer to Chapter 4 for RS 232 cable pinouts between the interface module s configuration port and the ASCII terminal serial port Use one of the cable diagrams on page 4 8 for no hardware handshaking 3 Configure the module The DF1 port and the DH 485 settings for the interface module are as shown below Setup Summary CONFIG PORT DF1 PORT DH 485 PORT DF1 PRTCL Full Dup Baud 1200 Baud 1200 Baud Checksum Bits char Bits char CCD Modem Init Delay 18 Parity Parity Max Node Add 31 Msg Time 10000mS RTS CTS Off Stop Bits Stop Bits Msg Time 10000ms Em Resp Detect ADER ACK Time 200x5mS Hndshking Soft Pass Thru ENO Retries NAK Retries Modem Init String ATZ Hit any key to continue 4 Once the interface module is configured place the module s JW4 jumper into either horizontal or vertical Run mode depending on which functionality you chose Publication 1747 UMO005B EN P March 2006 8 16 Application Examples 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 receiv
20. and System Configuration 4 11 Connect Cable to the DH 485 Port RS 485 Interface Module Peripheral The DH485 port can communicate to user devices through the DH 485 Communication mode Use a 1747 C11 1747 C10 or 1747 C13 interface cable to connect the module to a link coupler interfaced with the DH 485 network If you use the 1747 C11 or 1747 C10 cable it connects between the DH 485 port on the module and the J1 CPU connector on the link coupler 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 Link Coupler 1747 AIC Interface Module 1747 KE CONFIG Port u 0000 ooco DF1 Port u i J1 CPU DH 485 Port Cable 1747 011 If you use the 1747 C13 cable it connects between the DH 485 port on the module and the J2 Peripheral connector on the link coupler Power for the link coupler must be provided from some other source See page A 1 for more information Publication 1747 UMO005B EN P March 2006 4 12 Installation and System Configuration Connect to the DH 485 Port via the 1747 011 Cable Link Coupler 1747 AlC Interface Module 1747 KE CONFIG Port ae Cable J2 Peripheral f 1747 C11 DF1 Port So a J1 CPU f A C
21. character 22nd ASCII character 5 23rd ASCII character 24th ASCII character 6 25th ASCII character 26th ASCII character 7 27th ASCII character 28th ASCII character 1 The output status word is defined on page 6 6 To configure the Modem Init String the Read or Write Bit must be at 0 and the Module Mode Bit must be at 1 To read the Modem Init String the Read or Write Bit must be 1 and the Module Mode Bit can be either 0 or 1 Publication 1747 UMO005B EN P March 2006 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 SLC Output Status to the Interface Module Bit Beet llr rrr lr ry gl Module Data Read Reset Bit shake Write Module Reserved Data ID 1 Bit Bit Bit Day 1 31 Month 1 12 Year 00 99 Day of the Week 1 7 where Sunday 1 and Saturday 7 Hour 0 23 only 24 hour clock is available Minute 0 59 7 Second 0 59 Oo aj AJ wy N 1 Theo tput status word is defined on page 6 6 To set the Real Time Clock the Read or Write Bit must be 1 To read the Real Time Clock the Read or Write Bit must be 1 and the Module Mode Bit can either be at 0 or 1 Publicatio
22. data by resetting the Read or Write bit 0 8 0 13 o1 Setthe Data Handshake bit to indicate the data in the Output Image file is valid 0 e 0 14 o Gets the configuration data from the SLC Output file N Configures parameters on the Interface Module co Echoes the Data ID l e 0 0 3 and configuration data l e 1 7 and places the status of the configuration transaction in the SLC Input File l e 0 4 10 co Sets the Data Handshake bit to indicate the image data is valid l e 0 14 Reset the Data Handshake bit 0 e 0 14 er Resets the Data Handshake bit l e 0 14 Save your configuration changes by putting the module in software Run mode 6 3 IMPORTANT The configuration data that is loaded does not take effect until the interface module goes to software Run mode Therefore to save your configuration changes be sure to put the module in software Run mode Publication 1747 UMO005B EN P March 2006 6 4 Module Configuration Using the Backplane Place the Module into Software Run Mode from SLC Processor Publication 1747 UMO005B EN P March 2006 When configuration is complete place the module in software Run mode by following these steps Place the Module in Run Mode With the SLC processor you The interface module then 1 Reset the Module Mode bit to software Run 0 e 0 15 Set the Data
23. expose the batteries to high temperatures Do not attempt to solder batteries An explosion could result Do not short positive and negative terminals together Excessive heat can build up and cause severe burns Storage Store lithium batteries in a cool dry environment typically 20 to 25 C 68 to 77 F with 40 to 60 humidity Store the batteries and a copy of the battery instruction sheet in the original container away from flammable materials Transportation One or Two Batteries Each battery contains 0 23 g of lithium Therefore up to two batteries can be shipped together within the United States without restriction Regulations governing shipment to or within other countries may differ Publication 1747 UMO005B EN P March 2006 C 4 Lithium Battery Replacement Handling and Disposal Publication 1747 UMO005B EN P March 2006 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 An exemption to these regulations DOT E7052 covers the transport of certain hazardous materials classified as flammable solids This exemption authorizes transport of lithium batteries by motor vehicle rail freight cargo vessel and cargo only aircraft providing certain conditions are met Transport by passenger aircraft is n
24. g BRELA ATUIOVUE NITIV mei fe DD Boo use o FNod a eee eee U Red Wire 1 te Wire Battery Whi 3 Unplug the battery connector Trotte The module has a capacitor that provides 30 minutes of battery back up while the battery is disconnected Data in RAM is not lost if the battery is replaced within 30 minutes 4 Remove the battery from the retaining clips 5 Insert a new battery into the battery retaining clips 6 Plug the battery connector into the socket with the red lead wire on top and the white lead wire on the bottom 7 Re insert the module into the SLC 500 chassis 8 Restore power to the SLC 500 power supply module Publication 1747 UMO005B EN P March 2006 Lithium Battery Replacement Handling and Disposal C 3 Battery Handling The procedures listed below must be followed to be sure of proper battery operation and reduce personnel hazards e Use battery only for intended operation e Do not ship or dispose of cells except according to recommended procedures e Do not ship on passenger aircraft ATTENTION Do not charge the batteries An explosion could result or the cells could overheat causing burns A Do not open puncture crush or otherwise mutilate the batteries A possibility of an explosion exists and toxic corrosive and flammable liquids would be exposed Do not incinerate or
25. its RS 232 connection to the host computer using the DF1 Port The details of these protocols can be found in the DF1 Protocol and Command Set Reference Manual publication 1770 RM516 Full duplex DF1 Protocol Full duplex DF1 protocol is provided for applications where high performance peer to peer communication is needed In full duplex mode the module can send embedded responses If the embedded response detect option is set to auto detect embedded response the module will not send embedded responses until it receives one from the host The module makes an assumption that if a host computer sends embedded responses it can also receive them In full duplex mode the destination address in a packet sent from the host computer to the module is the address of the DH 485 node for which the packet is intended The source address in packets received by the host computer from the module is the node address of the sender Publication 1747 UM005B EN P March 2006 3 2 Communicate with the Interface Module Publication 1747 UMO005B EN P March 2006 Full duplex Point to point Full duplex Point to point Interface Module m 0000000 N 1747 013 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 Full duplex Network Example Full duplex Network Example
26. module incorporates timeouts and tests to properly operate these types of modems e Auto answer these modems have self contained timeouts and tests They can answer and hang up the phone automatically The module has no means of controlling an auto dial modem but it can be used in conjunction with a separate auto dialer e Direct connect these modems connect to a dedicated leased phone line and remain active at all times Use DF1 Protocol and Your RSLinx software supports DF1 communications directly from your Module computer s serial communication port Connecting a modem to this port lets you to call remote networks and control them as if you were connected locally DF1 Protocol Interface Module 1747 KE BN A ae 0 0 on DF1 1747 C13 Cable 000000 DF1 Protocol gt DF1 Protoc Publication 1747 UMO005B EN P March 2006 1 6 Overview Typical Configurations Publication 1747 UMO005B EN P March 2006 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 DF1 ere olooloolooloo oo oojaa 8 fg ATESA en Modem SIE Modem 1747 013 Cable This illustration shows a connection to a single remote SLC node
27. say a Sie OES RR EROS Install Your Module in an Open Slot Connect Cable to CONFIG or DEI Ports nauau aaua Connect Cable to the DH 485 Port 2 2 2 2 222200 Configure Your SLC Chassis 2a wasser Configure the DF1 Driver within RSLinx Software Configure Your Module us 4 4 at oe ci nous bcd are ate Gua Complete the Installation of Your Module Chapter 5 ASCII Terminal Configuration 2 2 2 1 ara ent Module Configuration with a Terminal Overview Top Level setup Ment hinge aii ee ragen Change Parameters for Menus 1 through 4 CONFIG Port MENU ies bo parte Tata ee CONFIG PORT Setup Parameters DFE Port Menu 2 0 xvas ehh ois eh eR ee Pa ae See ee DF1 Port Setup Parameters 2 222 222 DH 485 Port Menu enter DH 485 Port Setup Parameters an na Da DF1 Protocol Menu ee ee Be leds ae PR bo DF Full duplex Setup Menu 0 4 ee 020 DF1 Full duplex Setup Parameters DEI Half duplex Setup Menu 5 420 4s 128 2244585 DF1 Half duplex Setup Parameters Display Parameters Menu Yang aay dye oe ete PAS Chapter 6 Configure the Interface Module from the SLC Processor Place the Module into Software Run Mode from DEC PIOGES SOE ca teow td ake Weed Gig hie POO REES Read the Module s Configuration from the SLC Processor Examine the SLC Processor s Status Word SLC Output Status Word to the Inte
28. sure the LED indicator is not flashing module s JW4 jumper is not in Configuration mode FAULT Red ON A system problem was detected Contact your Allen Bradley during background diagnostics representative BA LOW Red ON The voltage of the battery that Replace battery backs up configuration RAM is low CFG Green OFF The CONFIG port is transmitting Check ASCII terminal cabling Make data and LED indicator is not sure the module s JW4 jumper is in flashing Configuration mode Input Image Description Shown below is the input image that provides status to the SLC processor Bit 13 indicates the battery status The status information contained in bit 13 corresponds to the module s BA LOW LED indicator Bit 15 indicates whether the module requires configuration or not Input Image Data Handshake Bit 0 Input image data may not be valid 1 SLC output image data is accepted by the interface module Input image data is valid Reset Acknowledge Bit 1 1 Acknowledges that the module was reset from the SLC processor Status Code Bits Module Mode Bit Bit Number decimal 15 14 13 12 11 10 9 8 7 6 Status Word Word 0 Battery Status Bit Modem Lost Bit Data ID Value Bits 0 Module is running 1 Module requires configuring or is in software Configuration mode Publication 1747 UMO005B EN P March 2006 0 Battery is good 1 Battery is low
29. the interface module agree on communication rate and error checking e both modems have the echo disabled e both modems have Carrier Detect set to normal unforced e both modems have DTR Dialing disabled e the modem to receive the call has auto answer enabled Publication 1747 UMO005B EN P March 2006 Chapter 4 Installation and System Configuration This chapter provides the following installation and system configuration information e European Union directives compliance e Module functionality e Mode selection e Port configuration verification e Module installation e Cable connection e SLC chassis DF1 driver and module configuration ATTENTION Do not install or remove the 1747 KE module from the SLC chassis until all power dissipates from the SLC 500 power supply approximately 10 seconds European Union Directives this product has the a mark it is a for ee the European Union and FEA regions It has been designed and teste Compliance to meet the following directives EMC Directive This product is tested to meet Council Directive 89 336 EEC Electromagnetic Compatibility EMC and the following standards in whole or in part documented in a technical construction file e EN 50081 2 EMC Generic Emission Standard Part 2 Industrial Environment e EN 50082 2 EMC Generic Immunity Standard Part 2 Industrial Environment This product is intended for use in an industrial environment Publicat
30. the module s functionality A horizontal orientation gives the module functionality equivalent to a series A module module configuration ID 4209 while a vertical orientation of the jumper accesses the added functionality of a series B module module configuration ID 3509 The position of the jumper determines the module s mode Configuration or Run and thus which method is used to configure the module ASCII terminal or backplane communications Refer to Chapter 4 Jumper Placement Overview 1 5 Use a Modem with Your The module can be connected to most types of dial up network or Interface Module direct connect modems IMPORTANT Some modems are designed to respond to the DTR signal by answering the phone whether it is ringing or not Since the module asserts DTR at all times except during the hang up sequence the phone appears to be busy at all times Do not use the interface module with any type of modem that answers the phone as soon as DTR is asserted The type of modems you can use are e Manual typically acoustically coupled modems A person on each end of the phone line establishes the connection They then insert the handsets into an acoustic coupler to complete the connection e DTE controlled answer these unattended modems are attached directly to the phone lines The interface module acts as the Data Terminal Equipment DTE which controls the modem via the DTR DSR and DCD signals The
31. the module will always power up with the new settings unless the battery fails and power to the module s RAM is lost DH 485 Port Setup Parameters Parameter Default Options Description Node Address 2 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 This minimizes the solicitation of new stations Max Node Address 3 ar 1 31 decimal The number of nodes that will be polled For optimum performance this value should be set no larger than the value of the highest numbered node on the network Message Timeout 10 000 ms 100 12 750 ms The time to wait for a response to a message sent on a DH 485 network Pass Through Disabled Enabled Disabled Determines whether diagnostic commands are executed by the module Disabled or passed through to the host Enabled Communication Rate 19200 300 600 1200 2400 The speed in bits per second at which data is transferred 4800 9600 19200 on the DH 485 link Important All stations on the DH 485 link must be set to the same communication rate Publication 1747 UMO005B EN P March 2006 5 8 _ 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 fo
32. 00 Kbps e 8 bits per character e no parity e 1 stop bit e software handshaking enabled XON XOFF Publication 1747 UMO005B EN P March 2006 Module Configuration Using an ASCII Terminal 5 3 Module Configuration with Configuration of the module with an ASCII terminal requires a Terminal Overview e an ASCII terminal connected to the CONFIG port e jumper JW4 to be in the configuration position See page 4 4 for more information e knowledge of the communication parameters of the devices you will be connecting to each of the module ports e knowledge of what types of cables will be used to connect devices to the module ports Refer to the cable information beginning on page 4 8 When you power up the module and your ASCII terminal a Top Level Setup menu appears The menu structure is three levels deep Menu Structure Top Level Setup Menu DH 485 Port Setup Half duplex Setup DF1 Protocol Setup Display Parameters Full duplex Setup CONFIG Port DF1 Port Setup Setup Publication 1747 UMO005B EN P March 2006 5 4 Module Configuration Using an ASCII Terminal Top Level Setup Menu Publication 1747 UMO005B EN P March 2006 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 DF1 PROTOCOL 5 DISPLA Y PARAMETERS X SAVE AND EXIT Enter Selection
33. 16 Constant Carrier Detect Disabled Enabled Modem Init String Modem Init String Delay 0 25 s Message Timeout 100 12 750 ms Hardware Handshaking Disabled Enabled Poll Timeout 0 65 535 x 5 ms Message Retries 0 254 RTS On Delay 0 65 535 x 5 ms RTS Off Delay 0 65 499 x 5 ms Local Remote Mode Local Remote Slave Address Slave Address 0 254 Group Number Group Number 0 7 Master Station Address 0 254 decimal Publication 1747 UMO005B EN P March 2006 D 4 Interface Module Configuration Worksheets Publication 1747 UMO005B EN P March 2006 Numerics 1746 N2 card slot filler 4 16 1747 AlC link coupler 1 2 1747 011 cable 4 11 1747 C13 cable 1 2 4 11 1770 KF2 3 2 A addressing DF1 protocol 5 8 5 9 DH 485 network 5 7 application examples 8 1 supplementary Data Echo feature 8 11 Real Time Clock 8 9 ASCII terminal configuration of 5 2 use to configure the module 5 1 auto answer modem 1 5 backplane communication 6 1 battery back up C 1 lithium status 1 3 7 2 baud rate See communication rate 1 2 C cables 4 8 1747 C10 4 11 1747 C11 4 11 1747 013 1 2 4 11 DH 485 communication 4 11 RS 232 communication 4 9 RS 422 communication 4 9 RS 423 communication 4 9 card slot filler 4 16 chassis configure 4 13 CMD byte 3 11 communication between module and PLC 5 processor B 2 between module and SLC 500 proc
34. 3 232 RS 422 RS 485 Installation and System Configuration 4 5 Jumper JW1 located at the top of the module selects the following electrical interface for the CONFIG port e RS 423 232 default e RS 422 e RS 485 CONFIG Port Configuration JW1 CONFIG Port ATTENTION All other jumper settings are illegal and may cause damage to the module Publication 1747 UMO005B EN P March 2006 4 6 Installation and System Configuration Verify DF1 Port Jumper JW2 selects the following electrical interface for the DF1 port Configuration e RS 423 232 default e RS 422 e RS 485 DF1 Port Configuration RS 423 232 I 2 YE JW2 DF1 Port ATTENTION All other jumper settings are illegal and may cause damage to the module Publication 1747 UM005B EN P March 2006 Installation and System Configuration 4 7 Install Your Module in an Open Slot Installation procedures for this module are the same as any other digital I O or specialty module IMPORTANT Make sure you have JW1 JW2 and JW4 configured ATTENTION A Do not install or remove the 1747 KE module from the SLC 500 chassis until all power dissipates from the SLC 500 power supply approximately 10 seconds To install the module 1 Align the full size module circuit board with the chassis card guide The first slot slot 0 of the first chassis is reserved for the CPU 2 Slide the module into the chassis until the top and b
35. 3 MOV 2 1 1fosrR MOVE 2 2 7 1 Source 8193 1 Dest 0 1 0 16378 Turn ON the handshake bit 0 1 L 14 Rung lt END gt 2 3 Publication 1747 UMO005B EN P March 2006 Application Examples 8 11 Configuration Data Table Shown below is the configuration information for N10 in Decimal radix Configuration Data Table Address 0 1 2 3 4 5 6 7 8 9 N10 0 1 5 12 93 4 11 15 30 J0 0 N10 10 0 0 0 0 0 0 0 0 0 0 N10 20 0 0 0 0 0 0 0 0 0 0 Data Echo Feature The Data Echo feature gives the SLC processor the ability to verify that the interface module is operating properly This example shows you how to set up the Data Echo using the backplane User Program This program shown on the following pages checks for proper interface module operation every 40 seconds and resets the module if proper operation is not detected Publication 1747 UMO005B EN P March 2006 8 12 Application Examples This rung provides a 40 second base timer Data echo timer TON Rung TIMER ON DELAY EN 2 0 Timer T4 0 DN Time Base 0 01 Preset 4000 Accum 0 This rung provides a 5 second timer Start the response timeout Response timer T4 0 TON Rung IE TIMER ON DELAY EN 2 1 DN Timer T4 1 DN Time Base 0 01 Preset 500 Accum 0 This rung initializes the interface module Start the response timeout X Get quasi random data
36. 45 678 321 654 l0 0 N10 10 10 0 0 0 0 0 0 0 0 0 N10 20 10 0 0 0 0 0 0 0 0 0 Publication 1747 UMO005B EN P March 2006 8 14 Application Examples RSLogix Software to SLC Network via Modem Example Publication 1747 UM005B EN P March 2006 One of the primary purposes for the interface module is to connect RSLogix software to a SLC 500 network by using modems This example shows you how to make this type of connection by taking you through the steps necessary to set up the following system RSLogix Software to SLC Network Interface Module 1747 KE hen BEI EEE ni DF Protocol gt 1747 013 cable q _ gt LV s a To connect RSLogix software to a SLC 500 network the serial communications port on the interface module that uses the DF1 protocol must be configured to match the interface parameters for the computer serial port where RSLinx software is installed The text starting on the next page describes the procedure you use to do this 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 ASCH terminal emulation software or backplane communication
37. 499 x 5 ms N The output status word is defined on page 6 6 To configure the DF1 parameters the Read or Write Bit must be 0 and the Module Mode Bit must be 1 To read the DF1 parameters the Read or Write Bit must be 1 and the Module Mode Bit can either be 0 or 1 2 If Constant Carrier Detect is enabled Hardware Handshaking is forced on 3 The value is ignored if full duplex is chosen Publication 1747 UMO005B EN P March 2006 DF1 Port Setup Parameters Module Configuration Using the Backplane 6 9 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 DF1 Port Setup Parameters Parameter Default Options Description Communication 1200 0 300 1 600 2 1200 3 2400 The speed in bits per second at which data is Rate 4 4800 5 9600 6 and 7 19200 transferred Must be set the same as the DF1 device Bits Per Character 8 bits 0 7 bits 1 8 bits The size in number of bits of each character to be transferred Must be set the same as the DF1 device Parity None 0 and 3 None 1 Even 2 Odd Used for checking data during the transfer Must be set the same as the DF1 device Stop Bits 1 bit 0 1 bit 1 2 bits Used for
38. AB Allen Bradley DH 485 RS 232C Interface Module Catalog Number 1747 KE User Manual e ee oe ee ey m tat Rockwell Automation 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 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 i
39. Each interface module must be set up for a unique group number Publication 1747 UMO005B EN P March 2006 3 8 Communicate with the Interface Module Publication 1747 UMO005B EN P March 2006 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 Addresses Group Number and DH 485 Local Network Address 3 in this example 29 in this example 011 11101 VG ye 01 111 101 which has this octal value 1 5 DF1 Multi drop Address combine to make this binary word The following table lists the devices from the above network along with their DH 485 local network address and their DF1 multi drop address Devices and Corresponding Addresses Group Device DH 485Address DF1 Address DF1 Address decimal binary octal equivalent 00 1747 KE 01 00 000 001 001 SLC 500 02 00 000 010 002 SLC 500 05 00 000 101 005 SLC 500 09 00 001 001 011 01 1747 KE 00 00 100 000 040 SLC 500 04 00 100 100 044 SLC 500 03 00 100 011 043 1747 KE 01 01 000 001 101 02 SLC 500 00 01 000 000 100 SLC 500 25 01 011 001 131 SLC 500 16 01010000 120 SLC 500 04 01 000 100 104 Communicate with the Interface Mod
40. Embedded Response lets the module to send embedded responses within packets Selecting Auto Detect Embedded Response causes the module to use embedded responses only if an embedded response from the host is received by the module ACK Timeout 200 x 5ms 0 65 535 x 5 ms Determines the time the module will wait for an ACK to be received from the host DF1 device ENQuiry Retries 0 254 Determines the number of enquiry retries that will be attempted before a packet transmission is considered to have failed NAK Received Retries 0 254 Determines the number of packet retries that will be attempted when NAK responses are received on previous transmissions of the packet Publication 1747 UMO005B EN P March 2006 5 10 Module Configuration Using an ASCII Terminal Publication 1747 UMO005B EN P March 2006 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 IMPORTANT DF1 Half duplex Setup Menu Choose F for full duplex when using RSLinx software DF1 Half Duplex Setup Menu 1 Duplicate Packet Detection 2 Checksum 3 Constant Carrier Detect 4 Modem Init String 5 Modem Init String Delay 6 Message Timeout 7 Hardware Handshaking 8 Poll Timeout 9 Message Retries A RTS On Delay B RTS Off Delay C Local R
41. F 15 Not Used 10 16 DF1 Message Timeout 11 17 Not Used 12 18 RTS Off Delay 13 19 DH 485 Node Address 14 20 DH 485 Max Node Address 15 21 DH 485 Communication Rate 16 22 DH 485 Message Tlmeout 17 23 Modem Init String character 18 24 A write operation is attempted but the configuration bit is not set still in software Run mode Publication 1747 UMO005B EN P March 2006 6 8 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 15 7 Bit Word 0 Module Data Read or Reset Reserved Data ID 2 Mode Handshake Write Interface Bit Bit Bit Module Bit 1 Embedded Half or Constant Hardware Check Duplicate Stop Parity Bits per DF1 Response Full Carrier Hand sum Packet Bits Character Communication Detect duplex Detect shaking Detection Rate Full or Local Rem ote Mode Half 2 Modem Init String Delay 0 25 s Eng Msg Retries 0 254 3 Slave Address Local 0 254 Master Station Address Half Duplex 0 254 Group Number Remote 0 7 NAK Rec Retries Full Duplex 0 254 ACK POLL Timeout 0 65 535 x 5 ms Message Timeout 100 12 750 ms 4 5 6 RTS ON Delay 0 65 535 x 5 ms 7 RTS OFF Delay 0 65
42. H 485 Communication Thru Rate 3 Message Timeout 100 12 750 ms 4 5 6 7 Publication 1747 UMO005B EN P March 2006 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 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 Module Configuration Using the Backplane 6 13 DH 485 Port Setup Parameters Parameter Default Options Description Node Address 2 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 This minimizes the solicitation of new stations Max Node Address 3 1 31 decimal The number of nodes that will be polled For optimum performance this value should be set no larger than the value of the highest numbered node on the network Message Timeout 10 000 ms 100 12 750 ms The time to wait for a response to a message sent on a DH 485 network Pass Through Disabled 0 Disabled Determines whether diagnostic commands are executed by 1 Enabled the module Disabled or passed through to the host Enabled Communication Rate 19200 0 300 1 600 The speed in bits per second at which data is
43. Handshaking X SAVE AND EXIT Enter Selection CONFIG PORT Setup Parameters Whenever the module is powered up the CONFIG port is set to the default parameters If these parameters are changed and the setup is saved they will remain changed only as long as module power remains on Whenever power to the module is cycled off the CONFIG port parameters return to their default values CONFIG PORT Setup Parameters Parameter Default Options Description Communication Rate 1200 300 600 1200 2400 The speed in bits per second at which data is transferred 4800 9600 19200 Must be set the same as the ASCII terminal Bits Per Character 18 7 8 The size in number of bits of each character to be transferred Must be set the same as the ASCII terminal Parity None Even Odd None Used for checking data during the transfer Must be set the same as the ASCII terminal Stop Bits 1 1 2 Used for delineating data during the transfer Must be set the same as the ASCII terminal Handshaking Software None Software Describes the communication protocol If Hardware Hardware Both handshaking or Both is selected you must use cables wired accordingly Publication 1747 UMO005B EN P March 2006 5 6 Module Configuration Using an ASCII Terminal DF1 Port Menu The DF1 PORT Setup Menu provides five selections DF1 PORT Setup Menu DF1 PORT Setup Menu 1 Baudrate 2 Bits per character 3 Parity 4 Stop bits
44. IA standard that specifies mechanical and functional characteristics for digital interface circuits This standard is used in combination with either RS 422 or RS 423 SLC 500 controller the SLC 500 family of fixed and modular controllers Conventions Used in This The following conventions are used throughout this manual Manual e Bulleted lists such as this one provide information not procedural steps e Numbered lists provide sequential steps or hierarchical information e Bold type is used for emphasis Publication 1747 UMO005B EN P March 2006 4 Preface Publication 1747 UMO005B EN P March 2006 Chapter 1 Overview This chapter provides e an overview of the interface module e features communication ports LED indicators and jumpers e guidelines outlining the type of modems you can use with the module e a brief discussion on using RSLinx software with your module e 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 Residing in an SLC 500 chassis the module is ideally used as an interface module linking remote DH 485 networks via a modem to a central host Interface Module Overview Interface Module Link Coupl
45. Replacement Appendix C Lithium Battery Replacement Handling and Disposal This appendix contains important information you should know when using lithium batteries 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 To replace the lithium battery 1 Remove power from the SLC 500 power supply Do not remove the module from the SLC 500 chassis until all power is removed from the SLC 500 power supply 2 Remove the module from the chassis by depressing the retainer clips at both the top and bottom of the module and slide it out maT the top or bottom retainer clips are broken when removing the module they can be easily replaced Pry the broken clip s off from the bottom with a screwdriver if necessary Do not twist off Snap in the replacement clip Order catalog number 1746 R15 2 per package ATTENTION Do not expose the module to surfaces or other areas that may typically hold an electrostatic charge A Electrostatic charges can alter or destroy memory Publication 1747 UMO05B EN P March 2006 C 2 Lithium Battery Replacement Handling and Disposal Battery Location ecoc0o in o o D S E m zn Quiles BE
46. Temperature Rating Operating 0 60 C 32 140 F Storage 40 85 C 40 185 F Humidity 5 95 without condensation Clock Calendar Accuracy Port DH485 is not isolated 1 minute month at 25 C 77 F 0 6 minute month at 60 C 140 F 2 Ifa 1747 AlC link coupler is connected to the 1747 KE module with a 1747 C11 cable the link coupler draws its power 0 085 A 24V dc through the module Add this to the current listed for the link coupler requirements 3 Ifa 1747 AlC 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 Publication 1747 UM005B EN P March 2006 A 2 Specifications Publication 1747 UM005B EN P March 2006 IMPORTANT The 1747 KE module requires both 5V dc and 24V dc 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 500 fixed or modular controller for additional information on power supplies and current requirements Certification Product Certifications Certification Certification Value c UL us listed Class 1 Groups A B C or D Division 2 CE compliant for all applicable directives C Tick marked for all applicable acts Port Isolation Port Isolation
47. a 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 0 DF1 port 1 DH485 port 2 Modem Init String characters 1 14 3 Modem Init String characters 15 28 If you need to reconfigure the module set N10 0 equal to 0 and change the incorrect parameters in N10 10 47 Publication 1747 UMO005B EN P March 2006 8 4 Application Examples Publication 1747 UMO005B EN P March 2006 Backplane Configuration User Program The following steps summarize the user program 1 2 10 N10 0 is initialized The DF1 port config block is copied to the interface module The results of the DF1 config are checked The DH 485 port config block is copied to the interface module The results of the DH 485 config are checked The Modem Init String 1 to 14 config block is copied to the Module The results of the Modem Init String 1 to 14 config are checked The Modem Init String 15 to 28 config block is copied to the Module The results of the Modem Init String 15 to 28 config are checked The interface module is placed in Run mode At the end of this configuration sequence data file N11 10 47 reflects the configuration parameters as read from the interface module The user program for the backplane configuration example follows starting on the next page
48. able _ DH 485 Port Power is supplied to link coupler through the ll DH 485 port on the SLC 500 processor oo OR Power is supplied to link coupler by an eternal power source The 1747 C13 cable can also connect the module s DH 485 port directly to a single SLC processor It connects between the DH 485 port on the module and the DH 485 port on the SLC 500 processor Connect to the DH 485 Port via the 1747 013 Cable Interface Module SLC 500 Processor 1747 KE Na fo a 0000 of Module is connected directly to the Cable DH 485 port on the SLC processor 1747 C13 Publication 1747 UM005B EN P March 2006 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 Enter the module ID code 4209 The ID code for interface modules with series A functionality is 4209 while the ID code for the interface modules with series B functionality is 3509 Entering t
49. ble ax 2 ya DEL ECR Dar 8 8 Supplementary Example Using the Backplane 8 9 R al TIM COCK rss a cg Pa how eG ate Gk ua 8 9 Parameter seines es ame 8 9 Data Echo Feature au re en 8 11 RSLogix Software to SLC Network via Modem Example 8 14 Configure the Module s Serial Port 8 15 Configure the DF1 Modem Driver Using RSLinx 2 x or ike ae Te eee ee ek ee Tore fe eee ee ere ee 8 16 Go Online using RSLogix 500 Software and RSLinx Version 2x and Later aa ya See a feud Oo abate FSR 8 25 Appendix A Hardware Specifications 1 u ka ner dank er A 1 Certification n verneint a Bd deed A 2 POR ISO MUON acs veoh Se OE EE HEY EOS Oe RES A 2 Maximum Communication Distances A 3 Publication 1747 UMO005B EN P March 2006 iv Table of Contents PLC 5 to SLC 500 Communications Lithium Battery Replacement Handling and Disposal Interface Module Configuration Worksheets Publication 1747 UMO005B EN P March 2006 Appendix B COVE PVIC Wa sc eats ok eee EN DIE N B 1 PLC 5 Message Instruction Horse raten eto eas B 2 Use the SLG 500 CIF DIE naar er are B 2 Use the PLC 5 Message Instruction with Word B 3 Use the PLC 5 Message Instruction with Byte B 4 Appendix C Battery Replacement as ea ee BSS C 1 Battery Handlingen ossaa aw tes oe Gy koh cts Ad dh ay ate God C 3 DLOTA GC ites die hie een hed NR i ted Gee AGEN Oe toh og C 3 Transp it tioNn sa ea en Kenne erh C 3 Battery Dispo
50. bled Communication Rate 300 600 1200 2400 4800 9600 19200 DF1 Port Parameter Options Your Configuration Communication Rate 300 600 1200 2400 4800 9600 19200 Bits Per Character 7 8 Parity Even Odd None Stop Bits 1 2 DF1 Full duplex Parameter Options Your Configuration Duplicate Packet Enabled Disabled Detection Checksum BCC CRC16 Constant Carrier Detect Disabled Enabled Modem Init String Modem Init String Delay 0 25 s Message Timeout 100 12 750 ms Hardware Handshaking Disabled Enabled Embedded Response Embedded Response Detect Auto Detect Embedded Response ACK Timeout 0 65 535 x 5 ms ENQuiry Retries 0 254 NAK Received Retries 0 254 Publication 1747 UMO005B EN P March 2006 Interface Module Configuration Worksheets D 3 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 Parameter Communication Rate DF1 Port Options 300 600 1200 2400 4800 9600 19200 Your Configuration Bits Per Character 7 8 Parity Even Odd None Stop Bits 1 2 DF1 Half duplex Parameter Options Your Configuration Duplicate Packet Detection Disabled Enabled Checksum BCC CRC
51. communicates with the 1747 KE module the following dialog appears Configure RS 232 DF1 Devices Device Name AB_DF1 1 Comm Port COM1 x Device EEM Baud Rate 19200 Station Number gg ge Decimal Parity None v Error Checking CRC Stop Bits 1 v Protocol FullDuplex Auto Configure _ u u J Use Modem Dialer Cancel Delete Help Installation and System Configuration 4 15 Configure Your Module Complete the Installation of Your Module Configuration instructions are in Chapter 5 Module Configuration Using an ASCII Terminal and Chapter 6 Module Configuration Using the Backplane Proceed to the chapter that corresponds to the configuration method you have chosen ATTENTION This module is a device used for communications Improper configuration or module failure may cause communications to stop Be careful to avoid system designs that would cause probable safety concerns within the system in the event of a communication failure Once your interface module has been configured complete the module s installation Do not install or remove the 1747 KE module from the SLC 500 chassis until all power dissipates from A the SLC 500 power supply approximately 10 seconds 1 If you configured your module using an ASCII terminal place the module into Run mode a Remove the module from the chassis The removal is reverse of the instal
52. dated battery location on circuit board 1 2 C 2 Revised JW1 jumper illustration 1 2 1 4 Revised JW2 jumper illustration 1 2 1 4 Revised JW4 jumper illustration 1 2 1 4 Replaced APS with RSLinx software throughout Updated information on configuring your SLC chassis 4 13 Updated information on configuring your DF1 driver with 4 14 RSLinx software Publication 1747 UM005B EN P March 2006 2 Summary of Changes Notes Publication 1747 UMO005B EN P March 2006 Overview Quick Start Communicate with the Interface Module Installation and System Configuration Table of Contents Preface Who Should Use This Manual u 2 2 52 04 ob Se Bente as P 1 Purpose of This Manual 2 Frust P 1 Related Documentation aoaaa P 2 Terms and Abbreviations Here ttve 5 LG P 2 Conventions Used in This Manual P 3 Chapter 1 Interface Module Oyerviews para sr Hoes FEE PETES OS 1 1 Feature Si Se ee Rate he abe a en a ae Sat 1 2 LED IndicatOtS jos Sos che joven eae alae tee a 1 3 Juniper IV eve cates s 3 levee DREE eed 1 4 PTE I Zips a eee ingua in hn anes Bagel tu se a ae Geet h 1 4 Jumper JIWA 22223 2 earn ce tg eur 1 4 Use a Modem with Your Interface Module 1 5 Use DF1 Protocol and Your Module 00045 1 5 Typical Configurations aan ESS 1 6 Full duplex Point to point 2 2 2 2 22 1 6 Full duplex Network Example 1 1 6 Full duplex Network Example 2
53. de Half duplex Local Mode Master Interface Module N HAH Link Coupler Ne m PLC 5 S 1747 AK NS FE processor Modem a J F Link Coupler z 1747 AIC AZ 0000000 Link Coupler a 1747 AlC 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 Half duplex Remote Mode Half duplex Remote Mode Master SLC 5 05 processor Dedicated Line Interface Module Modem 1747 KE D A t D g oO amp x NSS Ad Group 00 1747 KE G J Q g N Ne SESS le o Group 01 0000000 Teer BEEE l l C Dedicated L
54. delineating data during the transfer Must be set the same as the DF1 device Publication 1747 UMO005B EN P March 2006 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 DF1 Full duplex Setup Parameters Parameter Default Options Description Duplicate Packet Disabled Enabled Disabled Determines whether duplicate message detection is Detection Disabled or Enabled When enabled duplicate messages will be acknowledged and discarded Checksum BCC BCC CRC16 Determines the type of error detection that will be used on the DF1 link It must be the same as that for any application programs that may be running Constant Carrier Detect Disabled Disabled Enabled lf enabled hardware handshaking is forced on The module will monitor the carrier from the modem DCD signal and will not begin communication until it is detected Modem Init String blank Lets you configure your modem using Hayes commands upon every power cycle of the module For example entering ATDT here would get the modem s attention AT and set it to tone dialing DT Sending a character w
55. duplicate messages will be acknowledged and discarded Checksum BCC BCC CRC16 Determines the type of error detection that will be used on the DF1 link It must be the same as that for any application programs that may be running Constant Carrier Detect Disabled Disabled Enabled If enabled hardware handshaking is forced on The module will monitor the carrier from the modem DCD signal and will not begin communication until it is detected Modem Init String blank Lets you configure your modem using Hayes commands upon every power cycle of the module For example entering ATDT here would get the modem s attention AT and set it to tone dialing DT Sending a character will produce a 1 s wait on the modem Refer to your modem user manual for details Modem Init String Delay Os 0 25 s Determines the amount of time the module will wait before sending the Modem Init String to the modem Message Timeout 10 000 ms 100 12 750 ms The time to wait for a response to a message sent ona DF1 network This parameter is rounded down to the nearest 50 ms increment For example if you enter 199 ms it is accepted as 150 ms Hardware Handshaking Disabled Disabled Enabled If enabled the module will use the RTS and CTS signals for control of the modem Embedded Response Detect Embedded Response Embedded Response Auto Detect Embedded Response Selecting
56. e 5 To obtain the current processor node double click on the highlighted node IV Autobrowse Refresh Workstation DEMCOMPUTER For Help press F1 35 Linx Gateways Ethernet 5 AB_DF1 1 DH 485 01 02 amp 00 Workstation DEMCOMPL DF1 COM1 SLC 1747 KE 01 SLC 5 03 SLC i 02 Computer 1747 KE RSLogix500 Eg Waiting for Who Active Processor selection Current Selection OEMCOMPUTERIAB_DF1 1 1 Cancel 09 25 98 3 40AM 7 CAF NUM 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 Communications 4 D Not Browsing K I Autobrowse Address Device Type Online Name Status Linx Gateways Ethernet 00 Workstation Fld AB_DFI 1 DH 485 Saloi SLC 5 03 JE5503 Program Workstation RAJEFORGUITES Cancel Help 00 workstation RAJEFOF Boe 01 SLC 5 03 JES503 3 02 Computer 1747 KE Upload Computer 1747 KE Program Online Download il ee El Current Selection Reply Ti t Server ASLing API Driver AB_DF1 1 eply Timeout Node fi Decimal 1 Octal Type SLC500 fio Sec T Apply to Project 6 Click the Online button If everything occurred correctly you will have a remote connection with the processor This is indicated by the Remote Run or Program indicator
57. e I 1 0 0 Dest N11 40 Source B 3 Length 8 Config handshake bit to the module 0 1 U 14 Check status and point to next Config block MEQ ADD MASKED EQUAL ADD Source N11 40 Source A N10 0 0 0 Mask 07F0 Source B 1 Compare 0 Dest N10 0 0 Set the interface module to Run mode Set the Run mode bit EQU 0 1 I 1 O 1 Rung EQUAL 1 L 1 L U 2 9 Source A N10 0 14 14 15 0 Source B 4 Rung lt END gt 2 10 Configuration Data Table Shown below is the configuration information for N10 in Decimal radix Configuration Data Table Address 0 1 2 3 4 5 6 7 8 9 N10 0 0 0 0 0 0 0 0 0 0 0 N10 10 32766 6154 1282 1796 37 100 5 7 0 0 N10 20 32765 7941 22 12000 0 0 0 0 0 0 N10 30 32764 25444 25958 26472 26986 27500 28014 28528 0 0 N10 40 32763 16706 17152 0 0 0 0 0 0 0 Publication 1747 UMO005B EN P March 2006 Supplementary Example Using the Backplane Application Examples 8 9 These supplementary examples demonstrate how to use the backplane to operate the interface module s Real Time Clock and Data Echo features ron Before you begin these applications be sure that the JW4 jumper is in vertical Run mode module configuration ID 3509 Real Time Clock You can use the interface module as a Real Time Clock RTC in conjunction with normal module operation This example shows you how to set up the Calendar Clock Function using the backplane
58. e To redisplay the above menu press ENTER e To access the corresponding menus described on the following pages press 1 through 5 e To save changes and exit press X This enables the DH 485 and DF1 ports MIT After configuration is complete place the module in Run mode as described on page 4 15 If you operate the module in Configuration mode cycling power will disable the DF1 and DH 485 ports return to the configuration mode and display the Top Level Setup Menu on your ASCII terminal Change Parameters for Menus 1 through 4 To change any of the parameters in menus 1 through 4 1 Select the parameter you wish to change The current parameter setting and a prompt for entering a new value appear at the bottom of the screen 2 Type in the new value and press ENTER If you enter an invalid value the ASCII terminal beeps and the prompt remains Refer to the tables on pages 5 5 through 5 12 for the valid parameter options Module Configuration Using an ASCII Terminal 5 5 CONFIG Port Menu 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 The CONFIG PORT Setup Menu provides six selections CONFIG Port Setup Menu CONFIG PORT Setup Menu 1 Baudrate 2 Bits per character 3 Parity 4 Stop bits 5
59. e interface module Config handshake Config handshake Copy DH 485 Config bit to the module ACK bit from the module to the module EQU 0 1 I 1 COE Rung EQUAL 1 L 1 E COPY FILE 2 3 Source A N10 0 14 14 Source N10 20 0 Dest 0 1 0 Source B 1 Length 8 Config handshake bit to the module O 1 L 14 This rung checks the Modem Init String 1 14 from the interface module Config handshake Config handshake Copy Config from bit to the module ACK bit from the module the module EQU O 1 I 1 COP Rung EQUAL IE IE COPY FILE 2 4 Source A N10 0 14 14 Source 1 1 0 0 Dest N11 20 Source B 1 Length 8 Config handshake bit to the module 0 1 U 14 Check status and point to next Config block MEQ ADD MASKED EQUAL ADD Source N11 20 Source A N10 0 0 0 Mask 07F0 Source B 1 Compare 0 Dest N10 0 0 This rung copies a new Modem Init String 1 14 Config block to the module Copy Modem Init Config handshake Config handshake String 1414 Config bit to the module ACK bit from the module to the module EQU 0 1 I 1 COP Rung EQUAL 1 E 1 E COPY FILE 2 5 Source A N10 0 14 14 Source N10 30 0 Dest 0 1 0 Source B 2 Length 8 Config handshake bit to the module 0 1 L 14 Publication 1747 UMO005B EN P March 2006 Application Examples 8 7 R
60. emote Mode D Slave Address Group Number C Master Station Address X SAVE AND EXIT Enter Selection DF1 Half 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 Parameter Duplicate Packet Detection Module Configuration Using an ASCII Terminal 5 11 DF1 Half duplex Setup Parameters Default Disabled Options Enabled Disabled Description Determines whether duplicate message detection is Disabled or Enabled When enabled duplicate messages will be acknowledged and discarded Checksum BCC BCC CRC16 Determines the type of error detection that will be used on the DF1 link It must be the same as that for the DF1 device Constant Carrier Detect Disabled Disabled Enabled If enabled hardware handshaking is forced on The module will monitor the carrier from the modem DCD signal and will not begin communication until it is detected Modem Init String blank Lets you configure your modem using Hayes commands upon every power cycle of the module For example entering ATDT here would get the modem s attention AT and set it to tone dialing DT Sending a character will produce a one second wait on the modem Refer to yo
61. er 1747 KE 1747 AlC Local Host Link Coupler AO 7 D O oo 2o o9 20 0 o o a oo oojoo ja a DH 485 Link Coupler 1747 AlC Remote Network Publication 1747 UMO05B EN P March 2006 1 2 Overview Features The features of the module are shown below 1747 KE Module Features JW1 u LEDs DH 485 RS 232C eo TR ee eecce T A HEEE 5 E z CONFIG Port 4 Eo ge ans DFI En 4 Port 20 Woo o E Ho o sf so m Battery Pi soo M na m JW2 E a 9 oe o e u eo N 5 Lo Publication 1747 UM005B EN P March 2006 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 This serial port accommodates RS 232 423 RS 422 and RS 485 communication interfaces The CONFIG port is capable of operating at 300 600 1200 2400 4800 9600 and 19200 Kbps It is electrically isolated to 500V dc DF1 used to interface the module to a modem or other user devices using DF1 protocol This serial port accommodates RS 232 423 RS 422 and RS 485 communication interfaces The DF1 port is capable of operating at 300 600 1200 2400 4800 9600 and 19200 Kbps It is electrically isolated to 500V dc DH485 used to interface the module wi
62. er fi 888 555 5309 Cancel if 6 Click OK 7 To adjust the modem port parameters click the following icon w 8 To adjust the modem dialing parameters click the following BT 9 To complete the connection configuration highlight 1747KERAD and click OK Dialer Configuration x New Edit Configuration o s a xie wg 5 5 REMOTE ACCESS RAEI747KERAD Cancel tl Help Driver Type AB_DF1 Port CFG Connect To COM1 19200N 81 The modem dialer configuration is now complete In order to verify a proper DF1 connection RSLinx software will attempt to connect to the network device Application Examples 8 21 IMPORTANT Before continuing the PC modem must be connected to a working outside phone line and the network modem must be connected to the incoming phone line specified in the phone book 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 Configure RS 232 DF1 Devices Device Name AB_DF1 1 Comm Part com1 ir Device 1770 KF3 1747 KE x Bard Fate 19200 z Station Number foo Decimal Parity None x Error Checking erc 7 Stop Bits fi x Protocol Full Duplex x Autotsontigure Configure Dialer Cancel Delete Help Publication 1747 UM005B EN P March 2006 8 22 Application Examples 10 T
63. er options 5 9 6 9 setup summary screen 5 12 typical configurations 1 6 functionality select 4 2 G get started 2 1 H half duplex definition P 3 function 3 2 LED 1 3 local mode 3 3 multidrop network 3 7 node addresses 3 8 parameter options 5 10 remote mode 3 4 setup summary screen 5 12 typical configurations 1 7 1 9 hardware handshake 4 9 specifications Real Time Clock calendar A 1 Publication 1747 UMO005B EN P March 2006 I initialization string modem 5 9 5 11 6 10 6 11 D 2 D 3 input image 6 6 7 2 status word 6 6 7 2 installation 4 7 final steps 4 15 quick start procedures 2 2 J jumpers JW1 LED indicators 1 3 7 1 7 2 link coupler 1 2 connections 4 11 lithium battery disposal C 5 handling C 3 replacement C 1 status 1 3 7 2 storage C 3 transportation C 3 local mode half duplex DF1 protocol 3 3 slave to slave communication 3 10 manuals related P 2 menus CONFIG port 5 5 DF1 port 5 6 DF1 protocol 5 8 5 9 DH 485 port 5 7 display parameters 5 12 top level 5 4 modem auto answer 1 5 communication setup 3 11 definition P 3 direct connect 1 5 DTE controlled answer 1 5 initialization string 5 9 5 11 6 10 6 11 D 2 D 3 manual 1 5 module configuration ID 1 4 4 2 functionality 4 2 multidrop network 1 6 node addressing 5 7 non token passing devices 3 11 0 output status word 6 6 overview ofmodule 1 1 P phone line access 3 11 pin assignments 4 8 PLC c
64. erface module The procedure for changing the module configuration ID is explained later in this chapter See page 4 13 for more information Publication 1747 UMO005B EN P March 2006 4 4 Installation and System Configuration Setthe Module s Mode Publication 1747 UMO005B EN P March 2006 Setting the module s mode depends on which method you want to use to configure the module You can configure the module using e an ASCII terminal e backplane communications eeg You can only use backplane communications if you selected series B functionality for the module Decide which method you want to use and then place the JW4 jumper according to the directions given below Configure with an ASCII Terminal Configuration of the interface module with an ASCII terminal is allowed only when the JW4 jumper is in Configuration mode Place the module in the Configuration mode that corresponds to the functionality you chose for the interface module JW4 in Configuration Mode Series A Functionality Series B Functionality Due 2 gt Bu Horizontal Vertical Configuration Configuration Mode Mode Configure Through the Backplane Reading and writing configuration data through the backplane is allowed only for series B interface modules and then only when the JW4 jumper is in the vertical Run mode position Place the module in JWA in Vertical Run Mode Vertical Run Mode Verify CONFIG Port Configuration RS 42
65. essor B 2 example using the PLC 5 Message instruction B 4 slave to slave 1 10 3 9 Index use a modem 3 11 communication rate CONFIG port 5 5 DF1 port 5 6 6 9 8 2 D 2 D 3 DH 485 port 5 7 6 13 8 2 D 2 D 3 CONFIG port 1 2 parameter options 5 5 setup 4 5 setup menu 5 5 configuration ASCII terminal 5 2 chassis 4 13 interface module 4 15 from the SLC processor 6 2 use an ASCII terminal 5 1 use backplane communication 6 1 mode 1 4 4 4 packets building DF1 6 7 DH 485 6 12 modem initialization string 6 13 typical configurations full duplex 1 6 half duplex 1 9 worksheets D 1 D data echo 6 17 application example 8 11 Data Highway 3 2 definitions P 2 DF1 definition P 2 DF1 port 1 2 configuration 4 6 parameter options 5 6 6 9 setup menu 5 5 DF1 protocol 3 1 DF1 protocol menu 5 8 full duplex parameter options 5 9 6 9 setup menu 5 8 half duplex parameter options 5 10 6 10 setup menu 5 10 DH 485 definition P 2 DH 485 port 1 2 connections 4 11 parameter options 5 7 setup menu 5 6 Publication 1747 UMO05B EN P March 2006 2 Index diagnostics 7 3 use LED indicators 1 3 7 2 display parameters menu 5 12 E equipment needed 2 1 error handling 7 3 European directives compliance 4 1 examples supplementary Data Echo feature 8 11 Real Time Clock 8 9 use the PLC 5 message instruction with byte B 4 F fault code 7 3 features of module 1 2 full duplex definition P 2 LED indicator 1 3 paramet
66. et and sends it to the specified SLC node The SLC node s response goes through the interface module to the PLC 5 controller The PLC 5 controller then transfers the response to the RSLinx computer The operation of slave to slave communication differs slightly depending on whether the interface module is in local or remote mode Publication 1747 UM005B EN P March 2006 3 10 Communicate with the Interface Module Communicate with DH 485 Devices Publication 1747 UMO005B EN P March 2006 Slave to slave communication When the interface module is in Local mode Slave to slave communication occurs Only if the module s DF1 node is the same as the DH 485 node for which the message is destined In this mode the RSLinx computer can only communicate with one SLC node For example if you want a DF1 slave terminal in the illustration above to communicate with an SLC processor in node 2 of the DH 485 network then the interface module s DF1 slave address must be set to 2 Remote mode Between the DF1 slave and any of the DH 485 devices connected to the interface module The addresses for the DH 485 devices are determined by the group number in the interface module Refer to the Half duplex Remote Address Conversion Table in Chapter 3 For example if the interface module in the illustration above is configured as group 03 and the DH 485 node to be accessed has a DH 485 address of 01 then the DF1 slave device
67. et is found in the DF1 Protocol and Command Set Reference Manual publication 1770 RM516 The format of the application layer data within the packet is completely dependent on how the destination device is implemented Refer to the destination device s user manual for this information The hardware handshaking option must be enabled for the module to properly control a modem The module continually asserts DTR while it is waiting for a call Under this condition the modem answers a call and asserts DCD upon connection When the module detects DCD communications can start After detecting DCD the module continues to monitor the DCD line If DCD goes off the module restarts the 10 second timeout If DCD is not restored within 10 seconds the module initiates the hang up sequence This feature lets the remote node to redial in case the connection was lost due to a fault in the phone system This handshaking is necessary to guarantee access to the phone line If the handshaking protocol is defeated by improper selection of modem options or wiring of communication cables the modem may still answer a call But if the connection is lost the modem will not hang up It will then be impossible for the remote node to reestablish the connection because it will get a busy signal Publication 1747 UMO005B EN P March 2006 3 12 Communicate with the Interface Module For successful modem communication be sure that e RSLinx software and
68. ets the Data Handshake bit e 0 14 Publication 1747 UMO005B EN P March 2006 6 6 Module Configuration Using the Backplane Examine the SLC Processor s Status Word SLC Output Status Word to the Interface Module 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 th tput i tb i e FIN Reset Interface Module Bit 1 Data in the Output Image file is valid 1 Reset the module Module Mode Bit Read or Write Bit Data ID Value Bits 0 Place module in software Run 0 Write Valid Values mode 1 Read 01 Calendar Clock Setup 1 Place module in software 02 DF1 Configuration Configuration mode 03 DH 485 Configuration Data Handshake Bit 04 Modem Init String characters 1 through 14 05 Modem Init String characters 15 through 28 06 Data Echo Function all other values are invalid SLC Input Status Word from the Interface Module This is the input status word reserved for implementing backplane configuration and for resetting the interface module Those status bits not defined below are reserved for future use SLC Input Status Word Status Bits Reset Acknowledge Bit 1 0 Input image data may not be valid 1 SLC outp
69. eways Ethemet Driver Diagnostics CIP Diagnostics Configure communication hardware O n 02 20 06 01 36PM 7 8 17 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 Configure Drivers Available Driver Types Rs 222 DF1 devices 7 m Configured Drivers Name and Description Status Modify an Existing Driver Mg Close Help Lonkaure Startup Start je Delete If an RS 232 DF1 driver is already configured double click on the driver in the Configured Drivers window Add a New Driver If an RS 232 DF1 driver is not configured 1 Select RS 232 DF1 in the Available Drivers window 2 Click the Add New button Publication 1747 UMO005B EN P March 2006 8 18 Application Examples Publication 1747 UMO005B EN P March 2006 Configure the driver for KE Communication through a Modem Set all the parameters to match the configuration Configure RS 232 DF1 Devices Device Name AB_DF1 1 Comm Port COM1 v Device 1770 KF3 1747 KE Baud Rate Station Number pq aud Rate 19200 z Decimal Parity None Error Checking CRC 7 Stop Bits fi Protocol Full Duplex 7 Configure Dialer Cancel Delete Help The station number is the DH 485 node address of the KE Module and s
70. g or receiving signals DF1 Green Flashing The DF1 port is transmitting or receiving signals The flashing may occur so rapidly that the LED indicator appears to be on OFF The DF1 port is not transmitting or receiving signals or the module is in Configuration mode FAULT Red ON A system problem was detected during diagnostics Cycle power to reset If it remains on contact your Allen Bradley representative OFF No system problems are detected during diagnostics BALOW Red ON The voltage of the battery that backs up configuration RAM is low A new battery is needed OFF The voltage of the battery that backs up configuration RAM is at an acceptable level H D Amber ON The module is configured for half duplex DF1 protocol local or remote OFF The module is not configured for half duplex DF1 protocol F D Amber ON The module is configured for full duplex DF1 protocol OFF The module is not configured for full duplex DF1 protocol Indicates norma operation after the module has been configured Publication 1747 UMO005B EN P March 2006 1 4 Overview Publication 1747 UMO005B EN P March 2006 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 The orientation of the jumper determines
71. ge making sure that the contents include e DH 485 RS 232C Interface Module catalog number 1747 KE e cable 1747 C13 e installation instructions publication 1747 IN006 If the contents are incomplete call your local Rockwell Automation representative for assistance Install the Module ATTENTION Do not install or remove the 1747 KE module from the SLC chassis until all power dissipates from the N SLC 500 power supply approximately 10 seconds Install the module and configure the SLC chassis The following steps summarize these procedures 1 Choose the module s functionality 2 Select the configuration method you want to use and place your module in the corresponding mode using JW4 3 Set your CONFIG and DF1 ports using JW1 and JW2 4 Configure your SLC chassis using RSLogix 500 software 5 Configure the module 6 If your module is still in Configuration mode place it in Run mode using the JW4 jumper 7 Connect your DH 485 and DF1 cabling 8 Turn on power and verify module status For more information refer to Chapter 4 Installation and System Configuration Quick Start 2 3 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 performi
72. ged and shipped in accordance with the transportation regulations to a proper disposal site The U S Department of Transportation authorizes shipment of Lithium batteries for disposal by motor vehicle only in regulation 173 1015 of CRF49 effective January 5 1983 For additional information contact U S Department of Transportation Research and Special Programs Administration 400 Seventh Street S W Washington D C 20590 Although the Environmental Protection Agency at this time has no regulations specific to lithium batteries the material contained may be considered toxic reactive or corrosive The person disposing of the material is responsible for any hazards created in doing so State and local regulations may exist regarding the disposal of these materials Publication 1747 UMO005B EN P March 2006 C 6 Lithium Battery Replacement Handling and Disposal Publication 1747 UMO005B EN P March 2006 Appendix D Interface Module Configuration Worksheets This appendix contains worksheets to help you configure the interface module You will find worksheets on e DF1 Full duplex e DF1 Half duplex Publication 1747 UM005B EN P March 2006 D 2 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 Ena
73. guration packet for 01 Calendar Clock Function 02 DF1 Set Up Parameters 03 DH 485 Set Up Parameters 04 Modem Init String 1 14 characters 05 Modem Init String 15 28 characters 06 Data Echo IMPORTANT Any of the configuration packets can be sent independently and do not need to be in a particular sequence with the exception of the Modem Init String packets Data ID 4 and 5 In this instance packet ID 4 must be sent before packet ID 5 The steps for configuring the module from the SLC processor follow Use these instructions to build the configuration packets described in the remainder of this chapter IMPORTANT The terms software Configuration mode and software Run mode in this chapter refer to the SLC processor changing the interface module s mode across the backplane The module s JW4 jumper must remain in the vertical Run mode module configuration ID 3509 while using backplane communications 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 0 e 0 15 N Load the correct Data ID value for the parameters you will configure 0 e 0 0 3 Se Build the Output Image file with configuration data 0 e 1 7 gt Write the configuration
74. he Interface Module 3 7 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 Remote Mode Addressing on a Multi drop Network PLC 5 processor 3 010 Dedicated Line Modem Dedicated Line Dedicated Line i Interface Module Interface Module 010 Modem 040 Modem nterface Module Dedicated Line 0101 01 on o ee 01 N Modem SLC 500 Nee N See yp 005g 05 SLC 500 SLC 500 pP 002 043 03 02 SLC500 0 09 XXX DF1 Multi drop Address octal XX DH 485 Local decimal Network Address 104 7 Se mw AS Group 00 Group 01 Group 02 IMPORTANT
75. he module ID code will automatically create the correct input and output words 1 0 Configuration Rt mc r Current Cards Available 1 174644 4 SlotRack gt Fiter anio z 2 fizo Rack Not Installed x al aE noe aS ReadIO Confio i 746scINO4vi Analog 4 Ch sol Vol Cunent Out eee 1746INT4 Ch Isolated Thermocouple Input 1746 104 2 Input 100 120 VAC 2 Dutput RLY 1746108 4 Input 100 120 VAC 4 Output RLY 1746 1012 6 Input 100 120 VAC 6 Output ALY 1746 1012DC 6 Input 24 VDC 6 Output RLY 1 746 ITB16 16 Input FAST SINK 24 DC 1746 1TV16 16 Input FASTIISOURCE 24VvDC 1 746 1V8 8 Input SOURCE 24 VDC I 16 Input SOURCE 24 VDC 32 Input SOURCE 24 VDC Interface Module Series A Interface Module Series B MNET Network Comm Module Mold Pressure Module Analog 4 Channel Input Module Analog 8 Channel Input Class 1 Analog 8 Channel Input Class 3 Analog 8 Ch Universal Analog 16 Ch Current Input Class 1 Adv Config Help Hide All Cards 1 746 NI161 Analog 16 Ch Current Input Class 3 xl For Help press F1 Publication 1747 UM005B EN P March 2006 4 14 Installation and System Configuration Configure the DF1 Driver within RSLinx Software Publication 1747 UMO005B EN P March 2006 To configure the DF1 driver within RSLinx software 1 Open RSLinx Classic 2 Select Configure Drivers 3 Click Add New 4 Click Auto Configure If RSLinx software successfully
76. hnical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tools For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect Support programs For more information contact your local distributor or Rockwell Automation representative or visit http support rockwellautomation com Installation Assistance If you experience a problem with a hardware module within the first 24 hours of installation please review the information that s contained in this manual You can also contact a special Customer Support number for initial help in getting your module up and running United States 1 440 646 3223 Monday Friday 8am 5pm EST Outside United Please contact your local Rockwell Automation representative for any States technical support issues New Product Satisfaction Return Rockwell tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned United States Contact your distributor You must provide a Customer Support case number see phone number above to obtain one to your distributor in order to complete the return process Outside United Please contact your local Rockwell Automation representati
77. hould have a unique number Once are the parameters are set 1 Check the Use Modem Dialer box 2 Click the Configure Dialer button The Modem Dialer Windows opens which lets you to go through the modem dialer configuration 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 Dialer Configuration x New Edit Configuration 2 lt 1 l Cancel ll Help Driver Type AB_DF1 Port CFG Connect To COM1 19200N 81 To start the modem configuration routine 1 Press the following icon from the tool bar The New Phone Book dialog appears 2 Type in a name Choose a name that relates to the phone book and not to the specific connection New Phone Book 2 xi Ok Phone Book REMOTE ACCESS Cancel 3 Click Ok 4 In the Name field type in a unique name for the connection Publication 1747 UM005B EN P March 2006 8 20 Application Examples Publication 1747 UMO005B EN P March 2006 5 Tab to the Phone Number field and enter the phone number of the remote network modem New Phone Number For Book REMOTE ACCESS iJ Ea Name fi F47KE Phone Numb
78. iated with the module I O configuration Refer to the table below SLC Fault Codes SLC Fault Code S 6 Possible Reason x54 Wrong ID code was entered xx55 Wrong ID code was entered or wrong input and output size were entered 1 yx refers to the slot where the module is installed Publication 1747 UMO005B EN P March 2006 7 4 Interpret the LED Indicators Publication 1747 UMO005B EN P March 2006 Basic Configuration Example Using the Backplane Chapter 8 Application Examples This chapter contains the following application examples e Basic configuration example using the backplane e Supplementary examples using the backplane e RSLinx software to SLC network via modem example This example demonstrates configuration of the interface module using the backplane Before you begin this application insure that the IMPORTANT JW4 jumper is in vertical Run mode module configuration ID 3509 Parameter Locations In this application the configuration parameters are in the data file N10 Parameter Locations Address 0 1 PB BS 6 WEM N10 00 0 0 0 0 0 0 0 0 00 0 N10 10 DF1 port configuration parameters N10 20 DH485 port configuration parameters N10 30 Modem Init String characters 1 14 N10 40 Modem Init String characters 15 28 Publication 1747 UM005B EN P March 2006 8 2 Publication 1747 UMO005B EN P March 2006 Application Examples Parameter Sett
79. icators This chapter contains the following information e Interface module status indicators e Input image description e 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 Indicators During normal operation the LED indicators are illuminated as shown below LED Indicators Solid Green Solid Green Off Flashing during communications DH 485 RS 232C _ a ACT FAULT Off a 485 BA LOW CFG H D Le DF1 FD One of these will be on er depending on the INTERFACE configuration chosen Publication 1747 UMO05B EN P March 2006 7 2 Interpret the LED Indicators Shown below are possible error conditions represented by the LED indicators and their possible solutions LED Indicator Error Conditions LED Color Status Condition Solution ACT Green Flashing The module requires configuration The module requires configuration OFF The module is not receiving power Check the SLC power supply Make from the backplane A fault sure the interface module is condition exists properly installed in the rack 485 Green OFF The DH485 port is not active for Check DH 485 cabling Make sure communication the module s JW4 jumper is not in Configuration mode DF1 Green OFF DF1 host is transmitting data and Check DF1 cabling Make
80. iguration of the ASCII terminal e overview of module configuration with a terminal e top level setup menu e CONFIG port menu e DF1 port menu e DH 485 port menu e DF1 protocol menu e display parameters menu IMPORTANT Configuration with an ASCII terminal is an alternate configuration method than that presented in Chapter 6 Module Configuration Using the Backplane Publication 1747 UM005B EN P March 2006 5 2 Module Configuration Using an ASCII Terminal ASCII Terminal To communicate with the interface module through an ASCII terminal Configuration connect the terminal to the CONFIG port ASCII Terminal Configuration Interface Module 1747 KE ASCII Terminal PN A BH olocoalocolooloo 0 GG cool oo i U Cable 1747 013 oO o 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 HyperTerminal is a terminal emulation program included with all versions of MicroSoft Windows Configure the ASCII terminal s communication parameters for e 12
81. ile 9 must be created and defined at the time that 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 When using the PLC 5 Message instruction the Destination Address is entered in octal The PLC 5 processor automatically translates the octal address to a byte address by doubling the decimal equivalent Therefore 010 base 8 becomes 16 base 10 and 177 base 8 becomes 254 base 10 The PLC 5 Message instruction does not allow an octal address less than 010 base 8 to be entered In application the CIF can be thought of as a data buffer between all the other SLC data files and the DH 485 port The SLC processor must be programmed using ladder logic to transfer data between the CIF and the other data files as shown here SLC 500 CIF File SLC 500 Processor Data Files SLC Ladder 0 through 8 Program DH 485 Unprotected Read CIF File 9 The CIF can be managed by designating areas to be written to and areas to be read from If it is desired to know when data has changed in the CIF use ladder logic to program handshaking bits in your CIF data PLC 5 to SLC 500 Communications B 3 Use the PLC 5 Message Instruction with Word The PLC 5 Message instruction s octal Destination Address must be between 010 base 8 and 177 base 8 This range co
82. ill produce a one second wait on the modem Refer to your modem user manual for details Modem Init String Delay 0 s 0 25 s Determines the amount of time the module will wait before sending the Modem Init String to the modem Message Timeout 10 000 ms 100 12 750 ms The time to wait for a response to a message sent on a DF1 network This parameter is rounded down to the nearest 50 ms increment For example if you enter 199 ms it is accepted as 150 ms Hardware Handshaking Disabled Disabled Enabled If enabled the module will use the RTS and CTS signals for control of the modem Embedded Response Embedded Embedded Selecting Embedded Response lets the module to send Detect Response Response embedded responses within packets Selecting Auto Auto Detect Detect Embedded Response causes the module to use Embedded Response embedded responses only if an embedded response from the host is received by the module ACK Timeout 200 x 5ms 0 65 535 x5 ms _ Determines the time the module will wait for an ACK to be received from the host DF1 device ENQuiry Retries 2 0 254 Determines the number of enquiry retries that will be attempted before a packet transmission is considered to have failed NAK Received Retries 2 0 254 Determines the number of packet retries that will be attempted when NAK responses are received on previous transmissions of the packet Publication 1747 UMO005B EN P March 2006
83. ine Modem Dedicated Line Interface Module Modem Overview 1 9 Interface Module Dedicated 1747 KE Line Modem 0000000 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 Publication 1747 UM005B EN P March 2006 1 10 Overview Publication 1747 UM005B EN P March 2006 Half duplex Slave to slave Communication Half duplex Slave to slave Communication SLC 5 05 processor RSLinx Dedicated Line Modem DF1 Slave This configuration allows a DF1 slave device send a message to another DF1 slave device In this example RSLinx can communicate 0000000 to an SLC slave Dedicated Line Modem 0000000 Interface Module Link Coupler 1747 KE Dedicated Line 1747 AIC N Modem Des Link Coupler 1747 AlC Link Coupler 7 1747 AlC
84. ing modem Once configured this driver can be called by the programming software used to program the SLC processor The steps below describe how to configure the DF1 modem driver using RSLinx Classic version 2 x To begin 1 Start RSLinx software 2 Click on Start gt Program Files gt Rockwell Software gt RSLinx gt RSLinx Classic ae a My Networl Place 7 ki s in lace Recycle Bi z Internet Explorer Rd IT Help EB New Office Document a Open Office Document G Set Program Access and Defaults Adobe Check Point VPN 1 SecureClient gt A jetWore gt ASLinx Classic Backup Restore Utility x yy ASLinx Classic Launch Control Panel amp ASLinx Classic Online Reference u S RSLinx Classic FIR i BUSI DS GMO om Once RSLinx software is opened you ll need to add the communication driver required for RSLinx software to communicate across a modem to network hardware To configure the driver 1 Select the Communications menu 2 Scroll down and select the Configure Drivers Publication 1747 UMO05B EN P March 2006 Application Examples The driver configuration screen appears lt Q RSLinx Classic Lite RSWho 1 amp File View Communications Station DDE OPC Security Window Help of 218 x RSWho S slal T aon Configure Driver Configure Shortcuts B Configure Client Applications Lil Configure CIP Options Linx Gat
85. ings 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 8 N10 11 3 Parity None N10 11 4 5 Stop Bits 1 N10 11 6 Duplicate Packet Detection Disabled N10 11 7 Checksum BCC N10 11 8 Hardware Handshaking Disabled N10 11 9 Constant Carrier Detect Disabled N10 11 10 Duplex Setting Full N10 11 11 Embedded Response Detect ADER N10 11 12 ENQuiry Retries 2 N10 12 0 7 Modem Init String Delay 5s N10 12 8 15 NAK Received Retries 4 N10 13 0 7 DF1 Slave Address 7 N10 13 8 15 ACK Timeout 37x 5ms N10 14 0 15 Message Timeout 100 ms N10 15 0 15 RTS On Delay 5x5ms N10 16 0 15 RTS Off Delay 7x5ms N10 17 0 15 1 Not applicable for full duplex DH 485 Configuration N10 21 27 Parameter Configuration Word and Bits Used Node Address 5 N10 21 0 7 Max Node Address 31 N10 21 8 15 Communication Rate 19 200 N10 22 0 3 Pass Through Enabled N10 22 4 Message Timeout 12000 ms N10 23 0 15 Modem Init String Characters 1 14 N10 31 37 cdefghijklmnop Modem Init String Characters 15 28 N10 41 47 ABC null Application Examples 8 3 Configuration Results Configuration occurs upon power up or when entering Run mode The configuration is successful only if dat
86. ion 1747 UM005B EN P March 2006 4 2 Installation and System Configuration Choose the Module s Functionality Publication 1747 UMO005B EN P March 2006 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 replacing a series A module with a series B module Refer to page 4 2 for more information The module s functionality depends on the placement of the JW4 jumper Horizontal placement of the jumper gives the module functionality equivalent to a series A interface module while vertical placement of the jumper accesses the added functionality of a series B interface module Module Functionality Settings Series A Functionality Series B Functionality mod config ID 4209 mod config ID 3509 Duo EE w g e e 2 i u ona e e Horizontal Horizontal Run Vertical Vertical Run Configuration Mode Configuration Mode Mode Mode Add an Interface Module to Your System If you are not replacing a series A module you will want to access the full functionality of the series B module Therefore as you work through the remainder of this manual follow the instructions for series B functionality vertical placement of the JW4 jumper Skip the next section and move on to Set the Module s Mode Replace a Series A Interface Module in Your System Marta Choosing series B functionality requires you to change the module configuration ID assigned in
87. is selection bit is only available in the SLC 5 02 Series B FRN 3 processor or later The PLC 5 Message instruction s octal Destination Address must be between 010 base 8 and 377 base 8 This range corresponds to byte 16 base 10 through byte 510 base 10 This allows odd and even words in the SLC processor to be addressed by the PLC 5 Message instruction Destination Address Byte Word SLC Processor Address 16 8 N9 8 18 9 N9 9 20 10 N9 10 510 255 N9 255 The maximum value for the PLC 5 Message instruction Size in Elements parameter is 41 when the destination is an SLC processor assuming 1 word elements For example write 10 words from N7 in a PLC 5 to an SLC 5 02 using the PLC 5 s processor Message instruction To write 10 words 1 Set up the source address in the Message instruction as N7 0 2 Set the Size in Elements to 10 3 Set up the Command Type as PLC 2 Unprotected Write 4 Set up the Destination Address as 010 base 8 This corresponds to the SLC address N9 8 Since 10 words will be written make sure that the N9 file in the SLC processor is created to at least N9 17 It is assumed that the Message instruction will be set up for a remote destination since there must be a bridge between the 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 Battery
88. l Setup Menu press any key Full duplex Setup Summary Setup Summary CONFIG POR T DF1 POR T DH 485 PORT DF1 PR TCL Full Dup Baud 1200 Baud Baud Checksum Bits char Bits char CCD Modem Init Delay OS Parity Parity Max Node Add 31 Msg Time 10000mS RTS CTS Stop Bits Stop Bits Msg Time 10000ms Em Resp Detect ACK Time Hndshking Soft Pass Thru ENO Retries NAK Retries Modem Init String Hit any key to continue Half duplex Setup Summary Setup Summary CONFIG POR T DF1 POR T DH 485 POR T DF1 PR TCL Half Dup Baud 1200 1200 Baud Checksum Bits char Bits char 8 Node CCD Modem Init Delay OS Parity Parity None MaxNode Add 31 Msg Time 10000mS RTS CTS Off Stop Bits Stop Bits 1 MsgTime 10000ms Poll Time Msg Retries 2 Hndshking Soft Pass Thru RTS On Delay Ox5ms RTS Off Delay Ox5ms Loc Rem Modem Init String Hit any key to continue Publication 1747 UMO005B EN P March 2006 Overview Chapter 6 Module Configuration Using the Backplane IMPORTANT Configuration through the backplane is an alternate 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 Instead return to Chapter 5 for directions on configuration with a terminal or move on to Chapter 7 The interface module can be configured through backplane com
89. l duplex DH 485 Link Data Highway 485 link An Allen Bradley token passing baseband link for a local area network based on the RS 485 standard Full duplex a mode of operation for a point to point link with two physical circuits in which messages or transmission blocks can be sent in both directions at the same time Preface 3 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 Equipment that connects data terminal equipment to a communication line RAM random access memory The type of memory in which each storage location is by X Y coordinates as in core or semiconductor memory Tape or bubble memory cannot be random access Thus the data access time is independent of the location of the data Unless stated otherwise RAM usually implies read write and volatile RS 232 C an EIA standard that specifies electrical mechanical and functional characteristics for serial binary communication circuits in a point to point link RS 422 an EIA standard that specifies electrical characteristics of balanced voltage digital interface circuits in a point to point link RS 423 an EIA standard that specifies electrical characteristics of unbalanced voltage digital interface circuits in a point to point link RS 485 an E
90. lation directions found on page 4 7 b Place your module in Run mode using JW4 Series A Functionality Series B Functionality mod config ID 4209 mod config ID 3509 oa k o BEE o Horizontal Run Vertical Run Mode Mode Publication 1747 UM005B EN P March 2006 4 16 Installation and System Configuration c Re insert the module into the chassis TOT Make sure you have JW4 positioned for the Run mode that corresponds to the functionality you ve chosen for your module 2 Connect the DF1 cable to the DF1 port 3 Connect the DH 485 cable to the DH 485 port 4 Insert the cable tie in the slots and secure the cable 5 Cover all unused slots with the Card Slot Filler catalog number 1746 N2 p _ 18 WINN Ben SR TF SA en DF1 Port DH 485 Port Bee 6 Apply power to the SLC 500 chassis 7 Verify that the LED indicators on the module indicate normal operation per the LED indicator table on page 1 3 Publication 1747 UM005B EN P March 2006 Chapter 5 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 This chapter includes e conf
91. munications using any SLC fixed 5 01 5 02 5 03 5 04 or 5 05 processor This chapter guides you through the configuration of your interface module using backplane communications Once you complete the configuration return to page 4 15 for instructions on completing the installation of your module Topics for this chapter include e configuring the interface module from the SLC processor e placing the module into software Run mode from the SLC processor e reading the module s configuration from the SLC processor e examining the SLC processor s status word e building the DF1 DH 485 and Modem Init String configuration packets e using the Real Time Clock e establishing a Data Echo between the interface module and the SLC processor e resetting the interface module from the SLC processor In this method of configuration the SLC processor uses the backplane to load the configuration data into the Output Image file for the interface module By assigning a Data ID value in the Output Image file you designate which parameters to configure Publication 1747 UM005B EN P March 2006 6 2 Module Configuration Using the Backplane Configure the Interface Module from the SLC Processor Publication 1747 UMO005B EN P March 2006 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 confi
92. n 1747 UMO005B EN P March 2006 Module Configuration Using the Backplane 6 17 Establish a Data Echo Between the Interface Module and the SLC Whether in software Run or software Configuration mode the SLC processor can send data in the Output Image file to the interface module and have it echoed back by the module s Input Image file This feature gives the SLC processor the ability to verify that the Processor module is operating properly If the data is not echoed back the module is assumed to be operating incorrectly and is forced into a reset by the SLC processor See the section Resetting the Interface Module from the SLC processor Establish a Data Echo With the SLC processor you The interface module then 1 Set the Data ID to 6 0 e 0 0 3 2 Load known data into words 1 7 of the output file D e 1 7 3 Setthe Data Handshaking bit 0 e 0 14 4 Verifies that the DF1 and DH 485 ports are okay 5 Loads the data from the output file into the input file 6 Sets the Data Handshaking Bit l e 0 14 7 Verify that the Input File words 1 7 ke 1 7 match the Output File O e 1 7 8 Reset the Data Handshaking Bit 0 e 0 14 9 Resets the Data Handshaking Bit l e 0 14 The SLC processor can set up the Data Echo configuration by building the configuration packet shown below SLC Output File to the Interface Module Bit CCEA
93. n 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 when necessary we use notes to make you aware of safety considerations Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which may lead to personal injury or death property damage or economic loss IMPORTANT Identifies information that is critical for successful application and understanding of the product Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you ATTENTION e identify a hazard e avoid a hazard e recognize the consequences TAATAAN Labels may be located on or inside the equipment for example drive or motor to alert people that dangerous voltage may be present BURN HAZARD Labels may be located on or inside the equipment for example drive or motor to alert people that surfaces may be dangerous temperatures 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 For See page Updated method of ordering publications P 2 Up
94. nal It only takes effect if hardware handshaking is enabled Refer to your modem user manual Publication 1747 UM005B EN P March 2006 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 0 Slave Add 0 254 Slave address is a half duplex local mode parameter and is Group Number Group No 0 7 the address of the module on the DF1 link Group Number is a half duplex remote mode parameter and provides a means of addressing more than 32 DH 485 nodes This is explained in detail on page 3 4 Master Station Address 8 10 octal 0 254 decimal Determines the address of the half duplex DF1 master device For slave to slave communication this is the address of the DF1 slave device Refer to page 3 9 Build the DH 485 Configuration Packet Use the SLC processor to set up the DH 485 port Build the configuration packet shown below by following the configuration instructions found on page 6 2 Descriptions of each of the parameters follow SLC Output File to the Interface Module Bit 15 14 13 12 11 0 Word 0 Module Data Read Reset Reserved Data ID 3 Mode Hand or Interface Bit shake Write Module Bit Bit Bit 1 DH 485 Max Node Address 1 31 DH 485 Node Address 0 31 2 Pass D
95. ng standard start up procedures as indicated in your processor manual No special start up procedures are required when using the module Before applying power to the module make sure e the module is installed in the SLC chassis e all communication devices are connected e your SLC processor is configured to operate with the interface module Refer to Chapter 4 for more information e your interface module is configured properly Refer to Chapters 5 and 6 for more information When power is applied to the SLC system the SLC processor and module run through a power cycle diagnostic sequence After the diagnostics are successfully completed the SLC processor enters Run mode and normal operation begins ATTENTION This module is a device used for communications Improper configuration or module failure may cause communications to stop Be careful to avoid system designs that would cause potential safety concerns within the system in the event of a communications failure Publication 1747 UMO005B EN P March 2006 2 4 Quick Start Publication 1747 UMO005B EN P March 2006 Chapter 3 Communicate with the Interface Module This chapter explains e full and half duplex DF1 communication e local and remote half duplex operation e communicating with master and slave DH 485 devices e communicating with a modem DF1 Communication The module supports full duplex DF1 protocol and half duplex DF1 slave protocol on
96. ns are still connected to their RS 422 loads Do not use these pins in RS 423 mode 8 In RS 422 and RS 485 modes these pins are connected to their RS 423 drivers and receivers Do not use these pins in either RS 422 or RS 485 modes g In RS 485 mode these pins are still connected to their RS 422 receivers Do not use these pins in RS 485 mode mA The signal names on a DCE device are viewed from a DTE perspective For example TXD is a DTE output and also a DCE input Installation and System Configuration 4 9 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 Publication 1747 UMO005B EN P March 2006 4 10 Installation and System Configuration RS 423 232 DTE to DCE No Handshake to DCE Interface Module Peripheral 9 pin 25 pin 1 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 1 Connect DSR to DTR and CD and CTS to RTS when using devices that cannot disable their handshaking RS 422 Interface Module Peripheral 3 Q s Publication 1747 UMO005B EN P March 2006 Installation
97. o Module Data Read Reset Mode Hand jor Interface Bit shake Write Module Renee bale Bit Bit Bit 1 User defined Data 2 User defined Data 3 User defined Data 4 User defined Data 5 User defined Data 6 User defined Data 7 User defined Data The output status word is defined on page 6 6 To write the echo data packet the Read or Write bit must be 0 and the Module Mode Bit can be either 0 or 1 Publication 1747 UMO005B EN P March 2006 6 18 Module Configuration Using the Backplane Reset the Interface Module ae Een ae can a i soft reset of ae interface a 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 The reset is accomplished as listed below Reset the Module from the SLC Processor With the SLC processor you The interface module then 1 Set the Reset Interface Module Bit 0 e 0 12 2 Performs a reset 3 Sets the Reset Acknowledgement Bit l e 0 12 if the module detects the Reset bit is high Otherwise the module will assume a normal power cycle reset occurred and will not need to set the Reset Acknowledgement bit 4 Reset the Reset Interface Module Bit 0 e 0 12 gi Resets the Reset Acknowledgement Bit l e 0 12 Publication 1747 UMO005B EN P March 2006 Chapter f Interpret the LED Ind
98. o complete the driver configuration and attempt a connection click OK The Dialer window appears and relays the information about the attempted connection The dialer will repeatedly attempt to establish a connection until the time duration expires or retries as shown in the Dialer dialog Dialer N x Dialing 1747KERAD Gk 301 888 555 5309 Zar Book ENTER A NAME Cancel Status Time Left 57 Sec RetiesO of 5 Dialing 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 12 If the connection was successful click OK at the Modem Initialization dialog which will return you to the Configure Drivers dialog Configure Drivers 2 x r Available Driver Types Close Rs 232 DF1 devices 7 E Help r Configured Drivers Name and Description Status Bortigure Startup Statt Stop Delete A successful connection is indicated by the status shown as Running in the AB_DF1 driver You are now ready to view the network connection Publication 1747 UM005B EN P March 2006 Application Examples 8 23 13 Click Close to exit the Configure Drivers dialog 14 Click on Communications gt RSWho EA Rockwell Software RSLinx Gateway RSWho 1 _ oO x a File Edit View Communications Station DDE Window Help la x
99. oad is in process or the 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 Must Although the format of the Unprotected Reads and Writes is the same as used in other PLC processors the implementation of the address parameter is different In Allen Bradley s PLC products the address is interpreted as a byte address In some SLC 500 products the address is interpreted as a word address e The SLC 500 and 5 01 processors use word addressing exclusively e The SLC 5 02 prior to Series C FRN 3 processor also use word addressing exclusively e The SLC 5 02 Series B FRN 3 processor and above have a selection bit S 2 8 which allows selection of either word or byte addressing e The DTAM for the SLC processors use word addressing exclusively The CIF is actually like any of the other SLC data files except that it is designated as the target file for all PLC 2 Unprotected Read and Unprotected Write commands that are received by the SLC It is always File 9 The CIF can be defined as bit integer timer counter or control data types However only bit or integer files should be used to make addressing easier Publication 1747 UM005B EN P March 2006 B 2 PLC 5 to SLC 500 Communications PLC 5 Message Instruction Use the SLC 500 CIF File Publication 1747 UMO005B EN P March 2006 Tote F
100. ommand byte 3 11 PLC 5 communications message instruction B 2 with word B 3 polling 3 3 ports isolation 1 2 publications related P 2 0 quick start 2 1 RAM definition P 3 Real Time Clock application example 8 9 remote mode half duplex DF1 protocol 3 4 slave to slave communication 3 10 required tools and equipment 2 1 resetting the module from the SLC 6 18 RS 232 definition P 3 selection 4 5 4 6 RS 422 Index 3 definition P 3 selection 4 5 4 6 RS 423 definition P 3 selection 4 5 4 6 RS 485 definition P 3 selection 4 5 4 Run mode 1 4 4 4 6 4 15 zd S series A functionality 4 2 series B functionality 4 2 setup summary full duplex 5 12 half duplex 5 12 slave to slave communication 1 9 3 8 SLC processor communications B 1 configure 4 13 definition P 3 input status word 6 6 output status word 6 6 status bits 7 2 specifications Real Time Clock calendar A 2 SRD message 3 11 status bits 7 2 status codes 6 7 7 3 status word input 6 6 output 6 6 system configuration 4 13 T terms P 2 token passing 3 4 tools needed 2 1 Top Level Setup menu 5 3 5 4 troubleshooting 7 1 typical configurations 1 6 W worksheets configuration D 1 Publication 1747 UM005B EN P March 2006 Rockwell Automation Rockwell Automation provides technical information on the web to assist you in using its products At http support rockwellautomation com you can find Support tec
101. ot permitted A special provision of the DOT E7052 11th Rev October 21 1982 par 8 a provides that Persons that receive cell and batteries covered by this exemption may reship them pursuant to the provisions of 49 CFR 173 22a in any of these packages authorized in this exemption including those in which they were received The Code of Federal Regulations 49 CRF 173 22a relates to the use of packaging authorized under exemptions In part it requires that you must maintain a copy of the exemption at each facility where the packaging is being used in connection with shipment under the exemption Shipment of depleted batteries for disposal may be subject to specific regulation of the countries involved or to regulations endorsed by those countries such as the IATA Restricted Articles Regulations of the International Air Transport Association Geneva Switzerland Regulations for transportation of lithium batteries are periodically revised Lithium Battery Replacement Handling and Disposal C 5 Battery Disposal The following procedures must be followed when disposing of lithium batteries ATTENTION Do not incinerate or dispose of lithium batteries in general trash collection Explosion or violent rupture is possible Batteries should be collected for disposal A in a manner to prevent against short circuiting compacting or destruction of case integrity and hermetic seal For disposal batteries must be packa
102. ottom latches are latched To remove the module press the releases at the top and bottom of the module and slide it out KUN II N V Ses PB Module Release lt Card Guide E al Publication 1747 UMO005B EN P March 2006 4 8 Installation and System Configuration Connect Cable to CONFIG or The CONFIG and DF1 ports communicate to user devices through DF1 Ports Publication 1747 UMO005B EN P March 2006 RS 423 232 RS 422 and RS 485 Communication modes The Communication mode is selected by setting jumpers JW1 and JW2 as described on pages 4 5 and 4 6 Mut The following table and cable drawings assume the peripheral devices have conventional pin assignments Check the documentation for your device to verify signals conform to those shown Use these pin assignments to construct communication cables for the CONFIG and DF1 ports These connectors must be wired to correspond to the selected communication mode Pin Assignments for CONFIG and DF1 Ports Pin for RS 423 232 RS 422 RS 485 IBM AT Standard Interface Signal Signal Signal RS 423 232 Module Signal 25 pin 9 pin Pin Pin tM a R Door BD 1 CD 2 RXD RXD 3 RXD 3 2 3 TXD 2 2 TXD 2 3 4 DTR 2 2 DTR 20 4 5 COM COM COM COM 5 6 DSR RXD 3 DSR 6 7 RTS 2 2 RTS 7 8 CTS 2 2 CTS 8 9 1 TXD TRXD RI 22 9 1 In RS 423 mode these pi
103. r half or full duplex More Choose F for full duplex when using RSLinx software DF1 Protocol Menu 1 CONFIG PORT 2 DF1 PORT 3 DH 485 PORT 4 DF1 PROTOCOL 5 DISPLA Y PARAMETERS X SAVE AND EXIT Enter Selection DF1 Duplex Full New Value H F DF1 Full duplex Setup Menu Select full duplex by pressing F when prompted at the bottom of the Top Level Setup Menu The DF1 Full duplex Setup Menu provides 12 selections DF1 Full duplex Setup Menu DF1 Full Duplex Setup Menu 1 Duplicate Packet Detection 2 Checksum 3 Constant Carrier Detect 4 Modem Init String 5 Modem Init String Delay 6 Message Timeout 7 Hardware Handshaking 8 Embedded Response Detect 9 ACK T imeout A ENQuiry Retries B NAK Received Retries X SAVE AND EXIT Enter Selection Publication 1747 UMO005B EN P March 2006 Parameter Duplicate Packet Detection Module Configuration Using an ASCII Terminal 5 9 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 DF1 Full duplex Setup Parameters Default Disabled Options Enabled Disabled Description Determines whether duplicate message detection is Disabled or Enabled When enabled
104. rface Module SLC Input Status Word from the Interface Module Status Codes from the Module to the Processor Build the DF1 Configuration Packet 2 2 22 DFI Port Setup Parameters 2 222 222 Interpret the LED Indicators Application Examples Specifications Table of Contents iii DF1 Full duplex Setup Parameters 2 22 6 10 DF1 Half duplex Setup Parameters o o nananana 6 11 Build the DH 485 Configuration Packet 6 12 DH 485 Port Setup Parameters 22 222222 6 12 Build the Modem Init String Configuration Packets 6 13 Modem Init String for Characters 1 Through 14 6 14 Modem Init String for Characters 15 Through 28 6 15 Use the Real Time Glock aus hanes o4 en de a 6 16 Establish a Data Echo Between the Interface Module and the SLC Processor ne Na aun es wie nerd aed Ae eek EES 6 17 Reset the Interface Module from the SLC Processor 6 18 Chapter 7 Interface Module Status Indicators 0 4 7 1 Input Image Description 200000005 FE Status Codes from the Module to the Processor 7 3 SEG Fault Codey 2 re ea ren eh 7 3 Chapter 8 Basic Configuration Example Using the Backplane 8 1 Parameter hoOcavions ssa sige era en 8 1 Parameter Settings 20 0 00000 8 2 Configuration Results bovine a Bee Eee nde ewes 8 3 Backplane Configuration User Program 8 4 Configuration Data Ta
105. rresponds to word 16 base 10 through word 254 base 10 in the SLC processor Only even numbered words 16 18 20 254 in the SLC processor can be addressed by the PLC 5 Message instruction The maximum value for the PLC 5 Message instruction Size in Elements parameter is 112 when the destination is an SLC processor assuming 1 word elements For example write 10 words from N7 in a PLC 5 to an SLC 5 02 using the PLC 5 s Message instruction To write 10 words 1 Set up the source address in the Message instruction as N7 0 2 Set the Size in Elements to 10 3 Set up the Command Type as PLC 2 Unprotected Write 4 Set up the Destination Address as 010 base 8 This corresponds to the SLC address N9 16 Since 10 words will be written make sure that the N9 file in the SLC processor is created to at least N9 25 It is assumed that the Message instruction will be set up for a remote destination since there must be a bridge between the 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 Publication 1747 UMO005B EN P March 2006 B 4 PLC 5 to SLC 500 Communications Use the PLC 5 Message Instruction with Byte Publication 1747 UMO005B EN P March 2006 Toten The byte addressing mode is selected in the SLC processor by setting bit 2 8 to 1 The default is S 2 8 0 for word addressing Th
106. sal gee Fra eee oh BON eS C 5 Appendix D DF1 Full duplex 40 pi thew a Poa a rl D 2 DEL Hal duplesy ass a2 eosin achenh Bee eed uaa D 3 Index Who Should Use This Manual Purpose of This Manual Preface Read this preface to familiarize yourself with the rest of the manual This preface covers the following topics e Who should use this manual e The purpose of this manual e Contents of this manual e Terms and abbreviations e Conventions used in this manual Use this manual if you are responsible for designing installing programming or troubleshooting control systems that use Allen Bradley small logic controllers 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 This manual is a reference guide for the DH 485 RS 232C Interface Module It describes the procedures you use to install and configure your interface module for application with PLC and SLC controllers Publication 1747 UM005B EN P March 2006 2 Preface Related Documentation The following documents contain additional information regarding Rockwell Automation products Related Documentation For Read This Document Document Number A guide to understanding and selecting SLC 500 products SLC 500 System Selection Guide 1747 SG001 A description on ho
107. ster s access to the DH 485 node is indirect The destination address and the station address are generally different In local mode the polling algorithm used by the half duplex master is simplified so that the master only needs to poll the single interface module The module will respond to messages from the half duplex master only if the station address contained in these messages is the node address of the interface module The module then forwards the packet to the appropriate DH 485 node as defined by the destination address Responses from remote nodes on the DH 485 network contain a destination address equal to that of the interface module and not that of the half duplex master device The module responds to poll packets from the half duplex master by returning whatever data has been forwarded to it by the remote nodes under its jurisdiction In the Local Mode illustration on page 3 4 the half duplex master only polls the interface module at station address 01 Messages from the half duplex master to the SLC 500 controllers are sent using a master message containing both the station address of the interface module node 01 and the destination address of the SLC 500 controller node 03 for example Responses from the SLC 500 controllers to the half duplex master contain the destination address of the interface module node 01 which then returns all responses to the half duplex master station upon being polled During configura
108. th the DH 485 network This port is not isolated and cannot directly drive a multi node DH 485 network You must use a 1747 AIC link coupler to connect this port to a DH 485 network that includes multiple SLC 500 processors The 1747 C11 or 1747 C13 cables can connect the interface module s DH 485 port to a 1747 AIC link coupler The 1747 C13 cable can also connect the module s DH 485 port directly to a single SLC processor See page 4 11 for cable connections Overview LED Indicators 1 3 There are eight LED indicators on the front of the module These LED indicators are used for module diagnostics and operator interface The LED indicators and their descriptions are provided below DH485 RS 232C CO act C FAULT LED Indicators Co 485 C BALOW Co cre DI HD Co Dr 7 F D INTERFACE LED Indicator Status LED Color Status Indication ACT Green ON The module is receiving power from the backplane is configured properly and is placed in Run mode Flashing The module requires configuration or is being configured OFF The module is not receiving power from the backplane A fault condition exists 485 Green ON The DH485 port is active on the network OFF The DH485 port is not active on the network or the module is in Configuration mode CFG Green Flashing The CONFIG port is transmitting or receiving signals OFF The CONFIG port is not transmittin
109. tion of the interface module the module s destination address or slave address is selected if Local mode has been selected Publication 1747 UMO005B EN P March 2006 3 4 Communicate with the Interface Module Local Mode l SLC 500 SLC 500 22 Link Coupler Node 02 Node 01 PLC5 fe 1747 AlC controller S EN D E ITFEAEE N Publication 1747 UMO005B EN P March 2006 DF1 Master RS 232C DF1 SLC 500 Node 03 BL ooloalooloo E oo oojoo DH 485 Link a MUTA SLC 500 DH 4 Node 00 Link Coupler 1747 AlC Remote Mode The valid range of slave addresses on a half duplex network is 000 through 376 octal 000 through 254 decimal accommodating a total of 255 devices The valid range of addresses on a DH 485 network is 00 through 37 octal 00 through 31 decimal To let addressing of up to 255 DH 485 nodes eight groups group numbers 00 through 07 of DH 485 networks are established Each group number defines a DH 485 network which can consist of up to 32 nodes each except for group 07 which is limited to 31 nodes Refer to the table on page 3 6 During configuration of the interface module the module s group number is selected if Remote mode has been selected
110. transferred 2 1200 3 2400 on the DH 485 link 4 4800 5 9600 Important All stations on the DH 485 link must be set to 6 and 7 19200 the same communication rate Build the Modem Init String Configuration Packets When the module is powered up for the first time the Modem Init String is empty You can build the string using the two Data ID numbers reserved for the Modem Init String The packet with Data ID 4 will set up the first 14 characters of the Modem Init String If you require less than 14 characters place a NULL in the location immediately following the last valid character The module ignores all characters beyond the NULL value If you require exactly 14 characters the module automatically places a NULL after the 14th character If you need more than 14 characters you also need to send the packet with Data ID 5 Send this packet only after you send the packet with Data ID 4 Here again you need to place a NULL immediately following the last valid character If you use all available characters of the string a NULL is automatically placed after the 28th character Publication 1747 UMO005B EN P March 2006 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 Follow the configuration instructions fo
111. ule 3 9 Slave to slave Communication The interface module lets communication from a DH 485 network device to a single DF1 slave device regardless of which mode of half duplex addressing is selected local or remote To achieve this the interface module s Master Station Address must be configured as that DF1 slave address 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 Interface Module DFI Slave HT Link Coupler me Bun PLC 5 1747 AIC Na NEEE processor B DF1 Master EC Dedicated Line Modem Aa Dedicated Line Link Coupler flo Modem 1747 AlC AVES TREE a f Dedicated Line Link Coupler _ i Modem 1747 AlC i DF1 Slave In this illustration a packet from the RSLinx computer intended for an SLC node is first transferred to the PLC 5 controller DF1 master The PLC 5 controller then transfers the packet to the interface module which converts it to a DH 485 pack
112. und on page 6 2 SLC Output File to the Interface Module Bit SESE go Module Data Read or Reset Mode Hand write Interface Data ID 4 Bit shake Bit Bit Bit Module Reserved 1 1st ASCII character 2nd ASCII character 2 3rd ASCII character Ath ASCII character 3 5th ASCII character 6th ASCII character 4 7th ASCII character 8th ASCII character 5 9th ASCII character 10th ASCII character 6 11th ASCII character 12th ASCII character 7 13th ASCII character 14th ASCII character The output status word is defined on page 6 6 To configure the Modem Init String the Read or Write Bit must be at 0 and the Module Mode Bit must be at 1 To read the Modem Init String the Read or Write Bit must be 1 and the Module Mode Bit can be either 0 or 1 Publication 1747 UMO005B EN P March 2006 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 SLC Output File to the Interface Module Ble ell PEPE El ol Module Data Read or Reset a ie ae Reserved Data ID 5 Bit Bit 1 15th ASCII character 16th ASCII character 2 17th ASCII character 18th ASCII character 3 19th ASCII character 20th ASCII character 4 21st ASCII
113. ung 2 6 Rung 2 7 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 EQU 0 1 I 1 COP EQUAL IE E COPY FILE Source A N10 0 14 14 Source I 1 0 0 Dest N11 30 Source B 2 Length 8 Config handshake bit to the module 0 1 U 14 Check status and point to next Config block MEQ ADD MASKED EQUAL ADD Source N11 30 Source A N10 0 0 0 Mask 07F0 Source B 1 Compare 0 Dest N10 0 0 This rung copies a new Modem Init String 15 28 Config block to the module Copy Modem Init Config handshake Config handshake String 15 28 Config bit to the module ACK bit from the module to the module EQU 0 1 I i COP EQUAL 1 L i E COPY FILE Source A N10 0 14 14 Source N10 40 0 Dest 0 1 0 Source B 3 Length 8 Config handshake bit to the module 0 1 L 14 Publication 1747 UMO005B EN P March 2006 This rung checks the Application Examples Config handshake Config handshake Modem Init String 15 28 from the interface module Copy Config to bit to the module ACK bit from the module the module EQU O 1 I 1 COP Rung EQUAL IE IE COPY FILE 2 8 Source A N10 0 14 14 Sourc
114. ur modem user manual for details Modem Init String Delay Os 0 25 s Determines the amount of time the module will wait before sending the Modem Init String to the modem Message Timeout 10 000 ms 100 12 750 ms The time to wait for a response to a message sent on a DF1 network This parameter is rounded down to the nearest 50 ms increment For example if you enter 199 ms it is accepted as 150 ms Hardware Handshaking Disabled Disabled Enabled If enabled the module will use the RTS and CTS signals for control of the modem Poll Timeout 200 x 5 ms 0 65 535 x 5 ms Determines the time to wait to be polled by the DF1 master before a transmission request is ignored Message Retries 0 254 Determines the number of allowable retries on the DF1 link before failure RTS On Delay 0x5ms 0 65 535 x 5 ms Determines the delay between the RTS Request to Send signal and the start of transmission by the module This parameter is only required when communicating with the type of radio modem that requires a delay after exerting the RTS signal It only takes effect if hardware handshaking is enabled Refer to your modem user manual RTS Off Delay 0x5ms 0 65 499 x 5 ms Determines the delay between the end of the message and the module setting RTS Request to Send inactive This parameter is only required when communicating with modems that require a delay bet
115. ut image data is accepted by the 1 Acknowledges that the module interface module Input image data is valid was reset from the SLC processor Status Code Bits Bit Number decimal 15 14 13 12 11 10 9 8 7 6 5 Status Word Word 0 l e 0 Module Mode Bit Battery Status Bit Modem Lost Bit Data ID Value Bits 0 Module is running 0 Battery is good 0 Modem carrier detected 1 Module requires configuring or is 1 Battery is low 1 Modem carrier inactive in software Configuration mode no modem connected 1 Applies to series B or later interface modules only Publication 1747 UMO005B EN P March 2006 Module Configuration Using the Backplane 6 7 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 Indicates improper status for hex dec 01 01 Day 02 02 Month 03 03 Year 04 04 Day of the Week 05 05 Hour 06 06 Minute 07 07 Second 08 08 Data ID 09 09 Not Used OA 10 Not Used 0B 11 DF1 Eng Msg Retry 0C 12 Modem Init String Delay 0D 13 Master Station NAK Rec Retry OE 14 Slave Address Group Number O
116. ve 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 www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation Vorstlaan Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 1747 UMO005B EN P March 2006 Supersedes Publication 1747 6 12 January 1997 Copyright 2006 Rockwell Automation Inc All rights reserved Printed in the U S A
117. w to go online using RSLogix500 software and RSLinx version 2 x To begin 1 Start RSLogix500 software If the RSLogix500 software is properly installed the main dialog appears RAEE 00000 ARP READ Z 2 Select Comms gt System Comms from the main menu AREF 0000 1 APP READ 7 The System Communication dialog appears Publication 1747 UMO005B EN P March 2006 8 26 Application Examples Publication 1747 UMO005B EN P March 2006 3 Select the driver of the PLC controller m _ Current Selection Reply Timeout Server RSLinx API Driver AB_DF1 1 eply Timeout Node fi Decimal 1 Octal Type SLC500 fio Sec T Apply to Project 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 Select the node address of the PLC controller If the node address is known then enter the value directly into the Processor Node dialog If the processor node is unknown the value can be selected from RSLinx software s NetworkWho J Autobrowse ajl Not Browsing 0 Workstation RAJEFORGUITES 35 Linx Gateways Ethernet So Zs AB_DF1 1 DH 485 00 Workstation RAJEFOF a 01 SLC 5 03 JESSO3 Address Device Type Online Name status Cancel Workstation a SLC 5 03 JESSO3 Program Computer 1747 KE Program Help Online 02 Computer 1747 KE Upload Download ik H
118. w to install and use your modular SLC 500 User Manual for Modular Hardware Style 1747 UM011 programmable controller Programmable Controllers A reference manual that contains status file data instruction set and SLC 500 Instruction Set Reference Manual 1747 RM001 troubleshooting information A glossary of industrial automation terms and abbreviations Allen Bradley Industrial Automation Glossary AG 7 1 Terms and Abbreviations Publication 1747 UMO005B EN P March 2006 If you would like a manual you can e download a free electronic version from the Internet at www literature rockwellautomation com e purchase a printed manual by contacting your local distributor or Rockwell Automation representative 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 Backplane a printed circuit board at the back of a chassis that provides electrical interconnection between the modules inserted into the chassis DF1 a serial communication protocol capable of delimiting messages controlling message flow detecting and signalling errors and retrying after errors are detected See half and ful
119. ween sending the last character and raising the RTS signal It only takes effect if hardware handshaking is enabled Refer to your modem user manual Local Remote Mode Local Local Remote Refer to pages 3 3 and 3 4 for a description of these half duplex modes Slave Address Group Number Slave Add 0 254 Group No 0 7 Slave address is a half duplex local mode parameter and is the address of the module on the DF1 link Group Number is a half duplex remote mode parameter and allows a means of addressing more than 32 DH 485 nodes This is explained in detail on page 3 4 Master Station Address 8 10 octal 0 254 decimal Determines the address of the half duplex DF1 master device For slave to slave communication this is the address of the DF1 slave device Refer to page 3 10 Publication 1747 UMO005B EN P March 2006 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 If you are in full duplex mode when you select 5 you will see the full duplex summary screen Similarly if you are in half duplex mode when you select 5 you will see the half duplex summary screen To exit the Display Parameters screen and return to the Top Leve
120. will use address 141 octal when accessing this device ATTENTION Do not force outputs to a remote SLC system through the interface module Phone line disturbances interface module failure or other system failure could disrupt remote communications and cause the outputs to remain active DH 485 Token Passing Devices The interface module operates as a token passing master on the DH 485 network It can communicate with other DH 485 master stations 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 Communicate with the Interface Module 3 11 Communicate with a Modem 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 The SRD message is a link layer service provided on DH 485 The Programmable Controller Communications Command Set PCCC has been extended to provide SRD messages by setting the PCCC CMD byte to 09 The SRD message cannot be used in slave to slave communication A detailed description of the pack
Download Pdf Manuals
Related Search
Related Contents
Descargar Samsung Galaxy Ace Style دليل المستخدم none 6013-167 Instructions / Assembly Installation der Software für PC-Karten cifX CI7ZS Series Samsung S23B550V دليل المستخدم Kompernass KH1520 User's Manual Copyright © All rights reserved.
Failed to retrieve file