background image

6-10

Programming Options

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.

Note that you can set Port A, Port B, and the upper and lower four bits of 
Port C independently. As an example, the following register bits show a 
Control Word of 93h. This Control Word sets Ports A, B, and C-Lower as 
inputs while setting Port C-Upper as an output.

Table 6-4.  Bit Assignments for a Control Word Register 

Bit #

Value

7

1

6

0

5

0

4

Port A: 1 = input; 0 = output

3

Port C (upper four bits): 1 = input; 0 = output

2

0

1

Port B: 1 = input; 0 = output

0

Port C (lower four bits): 1 = input; 0 = output

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

1

0

0

1

0

0

1

1

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for PIO-SSR Series

Page 1: ...s underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos...

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: ...therefore Keithley does not warrant that operation of the Keithley Software will be uninterrupted or error free and or that the Keithley Software will be adequate for the customer s intended applicati...

Page 4: ...CHINA Yuan Chen Xin Building Room 705 12Yumin Road Dewai Madian Beijing 100029 8610 6202 2886 Fax 8610 6202 2892 FINLAND Tiet j ntie 2 02130 Espoo Phone 09 54 75 08 10 Fax 09 25 10 51 00 FRANCE 3 all...

Page 5: ...Windows are registered trademarks and Visual C and Visual Basic are trademarks of Microsoft Corporation Borland is a registered trademark and Borland C Delphi and Turbo Pascal are trademarks of Borla...

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: ...ry 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...

Page 8: ...in the manual The symbol on an instrument shows that it can source or measure 1000 volts or more including the combined effect of normal and common mode voltages Use standard safety precautions to av...

Page 9: ...d 3 5 Setting the Base I O Address 3 6 Setting the IRQ Level 3 8 Clamping Cables to the Board 3 10 Installing Cable Shielding 3 12 Installing a Board 3 15 Configuring DriverLINX 3 16 4 Cabling and Wir...

Page 10: ...ister 6 10 IRQ Control Registers 1 and 2 6 11 IRQ Status Registers 1 and 2 6 13 7 Troubleshooting Using the DriverLINX Event Viewer 7 1 Device Initialization Error Messages 7 2 Problem Isolation 7 2 I...

Page 11: ...with Clamp 3 13 Figure 3 12 Detail of Clamped Cable Showing Installed Jacket 3 14 Figure 4 1 Connecting an STP 50 to a PIO SSR Series Board 4 1 Figure 4 2 Connecting Two STP 50s to a PIO SSR Series B...

Page 12: ...for a PIO SSR 48 6 8 Table 6 3 I O Address Map for a PIO SSR 120 6 9 Table 6 4 Bit Assignments for a Control Word Register 6 10 Table 6 5 Addresses of IRQ Control Register Bits for a PIO SSR 24 6 12 T...

Page 13: ...verview of the hardware and descriptions of features applications supporting software and accessories Section 2 provides a block diagram and descriptions of major features Section 3 describes how to u...

Page 14: ...annel board Each of these boards fits an expansion slot of an IBM PC AT or equivalent This section describes the features applications supporting software and accessories for this series of boards The...

Page 15: ...seamlessly with PIO SSR Series boards All boards power up with all lines configured as inputs and pulled high All boards provide high current drive capability All boards provides flexible interrupt ca...

Page 16: ...that verifies the installation and configuration of DriverLINX to your PIO SSR board and demonstrates several virtual bench top instruments Learn DriverLINX an interactive learning and demonstration...

Page 17: ...for connecting a PIO SSR Series board to a PB 24 or PB 24SM accessory CACC 2000 A 2 foot ribbon cable for connecting a PIO SSR Series board to an STP 50 accessory STP 50 Universal screw terminal panel...

Page 18: ...diagram of a PIO SSR 120 A0 to A7 B0 to B7 C4 to C7 C0 to C3 J1 I O Mode Selector Address Decoder Data Bus Buffer Data Bus I O Control Circuit Control Bus Buffer IRQ Control Circuit IRQ 3 to 7 9 to 12...

Page 19: ...Bus Control Bus IRQ Control Circuit IRQ Levels 3 to 7 9 to 12 14 15 D7 to D0 SA15 to SA5 Figure 2 2 Block Diagram of PIO SSR 48 C0 and C3 C0 and C3 J2 Data Buffer Port A Port B Port C J1 Data Buffer...

Page 20: ...ctor Address Decoder Data Bus Buffer Data Bus Control Bus IRQ Control Circuit IRQ Levels 3 to 7 9 to 12 14 15 D7 to D0 SA15 to SA5 Figure 2 3 Block Diagram of PIO SSR 120 C0 and C3 C0 and C3 C0 and C3...

Page 21: ...an onboard 50 pin male connector whose pin assignments are compatible with the industry standard PB 24 and PB 24SM solid state relay module baseboards Each 24 channel group emulates the Mode 0 operat...

Page 22: ...ist grounding strap you discharge static electricity as soon as you hold the wrapped board If you are not equipped with a wrist grounding strap discharge static electricity by holding the wrapped boar...

Page 23: ...e 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 Before Installing DriverLINX 1 Inventor...

Page 24: ...you can read search and print using the Adobe Acrobat Reader Install Acrobat This optional component installs the Adobe Acrobat Reader for the DriverLINX electronic documentation Installing DriverLINX...

Page 25: ...are set appropriately and that you have noted the switch settings so that you can match these settings when you program the configuration using DriverLINX Refer to the DriverLINX Installation and Con...

Page 26: ...hat requires a configuration file you must specify an even boundary of four I O addresses within the range of 200h to 3F8h Configuring a Board Keithley configures your PIO SSR Series board by presetti...

Page 27: ...from 0000h to 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...

Page 28: ...vertently activate the disk drive controller board The base address switches are preset at the factory for a default base I O address of 300h the address reserved by many computers for a prototype boa...

Page 29: ...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...

Page 30: ...n in Table 3 1 Table 3 1 Priorities for IRQ Levels Priority IRQ Level First 9 Second 10 Third 11 Fourth 12 Fifth 14 Sixth 15 Seventh 3 Eighth 4 Ninth 5 Tenth 6 Eleventh 7 Artisan Technology Group Qual...

Page 31: ...to your board use the following procedure 1 Remove the two clamp adjusting screws and the clamp from the board s mounting plate 2 Feed a cable through the hole in the mounting plate and plug the cable...

Page 32: ...are in place on the board as shown in Figure 3 5 Figure 3 5 Cabling in Place 5 Re install the clamp and clamp adjusting screws so that the clamp holds the cabling firmly in place as shown in Figure 3...

Page 33: ...mounting plate 3 Unplug the cable connectors from the board and pull the taped cabling back through the mounting plate until the tape marker is beyond the clamping area 4 Beginning at the tape marker...

Page 34: ...7 Slide cabling back through the mounting plate and plug the cable connectors back into the board placing shield surface directly in line with mounting plate clamp as shown in Figure 3 11 Figure 3 11...

Page 35: ...urface of the jacket flap as shown in Figure 3 12 Figure 3 12 Detail of Clamped Cable Showing Installed Jacket Note This shielding procedure assures CE Mark compliance refer to Appendix C for more inf...

Page 36: ...mounting plate 4 Ensure the settings of the base address switch and the IRQ jumper match the settings shown in the configuration utility 5 Insert and secure the board in the selected expansion slot f...

Page 37: ...select the Program Manager window Install DriverLINX if you have not previously done so 2 Either select the Learn DriverLINX icon created when you installed DriverLINX or enter drive DRVLNX LEARNDL in...

Page 38: ...r Timer Sections by first clicking on the appropriate radio button in the middle of the dialog box and then completing the group of dialog fields in the lower third of the dialog box Be sure to click...

Page 39: ...nnectors Pin assignments for an I O connector are shown in Appendix B Caution To avoid electrical damage turn off power to the computer and any accessories before making connections to a PIO SSR Serie...

Page 40: ...B 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 Figure 4 3 Connecting a PB 24 or PB 24SM to a PIO...

Page 41: ...s of a PIO SSR Series board as shown in Figure 4 4 Figure 4 4 Connecting Two PB 24 or PB 24SM Accessories to a PIO SSR Series Board PB 24 or PB 24SM Baseboard CAB SSR Cables PIO SSR 120 PB 24 or PB 24...

Page 42: ...PIO SSR Series Board Eliminating Contact Bounce While you can eliminate contact bounce through your application program you can also insert a bounce circuit between the contacts and the input of your...

Page 43: ...Transistor Relay Control for an Output of a PIO SSR Series Board For drive current requirements between 15mA and 100mA select an NPN transistor with appropriate current capacity The power transistor...

Page 44: ...nstall the PIO SSR board and configure DriverLINX for the desired PIO SSR configuration you can attach an accessory board and wire the appropriate signals to the board Before writing your application...

Page 45: ...o 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 An AIO Panel example...

Page 46: ...I O Bit Tests 5 3 2 On the AIO Control Panel click the DIO tab Figure 5 2 DIO channel tab example Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 47: ...der Input Bits and Output Bits show the hexadecimal values of the adjacent bit patterns To configure a valid channel either for input or output use the Digital Channel Configuration Panel Click on eit...

Page 48: ...4 In the Digital Output Panel under Channels click on a channel here channel 0 as shown in Figure 5 4 Figure 5 4 Configuring channel 0 for output bit pattern A Illustration Color on Actual Panel Func...

Page 49: ...out user circuits being connected to the outputs Perform the output set test as follows 1 Ready the following equipment A digital voltmeter DVM or a digital multimeter DMM set to measure voltages or a...

Page 50: ...te To read an input channel bit use the Digital Input Panel First select the channel number to be checked by clicking the appropriate square under Channels Then read the numbered bit under Input Bits...

Page 51: ...ick on an output channel channel 0 in this example as shown in Figure 5 7 Figure 5 7 Configuring channel 0 for output bit pattern A 10 In the Digital Output Panel under Output Bits set the bits of cha...

Page 52: ...nel do not agree with the logic levels measured at the I O terminals the board is not functioning properly Stop here and determine why If the bit patterns set on the AIO Panel agree with the logic lev...

Page 53: ...in this user s guide for more details on the output s electrical specification If the bit patterns set on the AIO Panel do not agree with the logic levels measured at the I O terminals the board is no...

Page 54: ...y and versatility it is recommended that the DriverLINX interface be used The DriverLINX interface has the following advantages Hardware independence DriverLINX supports ISA PCMCIA and PCI digital I O...

Page 55: ...nterfaces Software modifications Existing applications will require rewriting to use DriverLINX No direct hardware access Before Windows NT Microsoft discouraged but nevertheless allowed direct applic...

Page 56: ...product specific access to the hardware registers Speed of single value I O The I O performance of this interface is the fastest of the two interfaces when using early binding to the interface The Dir...

Page 57: ...ration Panel utility The Direct I O driver does not require any separate configuration Programming the Direct I O Interface The Direct I O Interface is an ActiveX Automation object hosting one interfa...

Page 58: ...r this Logical Device Count is the address of the value for the result HRESULT Device long LogicalDevice Returns the Logical Device number if the device is open Otherwise it returns 1 LogicalDevice is...

Page 59: ...Explicit Dim PIO As New KISAPIO Private Sub Close_Click PIO CloseDevice End Sub Private Sub btOpen_Click PIO OpenDevice Val tbDevice End Sub Private Sub btRead_Click tbValue Hex PIO Read Val tbAddr E...

Page 60: ...lable with an 8255A Mode 0 Basic I O all ports are I O ports Mode 1 Strobed I O part of Port C controls data transfer Mode 2 Bidirectional I O on Port A only part of Port C controls data transfer Note...

Page 61: ...J1 Port B J1 Port B 2h J1 Port C J1 Port C 3h J1 Control Word 4h IRQ Control 1 IRQ Status 1 Table 6 2 I O Address Map for a PIO SSR 48 Base I O Address Write Read 0h J1 Port A J1 Port A 1h J1 Port B...

Page 62: ...J1 Port B J1 Port B 2h J1 Port C J1 Port C 3h J1 Control Word 4h J2 Port A J2 Port A 5h J2 Port B J2 Port B 6h J3 Port C J2 Port C 7h J2 Control Word 8h J3 Port A J3 Port A 9h J3 Port B J3 Port B Ah...

Page 63: ...nd lower four bits of Port C independently As an example the following register bits show a Control Word of 93h This Control Word sets Ports A B and C Lower as inputs while setting Port C Upper as an...

Page 64: ...R CLR CLK Q Q D Vcc J1 C3 From IRQ Control Register 1 PR CLR CLK Q Q D Vcc J5 C0 if present From IRQ Control Register 2 PR CLR CLK Q Q D Vcc J5 C3 if present From IRQ Control Register 2 From IRQ Contr...

Page 65: ...ame bit The IRQ Control registers are write only The I O addresses of the IRQ Control register bits for each group are listed in Tables 6 5 6 6 and 6 7 Table 6 5 Addresses of IRQ Control Register Bits...

Page 66: ...re an example of commands to read the settings of all IRQ Status register bits in a PIO SSR 120 whose base I O address is 300h ST1 INP H314 Read IRQ status of J1 to J4 groups ST2 INP H315 Read IRQ sta...

Page 67: ...rs 1 and 2 When the interrupts are complete use the above commands to disable clear and re enable the IRQ Control registers Note that if you are using a PIO SSR 120 you need two write commands to disa...

Page 68: ...ubleshooting hardware and software problems DriverLINX uses the event log to report problems during driver loading or unexpected system errors The event log can assist in troubleshooting resource conf...

Page 69: ...Selected level does not match hardware setting conflicts with another board s IRQ DMA levels or is dedicated to the computer s internal functions COM port disk drive controller network adapter etc Ha...

Page 70: ...eset the interrupt level The board configuration is incorrect Check the remaining settings in the configuration file The board is incorrectly aligned in the accessory slot Check the board for proper s...

Page 71: ...g read Check the transducer connections Board is set for single ended mode while transducer is a differential type or vice versa Check transducer specifications and board configuration Computer does n...

Page 72: ...and visually check for damage If a board is obviously damaged refer to Technical Support on page 7 6 for information on returning the board 4 With the PIO SSR Series board out of the computer check t...

Page 73: ...other slot as well 3 If the accessory slots are functional use the functional board to check the I O connections Reconnect and check the operation of the I O connections one at a time 4 If operation...

Page 74: ...Manufacturer CPU type Clock speed MHz KB of RAM Video system BIOS type ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ Operating...

Page 75: ...mptoms The RMA number on the outside of the package Repackage the equipment using the original anti static wrapping if possible and handle it with ground protection Ship the equipment to ATTN RMA ____...

Page 76: ...O interface One 8255A Mode 0 emulation circuit for each group of 24 channels I O signal LS TTL non isolation Pull up resistors 10k one per channel Table A 2 Interrupt Request Specifications Feature Va...

Page 77: ...byte boundary Base I O address DIP switch selectable default is 300h External connections One 50 pin Opto 22 compatible connector for each 24 channel group Operating temperature 32 to 122 F 0 to 50 C...

Page 78: ...10 J1 to J5 PC2 11 12 J1 to J5 PC1 13 14 J1 to J5 PC0 15 16 J1 to J5 PB7 17 18 J1 to J5 PB6 19 20 J1 to J5 PB5 21 22 J1 to J5 PB4 23 24 J1 to J5 PB3 25 26 J1 to J5 PB2 27 28 J1 to J5 PB1 29 30 J1 to J...

Page 79: ...PB5 21 22 J1 to J5 PB4 23 24 J1 to J5 PB3 25 26 J1 to J5 PB2 27 28 J1 to J5 PB1 29 30 J1 to J5 PB0 31 32 J1 to J5 PA7 33 34 J1 to J5 PA6 35 36 J1 to J5 PA5 37 38 J1 to J5 PA4 39 40 J1 to J5 PA3 41 42...

Page 80: ...uctions required for the CE Mark configuration Limitation of Certification This certification applies only to the operation of the product with specified cables and accessories in the stated configura...

Page 81: ...is Declared EN50081 1 EN50082 1 Manufacturer s Name Keithley Instruments Inc Importer s Name Keithley Instruments GMBH Importer s Address Landsberger Str 65 D 82110 Germering Munich Type of Equipment...

Page 82: ...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 S...

Page 83: ...3 12 cabling and wiring 4 1 cache disabling for software installation 3 2 CD ROM DriverLINX installation 3 3 CE Mark certification C 1 compliance 3 14 clamping cables 3 10 computer resources determin...

Page 84: ...O SSR Series board 3 15 interfaces installing for applications 3 3 IRQ level Control register 6 11 6 14 factory setting 3 8 priorities 3 9 setting 3 8 Status register 6 13 J jacket cable 1 4 3 12 L Le...

Page 85: ...ress 3 6 IRQ level 3 8 shipping instructions for returning material 7 8 SSR modules 1 4 STP 50 accessory 1 4 4 1 4 2 switches setting prior to installation 3 2 switches base I O address 3 7 3 8 T tech...

Page 86: ...4 93 07 34 GREAT BRITAIN Unit 2 Commerce Park Brunel Road Theale Berkshire RG7 4AB 0118 929 7500 Fax 0118 929 7519 INDIA Flat 2B Willocrissa 14 Rest House Crescent Bangalore 560 001 91 80 509 1320 21...

Page 87: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Reviews: