48-bit digital input/ output card for pci bus (40 pages)
Summary of Contents for Advantech MIC-3758DIO
Page 1
MIC-3758DIO 128-channel Isolated Digital I/O CompactPCI Card User Manual...
Page 2
No part of this man- ual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reli- able.
Page 3
Product Warranty (2 years) Advantech warrants to you, the original purchaser, that each of its prod- ucts will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or...
Page 4
This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
Page 6
Digital Filter Function Control Register ...... 24 Power-up States Function..........25 Watchdog Timer Register Operation ......25 BoardID Switch............... 25 Table 4.2:BoardID Register of MIC-3758DIO .... 26 Table 4.3:BoardID Setting (SW2) ....... 26 Appendix A Specifications ..........28 Specifications ..............28 A.1.1...
Page 7
General Information This chapter gives background infor- mation on MIC-3758DIO. It then shows how to configure the card to match your application and prepare it for installation on your system.. Sections include: • Introduction • Features • Installation Guide • Accessories...
Chapter 1 General Information 1.1 Introduction Thank you for buying the Advantech MIC-3758DIO DAS card. The Advantech MIC-3758DIO card is a powerful data acquisition (DAS) card for the CompactPCI bus. It features a unique circuit design and complete functions for data acquisition and control. The MIC-3758DIO card pro-...
ESD (Electrostatic Discharge) protections for input channels. 1.2.1 Wide Input/Output Range MIC-3758DIO has a wide range of input voltage from 5 to 25 VDC, and it is suitable for most industrial applications with 12 VDC and 24 VDC input voltage. MIC-3758DIO also features a wide output voltage range from 5 to 40 VDC, suitable for most industrial applications with 12 VDC / 24 VDC output voltage.
If there is loss of communication between the application and MIC-3758DIO, if the watch- dog timer is enabled and MIC-3758DIO does not receive a watchdog clear software command within the interval time specified for the watch-...
1.3 Installation Guide Before you install your MIC-3758DIO card, please make sure you have the following necessary components: • MIC-3758DIO isolated digital I/O card • MIC-3758DIO User Manual (this manual) • Driver software: Advantech DLL drivers (included in the companion CD-ROM) •...
1.4 Accessories Advantech offers a complete set of accessory products to support MIC- 3758DIO cards. These accessories include: 1.4.1 Wiring Cables • PCL-101100S-1 (1.5 m, 3 m, 5 m): The PCL-101100S-1 (1.5m, 3m, 5m) shielded cable is specially designed for MIC-3758DIO cards to provide high resistance to noise.
Page 13
Hardware Configuration This chapter provides a package item checklist, proper instructions about unpacking and step-by-step procedures for card installation.. Sections include: • Unpacking • Hardware Installation • Board Layout...
Chapter 2 Hardware Configuration 2.1 Unpacking After receiving your MIC-3758DIO package, please inspect its contents first. The package should contain the following items: • MIC-3758DIO card • Companion CD-ROM (DLL driver included) • User Manual The MIC-3758DIO card harbors certain electronic components that are vulnerable to electrostatic discharge (ESD).
Device Driver Manual. When installing the MIC-3758DIO card, Please make sure the DLL driver of MIC-3758DIO installation is completed. You can then go on to install the MIC-3758DIO card in your CompactPCI system. If you have any doubts, please consult the user manual or related documentation.
Step 1: Push the handle down to unlock the card, and the CompactPCI system will automatically uninstall the card configuration. Step 2: Once the system completes the configuration, the Blue LED will be lit. Now you can slide the card out. MIC-3758DIO User Manual...
2.3 Board Layout Figure 2.1: MIC-3758DIO Board Layout 2.3.1 Connector MIC-3758DIO has one HDRA-E100W1LFDT1EC-SL Equivalent female connector. For more details about jumper, switch and connector, please see Chapter 3 Pin Assignment & Jumper Setting and Chapter 4 Operation. Chapter 2...
This chapter provides useful informa- tion about how to connect input and output signals to the MIC-3758DIO via the I/O connector.. Sections include: • Pin Assignments • Location of Jumper and DIP Switch •...
The I/O connector on MIC-3758DIO is one MINI-SCSI HDRA-E100 female connector. Figure 3.1 shows a description of the connector, while Figure 3.2 shows the pin assignments for the MINI-SCSI HDRA-E100 female connector on MIC-3758DIO, and Table 3.1 describes the func- tionality of each pin on the connector. Note:...
Figure 3.2: I/O Connector Pin Assignments for MIC-3758DIO Chapter 3...
Page 22
Table 3.1: MIC-3758DIO I/O connector Signal Description Signal Name Reference Direction Description P0_IDI00~ 07 DI COM0 Input Isolated Digital Input of port 0 P1_IDI00~ 07 DI COM1 Input Isolated Digital Input of port 1 P2_IDI00~ 07 DI COM2 Input Isolated Digital Input of port 2...
3.2 Location of Jumper and DIP switch Figure 3.3 show the names and locations of the jumper and DIP switch on MIC-3758DIO. There is one DIP switch SW2 and one jumper JP1. Figure 3.3: Location of Jumper and DIP Switch on MIC-3758DIO...
P4_IDI00~07, P5_IDI00~07, P6_IDI00~07, P7_IDI00~07. 3.3.1 Interrupt Function of the DI Signals All 64 channels in MIC-3758DIO can be used to generate hardware inter- rupts. You can setup the configuration of interrupts by programming the interrupt control register. For more detailed information, please refer to Section 5.1 Interrupt Function.
3.4 Isolated Digital Output Connections MIC-3758DIO has 64 isolated digital output channels designated P0_IDO00~7, P1_IDO00~7, P2_IDO00~7, P3_IDO00~7, P4_IDO00~7, P5_IDO00~7, P6_IDO00~7, P7_IDO00~7. 3.4.1 Power-Up Configuration Default configuration will be set after the power is on. The hardware reset is to set all the isolated output channels to "off" status (The current of the load can not be sink mode).
Figure 3.5: Isolated Digital Output Connection 3.5 Field Wiring Considerations When you use MIC-3758DIO to acquire data from outside, noises in the environment might significantly affect the accuracy of your measure- ments if due cautions are not taken. The following measures will be help- ful to reduce possible interference running signal wires between signal sources and MIC-3758DIO.
Page 27
Operation This chapter describes the operation of the MIC-3758DIO. The software driver provided allows access to all of the card’s functions without register level programming. For those who prefer to implement their own bit-level program- ming, please refer to the following information in this chapter..
You can disable/enable interrupt function, select trigger type by setting the Rising Edge Interrupt Registers and Falling Edge Interrupt Registers of the MIC-3758DIO. When the interrupt request sig- nals occur, the software will service these interrupt requests by ISR. The multiple interrupt sources provide the card with more capability and flex- ibility.
4.2 Digital Filter Function The digital filter function is used to eliminate glitches on input data and reduce the number of changes to examine and process. The filter blocks pulses that are shorter than the specified timing interval and passes pulses that are twice as long as the specified interval.
There are two registers that control the digital filter function and status of each channel: the Digital Filter Function Control Register and the Filter Interval Time Preset Register. For details about their functions, please refer to Appendix C. MIC-3758DIO User Manual...
Table 4.2. When there are multiple cards on the same chassis, the BoardID setting function is useful for identifying each card’s device number. MIC-3758DIO’s BoardID setting is set to 0 at the factory. If you need to adjust it to another number, set SW2 by refer- ring to Table 4.3.
Table 4.2: BoardID Register of MIC-3758DIO BoardID register of MIC-3758DIO Base Addr.+ 3Eh Abbreviation ID0: the least significant bit (LSB) of BoardID setting ID3: the most significant bit (MSB) of BoardID setting Table 4.3: BoardID Setting (SW2) BoardID (DEC) Switch Position...
160 x 100 mm (6.3” x 3.9”) Power Typical +5V@800mA, +3.3V@600mA Consumption Max. +5V@1A, +3.3V@1A Temperature Operating 0~60° C (32~140° F) (refer to IEC 68-2- 1,2) Storage -20~70° C (-4~158° F) Relative Humidity 5~95 % RH non-condensing (refer to IEC 68-2-3) MIC-3758DIO User Manual...
MIC-3758DIO is delivered with an easy-to-use 32-bit DLL driver for user programming under the Windows 98/NT/2000/XP operating sys- tems. We advise users to program the MIC-3758DIO using the 32-bit DLL driver provided by Advantech to avoid the complexity of low-level programming by register.
Page 39
Base Register Description Address Write Read (Hex) Digital Input Port0 and Port1 Digital Input Port2 and Port3 Digital Input Port4 and Port5 Digital Input Port6 and Port7 Digital Output Port0 and Port1 Digital Output Port0 and Port1 Read Back Digital Output Port2 and Port3 Digital Output Port2 and Port3 Read Back Digital Output Port4 and Port5 Digital Output Port4 and Port5 Read Back...
If no voltage is present (a voltage of 3 V or less), MIC-3758DIO registers a logic low for that input. DC voltages between 3 and 5 V are invalid and register an unreliable value.
C.3 Digital Output Register The outputs on MIC-3758DIO are optically isolated photocouplers with Darlington arrays. You can configure the outputs as follows: Writing a 1 (logic high) to an output line switches on one channel of the Darlington array and allows current to pass through the output line.
Base+0x10 for Digital Input Port 1 and Digital Input Port 0 Base+0x14 for Digital Input Port 3 and Digital Input Port 2 Base+0x18 for Digital Input Port 5 and Digital Input Port 4 Base+0x1C for Digital Input Port 7 and Digital Input Port 6 MIC-3758DIO User Manual...
C.5 Digital Input Falling Edge Interrupt Register When the digital input Falling Edge Interrupt is enabled, a 1 to 0 transac- tion on the input channel will generate a interrupt to the PC. Each digital input channel has a independent interrupt enable control bit. Base+0x12/16/1A/1E: Digital Input Falling Edge Interrupt setting Base+0x12 - 0x1E(Read/Write) Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0...
• 0: Keep the interrupt flag status in Pn-IDIm Base+0x20 for Port 1 and Port 0 Base+0x22 for Port 3 and Port 2 Base+0x24 for Port 5 and Port 4 Base+0x26 for Port 7 and Port 6 MIC-3758DIO User Manual...
C.7 Interrupt Of Port Identify Register Base+0x40: Interrupt Port Identify Register. Base+0x40(Read) Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 P7 P6 P5 P4 P3 P2 P1 Bit0~Bit7 (Read): Identify in which port an interrupt occurs from Digital Input port 0 to Digital Input port 7.
(n: 0 to 7 for Port 0 to Port 7, m : 0 to 7 for IDI0 to IDI7 ) Base+0x28 for Port 1 and Port 0 Base+0x2A for Port 3 and Port 2 Base+0x2C for Port 5 and Port 4 Base+0x2E for Port 7 and Port 6 MIC-3758DIO User Manual...
C.9 Filter Interval Time Preset Register Base+0x30(Read/Write) Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Filter interval time preset register Low 16 bits Base+0x32(Read/Write) Bit15 Bit Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Filter interval time preset register High 16 bits The filter interval time is preset by writing a 32-bit value to the two regis- ters.
C.11 Watchdog State/Control Register Base+0x38: WDT function setting Base+0x38 (Write) Bit 15-Bit 2 Bit1 Bit0 WDT INT EN WDT En Bit 0: watchdog timer enable control bit • 0 : Disable WDT function • 1 : Enable WDT function (When the WDT is enabled the watch dog timer (WDT) in MIC- 3758DIO start counting down from the value set in Base+0x34h and Base+0x36h) Bit 1: watchdog timer interrupt enable control bit...
• 0: Reset the Watchdog Timer to pre-set value • 1: Keep the Watchdog Timer current state (Writing a 0 to this bit will reload the preset value to the watchdog timer and the WDT will count down from that value) MIC-3758DIO User Manual...
C.13 EEPROM Control/DO State Register Base+0x3C: EEPROM DO state Register Base+0x3C (Read) Bit 15 - Bit 1 Bit0 Bit 0: EEPROM DO state Base+0x3C (Write) Bit 15 - Bit 4 Bit3 Bit2 Bit1 Bit0 Through this register you can set the power up status and watchdog timer overflow states in the EEPROM.
When there are multiple cards on the same chassis, this BoardID setting function is useful for identifying each card’s device number. We set the MIC-3758DIO BoardID setting to 0 at the factory. If you need to adjust it to another number, set SW2 by referring to the table.
Need help?
Do you have a question about the MIC-3758DIO and is the answer not in the manual?
Questions and answers