Allen-Bradley PKTx Communication Card (Cat. No.
Important User Information Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
Preface Preface Introduction This manual describes how to install, configure, and troubleshoot the 1784-PKTX, -PKTXD, and -PKTS Communication cards. Throughout the manual, we refer to this product as the PKTx card. When one card differs from the others, this document individually calls out the cards by name. Contents of Your Order With this package you should receive: • One 1784-PKTx communication interface card • One 1784-PKTx Communication Interface Card User Manual, publication 1784-6.5.
P-2 Preface Abbreviations Throughout this manual, we abbreviate some terms. Use this table to become familiar with our terminology.
Preface P-3 Handling the Card ! ATTENTION: The 1784-PKTx card uses CMOS technology, which is highly sensitive to electrostatic discharge (ESD). ESD may be present whenever you are handling the card. Handling the card without any ESD protection can cause internal circuit damage that may not be apparent during installation or initial use. A grounding wrist strap has been shipped with the 1784-PKTx card. It is to be worn during the installation procedure.
P-4 Preface Specifications Functional Specifications 1784-PKTx CH 1A (3-pin Phoenix) runs DH+ and remote I/O CH 1C (6-pin Phoenix) runs DH-485 1784-PKTXD CH 1A (3-pin Phoenix) runs DH+ and remote I/O CH 1C (6-pin Phoenix) runs DH-485 Ch2 (3-pin Phoenix) runs DH+ and remote I/O 1784-PKTS CH 1A (3-pin Phoenix) runs remote I/O Maximum line lenghts and communication rates DH+: 10,000 ft. (3048 m) @ 57.6K bit/s 5, 000 ft. (1,524 m) @ 115.2K bits/s 2,500 ft. (762 m) @ 230.4K bits/s DH-485: 4,000 ft.
Preface P-5 System Requirements Windows 95 and Windows NT Operating system Driver development for remote I/O For other operating systems, you have to create your own driver. 6001-RIO, contains binary files and example C code for remote I/O communication Use the RSLinx PKTx driver. Driver development for DH+ or DH-485 1784-DP4, contains binary files and example C code for DH+ or DH-485 communication.
P-6 Preface CSA Hazardous Location Approval CSA certifies products for general use as well as for use in hazardous locations. Actual CSA certification is indicated by the product label as shown below, and not by statements in any user documentation. CL I, DIV 2 GP A,B,C,D TEMP ([DPSOH RI WKH &6$ FHUWLILFDWLRQ SURGXFW ODEHO To comply with CSA certification for use in hazardous locations, the following information becomes a part of the product literature for this CSAcertified industrial control product.
Preface P-7 Approbation d’utilisation dans des emplacements dangereux par la CSA La CSA certifie les produits d'utilisation générale aussi bien que ceux qui s'utilisent dans des emplacements dangereux. La certification CSA en vigueur est indiquée par l'étiquette du produit et non par des affirmations dans la documentation à l'usage des utilisateurs.
P-8 Preface 1784-6.5.
Table of Contents Chapter 1 Introducing the 1784-PKTx Communication Interface Cards . . . . . . . . . .1-1 Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 How the 1784-PKTx Card Operates . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 Compliance to European Union Directives . . . . . . . . . . . . . . . . . . . . .1-4 EMC Directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4 Low Voltage Directive . . . . . .
toc–ii Table of Contents Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 Where to Go . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 Connecting to Remote I/O Devices . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 Connecting to DH+ Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1 Introducing the 1784-PKTx Communication Interface Cards Your 1784-PKTx communication interface card (cat. nos. 1784-PKTX, 1784-PKTXD, and 1784-PKTS) is a PCI (Peripheral Component Interconnect/Interface) card that must be inserted into a PCI bus slot. Table 1.
1-2 Introducing the 1784-PKTx Communication Interface Cards Compatibility Table 1.3 shows the computer models with which the 1784-PKTx has been verified to work. Table 1.
Introducing the 1784-PKTx Communication Interface Cards 1-3 The 1784-PKTx performs data transmission, management, and local network diagnostics. The interface to the host processor is through a boardresident dual-port memory. Rockwell Automation interface software (including RSLinx) manages data transmission and reception through dual-port memory. The PCI BIOS on your computer automatically assigns the PKTx card’s IRQ and base memory address (one for each channel).
1-4 Introducing the 1784-PKTx Communication Interface Cards Compliance to European Union Directives If this product has the CE mark, it is approved for installation within the European Union and EEA regions. This equipment is classified as open equipment and must be mounted in an enclosure during operation to provide safety protection. It has been designed and tested to meet the following directives.
Chapter 2 Configuring the PKTx Hardware Introduction The 1784-PKTx card is a PCI bus card, compliant with the PCI Bus Specification Revision 2.1. This card was developed with Plug and Play functionality, as defined in Revision 1.0A of the Plug and Play BIOS Specification. Because of this, PKTx cards do not require the use of switches or jumpers to configure their specific interrupt request levels (IRQ) and base memory address values.
2-2 Configuring the PKTx Hardware The Base Memory Jumper (JP2) Card ID Jumper (JP3) 40021 Figure 2-1 Overview of the jumpers on the PKTx card Base Memory Address Restriction Although the assignment of the IRQ and base memory address values is automatic, and does not require user intervention, there is one jumper on the PKTx card that is used to restrict the range of values that can be assigned to the base memory address by the PCI BIOS.
Configuring the PKTx Hardware 2-3 Setting a Base Memory Address Jumper The host computer and the PKTx card exchange data via a dual-port interface. The dual-port requires 4 Kbytes of memory. This 4 Kbyte block of memory begins at the base memory address assigned to the card by the PCI BIOS when the computer is started. Under MS-DOS, Windows 3.1 and Windows for Workgroups, the base memory address of PC cards should fall within the range of 0 and 1 Megabyte of PC memory.
2-4 Configuring the PKTx Hardware When looking directly at the 1784-PKTx card, the Base Memory Address jumper looks like: 32BIT This is a jumper that is not covered. 1MEG 32BIT This is a jumper that has the 32bit position for Windows 95 covered. 1MEG 40022 Establishing Multiple PKTx Cards It is possible to have more than one PKTx card within your system. However, you can only have up to four cards functioning at the same time.
Configuring the PKTx Hardware 2-5 Planning Jumper Settings for Multiple Cards Located on each PKTx card are a set of jumpers with markings which indicate how each jumper can be set. These jumpers are identified as JP3. It is important to coordinate the setting of these jumpers so that each card can be recognized by the system. The example below shows possible combinations of jumper settings that may be used if you have a total of four cards. Below is an example of a covered jumper for card ID 2.
2-6 Configuring the PKTx Hardware 1784-6.5.
Chapter 3 Installing the Card Inside the Computer You’ve set the jumpers; now you’re ready to place the PKTx card inside your computer. Before You Begin Consider these points before you begin: • Do I know everything I need to know to accomplish my task? • Do I have the proper tools at hand? • Do I understand where I can and cannot put this card? ! ATTENTION: Before you can install the PKTx card, you need to verify that the appropriate jumpers have been set.
3-2 Installing the Card Inside the Computer Necessary Tools You need one of these tools to remove the cover from your central processing unit (CPU): • Phillips-head screwdriver • flat-head screwdriver Accessing the Computer’s PCI Bus Slots To install the PKTx card, you must have access to the computer’s PCI bus. Refer to your computer’s hardware manual for instructions about how to: 1. Shut down the computer. 2. Turn off power to the computer.
Installing the Card Inside the Computer 3-3 Inserting the Card To insert the card inside the computer: 1. Follow the card handling instructions on page P-3. 2. Make sure you have set correctly the jumpers on the card. (See chapter 2.) 3. Turn off power to the computer. Important: If you disconnect the ac power from the computer, you lose the chassis ground. Electrostatic damage (ESD) protection is lost. 4. Loosen the expansion slot screw and remove the outside retaining bracket (ORB). 5.
3-4 Installing the Card Inside the Computer The Windows 95 and the 1784-PKTx Card To use the PKTx card with Windows 95, you need an appropriate plug and play driver. RSLinx contains the appropriate DH+/DH-485 driver for the 1784-PKTx card. Install RSLinx or a custom software driver before you attempt to use the PKTx card. To verify that your PKTx card is using the appropriate driver, use the Device Manager within Windows 95.
Installing the Card Inside the Computer 3-5 3. Click on the Device Manager tab. All of the devices within the system are displayed. 4. Scroll through the devices and search for the Allen-Bradley PKTx family line. Click on the plus sign near the Allen-Bradley line. The Allen-Bradley 1784-PKTx device should be listed. If it is listed with a question mark, this indicates that the appropriate driver was not found by the system 5. Select Allen-Bradley 1784-PKTx. 1784-6.5.
3-6 Installing the Card Inside the Computer 6. Click on the Properties pushbutton. The Device Status box informs you if the appropriate driver was not installed for the PKTx card. 1784-6.5.
Installing the Card Inside the Computer 3-7 7. Click on the Resources tab in the Properties dialog box. 8. Scroll through the Resource Settings list to view the system setting used with the PKTx card. Continue by clicking on the Cancel button until you exit all of the dialog boxes. 1784-6.5.
3-8 Installing the Card Inside the Computer What to Do Next Chapter 4 explains how to connect the PKTx card to various networks and devices. 1784-6.5.
Chapter 4 Connecting the Interface Card You can connect the PKTx card to these networks: • DH+ • DH-485 • Remote I/O The purpose of this chapter it to explain: • what cables can be used to connect to the various networks • other information needed to connect to a network 1784-6.5.
4-2 Connecting the Interface Card 1784-PKTX Connections DH+ Remote I/O 1 Clear 1 Blue 2 Shield 2 Shield 3 Blue 3 Clear DH-485 6 Termination Resistance 5 Channel A 4 Channel B 3 Signal Ground 2 Shield/Drain 1 Earth Ground 40024 1784-6.5.
Connecting the Interface Card 4-3 1784-PKTS Connections Remote I/O 1 Blue 2 Shield 3 Clear 40026 1784-6.5.
4-4 Connecting the Interface Card 1784-PKTXD Connections DH+ Remote I/O 1 Clear 1 Blue 2 Shield 2 Shield 3 Blue 3 Clear DH+ Remote I/O 1 Clear 1 Blue 2 Shield 2 Shield 3 Blue 3 Clear DH-485 6 Termination Resistance 5 Channel A 4 Channel B 3 Signal Ground 2 Shield/Drain 1 Earth Ground 40025 1784-6.5.
Connecting the Interface Card 4-5 Before You Begin Before you make the connections, make sure you have the correct cable. For connections to: remote I/O And these termination resistors: Use this cable: 1770-CD í Belden #9463 82Ω or 150Ω 1770-CD í Belden #9463 DH+ 150Ω for 57.6K bits/sec 150Ω for 115.2K bits/sec 82Ω for 230.
4-6 Connecting the Interface Card Where to Go If you what information on: See: Connecting to remote I/O devices page 4-6 Connecting to DH+ devices page 4-8 Connecting to DH-485 devices page 4-12 Connecting to Remote I/O Devices Depending upon your application, you can use the PKTx card to communicate with a single device or to multiple devices via a remote I/O link. To connect the PKTx card to remote I/O, use Allen-Bradley 1770-CD or approved cable to construct a custom cable.
Connecting the Interface Card 4-7 Table 4.D Selecting the External Resistor The maximum number of: If your remote I/O link: use this resistor rating: physical devices connected on the link: racks that you can scan on the link: 82Ω 32 16 150Ω 16 16 operates at 230.4 K bits operates at 57.6 or 115.
4-8 Connecting the Interface Card Connecting to DH+ Devices Depending on your application, you may use the PKTx card to communicate with a single device or multiple DH+ devices via a DH+ network. This section shows you how to connect to a classic or an enhanced PLC-5 programmable controller. ! ATTENTION: Not all software and hardware supports 115.2K bit/s or 230.4K bit/s for DH+ communications. Make sure your software and hardware supports the baud rate your select.
Connecting the Interface Card 4-9 2. Connect the 3-pin Phoenix end of the CP12 cable to the PKTx card. 1784-CP12 Cable 3-pin Phoenix connector with switchable termination resistor 10.5 ft. (3.20 m) 20223a 20223a-M 3. Connect the 9-pin D-shell end directly to the 9-pin D-shell connector on the front of the classic PLC-5 processor. PLC-5 Family Processor 1784-PKTx card Peer Communication Interface Connector 30172 30172-M 4. Restore power to the computer. 1784-6.5.
4-10 Connecting the Interface Card Connecting the Card to an Enhanced PLC-5 Processor To connect the 1784-PKTX or -PKTXD card to an enhanced PLC-5 programmable controller, use a 1784-CP13 cable. Follow these steps: 1. Connect the 3-pin Phoenix end of the CP13 cable to the PKTx card. 2. Connect the adapter to the connector on the front of the enhanced PLC-5 programmable controller. 1784-CP13 Cable 20757-M 1784-6.5.
Connecting the Interface Card 4-11 Terminating the Last Node You must terminate both ends of your DH+ network. If the PKTx is the last physical node on your network, you must set the switch on the CP12 or 13 to terminate the link as shown below.
4-12 Connecting the Interface Card Connecting the Card via a DH-485 Network Figure 4.1 shows an example of a network consisting of three SLC family controllers and one programming station. This configuration requires the 1784-PKTX or -PKTXD card and three link couplers: • An SLC family CPU is connected to each of the link couplers (1747AIC) with a 1747-C11 cable. • The 1784-PKTX or -PKTXD card is connected to the network at one of the link couplers, as shown in Figure 4.1.
Connecting the Interface Card 4-13 Figure 4.1 Communicating to multiple SLCs via the DH-485 network Link Coupler 1747-AIC 1747-C11 SLC Controller Communication Cable Belden #9842 To 1784-PKTx Card Link Coupler 1747-AIC 1747-C11 SLC Controller Link Coupler 1747-AIC 1747-C11 17680 SLC Controller Connecting the Card to a single SLC Processor on DH-485 Figure 4.2 shows an example of a point-to-point link consisting of an SLC processor and a programming station.
4-14 Connecting the Interface Card Figure 4.2 Communicating to a single SLC using a point-to-point DH-485 link To 1784-PKTx Card 1784-CP14 Cable SLC Controller 30173 Personal Computer To connect an SLC family processor to the PKTx card, you: 1. Connect the termination resistor end of the CP14 cable to the PKTx card 2.
Connecting the Interface Card 4-15 Terminating the Last Node You must terminate both ends of your DH-485 network. If the PKTx is the last node on your network, you must set the switch on the CP14 to terminate the link as shown below. node terminated 6-pin Phoenix connector with switchable termination resistor node not terminated 30174 30174-M Refer to publication 1770-6.2.
4-16 Connecting the Interface Card What to Do Next If you have read each chapter, and still have questions, please call Allen-Bradley Automation Group Technical Support at (440) 646-6800. 1784-6.5.
Appendix A Running Diagnostics What’s in This Appendix This appendix contains instructions for running the PKTXD utility and KTx diagnostics. The PKTXD utility reports the IRQ and the base memory address (one for each channel) of a PKTx card. The KTx diagnostics check PKTx’s network and host communications, interrupts, and memory access. Important: The 1784-PKTS card will not run the dual-port tests, i.e., it will attempt to run and fail.
A-2 Running Diagnostics 4. Call Allen-Bradley Automation Group Technical Support at (216) 646-6800. Instructions are printed at the beginning of the log file. Obtaining the Base Memory Address and the Interrupt Request Before you can begin to use the diagnostics, you need to record the base memory addresses and the interrupt request (IRQ) of the card(s) you wish to test.
Running Diagnostics A-3 Copying the KTx Diagnostics to Your Hard Drive The diagnostics are located in the PKTx Utilities diskette. Follow these procedures to install the program on the root drive of your computer: 1. Access an MS-DOS prompt. 2. Insert the Utilities diskette into your diskette drive. 3. Access your root drive and type: Enter cd\ md ktxdiag Enter copy a:\ktxdiag c:\ktxdiag Enter The system copies the files to your hard drive.
A-4 Running Diagnostics Access Diagnostics ! ATTENTION: You can run diagnostics on only one card or channel at a time. If you run diagnostics using a memory address that is incorrect, the computer may lock up. Be sure to run diagnostics using the correct address setting. At the MS-DOS prompt, type: cd c:\ktxdiag ktxdiag Enter Enter Add this to the end of the ktxdiag command If you: For example: don’t want to create a KTXDIAG.
Running Diagnostics A-5 Start Diagnostics 1. From the introductory screen, press You see the main menu: F1 . F10 allows you to clear any messages on the screen. Press F1 to start the diagnostics. The information displayed is from the KTXDIAG.INI file in the KTXDIAG directory. Each time you run the diagnostics, the program looks for this file, not for the current PKTx settings. If this file is not found, default settings are used. To update the KTXDIAG.
A-6 Running Diagnostics Define a PKTx Card to Test This option updates the KTXDIAG.INI file. If you have more than one PKTx card installed or you are using a 1784-PKTXD card, you need to define the Base Memory Address for each channel and the IRQ of the card you want to test. Use the PKTXD utility to obtain this information (page A-2). 1. From the main menu, press F2 . 05 2.
Running Diagnostics To change the Press this key And DH+ address F6 DH-485 address F7 You will be prompted to enter an address: DH+ [0 . . . 77] DH-485 [0 . . . 31] F9 3. To save the configuration, press A-7 . The next time that you run diagnostics, the diagnostic program looks for this file and loads it. 4. To return to the introductory screen, press F10 twice. Test Computer Communications to the PKT x 1. From the main menu, press 2. Press F3 F3 . to execute the tests. You see 1784-6.
A-8 Running Diagnostics If an error occurs, the diagnostics report a failure and continues with the next test.
Running Diagnostics A-9 Test the PKTx Card 1. From the main menu, press F5 . You see: The results of this test indicate whether or not the PKTx card is working properly. 05 2. To execute the tests, press F1 . To return to the main menu without running the test, press F10 . If an error occurs, the diagnostics report a failure and continues with the next test. Errors are recorded in a log file (see page page A-13). 1784-6.5.
A-10 Running Diagnostics Diagnostic Description If the test fails Memory Tests the PKTx card’s ability to read from and write to its internal memory chips The PKTx card’s RAM may have a problem Timer Operation Tests the accuracy and capabilities of the counter-timer chips PKTx card may not have reset completely • Turn power off to the computer. • Remove the card and reinsert. • Turn power on to the computer. • Run this test again.
Running Diagnostics A-11 3. Use the decision table below for both protocols. To Press this key enable the PKTx card on a DH+ or DH-485 link F4 disable the PKTx card from a DH+ or DH-485 link (disables the card from the network but protocol is not removed from the card) F5 display the PKTx card on DH+ or DH-485 link F6 clear the memory location of the PKTx card: • disables card from the DH+ or DH-485 link • clears the DH+ or DH-485 protocol from the card F7 return to the main menu F10 1784-6.5.
A-12 Running Diagnostics If you chose to view the card’s information, refer to the following table to interpret the information presented.
Running Diagnostics A-13 Print the Log File If you did not add -l to the ktxdiag command when accessing diagnostics, your diagnostic test session was recorded in a log file that helps Allen-Bradley Automation Group Technical Support diagnose your difficulty. 1. To view the log file, at the MS-DOS prompt, type: Enter cd c:\ktxdiag type ktxdiag.log | more Enter 2. Use MS-DOS commands or a text editor to print a copy of the log file. 3.
A-14 Running Diagnostics 1784-6.5.
Index Numerics 1747-C11 cable 4-12 1770-CD cable 4-11 1784-CP12 cable 4-10 1784-CP14 cable 4-13, 4-15 1784-PKTx cards configuring hardware for 2-1 connecting to network 4-1 features supported by 1-1 B base memory address 2-1 BIOS 2-1 C cables 1784-CP12 4-9 compatibility 1-2 industrial computers 1-2 computer diagnostic tests A-9 connecting the interface card to a DH+ network 4-11 connections 1784-PKTS 4-3 1784-PKTX 4-2 1784-PKTXD 4-4 I–1 E European Union Directives 1-4 I inserting the card 3-3 installi
I–2 Index Publication 1784-6.5.
Allen-Bradley, a Rockwell Automation Business, has been helping its customers improve productivity and quality for more than 90 years. We design, manufacture and support a broad range of automation products worldwide. They include logic processors, power and motion control devices, operator interfaces, sensors and a variety of software. Rockwell is one of the world’s leading technology companies. Worldwide representation.