background image

ERMA

Electronic GmbH

IO 1388
Digital IO-Card

Manual

ERMA

Electronic GmbH

Electronic GmbH

Summary of Contents for IO 1388

Page 1: ...IO 1388 Digital IO Card Manual ERMA Electronic GmbH Electronic GmbH ...

Page 2: ...s suppliers shall be liable for any other damages whatsoever including without limitation damages for loss of business profits business interruption or other pecuniary loss arising out of or inability to use this product All products from ERMA Electronic are warranted against defective material and workmanship for a period of two 2 years from date of delivery If it is necessary to return the produ...

Page 3: ...lation 8 7 1 Hardware configuration 8 7 1 1 Component layout 8 7 1 2 Digital Input Channels 9 7 1 3 Digital Outut Channels 10 7 2 Open PC 10 7 3 Card insertion 10 7 4 Close PC 10 7 5 Driver installation 11 7 5 1 Windows 95 98 ME 11 7 5 2 Windows NT4 0 11 7 5 3 Windows 2000 11 7 5 4 Windows XP 11 7 6 Configure software 11 ERMA Electronic GmbH 2 ...

Page 4: ... Watchdog Register 14 8 7 Releasing the IRQ of the Target Controller 15 8 8 Programming under Windows 15 8 9 Programming with IO 1388 DLL 15 8 9 1 Functions 15 8 10 Usage within own applications 18 8 10 1 Visual Basic 18 8 10 2 Visual C LabWindowsCVI 18 8 10 3 Delphi 19 8 10 4 Tips and Tricks 19 9 Troubleshooting 19 10 Pin assignment 20 10 1 Pin Assignment of the card 20 3 ERMA Electronic GmbH ...

Page 5: ...10 2 Pin assignment of the additional slot 21 11 Technical datas 22 12 Ordering information 23 Date 28 03 2003 IO1388AE PUB Technical subjects to change ERMA Electronic GmbH 4 ...

Page 6: ...fully No liability will be assumed for any damage caused by improper installation Inspect the instrument module carton for obvious damage Be shure there are no shipping and handling damages on the module before processing Do not apply power to the instrument if it has damaged The warranty does not apply to defects resulting from action of buyer such as mishandling improper interfacing operation ou...

Page 7: ...e interrupts The interrupts can be generated by a positive edge or a negati ve edge trigger In addition there is a timer implemented The timer e g can be used for reading input channels in distinct intervals 4 Function The IO 1388 will use one PCI slot within the pc Because the PCI bus supports plug and play there are no jumpers or switches to change configuration The card will use 8 x 32 bit IO a...

Page 8: ...ielded twisted pair cables The wiring of shields and ground 0V should be star shaped The distance to interference sources should be as far as possible If necessary protective screen or metal enclosures must be provided Coils of relays must be supplied with filters Parallel wiring of input signals and AC power lines should be avoided FPGA PCI Target Controller Input and Output Circuits Input and Ou...

Page 9: ...e to be disconnected from power supply Because within PC s and the peripherals are high voltages it is dangerous to life 7 1 Hardware configuration The IO 1388 uses plug and play and so there is no need for any settings 7 1 1 Component layout Figure 1 and 2 show the component layout Figure 1 7 Installation ERMA Electronic GmbH 8 ...

Page 10: ...l Input Channels Figure 3 shows one of the input circuits 8255 71055 R9 12 15 R18 21 24 SFH615 IC1 2 R26 R31 R10 13 16 R19 22 25 R8 11 14 17 20 23 If required Figure 3 Figure 2 7 Installation 9 ERMA Electronic GmbH ...

Page 11: ...bove Afterwards the slot plate of the card have to be screwed to the backside of the PC case The slot plate is used for mounting and also for shielding Keep in mind that removal of the plate will result in loss of shielding and card and PC will be more sensitive to EMC Additionaly the card won t be held in slot position when external force will happen to the connected cables Then the card could mo...

Page 12: ...P EXE The program is on the disc within the directory Driver WINNT40 The program will install the driver and the DLL 7 5 3 Windows 2000 Windows will recognize the new card and ask for the driver The driver is on the disc within the directory Driver Win2000 7 5 4 Windows XP Windows will recognize the new card and ask for the driver The driver is on the disc within the directory Driver WinXP 7 6 Con...

Page 13: ...it 1 will cause a conducting state of the output channel that means the external applied positive supply voltage is switched through to the output pin 8 2 Input Register Read BaseAdresse1 4 read input channels Each bit of this 32 bit register corresponds to one input channel Write commands to this register will have no effect 8 3 Interrupt Enable Register Read Write BaseAddress1 8 Enable for posit...

Page 14: ...PCI Target Con troller The bits Timer Enable and Input Enable are used to activate the timer respec tively the watchdog The 3 bits for the status are indicating which function has generated an interrupt The Configuration bit is used to recognize the used IO card Configuration Bit 0 means model IO 1388 0 16 input output channels Configuration bit 1 model IO 1388 1 32 input output channels The bits ...

Page 15: ...put configuration of the watchdog register The watchdog timer interrupt can be disabled by the Watchdog Enable or the Global Interrupt Enable 8 6 Watchdog Register Read Write BaseAdresse1 24 value for watchtdog time out read write Each bit corresponds to an output channel IO 1388 0 bits 15 0 IO 1388 1 bits 31 0 8 7 Releasing the IRQ of the Target Controller Using the software IO 1388 DLL releasing...

Page 16: ...ror signalize a correct performance The function IO1388_GesLastEr ror is used to report an error code Programs written for using the IO1388 DLL will run under Windows 9x ME Windows NT 4 0 2000 XP Therefor only the DLL and the correspon ding driver is necessary 8 9 1 Functions General functions char IO1388_InitDriver The function must be called once at the beginning of the program The function init...

Page 17: ... IO1388_ERR_DEVICERUNNING card is running IO1388_ERR_DEVICESTOPPED card is not yet running char IO1388_WriteOutputs unsigned char Card unsigned long value This function is setting the output channels of the IO 1388 Each bit corresponds to one output channel see register char IO1388_ReadOutputs unsigned char Card unsigned long value This function is reading back the state of the output channels of ...

Page 18: ... value This function is writing the timer value of the watchdog counter see register char IO1388_ReadWdValue unsigned char Card unsigned long value This function is reading the watchdog value of the watchdog counter see register char IO1388_WriteWdValue unsigned char Card unsigned long value This function is writing the watchdog timeout time of the watchdog counter see register char IO1388_StartIR...

Page 19: ... not the values expressed trough bytes but by the number of values 8 10 Usage within own applications 8 10 1 Visual Basic Within directory Include VB on the cd there is the file ERMA_SSI BAS If this file is included within a VisualBasic project all DLL functions for IO 1388 are available in the project 8 10 2 Visual C LabWindowsCVI For C C applications there are an import library ERMA_SSI LIB and ...

Page 20: ...ng All PC boards of ERMA Electronic GmbH are tested during manufacturing as well as when delivered Nevertheless it can occur that a new board doesn t work That must not be a failure of the board There are many minor details when a new board doesn t work In that case at first some points should be paid attention to One of the most frequent failures are dirty slots It is recommended to clean the con...

Page 21: ...2 Input Bit 3 Input Bit 4 Input Bit 5 Input Bit 6 Input Bit 7 Input Bit 8 Input Bit 9 Input Bit 10 Input Bit 11 Input Bit 12 Input Bit 13 Input Bit 14 Input Bit 15 Ground Ground Operating voltage Operating voltage Output Bit 0 Output Bit 1 Output Bit 2 Output Bit 3 Output Bit 4 Output Bit 5 Output Bit 6 Output Bit 7 Output Bit 8 Output Bit 9 Output Bit 10 Output Bit 11 Output Bit 12 Output Bit 13 ...

Page 22: ...t Bit 19 Input Bit 20 Input Bit 21 Input Bit 22 Input Bit 23 Input Bit 24 Input Bit 25 Input Bit 26 Input Bit 27 Input Bit 28 Input Bit 29 Input Bit 30 Input Bit 31 Ground Ground Operating voltage Operating voltage Output Bit 16 Output Bit 17 Output Bit 18 Output Bit 19 Output Bit 20 Output Bit 21 Output Bit 22 Output Bit 23 Output Bit 24 Output Bit 25 Output Bit 26 Output Bit 27 Output Bit 28 Out...

Page 23: ...imensions 107 x 190 mm 12 Accessories There are two cables for high currents applications available These cables are necessary for currents of more than 10 A DC through the SUB D connector respectively if the current through the additonal flat cable exceeds 2 A DC KIO 1388 1 This cable is used for the card IO 1388 0 xx for currents of more than 10 A DC This cable is also suited for the IO 1388 1 x...

Page 24: ...out power supply 05 With 5 V power supply 12 With 12 V power supply 24 With 24 V power supply Backup Battery 0 Without battery 1 With battery Galvanic opto Isolation 0 Without galvanic isolation 1 With galvanic isolation 13 Ordering information 23 ERMA Electronic GmbH ...

Page 25: ......

Page 26: ... Electronic GmbH Electronic GmbH ERMA Electronic GmbH Max Eyth Straße 8 78194 Immendingen Telefon 49 0 7462 2000 0 Fax 49 0 7462 2000 29 email erma electronic erma electronic com Web www erma electronic com ...

Reviews: