Home

MODEL PCI-IIRO-8 USER MANUAL

image

Contents

1. Customer Service department Be prepared to give the unit model number serial number and a description of the failure symptom s We may suggest some simple tests to confirm the failure We will assign a Return Material Authorization RMA number which must appear on the outer label of the return package All units components should be properly packed for handling and returned with freight prepaid to the Portwell designated Service Center and will be returned to the customer s user s site freight prepaid and invoiced Coverage First Three Years Returned unit part will be repaired and or replaced at Portwell option with no charge for labor or parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime Portwell stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by Portwell Equipment provided but not manufactured by Portwell is warranted and will be repaired according to the terms and conditions of the respective equipment manufacturer s warranty General Under this Warranty liability of Portwell is limited to replacing repairing or issuing credit at Portwell discretion for any products which are proved to be defective during the warranty period In no case is Portwell liable for consequential or special damage arriving from use or misuse of our product The custom
2. are read and the data are displayed The programs are as follows SETUP EXE Setup Program DOS CSAMPLES BSAMPLES PSAMPLES WIN32 DELPHI CBUILDER VBASIC VISUALC These three directories contain DOS samples in Borland C Microsoft QuickBASIC 4 5 and Turbo Pascal 7 0 These four directories contain samples in Borland Delphi 4 0 Borland C Builder 3 0 Microsoft VisualBASIC 5 0 and Microsoft VisualC 5 0 These samples will run in Windows95 Windows98 or WindowsNT 4 0 Before running these Win32 samples make sure you have properly installed the ACCES32 driver installed as part of the TOOLS package 13 Manual PCI IIRO 8 Chapter 7 Connector Pin Assignments Analog and digital I O signals are connected to the card via a 37 pin D type connector that extends through the back of the computer case The mating connector is an AMP 747304 1 or equivalent The wiring may be directly from the signal sources or may be on ribbon cable from screw terminal accessory boards 4 DB 37 Male 19 20 37 Function P7 P3 P2 P1 Digital Input Bit 3 Digital Input Bit 2 Digital Input Bit 1 mn Digital Input Bit O OP7 C Bit 7 Relay Common P7 e Bit 3 Relay Common NO Digital Input Bit 7 Pe DigitaiinputBeite e P1 igi 3 0 I S JE o R O JO JO JO JO u U la v MN IB JE BE O Z zZ O u v S US 8 z z pepe N IN IN mn G LES fo N Digital Input Bit 1 D
3. you selecting those resources with switches or jumpers As a result you cannot set or change the card s base address You can only determine what the system has assigned To determine the base address that has been assigned run the PCIFind EXE utility program This utility will display a list of all of the cards detected on the PCI bus the addresses assigned to each function on each of the cards and the respective IRQs and DMAs if any allotted Alternatively some operating systems can be queried to determine which resources were assigned In these operating systems you can use either PCIFind or the Device Manager utility from the System Properties Applet of the control panel The card is installed in the Data Acquisition class of the Device Manager list Selecting the card clicking Properties and then selecting the Resources Tab will display a list of the resources allocated to the card The PCI bus supports 64K of address space so your card s addresses may be located anywhere in the 0000 to FFFF hex range PCIFind uses the Vendor ID and the Device ID to search for your card then reads the base address and IRQ assigned If you want to determine the base address and IRQ assigned use the following information The Vendor ID code is 494F ASCII for I O The device ID code is OFOO 10 Manual PCI IIRO 8 Chapter 5 Programming The base or starting address is assigned by the computer system during installation and will fall on a four b
4. MODEL PCI IIRO 8 USER MANUAL FILE PCI IIRO 8 B1f Notice The information in this document is provided for reference only Portwell does not assume any liability arising out of the application or use of the information or products described herein This document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of Portwell nor the rights of others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright 1995 2005 by Portwell I O Products Inc All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD CONNECTING AND DISCONNECTING CABLES OR INSTALLING CARDS INTO A SYSTEM WITH THE COMPUTER OR FIELD POWER ON MAY CAUSE DAMAGE TO THE I O CARD AND WILL VOID ALL WARRANTIES IMPLIED OR EXPRESSED 1 Manual PCI IIRO 8 Warranty Prior to shipment Portwell equipment is thoroughly inspected and tested to applicable specifications However should equipment failure occur Portwell assures its customers that prompt service and support will be available All equipment originally manufactured by Portwell which is found to be defective will be repaired or replaced subject to the following considerations Terms and Conditions If a unit is suspected of failure contact Portwell
5. PCI IIRO 8 Hardware Installation o ARON oo N 10 Make sure to set switches and jumpers from either the Option Selection section of this manual or from the suggestions of SETUP EXE Do not install card into the computer until the software has been fully installed Turn OFF computer power AND unplug AC power from the system Remove the computer cover Carefully install the card in an available 5V or 3 3V PCI expansion slot you may need to remove a backplate first Inspect for proper fit of the card and tighten screws Make sure that the card mounting bracket is properly screwed into place and that there is a positive chassis ground Install an I O cable onto the card s bracket mounted connector Replace the computer cover and turn ON the computer which should auto detect the card depending on the operating system and automatically finish installing the drivers Run PClfind exe to complete installing the card into the registry for Windows only and to determine the assigned resources Run one of the provided sample programs that was copied to the newly created card directory from the CD to test and validate your installation The base address assigned by BIOS or the operating system can change each time new hardware is installed into or removed from the computer Please recheck PCIFind or Device Manager if the hardware configuration is changed Software you write can automatically determine the base address of the card using
6. a variety of methods depending on the operating system In DOS the PCNSOURCE directory shows the BIOS calls used to determine the address and IRQ assigned to installed PCI devices In Windows the Windows sample programs demonstrate querying the registry entries created by PCIFind and NTIOPCI SYS during boot up to determine this same information 8 Manual PCI IIRO 8 Chapter 3 Option Selection Filter Response Switch DIP switch S2 is used to select input filtering on a channel by channel basis When S2 1 is ON additional filtering is introduced for input bit 0 S2 2 for bit 1 etc Switch Section Bit Filtered sm mo IP1 This additional filtering provides a slower response as described previously and must be used when AC inputs are applied Note also as previously described that the filters can be globally activated or de activated under software control at base address 3 Interrupts An interrupt is asserted by the card when an input data bit changes state if enabled by software as previously described a TI ok UTE Figure 3 1 Option Selection Map 9 Manual PCI IIRO 8 Chapter 4 Address Selection The card occupies four consecutive registers in I O space The PCI architecture is inherently plug and play in nature This means that the BIOS or Operating System determines the resources assigned to PCI cards rather than
7. elays as a single byte Each bit within the byte controls a specific relay A 1 energizes the corresponding relay and a 0 turns it off sarten ov os oe oe oo oe 09 097 gam 00r ores ore ors ore or oro For example if bit D5 is turned on by writing hex 20 to the base address the relay that controls OP5 is energized closing the associated normally open contacts All other relays would be de energized and their normally closed contacts would be closed 11 Manual PCI IIRO 8 Programming Examples No API driver software is provided with the card because programming is very simple and can be accomplished most efficiently using direct I O instructions in DOS Use the standard ACCES32 API driver for windows The following examples are in C but are readily translated into other languages Example Turn on OPO and OP7 Base 0xF300 Base UO address outportb Base 0x81 Example Read back the state of the relays X inportb Base relay register data to X printf 02x display results Example Read the digital inputs Y inportb Base 1 digital input register to Y 12 Manual PCI IIRO 8 Chapter 6 Software Utility software provided with the card is the base address locator an illustrated setup program and a sample program The sample program sequentially turns on each relay until all are on and then sequentially turns them off After each relay is turned on the relay states are read back the opto isolated inputs
8. er is responsible for all charges caused by modifications or additions to Portwell equipment not approved in writing by Portwell or if in Portwell opinion the equipment has been subjected to abnormal use Abnormal use for purposes of this warranty is defined as any use to which the equipment is exposed other than that use specified or intended as evidenced by purchase or sales representation Other than the above no other warranty expressed or implied shall apply to any and all such equipment furnished or sold by Portwell 2 Manual PCI IIRO 8 Table of Contents Chapter 1 IntrodticlloM tt A a 4 A EEN 5 Figure 1 12 Block RE E 6 Chapter 2 installation 7 Chapter 3 Option Selection non nnnnnnnnnnnnnnns 9 ee 9 Figure 3 1 Option Selection Map icccccccdccccccudecccccndccccddndeccdddndeccddendeccddcndeccdderdeceddendeas 9 Chapter 4 Address Gelecton cnn ncnnnnnnns 10 Chapter 5 Programming nsneeeeeeeeeeeeeerrtrrresssttrtrrtrnnnsstetttrttrnnnnsttrttrnrnnnnnseernnn nnn 11 Chapter 6 Software EE 13 Chapter 7 Connector Pin Assignments 14 Table 7 1 Connector Pin Assignments oooocccccoccccccccccnococonanannnncnnnnncnnnnnnnnnnnncnnnnnnn 14 3 Manual PCI IIRO 8 Chapter 1 Introduction This is a half size card that provides isolated digital input and output interface for PCI Bus computers The card has eight optically isolated digital inputs for AC or DC contro
9. igital Input Bit O Bit 7 Relay Normally Open Contact N co Z 2 Bit 4 Relay Common N o O JO JO v o 9 o 1 z Iz 2 O J N gt U JU KM ES Z JO S Jo wo A NC Bit 1 Relay Normally Closed Contact 36 NO Bit 1 Relay Normally Open Contact 37 OPO C Bit O Relay Common Table 7 1 Connector Pin Assignments 35 Pin e Le o ta 2 23 24 25 28 2 a a sa a a az O JO jo Jo u Ujuju Z HK US VS O IZ jo 14 Manual PCI IIRO 8 Customer Comments If you experience any problems with this manual or just want to give us some feedback please email us at tech portwell com Please detail any errors you find and include your mailing address so that we can send you any manual updates 15 Manual PCI IIRO 8
10. it boundary This card s read and write functions are as follows O Address Read Relay Output Write Relay Output Read Isolated Inputs Clear Interrupt Enable IRQ Disable IRQ Activate Filter Deactivate Filter Digital Inputs Digital input states are read as a single byte from the port at Base Address 1 Each of the eight bits within the byte corresponds to a particular digital input A 1 signifies that the input is energized and a 0 signifies that the input is de energized saves or es os oe oo 02 os oo omateva ier es eses e e eo The card s response to inputs is rated at 20 uSec or faster Sometimes it is necessary to slow down that response to accommodate AC inputs or in noisy environments The 10 mSec filter can be enabled for all inputs in software by reading at base address 3 or disabled by writing at base address 3 The card supports interrupts on change of state of digital inputs Thus it is not necessary to continuously poll inputs by reading at base address 1 to detect any state change To enable this interrupt capability read at base address 2 To disable interrupts write at base address 2 To clear an IRQ write at base address 1 Relay Outputs At power up all relays are de energized The current state of the relays can be determined at any time by a read operation at the base address The relay outputs are controlled by writing to the base address Data are written to all eight r
11. l signals and eight electromechanical relay outputs This card occupies four consecutive 8 bit registers in I O space Inputs The isolated inputs can be driven by either AC or DC signals and are not polarity sensitive Input signals are rectified by a diode bridge and applied to the input of an opto isolator A 4700 resistor in series provides current limiting Standard 12 24 AC control transformer outputs can be accepted as well as DC voltages The input voltage range is 5 to 24 volts rms External resistors connected in series may be used to extend the input voltage range Each input circuit contains a switchable slow fast filter that has a 10 millisecond time constant Without filtering the response is 20 uSec The filter must be selected for AC inputs in order to eliminate response to zero crossings The filter is also valuable for use with slow DC input signals in a noisy environment The filter may be switched out for DC inputs in order to obtain faster response Filters are individually selected by switch S2 IPO is controlled by FO IP1 by F1 IP2 by F2 etc The filters are switched into the circuit when the switch is moved to the ON position The filters may also be controlled globally under software control All filters may be turned on by a read at base address 3 Filters that have been activated by software may be disabled by a write to base address 3 Interrupts When enabled by a software read to base address 2 the card assert
12. n operations minimum 0 5 million operations minimum at full load 2 milliseconds maximum 1 milliseconds maximum When enabled by software interrupts are generated when digital inputs change state Operating 0 C to 50 C Storage 20 C to 70 C 0 to 90 non condensing Approx 8 oz 6 15 long 156 mm 5VDC 0 675A all relays ON AC 60 VA DC 30 W 5 Manual PCI IIRO 8 SOLATED 2 INPUTO e FILTER ENABLE SWITCH em SOLATED INPUT 1 e SOLATED INPUT2 gt SOLATED LE INPUT 3 e MA SOLATED 2 INPUT4 SOLATED IF INPUT 5 v SOLATED 2 INPUT 6 e Ne SOLATED 2 INPUT7 gt PS INPUT REGISTER WITH SWITCHABLE FILTERS ADDRESS AND CONTROL LOGIC CHANGE OF STATE DETECT Figure 1 1 Block Diagram OUTPUT REGISTER WITH READBACK RESET Ver L OP6 A Veo PCI BUS INTERFACE COMPUTER PCI BUS Manual PCI IIRO 8 Chapter 2 Installation A printed Quick Start Guide QSG is packed with the card for your convenience If you ve already performed the steps from the QSG you may find this chapter to be redundant and may skip forward to begin developing your application The software provided with this card is on CD and must be installed onto your hard disk prior to use To do this perform the following steps as appropriate for your operating sys
13. s an interrupt whenever any of the inputs change state Once an interrupt has been generated and serviced it must be cleared A software write to base address 1 will clear an interrupt This interrupt capability may be disabled by a software write to base address 2 Outputs The electromechanical relay outputs are comprised of five Form C SPDT outputs and three Form A SPST normally open type The relays are all de energized at power on Data to the relays is latched by a write to the base address On off status of the relays can be read back by a read at the base address A Manual PCI IIRO 8 Specification Digital D D D D Inputs Type Voltage Range Isolation Input Resistance Response Time Relay Outputs Contact Rating Max switching current Max switching Voltage Contact Arrangement Contact Resistance Contact Life mech Contact Life elect l Operating Time Release Time General Interrupts Environmental e Ambient Temperature Humidity Weight Size Power Required Max Switching Power Non polarized optically isolated not TTL compatible 5 to 24V DC or AC 50 to 1000 Hz 500V channel to ground or channel to channel 470 ohms in series with two diodes and an LED 10 mSec w filter 20 uSec w o filter 2A carry current single button silver 1A 60VDC 30W 120VAC 60VA Channels 0 4 are SPDT Form C and channels 5 7 are SPST Form A Initial 100 millionms maximum 5 millio
14. tem Configure Card Options via Jumper Selection Before installing the card into your computer carefully read Chapter 3 Option Selection of this manual then configure the card according to your requirements Our Windows based setup program can be used in conjunction with Chapter 3 to assist in configuring jumpers on the card as well as provide additional descriptions for usage of the various card options CD Software Installation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as necessary DOS 1 Place the CD into your CD ROM drive 2 Type DJ Jl to change the active drive to the CD ROM drive 3 Type IM sJTJAJ Jed to run the install program 4 Follow the on screen prompts to install the software for this board WINDOWS 1 Place the CD into your CD ROM drive 2 The system should automatically run the install program If the install program does not run promptly click START RUN and type QJ MsJTJAJ JJ click OK or press zl 3 Follow the on screen prompts to install the software for this board LINUX 1 Please refer to linux htm on the CD ROM for information on installing under linux Caution ESDA single static discharge can damage your card and cause premature failure Please follow all reasonable precautions to prevent a static discharge such as grounding yourself by touching any grounded surface prior to touching the card 7 Manual

Download Pdf Manuals

image

Related Search

Related Contents

HV101 Multi_Language User Guide PN Q103740  Benutzerhandbuch  SUSE Linux Enterprise Server  trinciasarmenti modello 526l con motore honda gx 270  BENDIX TCH-002-014 User's Manual  Manuel de conception, de construction et d`entretien de  User`s Manual  取扱説明書 品番 PH-PR83  Product Information - Universal Medical Inc  Process CPU User`s Manual(Function Explanation  

Copyright © All rights reserved.
Failed to retrieve file