Page 1
(217) 352-9330 | Click HERE Find the Keithley PIO-SSR-120 at our website:...
Page 2
PIO-SSR Series User’s Guide A G R E A T E R M E A S U R E O F C O N F I D E N C E Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 3
Hardware Keithley Instruments, Inc. warrants that, for a period of one (1) year from the date of shipment (3 years for Models 2000, 2001, 2002, 2010 and 2700), the Keithley Hardware product will be free from defects in materials or workmanship. This warranty will be honored provided the defect has not been caused by use of the Keithley Hardware not in accordance with the instructions for the product.
Page 4
EXCEPT FOR THE EXPRESS WARRANTIES ABOVE KEITHLEY DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF MERCHANT- ABILITY AND FITNESS FOR A PARTICULAR PURPOSE. KEITHLEY DISCLAIMS ALL WARRANTIES WITH RESPECT TO THE OTHER HARDWARE AND OTHER SOFTWARE.
Page 6
PIO-SSR Series User’s Guide Revision C - April 2001 Part Number: 95390 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 7
Keithley products are designed for use with electrical signals that are rated Installation Category I and Installation Category II, as described in the International Electrotechnical Commission (IEC) Standard IEC 60664. Most mea- surement, control, and data I/O signals are Installation Category I and must not be directly connected to mains voltage or to voltage sources with high transient over-voltages.
Page 8
(Note that selected parts should be purchased only through Keithley Instruments to maintain accuracy and functionality of the product.) If you are unsure about the applicability of a replacement component, call a Keithley Instruments office for information.
Table of Contents Preface Overview Features ......... . . 1-2 Applications .
Page 10
Connector Pin Assignments CE Mark Information for the PIO-SSR Series Limitation of Certification ......C-1 Declaration of Conformity .
Page 11
Figure 4-3. Connecting a PB-24 or PB-24SM to a PIO-SSR Series Board ....4-2 Figure 4-4. Connecting Two PB-24 or PB-24SM Accessories to a PIO-SSR Series Board .
Page 12
Figure 5-6. Configuring the digital I/O channels as inputs and outputs ......5-8 Figure 5-7. Configuring channel 0 for output bit pattern A .
PIO-SSR-24, PIO-SSR-48, and PIO-SSR-120 boards. Unless this guide refers specifically to one or more of these models, it refers collectively to all models as the PIO-SSR Series. To follow the information and instructions contained in this manual, you must be familiar with data-acquisition principles, with your application, ®...
Overview PIO-SSR Series boards are multi-channel, parallel, digital I/O devices. The boards feature high-current-driver, programmable, TTL-level I/O channels to provide a flexible interface for SSR (solid-state relay) modules and for a variety of parallel I/O devices, including instruments, displays, and user-assembled systems. The PIO-SSR-120 is a 120-channel board, the PIO-SSR-48 a 48-channel board, and the PIO-SSR-24 a 24-channel board.
Features Major features of PIO-SSR Series boards are as follows: Each group of 24 digital I/O lines terminates in an onboard, 50-pin header whose pin assignments are compatible with industry-standard PB-24 and PB-24SM solid-state-relay baseboards. Three board versions are available to drive one, two, or five PB-24 baseboards from a single expansion slot of your computer.
Supplemental Documentation — on DriverLINX installation and configuration; analog and digital I/O programming; counter/timer programming; technical reference; and information specific to the PIO-SSR hardware. PIO-SSR Series utilities — The following utilities are provided as part of the PIO-SSR Series standard software package: – Test Utility Supporting Software Artisan Technology Group - Quality Instrumentation ...
Accessories The following accessories are available for use with a PIO-SSR Series board: PB-24 — A 24-channel baseboard for standard-size SSR modules. PB-24SM — A 24-channel baseboard for miniature SM Series SSR modules. Solid State Relay Modules — Refer to Keithley’s Products catalog for module choices and descriptions.
Functional Description This section describes the features and operating characteristics of PIO-SSR Series boards. Figure 2-1 shows a block diagram of a PIO-SSR-24; Figure 2 -2 shows a block diagram of a PIO-SSR-48; Figure 2-3 shows a block diagram of a PIO-SSR-120.
J1 Data Buffer Control I/O Mode Control Bus A0 to A7 Port A Control Selector Buffer Circuit RESET Port B B0 to B7 C4 to C7 Port C SA15 C0 to C3 Address Decoder C0 and C3 J2 Data Buffer I/O Mode A0 to A7 Port A...
J1 Data Buffer Control I/O Mode Control Bus A0 to A7 Port A Control Selector Buffer Circuit RESET Port B B0 to B7 C4 to C7 Port C SA15 C0 to C3 Address Decoder C0 and C3 J2 Data Buffer I/O Mode A0 to A7 Port A...
Page 21
(IRQ) signal for gating into a single, jumper-selectable IRQ level. The IRQ levels supported by PIO-SSR Series boards are 3 to 7, 9 to 12, 14, and 15. The input requirement for an interrupt is the rising edge of a TTL-compatible input signal.
After removing the wrapped board from its outer shipping carton, proceed as follows: 1. Your PIO-SSR Series board is packaged at the factory in an anti-static wrapper that must not be removed until you have discharged any static electricity by either of the following methods: –...
Before you begin installing any hardware or software for the PIO-SSR, read the DriverLINX Installation and Configuration Guide and the Using DriverLINX with your Hardware Keithley PIO Series manuals that are packaged with the DriverLINX software. They are accessed from the DriverLINX CD-ROM after you have installed Adobe Acrobat.
Selecting the DriverLINX Components to Install For your convenience in installing and un-installing just the DriverLINX components you need, the DriverLINX CD Browser will assist you in selecting the components to install: Install Drivers — This required component installs only the files you need for configuring your hardware and running third-party data-acquisition applications that require DriverLINX.
Page 25
Follow the DriverLINX on-screen instructions for installation of drivers and interfaces. Refer to the DriverLINX Installation and Configuration Guide and Using DriverLINX with Your Hardware—Keithley PIO Series manuals. Setup and Installation Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
I/O addresses within the range of 200h to 3F8h. Configuring a Board Keithley configures your PIO-SSR Series board by presetting a base I/O address and an IRQ level. While the factory settings are suitable for most installations, ensure these settings are not already in use by other devices in your computer.
FFFFh, for a total of 65,535 locations. IBM recommends a base I/O address between 100h and 3FFh only and reserves some addresses in this range computer and I/O device use. You can set your PIO-SSR Series Setup and Installation Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
100h to 3FFh range; Keithley recommends *300h, *700h, *B00h, or *F00h (where * is any number in the range of 0 to Fh) as valid base I/O addresses. You can also assign your board an address that is 400h, 800h, or C00h above the upper limit of 3FFh recommended by IBM.
Section 6). Setting the IRQ Level A PIO-SSR Series board can generate an IRQ signal on the rising edge of any input signal from either the C0 or C3 input channel. To gate the IRQ signal to your computer, you must place a jumper on one of the IRQ-level settings of the jumper block.
Priorities for the IRQ levels are shown in Table 3-1. Table 3-1. Priorities for IRQ Levels Priority IRQ Level First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Configuring a Board Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Clamping Cables to the Board The mounting plate of your PIO-SSR Series board contains an adjustable cable clamp that can secure up to five flat cables (shown in Figure 3-4 with a single cable). Board Mounting Plate of Board Clamp Adjusting...
3. If your board is using more than one cable, feed the next cable through the hole in the mounting plate, and plug the cable connector into the next available I/O connector. 4. Repeat step 3 until all cables are in place on the board, as shown in Figure 3-5.
Installing Cable Shielding To shield cabling for your PIO-SSR Series board, perform the following steps: 1. With cabling installed and clamped, wrap all cables together with a piece of tape to mark a shield boundary at a point -inch or more away from the inside surface of the mounting plate, as shown in Figure 3-7.
PIO-SSR-48 Fold Line inch Figure 3-9. Jacket Trimmed with Scissors to Make -Inch Flaps 6. Fold the flaps back on both sides of the cabling to expose the shield surface, as shown in Figure 3-10. PIO-SSR-48 Mounting Plate Shield Surface Figure 3-10.
8. Re-install the clamp and clamp-adjusting screws so that the clamp holds the cabling firmly in place while bearing firmly on the shield surface of the jacket flap, as shown in Figure 3-12. Trimmed and Folded-back Jacket Flap Jacket Cable over Cable Clamp...
Installing or removing a board while power is ON can damage Caution: your computer. Use the following steps to install a PIO-SSR Series board in an expansion slot of your computer: 1. Turn off power to the computer and all attached equipment.
DriverLINX, see the documentation provided on the DriverLINX CD-ROM. Refer to the DriverLINX Installation and Configuration Guide and Using DriverLINX with Your Hardware—Keithley PIO Series manuals. Be sure to note and follow differences in programming Caution: between Windows NT and Windows 95/98 as appropriate for your system.
Page 38
7. From the Model list, select the model name for the PIO-SSR board you are configuring. 8. If the value displayed in the Address edit box is not correct, type the correct value into the box. You may enter the address in decimal or hexadecimal using the c-notation for hex (that is, 768 decimal = 0x300 hexadecimal).
To avoid electrical damage, turn off power to the computer and Caution: any accessories before making connections to a PIO-SSR Series board. Shorting any output of a PIO-SSR Series board to +5V or ground can damage the board. Connecting an STP-50 An STP-50 connects to an I/O connector of a PIO-SSR Series board as shown in Figure 4-1.
Figure 4-2. Connecting Two STP-50s to a PIO-SSR Series Board Connecting a PB-24 or PB-24SM A PB-24 or PB-24SM connects to an I/O connector of a PIO-SSR Series board as shown in Figure 4-3. Refer to Appendix B for pin assignments versus relay connections.
You can connect two or more PB-24 or P-24SM baseboards to I/O connectors of a PIO-SSR Series board as shown in Figure 4-4. PB-24 or PB-24SM Baseboard PIO-SSR-120 CAB-SSR Cables PB-24 or PB-24SM Baseboard Figure 4-4. Connecting Two PB-24 or PB-24SM Accessories to a...
+5V serves to prevent floating input when contact is open and gives CMOS compatibility for TTL signals. Figure 4-5 shows how this resistor makes an input of a PIO-SSR Series board an effective circuit for monitoring contact closure. +5 V Onboard Pull-up 10 kΩ...
Boosting Relay Drive Current PIO-SSR Series boards can drive relays other than the standard solid-state relays. The maximum output current for each channel of a PIO-SSR Series board is 24mA at 5V. If your relay requires more than 24mA or more than 5V, you can boost the drive current and/or voltage for relay control using the circuit shown in Figure 4-7.
Testing Your Board You can use DriverLINX to verify board operation: 1. To physically initialize the PIO-SSR, select Device/Initialize from the main menu in Learn DriverLINX. 2. The first time the PIO-SSR is initialized, or after a configuration change, DriverLINX runs a diagnostic program to verify the operation and accuracy of the configuration settings.
c. Click on the AIO Panel entry. The Analog I/O Panel should appear, similar to the example in Figure 5-1. (If you have other DriverLINX devices installed in addition to the digital input/output card you are testing, they will also be listed. In that case, select the desired digital I/O card and the proper device number before proceeding.) Figure 5-1.
2. On the AIO Control Panel, click the DIO tab. Figure 5-2. DIO channel tab example I/O Bit Tests Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 47
Note: The on-screen digital I/O controller works as follows: Channels 0 to 15 refer to the 8-bit general-purpose registers of your digital input-output card. (Depending on which card is used, the number of valid 8-bit registers will vary.) Bits displayed on the Digital Input Panel and the Digital Output Panel are numbered 0-7 for every channel.
Page 48
3. Under Digital I/O Configuration Panel, configure channels as shown in Figure 5-3. (Actual channels available will vary according to your hardware.) KEITHLEY Digital I/O Configuration Panel Channel Configuration Input Output Figure 5-3. Configuring the digital I/O channels as inputs and outputs...
5. In the Digital Output Panel under Output Bits, set the bits of the channel as desired as shown in Figure 5-4. (Click on each bit position to turn it ON or OFF.) 6. In the Digital Input Panel under Channels, click on a channel to select it and display the logical state of its input lines.
c. Click on the AIO Panel entry. The Analog I/O Panel should appear, similar to the example in Figure 5-5. (If you have other DriverLINX devices installed in addition to the digital input/output card you are testing, they will also be listed. In that case, select the desired digital I/O card and the proper device number before proceeding.) Figure 5-5.
Page 51
8. Under Digital I/O Configuration Panel, configure the output channels to be tested as shown in Figure 5-6. (Actual output channels available will vary according to your hardware.) KEITHLEY Digital I/O Configuration Panel Channel Configuration Input Output Figure 5-6. Configuring the digital I/O channels as inputs and outputs...
Page 52
I/O terminals, then repeat steps 9, 10, and 11 for remaining output channels. 13. In the Digital Output Panel under Channels, click on the output channel to test (channel 0 in this example) as shown in Figure 5-8. KEITHLEY Digital Output Panel Channels Output Bits Figure 5-8.
16. Again, each bit set to ON in the AIO Panel should output a logic- high signal at the corresponding I/O terminal, reading typically about 4 volts (minimum of 2.2 volts) at a DMM/DVM. Each bit set to OFF in the AIO Panel should output a logic-low signal at the correspond- ing I/O terminal, reading typically about 0 volts (maximum of 0.8 volts) at a DMM/DVM.
Programming Options Selecting an Application Programming Interface The PIO Series supports two different device driver interfaces to best match your programming needs. The supported driver interfaces are DriverLINX — An interface that is hardware and operating system independent and supports multitasking, multi-threading applications. Direct I/O —...
Page 55
Portability — DriverLINX supports older and newer hardware with a common interface for 16- and 32-bit applications on Windows 95/98 and Windows NT. Versatility — DriverLINX supports a wide variety of programming styles and languages including C/C++, Visual Basic, Delphi, and LabVIEW.
Direct I/O Application Programming Interface The Direct I/O interface uses the methods of an ActiveX Automation object to access the PIO hardware. This interface has the following advantages: Operating system independence — Both Windows 95/98 and Windows NT support this interface. Intel 8255 emulation —...
Installing the Direct I/O Driver The normal DriverLINX installation automatically installs the Direct I/O Driver. This driver is a registered ActiveX object that resides in KISAPIO.DLL. This driver requires that you install the DriverLINX kernel drivers as it uses their services. On Windows NT, the kernel driver is KMBPIO.SYS. On Windows 95/98, it is KMBPIO.VXD.
2. Scroll through the Available References, looking for Keithley ISA PIO Direct I/O Library. 3. Check Keithley ISA PIO Direct I/O Library and then click OK. 4. From VB’s View menu, select Object Browser to display a list of libraries.
Creating a Simple Visual Basic Application 1. Create a Visual Basic form. 2. Add the following source code to declare, open, close, read, and write a PIO device: Option Explicit Dim PIO As New KISAPIO Private Sub Close_Click() PIO.CloseDevice End Sub Private Sub btOpen_Click() PIO.OpenDevice (Val(tbDevice)) End Sub...
Note: For a complete description of the PPI operating modes, refer to an Intel 8255A data sheet. Your PIO-SSR Series board emulates Mode 0 only. Modes 1 and 2 are not supported. PIO-SSR Series boards contain 24-channel groups, as follows: A PIO-SSR-24 contains one group.
I/O Address Maps The following four tables (Table 6-1, 6-2, 6-3, and 6-4) show the I/O address maps for the three models of PIO-SSR Series boards. Table 6-1. I/O Address Map for a PIO-SSR-24 Base I/O Address Write Read J1-Port A...
Table 6-3. I/O Address Map for a PIO-SSR-120 Base I/O Address Write Read J1-Port A J1-Port A J1-Port B J1-Port B J1-Port C J1-Port C J1-Control Word — J2-Port A J2-Port A J2-Port B J2-Port B J3-Port C J2-Port C J2-Control Word —...
Control Word Register Before using your board, you must set the Control Word for each group to configure the ports as inputs or outputs. The Control Word for each group is contained in an 8-bit, write-only, Control Word register for that group. Table 6-4 shows the bit assignments of a Control Word register.
IRQ Control Registers 1 and 2 Figure 6-1 shows a simplified IRQ circuit for one or more groups of 24 channels. IRQ Registers for Group 1 J1-C0 From IRQ Control Register 1 J1-C3 From IRQ Control Register 1 From IRQ Control Register 1Write From IRQ Control Register 2 Write...
A low-to-high transition at the input of Port C channel 0 (C0) or Port C channel 3 (C3) generates an IRQ signal that is stored in the IRQ register for that channel. You can enable an IRQ register for a particular channel by writing 0 to the bit for that channel in the IRQ Control register, or you can disable and clear that IRQ register by writing 1 to that same bit.
Table 6-7. Addresses of IRQ Control Register Bits for a PIO-SSR-120 Input Channel Bit # I/O Address J1-C0 Base address +14h J1-C3 Base address +14h J2-C0 Base address +14h J2-C3 Base address +14h J3-C0 Base address +14h J3-C3 Base address +14h J4-C0 Base address +14h J4-C3...
Page 67
’interrupt to be used After you enable the IRQ Control registers and position the IRQ jumper at the desired level, your PIO-SSR Series board can issue IRQs to the computer. You can then determine which channels have issued IRQs by reading the IRQ Status Registers 1 and 2.
Troubleshooting If your PIO-SSR board is not operating properly, use the information in this section to isolate the problem. If the problem appears serious enough to warrant technical support, refer to Technical Support for information on how to contact an applications engineer. Using the DriverLINX Event Viewer The DriverLINX Event Viewer displays the Windows system event log.
DriverLINX Device Configuration dialog box. Problem Isolation If you encounter a problem with a PIO-SSR Series board, use the instructions in this section to isolate the cause of the problem before calling Keithley for technical support.
The board is incorrectly aligned Check the board for proper seating. in the accessory slot. The board is damaged. Contact Keithley for technical support. See page 7-6. Intermittent The I/O bus speed is in excess of Reduce I/O bus speed to a maximum of operation 8 MHz.
Page 71
Check wiring to screw terminal. Another system resource is using Reconfigure the base address of the the specified base address. PIO-SSR Series board. Check the I/O assignments of other system resources and reconfigure, if necessary. Transducer is not connected to Check the transducer connections.
Power up the computer and perform any necessary diagnostics. At this point, if you have another PIO-SSR Series board that you know is functional, you can test the slot and I/O connections using the instructions in the next section. If you do not have another board, refer to the instructions in Technical Support on page 7-6 before calling Keithley for technical support.
Series board that you know is functional. To test the computer accessory slot and the I/O connections, follow these steps: 1. Remove computer power again, and install a PIO-SSR Series board that you know is functional. Do not make any I/O connections.
Page 74
An applications engineer will help you diagnose and resolve your problem over the telephone. Please make sure that you have the following information available before you call: PIO-SSR Board Model ___________________ Configuration Serial Number ___________________ Revision code ___________________ Base address setting ___________________ Interrupt level setting ___________________...
Page 75
If you are submitting your equipment for repair under warranty, Note: you must include the invoice number and date of purchase. To enable Keithley to respond as quickly as possible, you must include the RMA number on the outside of the package. Troubleshooting...
Page 76
Specifications Specifications for PIO-SSR Series boards are listed in the following tables. Table A-1. Digital Input/Output Specifications Feature Value Number of channels PIO-SSR-24 24, bidirectional PIO-SSR-48 48, bidirectional PIO-SSR-120 120, bidirectional I/O interface One 8255A Mode 0 emulation circuit for...
Page 77
Table A-3. Input Parameter Specifications Feature Value 2V minimum 0.8V maximum 20µA maximum at V = 2.7V −0.2mA maximum at V = 0.4V Table A-4. Output Parameter Specifications Feature Value = −3mA 2.4V minimum at I 0.4V maximum at I = 12mA −15mA maximum 24mA maximum...
Connector Pin Assignments Pin assignments for I/O connectors of PIO-SSR Series boards and the edge connector of a CAB-SSR cable are shown in the following diagrams. J1 to J5, PC7 - 01 J1 to J5, PC6 - 03 J1 to J5, PC5 - 05...
Digital Common Corresponding Relay # on PB-24 or PB-24SM J1 to J5, PA0 - 47 J1 to J5, PA1 - 45 J1 to J5, PA2 - 43 J1 to J5, PA3 - 41 J1 to J5, PA4 - 39 J1 to J5, PA5 - 37 J1 to J5, PA6 - 35 J1 to J5, PA7 - 33 J1 to J5, PB0 - 31...
EMC directive 89/336 EEC. If this directive is not of importance to your application, please disregard the information in this appendix. Keithley certifies that this product has been tested and found to be in compliance with the EMC directive and relevant harmonized standards.
Please read the next section, Declaration of Conformity, for the specific testing configuration for this product. Consult the Keithley Instruments GMBH office (European importer) or Technical Support in Cleveland, OH, USA, for further information regarding the exact configuration details and testing.
Cabling Instructions for the CE Mark Configuration The PIO-SSR-24 board has one connector, the PIO-SSR-48 board has two connectors, and the PIO-SSR-120 has four connectors, each of which can be connected to an STA-50 through a CACC-2000 cable. For CE Mark compliance, you must shield the CACC-2000 cables.
Page 83
Index cache disabling for software installation CD ROM DriverLINX installation CE Mark certification accessory compliance 3-14 CAB-SSR cable 1-4, 4-2, clamping cables 3-10 CACC-2000 cable 1-4, 4-1, computer resources jacket, cable 1-4, 3-12 determination for installation PB-24/24SM baseboard 1-4, 4-2, configuration SSR modules using DriverLINX...
Page 84
5-10 output set test operating modes inspection installing cable shielding 3-12 cables 3-10 PIO-SSR Series board 3-15 parallel I/O devices interfaces PB-24/24SM baseboard 1-4, 4-2, installing for applications pin assignments CAB-SSR edge connector PIO-SSR I/O connectors Index...
Page 85
PPI, 8255 priorities, IRQ level technical support problem isolation instructions for using pull-up resistor 1-2, 4-4, unpacking and inspecting register Control Word 6-10 IRQ level Control 6-11, 6-14 IRQ level Status 6-13 relay drive current, boosting verify board operation obtaining for material return using DriverLINX setting wrapper, anti-static...
Page 86
Specifications are subject to change without notice. All Keithley trademarks and trade names are the property of Keithley Instruments, Inc. All other trademarks and trade names are the property of their respective companies. Keithley Instruments, Inc. 28775 Aurora Road • Cleveland, Ohio 44139 • 440-248-0400 • Fax: 440-248-6168 1-888-KEITHLEY (534-8453) •...
Need help?
Do you have a question about the PIO-SSR Series and is the answer not in the manual?
Questions and answers