background image

 

Specifications 

Sealevel Systems 

PIO-32.PCI 

Page 

9

 

 

 

Relative Addressing vs. Absolute Addressing 

The SeaIO API makes a distinction between “absolute” and “relative” 
addressing modes.  In absolute addressing mode, the Port argument to the API 
function acts as a simple byte offset from the base I/O address of the device.  
For instance, Port #0 refers to the I/O address base + 0; Port #1 refers to the 
I/O address base + 1. 
Relative addressing mode, on the other hand, refers to input and output ports in 
a logical fashion.  With a Port argument of 0 and an API function meant to 
output data, the first (0

th

) output port on the device will be utilized.  Likewise, 

with a Port argument of 0 and an API function designed to input data, the first 
(0

th

) input port of the device will be utilized. 

In all addressing modes, port numbers are zero-indexed; that is, the first port is 
port #0, the second port is #1, the third #2, and so on. 
 
Given Port A, Port D are inputs and Port B, Port C are outputs, the Tables 
below he Absolute address, and the relative address. The absolute address will 
be the same for any configuration, while the relative address will depend on the 
particular configuration.

Summary of Contents for PIO-32.PC

Page 1: ...Part 8010 Sealevel Systems Inc 155 Technology Place P O Box 830 Liberty SC 29657 USA Phone 864 843 4343 FAX 864 843 3067 www sealevel com PIO 32 PCI USER MANUAL TM ...

Page 2: ...PLICATION PROGRAMMERS INTERFACE API 8 Presetting an Output Port 8 Interrupts 8 Port Configuration 8 Relative Addressing vs Absolute Addressing 9 PORT ADDRESSING 10 Addressing Continued 11 DIRECT HARDWARE CONTROL 12 Reading the Inputs 12 Reading the Outputs 12 Presetting an Output Port 12 Writing the Outputs 12 Port Configuration 12 Interrupts 12 Register Description for direct hardware control 13 ...

Page 3: ...EDERAL COMMUNICATIONS COMMISSION STATEMENT 18 EMC DIRECTIVE STATEMENT 18 WARRANTY 19 Figures Figure 1 50 Pin Ribbon Cable Pin Out 5 Figure 2 Electrical Characteristics 6 Figure 3 API Port Bit Reference 10 Figure 4 API Port Bit Reference 11 Figure 5 Register Description 13 2001l Sealevel Systems Incorporated All rights reserved ...

Page 4: ...lay adapter All card resources i e I O address IRQ selection are auto assigned by either your system BIOS or your Plug and Play operating system Software Installation For proper operation install software first To install the software place the CD in your CD ROM tray and the auto run program will start If auto run is not available browse the CD and choose index htm Choose Install Software at the b...

Page 5: ...xpansion slots 1 Turn off PC power Disconnect the power cord 2 Remove the PC case cover 3 Locate an available PCI slot and remove the blank metal slot cover 4 Gently insert the PIO 32 PCI into the slot Make sure that the adapter is seated properly 5 Replace the screw 6 Replace the cover 7 Connect the power cord Installation is complete ...

Page 6: ...pports all PCI interrupts Windows Software The PIO 24 PCI ships with Sealevel Systems SeaI O suite of Windows 98 NT ME 2000 drivers SeaI O provides the user with a consistent and straightforward API allowing the developer to concentrate on the details of the application as opposed to low level driver development Popular development environments including Visual C Visual Basic and Delphi are suppor...

Page 7: ...y Software Support Third party software support for many HMI MMI and other process control software is included on the product installation CD For the most up to date information on third party software support please visit http www sealevel com 3rdpartysw htm ...

Page 8: ...Description Pin Port A Port C A0 47 C0 15 A1 45 C1 13 A2 43 C2 11 A3 41 C3 9 A4 39 C4 7 A5 37 C5 5 A6 35 C6 3 A7 33 C7 1 Port B Port D B0 31 D0 2 B1 29 D1 4 B2 27 D2 6 B3 25 D3 8 B4 23 D4 10 B5 21 D5 12 B6 19 D6 14 B7 17 D7 16 GND All Even pins from 18 5V 49 Figure 1 50 Pin Ribbon Cable Pin Out ...

Page 9: ...sceiver Each input is capable of sinking up to 24 mA while each output can source up to 15 mA Recommended Operating Conditions Min Max Input 0 V 5 25 V Source 15 mA Sink 24 mA Electrical Characteristics High Level Input Voltage Min 2 V Low Level Input Voltage Max 0 8 V High Level Output Voltage Min 2 V at 15 mA Typically 3 4 V at 3 mA Low Level Output Voltage Max 0 55 V at 24 mA Figure 2 Electrica...

Page 10: ...are installed on all ports The pull up resistor packs are rated at 10K ohms Figure 2 below provides the bussed resistor and corresponding port The resistors insure that no line is floating which is not connected This provides consistent biasing on all un terminated lines Bussed Corresponding Resistor Port RP1 Port A RP2 Port B RP3 Port C RP4 Port D ...

Page 11: ...s configured as an input then configure it as an output Inputs cannot be written to with relative addressing absolute addressing must be used See Relative Addressing vs Absolute Addressing below Interrupts Interrupt sampling can be set up in the API Port A bit zero is the interrupt source pin 47 Refer to the API section in the SeaI O help file for more detailed information Port Configuration Each ...

Page 12: ...ut ports in a logical fashion With a Port argument of 0 and an API function meant to output data the first 0th output port on the device will be utilized Likewise with a Port argument of 0 and an API function designed to input data the first 0th input port of the device will be utilized In all addressing modes port numbers are zero indexed that is the first port is port 0 the second port is 1 the ...

Page 13: ...bit reference numbers for Absolute and Relative Addressing R Read W Write R W Read or Write Port API Port Absolute Address function API Port Relative Address function Port Type A 0 R W 0 R Input Port B 1 R W 0 W Output Port C 2 R W 1 W Output Port D 3 R W 1 R Input Port Figure 3 API Port Bit Reference ...

Page 14: ...w 7 R A7 Input 8 R w 0 W B0 Output 9 R w 1 W B1 Output 10 R w 2 W B2 Output 11 R w 3 W B3 Output 12 R w 4 W B4 Output 13 R w 5 W B5 Output 14 R w 6 W B6 Output 15 R w 7 W B7 Output 16 R W 8 W C0 Output 17 R W 9 W C1 Output 18 R W 10 W C2 Output 19 R W 11 W C3 Output 20 R W 12 W C4 Output 21 R W 13 W C5 Output 22 R W 14 W C6 Output 23 R W 15 W C7 Output 24 R W 8 R D0 Input 25 R W 9 R D1 Input 26 R ...

Page 15: ... each port Reading the Outputs The value that is currently being used to drive the outputs will be returned Presetting an Output Port Each port has an output register associated with it This register may be written and retains its value whether the port is configured as an input or an output To preset the value of an output port the program should write to the port when it is configured as an inpu...

Page 16: ...upt source is Base 0 bit D0 When selecting the Interrupt Mode always disable interrupts prior to changing or setting states This will help prevent inadvertent or un expected interrupts from occurring When using the high and low level interrupts a change in state of the input must occur before the interrupt can be cleared The device providing the input to Base 0 bit D0 must do this PAD0 7 Port A Ba...

Page 17: ...to 70º C 4º to 158º F Humidity Range 10 to 90 R H Non Condensing 10 to 90 R H Non Condensing Power Consumption Supply line 5 VDC Rating 500 mA Mean Time Between Failures MTBF Greater than 150 000 hours Calculated Physical Dimensions Board Length 4 72 inches 12 00 cm Board Height including Goldfingers 3 30 inches 8 39 cm Board Height excluding Goldfingers 2 975 inches 7 56 cm ...

Page 18: ...red installation files in the correct locations 2 Identify all I O adapters currently installed in your system This includes your on board serial ports controller cards sound cards etc The I O addresses used by these adapters as well as the IRQ if any should be identified 3 Ensure that there is no conflict with currently installed adapters No two adapters can occupy the same I O address and may no...

Page 19: ...computer ready to run diagnostics 3 Sealevel Systems maintains a Home page on the Internet Our home page address is www sealevel com The latest software updates and newest manuals are available via our FTP site that can be accessed from our home page 4 Technical support is available Monday to Friday from 8 00 a m to 5 00 p m eastern time Technical support can be reached at 864 843 4343 RETURN AUTH...

Page 20: ...Appendix C Silk Screen Sealevel Systems PIO 32 PCI Page 17 Appendix C Silk Screen 3 70 4 20 ...

Page 21: ...rence at his own expense EMC Directive Statement Products bearing the CE Label fulfill the requirements of the EMC directive 89 336 EEC and of the low voltage directive 73 23 EEC issued by the European Commission To obey these directives the following European standards must be met EN55022 Class A Limits and methods of measurement of radio interference characteristics of information technology equ...

Page 22: ...use misuse of or inability to use this product Sealevel Systems will not be liable for any claim made by any other related party RETURN AUTHORIZATION MUST BE OBTAINED FROM SEALEVEL SYSTEMS BEFORE RETURNED MERCHANDISE WILL BE ACCEPTED AUTHORIZATION CAN BE OBTAINED BY CALLING SEALEVEL SYSTEMS AND REQUESTING A RETURN MERCHANDISE AUTHORIZATION RMA NUMBER Sealevel Systems Incorporated 155 Technology Pl...

Reviews: