Allen-Bradley DH+/DH-485 Device Driver Help © 2009 Kepware Technologies
1 Allen-Bradley DH+/DH-485 Device Driver Help Table of Contents 1 Getting Started ................................................................................................................................... 4 Help Contents .......................................................................................................................................................... 4 Overview .................................................................................................................
Contents 2 BCD Files......................................................................................................................................................... 50 PID Files ......................................................................................................................................................... 51 Message .........................................................................................................................................................
3 Allen-Bradley DH+/DH-485 Device Driver Help Index 65
Allen-Bradley DH+/DH-485 Device Driver Help 4 Allen-Bradley DH+/DH-485 Device Driver Help Help version 1.
5 Allen-Bradley DH+/DH-485 Device Driver Help Note: In our board type selection, we will be choosing KTX (D) for both the KTX and KTX-D card. Network Type This driver supports both the DH+ and DH-485 network types. Each of the Allen-Bradley cards (KT, KTX, KTX-D, PKTX, PKTX-D and PCMK/B) support both DH+ and DH-485 networks. SST cards (5136-SD-ISA and 5136-SD-PCI) support only the DH+ network. Station address This is a unique node ID (0-77 octal for DH+ and 0-31 decimal for DH-485) of your device.
Allen-Bradley DH+/DH-485 Device Driver Help 6 1. In the server application, right-click on the channel. Select Properties. 2. Select Interface Card tab from the Channel Properties window. 3. Configure the properties. Select the Board Type: Select "KT" as the "Board Type" from the drop down menu next to the "Board Type" label. Select the Network Type: Select the type of network you are using. This driver currently supports DH+ Network only.
Allen-Bradley DH+/DH-485 Device Driver Help 7 configuration. If you don't want to use interrupts, please select "None" 4. Click OK. Channel Setup for the Allen Bradley- 1784 KTX/KTX-D card Before setting the channel properties, you must have the KTX/KTX-D card configured for a unique memory address and interrupt on the hardware. The selected address and interrupt (if used) should be taken note of, as these parameters will be used for setting up the channel properties in the server.
Allen-Bradley DH+/DH-485 Device Driver Help 8 2. Select the Interface Card tab from the Channel Properties window. 3. In the Interface Card tab, configure the properties. Select the Board Type: Select "KTX(D)" as the "Board Type" from the drop down menu next to the "Board Type" label. Note: In our board type selection, we will be choosing KTX (D) for both the KTX and KTX-D cards. Select the Network type: Select the type of network you are using. This driver currently supports DH+ and DH-485 Network.
Allen-Bradley DH+/DH-485 Device Driver Help 9 configuration. If you don't want to use interrupts, select None. 4. Click OK. Channel Setup for the Allen Bradley- 1784 PKTX/PKTX-D card Caution: Before you install the PKTX/PKTX-D driver, make sure you have uninstalled any drivers (i.e. RSLinx) that you may have used previously for this card and then restart your computer. Failure to do so may result in unexpected consequences.
Allen-Bradley DH+/DH-485 Device Driver Help 10 1. Expand SST and select any driver under it. Right-click and select uninstall. You must do this for all the drivers that are installed under SST. 2. Once the procedure is complete, restart your computer. Before setting the channel properties, you have to have an additional driver installed for the PKTX/PKTX-D card. Note: If you are installing the driver on Windows NT, instructions described in Step 1 are not required and should not be performed.
11 Allen-Bradley DH+/DH-485 Device Driver Help 3. Select Don't search. I will choose the driver to install and click on Next. 4. Click Have Disk, regardless of whether or not the name PKTX appears on the list. www.kepware.
Allen-Bradley DH+/DH-485 Device Driver Help 12 5. Click Browse... and go to the C:\Program Files\yourOPCserver\drivers\Allen-Bradley DH+ directory. 6. Multiple .inf files will be shown. If you are on Windows2000, Windows NT or Windows XP, select KSE_PKTX.inf as your driver. www.kepware.
13 Allen-Bradley DH+/DH-485 Device Driver Help 7. Select the appropriate driver for the device you are using. If you are using a PKTXD card, select KSE_PKTXD2000. If you are using a PKTX card, select KSE_PKTX2000. 8. Wait while the Found New Hardware Wizard installs the software. www.kepware.
Allen-Bradley DH+/DH-485 Device Driver Help 9. Click Finish and restart your computer. Note: If your computer still doesn't detect the PKTX device, you may have to try one or both of the following: www.kepware.
15 Allen-Bradley DH+/DH-485 Device Driver Help 1. Completely uninstall any driver installed under the current slot. 2. Try a different slot. Step 2: Channel Configuration Note: The following steps should be performed after the computer has been restarted (following Step 1). 1. In the server application, right-click on the channel and select Properties.. 2. Select the Interface Card tab from the Channel Properties window. 3. In the Interface Card tab, complete the following: www.kepware.
Allen-Bradley DH+/DH-485 Device Driver Help 16 Select the Board Type: Select "PKTX" or " PKTX-D" as the "Board Type" (depending on whether you are using PKTX or PKTX-D card) from the drop down menu next to the "Board Type" label. Select the Network type: This driver currently supports DH+ and DH-485 networks for PKTX/PKTX-D cards. Enter the station address: This is a unique node ID (0-77 octal for DH+ and 0-31 decimal for DH-485) of your device.
17 Allen-Bradley DH+/DH-485 Device Driver Help 4. Click OK. Channel Setup for 5136-SD-ISA card Note: You will not need any additional drivers or additional software from any other vendor. Any additional drivers/ software that may be required will either be supplied or recommended and described in this help file. Step 1: Configuration Please configure the I/O port and jumper settings on your SST ISA card. You can refer to Hardware Configuration of the 5136-SD-ISA (SST) card for more information.
Allen-Bradley DH+/DH-485 Device Driver Help 18 3. Under the Interface Card tab, complete the following: Select the Board Type: Select "5136-SD-ISA" as the "Board Type" from the drop down menu next to the "Board Type" label. Select the Network Type: Only the DH+ network is supported for the SST cards. Enter the Station Address: This is the unique node ID (0-77 octal for DH+ and 0-31 decimal for DH-485) of your device.
19 Allen-Bradley DH+/DH-485 Device Driver Help Channel Setup for 5136-SD-PCI card Caution: Before you install the 5136-SD-PCI driver, make sure you have uninstalled any drivers (i.e. RSLinx or SST) that you may have used previously for this card and then restart your computer. Failure to do so may result in unexpected consequences. We strongly recommend you use a fresh PCI slot that has not been used previously with other DH+ cards. This is not required for Windows NT.
Allen-Bradley DH+/DH-485 Device Driver Help 20 1. Expand SST and select any driver under it. Right-click and select uninstall. You must do this for all drivers that are installed under SST. 2. Once the procedure is complete, restart your computer. Before setting the channel properties, you have to have an additional driver installed for the SST PCI card. Note: You will not need any other drivers or software from any other vendor.
21 Allen-Bradley DH+/DH-485 Device Driver Help 3. Select Don't search. I will choose the driver to install and click on Next. www.kepware.
Allen-Bradley DH+/DH-485 Device Driver Help 22 4. Click Have Disk, regardless of whether or not the driver KSE is there. 5. Click Browse... and go to the C:\Program Files\yourOPCserver\drivers\Allen-Bradley DH+ directory. Multiple .inf files will be shown. Select the KSE_SST2000.inf file. 6. Click OK. 7. Wait while the Found New Hardware Wizard installs the software. www.kepware.
23 Allen-Bradley DH+/DH-485 Device Driver Help 8. Click Finish and Restart your computer. www.kepware.
Allen-Bradley DH+/DH-485 Device Driver Help 24 Note: If your computer still doesn't detect the SST-PCI device, you may have to try one or both of the following: 1. Completely uninstall any driver installed under the current slot. 2. Try a different PCI slot. Step 2: Channel Properties Setup 1. In the server application, right-click on the channel and select Properties. 2. Select the Interface Card tab from the Channel Properties window. 3.
25 Allen-Bradley DH+/DH-485 Device Driver Help PCI Card Instance: We currently support only single instance of the SSTPCI card. Hence, the PCI Card Instance number for SSTPCI will always be zero. 4. Click OK. Channel Setup for 1784 PCMK/B card Before setting the channel properties, you have to have an additional driver installed for the PCMK/B card. Note: We currently support the PCMK/B card for WindowsXP and Windows2000 only.
Allen-Bradley DH+/DH-485 Device Driver Help 26 3. Select Display a list of the known drivers for this device so that I can choose a specific driver. Click Next. 4. Select Other Devices from the Hardware Types list and then click Next. www.kepware.
27 Allen-Bradley DH+/DH-485 Device Driver Help 5. Click on Browse... and select the C:\Program Files\yourOPCserver\drivers\Allen-Bradley DH+ directory. 6. Locate the KSE_PCMK file and click Open. www.kepware.
Allen-Bradley DH+/DH-485 Device Driver Help 28 7. The KSE PCMCIA device will be selected. Click Next. The window that opens will inform you that the installation procedure is ready to be performed. 8. Click Next. www.kepware.
29 Allen-Bradley DH+/DH-485 Device Driver Help 9. Click Finish and Restart your computer. Note: If your computer still doesn't detect the PCMK/B device, you may try one of the following. 1. You may need to uninstall any driver installed under the current slot. www.kepware.
Allen-Bradley DH+/DH-485 Device Driver Help 30 2. You may need to try a different slot. Step 2: Channel Properties Setup 1. In the server application, right-click on the channel. Select Properties. 2. Select the Interface Card tab from the Channel Properties window. 3. Under the Interface Card tab, make the following changes: Select the Board Type: Select "PCMK/B" as the "Board Type" from the drop down menu next to the "Board Type" label.
31 Allen-Bradley DH+/DH-485 Device Driver Help PCI Card Instance: This number depends on the number of PCMK card instances on your computer. If the card you are installing is the first PCMK you are installing, your PCI Card Instance ID should be 0. We currently allow up to 4 card instances at a time. Hence, the maximum PCI Card Instance you can select is 3. 4. Click OK.
Allen-Bradley DH+/DH-485 Device Driver Help KTX(D) and PKTX(D) Connection to DH+ Network KTX(D) and PKTX(D) Connection to DH-485 Network As shown in the following diagram, terminals 5 and 6 should be jumpered together at both ends of the link, and terminals 1 and 2 should be jumpered together only at one end. www.kepware.
33 Allen-Bradley DH+/DH-485 Device Driver Help 1784 KTX(D) and PKTX(D) cable connection to the DH-485 Network Note: Line 1 is nearest to the "1784" label on the card. 1784 PCMK/B Connection to DH+ Network Items Required: 1. 1784-PCM5/B Cable, which can be obtained from Allen Bradley. The PCM5/B cable is used with a DH+ network. 2. 1784-CP7 Adapter, which can be obtained from Allen Bradley. Connection: 1. Connect the left end of the 1784-PCM5/B Cable to the PCMK card.
Allen-Bradley DH+/DH-485 Device Driver Help 34 Communications Parameters Block Request Size Request size refers to the number of bytes that may be requested from a device at one time. You can refine the performance of this driver by configuring the request size to one of the following settings: 32, 64, 128 and 230 bytes. The default value is 230 bytes.
35 Allen-Bradley DH+/DH-485 Device Driver Help Hardware Configuration of Memory and Interrupt on 1784 KTXD card Select a unique memory address from the range C800-D700 and a unique Interrupt Request Level (IRQ). The Interrupt levels allowed are (3,4,5, and 7). Make sure that the value chosen for the Interrupt is unique by checking the Device Manager.
Allen-Bradley DH+/DH-485 Device Driver Help 36 may be used by the AT BIOS. These addresses will yield the best results. The default address, D4000, is shown in bold. D0000 D4000 D8000 OPEN CLOSED OPEN OPEN OPEN CLOSED CLOSED CLOSED CLOSED OPEN OPEN OPEN CLOSED CLOSED CLOSED CLOSED CLOSED CLOSED DIP Switches on the 1784-KT Card Shown for Default D4000 Open=press in at the top. Closed=press in at the bottom 1. Configure the 1784-KT card DIP switches as described above.
37 Allen-Bradley DH+/DH-485 Device Driver Help 3. Carefully slide the 1784-KT card into the I/O expansion slot. Press firmly until the card is seated in the slot. 4. Install the retaining screw into the retaining bracket. Check Device Manager Windows XP/2000 1. Right-click on the My Computer icon on your desktop and select Properties. Alternatively, you can press the Windows button on your keyboard simultaneously with the Pause/Break button. 2. Click on the Hardware tab and select Device Manager. www.
Allen-Bradley DH+/DH-485 Device Driver Help 3. Click on View in the toolbar and select Resources by Type. www.kepware.
39 Allen-Bradley DH+/DH-485 Device Driver Help 4. Expand Interrupt Request (IRQ) by right-clicking the plus sign (if it is not already expanded). All interrupt levels being used by other devices should be visible. If your device is using an interrupt, you should pick a level that is not already being used by any other device.
Allen-Bradley DH+/DH-485 Device Driver Help 40 the computer while it is plugged to the AC power. 3. Insert the card on an available ISA slot. Make sure the card is inserted properly. Connect the card to the Network: The KTX (D) has two channels. Channel 2 can have connections to either a DH+ or DH-485 network. Channel 1 can only connect to DH+. Thus, you can have two different DH+ network connections, or one DH+ and one DH-485 network connection to the KTX (D) card.
41 Allen-Bradley DH+/DH-485 Device Driver Help 1746-IO8 4 In 100/120 VAC 4 Out [Rly] VAC/VDC4 1 1 1746-IO12 6 In 100/120 VAC 6 Out [Rly] VAC/VDC 1 1 1746-NI4 4 Ch Analog Input 4 0 1746-NIO4I Analog Comb 2 in & 2 Current Out 2 2 1746-NIO4V Analog Comb 2 in & 2 Voltage Out 2 2 1746-NO4I 4 Ch Analog Current Output 0 4 1746-NO4V 4 Ch Analog Voltage Output 0 4 1746-NT4 4 Ch Thermocouple Input Module 8 8 1746-NR4 4 Ch Rtd/Resistence Input Module 8 8 1746-HSCE High Speed Counter/Encode
Allen-Bradley DH+/DH-485 Device Driver Help AMCI-1561 AMCI Series 1561 Resolver Module 8 42 8 SLC500 Slot Configuration Slot Configuration SLC500 models (modular I/O racks) need to be configured for use with the AB DH+ driver if the I/O is to be accessed by the driver. Up to 30 slots can be configured per device. To use the slot configuration dialog: 1. Left-click on the row in the Slot/module list box to select the slot to configure. 2.
43 Allen-Bradley DH+/DH-485 Device Driver Help Each device has now been defined under its own channel. In this new configuration, a single path of execution is dedicated to the task of gathering data from each device. If the application has 16 or fewer devices, it can be optimized exactly how it is shown here. The performance will improve even if the application has more than 16 devices. While 16 or fewer devices may be ideal, the application will still benefit from additional channels.
Allen-Bradley DH+/DH-485 Device Driver Help 44 Note: Word and bit address information is in octal for PLC-5 models. This follows the convention of the programming software. The syntax for SLC Family Open models (modular I/O): Syntax Data Type O: Short, Word, BCD O:. Short, Word, BCD O:/ Boolean O:./ Boolean The following slot and word locations are allowed for each model.
45 Allen-Bradley DH+/DH-485 Device Driver Help The syntax for SLC Family Open models (modular I/O): Syntax Data Type I: Short, Word, BCD I:. Short, Word, BCD I:/ Boolean I:./ Boolean The following slot and word locations are allowed for each model.
Allen-Bradley DH+/DH-485 Device Driver Help PLC Model File Number Max Word SLC 5/05 Open 3, 9-999 999 PLC-5 Family 3-999 1999 Example Description B3:0 word 0 B3/26 bit 26 B12:4/15 bit 15 word 4 B3:10 [20] 20 element array starting at word 10 B15:0 [6] [6] 6 by 6 element array starting at word 0 46 Status Files The syntax for accessing a status file is to specify a word and (optionally) a bit within the word. The default data type for all syntax is shown in bold.
47 Allen-Bradley DH+/DH-485 Device Driver Help The following fields are allowed for each element. Refer to the PLC documentation for the meaning of each field. Element Field Data Type Access ACC Short, Word Read/Write PRE Short, Word Read/Write DN Boolean Read Only TT Boolean Read Only EN Boolean Read Only Example Description T4:0.ACC Accumulator of timer 0 file 4 T4:10.DN Done bit of timer 10 file 4 T15:0.
Allen-Bradley DH+/DH-485 Device Driver Help R:. 48 Depends on field The following file numbers and maximum element are allowed for each model. PLC Model File Number Max Element SLC Family 6, 9-999 999 PLC-5 Family 3-999 1999 The following fields are allowed for each element. Refer to the PLC documentation for the meaning of each field. The default is shown in bold.
49 Allen-Bradley DH+/DH-485 Device Driver Help N12:4/15 bit 15 word 4 N7:10 [8] 8 element array starting at word 10 N15:0 [4] [5] 4 by 5 element array starting at word 0 Float Files You can access Float files by specifying a file number and an element. The only data type allowed is Float.
Allen-Bradley DH+/DH-485 Device Driver Help 50 All SLC Family PLCs do not support ASCII file types. Refer to PLC documentation. Example Description A9:0 Character 0 (high byte of word 0) A27:10 [80] 80 character array starting at character 10 A15:0 [4] [16] 4 by 16 character array starting at character 0 A62:0/32 32 character string starting at word offset 0 String Files You can access data in a string file by specifying a file number and an element.
51 Allen-Bradley DH+/DH-485 Device Driver Help Syntax Data Type D: BCD, LBCD D: [rows][cols] BCD, LBCD (array types) D: [cols] BCD, LBCD (array types) The number of array elements (in bytes) cannot exceed the block request size specified. This means that array size cannot exceed 16 BCDs given a block request size of 32 bytes. The following file numbers and maximum word locations are allowed for each model.
Allen-Bradley DH+/DH-485 Device Driver Help DVP Real Read/Write DVN Real Read/Write PVDB Real Read/Write DVDB Real Read/Write MAXI Real Read/Write MINI Real Read/Write TIE Real Read/Write FILE Word, Short Read/Write ELEM Word, Short Read/Write EN Boolean Read/Write CT Boolean Read/Write CL Boolean Read/Write PVT Boolean Read/Write DO Boolean Read/Write SWM Boolean Read/Write CA Boolean Read/Write MO Boolean Read/Write PE Boolean Read/Write INI Boolean
53 Allen-Bradley DH+/DH-485 Device Driver Help RLEN Short, Word Read/Write DLEN Short, Word Read/Write EN Boolean Read/Write ST Boolean Read/Write DN Boolean Read/Write ER Boolean Read/Write CO Boolean Read/Write EW Boolean Read/Write NR Boolean Read/Write TO Boolean Read/Write Example Description MG14:0.RLEN requested length field of MG 0 file 14 MG18:6.
Allen-Bradley DH+/DH-485 Device Driver Help Type Description Boolean Single bit Byte Unsigned 8 bit value Char Signed 8 bit value Word Unsigned 16 bit value Short Signed 16 bit value DWord Unsigned 32 bit value Long Signed 32 bit value BCD Two byte packed BCD, four decimal digits LBCD Four byte packed BCD, eight decimal digits Float 32 bit IEEE Floating point String Null terminated character array 54 Note: The DWord, Long and LBCD data types are not native to any of the PLC models.
55 Allen-Bradley DH+/DH-485 Device Driver Help Failed to clear dual port memory while performing functionality test Failed RAM test for device: Failed CTC test for device Failed SIO test for device: Failed to open binary file for device Failed to enable card for device : Failed to perform M16 Key write for device, Failed to load KTXPCL.
Allen-Bradley DH+/DH-485 Device Driver Help 56 Possible Cause: A tag address that has been specified dynamically references a location that is beyond the range of supported locations for the device. Solution: Verify the address is correct; if it is not, re-enter it in the client application.
Allen-Bradley DH+/DH-485 Device Driver Help 57 Array support is not available for the specified address: '
' Error Type: Warning Possible Cause: A tag address that has been specified dynamically contains an array reference for an address type that doesn't support arrays. Solution: Re-enter the address in the client application to remove the array reference or correct the address type.Allen-Bradley DH+/DH-485 Device Driver Help 58 Possible Cause: 1. The connection between the device and the card is broken. 2. The connection between the host PC and the card is broken. 3. The card may have been loaded with incorrect module. Solution: 1. Verify the cabling between the device and the card. 2. Verify that the card is inserted properly onto the right slot. 3. Verify that all the parameters (card, memory address, I/O port, etc) are correctly chosen while creating the project.
59 Allen-Bradley DH+/DH-485 Device Driver Help 1. Check the status and extended status codes that are being returned by the PLC. Note that an extended status code may not always be returned and thus the error information is contained within the status code. The codes are displayed in hexadecimal. 2. Status code errors in the low nibble of the status code indicate errors found by the local node.
Allen-Bradley DH+/DH-485 Device Driver Help Failed to complete loading protocol while performing M16 diagnosis Error Type: Fatal Possible Cause: One or more binary files related to M16 Diagnosis that came with the driver may have been corrupted. Solution: Contact Technical Support. Failed to load binary resource for device Error Type: Fatal Possible Cause: One of the binary files required for loading the protocol may be corrupted. Solution: Contact Technical Support.
61 Allen-Bradley DH+/DH-485 Device Driver Help Failed to clear dual port memory while performing functionality test for device: 'PKTX Card ID' Error performing diagnostic test on Error Type: Fatal Possible Cause: This error may occur due to a conflict between this OPC server and any other OPC servers supporting Allen-Bradley Data Highway drivers. For example: RSLinx. Possible Solutions: Make sure that all other OPC servers (e.g.
Allen-Bradley DH+/DH-485 Device Driver Help 5. Replace the card. Failed to locate PKTXChannel 'Channel ID' of card 'PKTX card ID' Error Type: Fatal Possible Cause: 1. 2. 3. 4. Card is not installed properly. Card instance ID may be used by other card. The parameters selected for Channel setup may be incorrect. Card is corrupted. Solution: 1. 2. 3. 4. Verify all the pins are hooked into the slot comfortably. Verify that the Instance ID is not used by any other PKTX card.
Allen-Bradley DH+/DH-485 Device Driver Help 63 Error writing to SST ports (SST Specific) Error Type: Fatal Possible Cause: This indicates that the ports selected are not working properly, which usually results from conflicts with other devices. Solution: Assign a different port range and then restart the driver. Failed to take SST Offline (SST Specific) Error Type: Fatal Possible Cause: This occurs when the driver has trouble taking the card off-line due to a bad/nonexistent device. Solution: 1. 2.
Allen-Bradley DH+/DH-485 Device Driver Help Bad port/memory Error Type: Fatal Possible Cause: This occurs when there is a conflict on memory/ports between devices. Solution: 1. Check for memory conflicts. (If so, try different memory address). 2. Check for I/O ports conflicts. (If so, try different port address). 3. The card or section of a card may be corrupted. (If so, try different memory/port address). SST card execution error (SST Specific) Error Type: Fatal Possible Cause: 1. 2. 3. 4.
65 Allen-Bradley DH+/DH-485 Device Driver Help Index DH-485 Networks 4, 7, 31, 39 Dual port memory 60 Duplicate Station 62 -5- -E- 5136-SD-ISA 4, 17 Hardware Configuration 5136-SD-ISA card 17 5136-SD-PCI 4, 19 5136-SD-PCI card 19 Enable card 61 Error Descriptions 34 -F- -AAB-specific error descriptions Address Descriptions 43 Allen-Bradley 4, 31 Allen-Bradley DH 4, 31 Array size 56 Array support 57 ASCII file 49 Ascii Files 49 54 Failed Ram CTC SIO test 59 Failed to allocate device for board '
Index -LLoad binary resource -U60 Unable to write data -MM16 Diagnosis 59, 60 M16 Diagnostic 8-bit mode failure 61 Memory Configuration 35 Memory Conflict 59, 60, 61, 63, 64 Missing address 55 Modular I/O Selection Guide 40 -OOptimizing Data Highway Communications Output Files 43 42 -PPCMK/B 4, 25 PID Files 51 PLC-5 Family 47, 50, 52, 53 Possible Resource Conflict 61 -SSLC5/05 Open Addressing 50 SLC500 Slot Configuration 42 Slot Configuration 40, 42 Slot/module list 42 SST Specific 55, 62, 63 Sst sp