Advantech MIC-3756 Manual
Hide thumbs Also See for MIC-3756:

Advertisement

Quick Links

Copyright Notice
This document is copyrighted, 2003. All rights are reserved. The
original manufacturer reserves the right to make improvements to the
products described in this manual at any time without notice.
No part of this manual may be reproduced, copied, translated or
transmitted in any form or by any means without the prior written
permission of the original manufacturer. Information provided in this
manual is intended to be accurate and reliable. However, the original
manufacturer assumes no responsibility for its use, nor for any
infringements upon the rights of third parties which may result from its
use.
Acknowledgments
MS-DOS, Windows®, Microsoft® Visual C++ and Visual BASIC are
trademarks of Microsoft® Corporation. Intel® and Pentium® are
trademarks of Intel Corporation. Delphi and C++ Builder are
trademarks of Borland Software Corporation.
CE notification
The MIC-3756, developed by ADVANTECH CO., LTD., 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.
On-line Technical Support
For technical support and service, please visit our support website at:
http://www.advantech.com/support
Part No.2003375600
Printed in Taiwan
1st Edition
October 2003
i

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MIC-3756 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Advantech MIC-3756

  • Page 1 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. On-line Technical Support For technical support and service, please visit our support website at: http://www.advantech.com/support...
  • Page 2 (This page is left blank for hard printing.)
  • Page 3: Table Of Contents

    Contents 1. Introduction · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·3 1.1 Features ·...
  • Page 4 Appendix B. Register Structure & format· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·47 B.1 Register Structure·...
  • Page 5 Tables Table 3-2 JP3 Power on configuration after hot reset· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 24 Table 4-1 Interrupt control register bit map ·...
  • Page 6 Fig. 3-1 I/O Connector pin assignments for the MIC-3756 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 20...
  • Page 7 Introduction...
  • Page 8 (This page is left blank for hard printing.)
  • Page 9: Introduction

    1. Introduction This chapter gives background information on the MIC-3756. It then shows you how to configure the card to match your application and prepare it for installation into your system. The MIC-3756 is a 64-channel Isolated Digital I/O CompactPCI™...
  • Page 10 Wide Input/Output Range The MIC-3756 has a wide range of input voltage from 10 to 50 VDC, which is suitable for most industrial applications with 12 VDC, 24 VDC and 48 VDC input voltage. The MIC-3756 also features a wide output voltage ranging from 5 to 40 VDC, suitable for most industrial applications with 12 VDC / 24 VDC output voltage.
  • Page 11 Board ID Setting The MIC-3756 has a built-in DIP switch that helps define each card’s ID when multiple cards have been installed on the same CompactPCI system. The board ID setting function is very useful when users build their system with multiple MIC-3756 cards.
  • Page 12: Specifications

    protects the system from faulty operations when the system resets unexpectedly. 1.2 Specifications • Bus Interface: CPCI bus specification 2.1 compliant • Bus Controller: PLX9030 • Dimensions: 160 mm (L) x 100 mm (W) • Operating temperature: 0 ~ 60°C (referring to IEC68-2-1, 2) •...
  • Page 13 Hardware Configuration...
  • Page 14 (This page is left blank for hard printing.)
  • Page 15: Hardware Configuration

    2.1 Initial Inspection You should find the following items inside the shipping package of MIC-3756 (in addition to this manual): • CompactPCI card MIC-3756 • Advantech Automation Software CD-ROM • MIC-3756 user’s manual Prior shipment, we have carefully inspected the CompactPCI card series.
  • Page 16 Note: Discharge your body’s static electric charge by touching the back of the grounded chassis of the system unit (metal) before handling the board. You should avoid contact with materials that hold a static charge such as plastic, vinyl and Styrofoam. Handle the board only by its edges to avoid static damage to its integrated circuits.
  • Page 17: Hardware Installation

    Windows XP, please see the Device Driver Manual. When installing the MIC-3756 Card, Please make sure the DLL driver of MIC-3756 installation is completed, you can now go on to install the MIC-3756 card in your CompactPCI system. If you have any doubt, please consult the user’s manual or related documentation.
  • Page 18 guides. Step 5: Push the card into the slot gently by sliding the card along the card guide until J1 meets the long needle on the backplane, then the Blue LED on the front panel of the card will lit. Note: If your card is correctly positioned and has slid all the way into the chassis, the handle should match the rectangular holes.
  • Page 19 system will automatically uninstall the card configuration. Step 2: Once the system completes the configuration, the Blue LED will lit. Now you can slide the card out.
  • Page 20: Board Layout

    2.3 Board Layout Fig. 2-1 MIC-3756 board layout...
  • Page 21 Connector MIC-3756 has one 78-pin DB female connector. For more details about jumper, switch and connector, please see Chapter 4 Pin Assignment & Jumper Setting and Chapter 5 Operation.
  • Page 22 (This page is left blank for hard printing.)
  • Page 23 Pin Assignment and Jumper Setting...
  • Page 24 (This page is left blank for hard printing.)
  • Page 25: Pin Assignment And Jumper Setting

    MIC-3756 via the I/O connector. 3.1 Pin Assignment The I/O connector on the MIC-3756 is a 78-pin DB female connector. Fig. 3-1 shows the pin assignments for the 78-pin DB connector on the MIC-3756, and Table 3-1 shows its connector signal description.
  • Page 26: Fig. 3-1 I/O Connector Pin Assignments For The Mic-3756

    Fig. 3-1 I/O Connector pin assignments for the MIC-3756...
  • Page 27 Table 3-1 MIC-3756 I/O Connector Signal Description Signal Name Reference Direction Description Counter Clock Counter CLK / Source input & Input DI00 ECOM1 Isolated digital input (DI00) DI00 of group0 Isolated digital input DI<01...15> ECOM1 Input of group 0 Counter Gate Counter Gate / Control Pin &...
  • Page 28: Location Of Jumpers And Dip Switch

    3.2 Location of Jumpers and DIP switch Fig. 3-2 shows the names and locations of jumpers and DIP switch on the MIC-3756. There are two jumpers JP2, JP3 and one DIP switch SW1 on the MIC-3756. Please refer to Section 4.3 Isolated Digital Output Connection, Section 5.2 Board ID and Section 5.3...
  • Page 29: Isolated Digital Input Connections

    3.3 Isolated Digital Input Connections The MIC-3756 has 32 isolated digital input channels designated DI00~DI31. Interrupt function of the DI signals There are 2 channels (DI00 and DI16) that can be used to generate hardware interrupts. Users can setup the interrupt configuration by programming the interrupt control register.
  • Page 30: Isolated Digital Output Connections

    3.4 Isolated Digital Output Connections The MIC-3756 has 32 isolated digital output channels designated DO00~DO31. Power On Configuration Once the power is on, the default configuration will be when the hardware resets all the isolated output channels to off status (the current of the load can’t be sink) so users need not worry about...
  • Page 31: Fig. 3-4 Isolated Digital Output Connection

    channel while it is being used as an output channel, the current will flow from the external voltage source to the card. Please keep in mind that the current through each IDO pin do not exceed 200 mA. Fig. 3-4 shows how to connect an external output load to the card’s isolated outputs.
  • Page 32: Field Wiring Considerations

    3.5 Field Wiring Considerations When you use the MIC-3756 to acquire data from outside, noises in the environment might significantly affect the accuracy of your measurement. The following measures will be helpful to reduce possible interference running signal wires between signal sources and the MIC-3756.
  • Page 33 Operations...
  • Page 34 (This page is left blank for hard printing.)
  • Page 35: Operations

    4.1 Interrupt Function The isolated digital input channels (DI00 and DI16 in MIC-3756) are connected to the interrupt circuitry. Users can disable/enable interrupt function, select trigger type or latch the port data by setting the Interrupt Control Register of the MIC-3756.
  • Page 36: Table 4-1 Interrupt Control Register Bit Map

    interrupt signal source. Table 4-1 shows the bit map of the Interrupt Control Register. The register is a readable/writable register. When it’ s written, it is used as a control register; and when it’s being read, it is used as a status register. Table 4-1 Interrupt control register bit map Group n interrupt control register Base Add.+8+2n...
  • Page 37: Table 4-2 Latch Port Data Disable/Enable Control Bit

    Table 4-2 Latch port data disable/enable control bit Ln/E Latch port data when the interrupt occurs Disable Enable Interrupt Enable Control Function The user can choose to enable or disable the interrupt function by writing its corresponding value to the interrupt disable/enable control bit in the interrupt control register, as shown in Table 4-3.
  • Page 38: Table 4-5 Interrupt Flag Bit Values

    Interrupt Flag Bit The interrupt flag bit is a flag indicating the status of an interrupt. It is a readable/writable bit. To find the status of the interrupt, you have to read the bit value; to clear the interrupt, you have to write “1” to this bit.
  • Page 39: Board Id

    4.2 Board ID The MIC-3756 has a built-in DIP switch (SW1), which is used to define its board ID. You can determine the board ID on the register as shown on Table 4-6. When there are multiple cards on the same chassis, this board ID setting function is useful for identifying each card’s device number through board ID.
  • Page 40: Table 4-7 Board Id Setting

    Table 4-7 Board ID setting Board ID Setting (SW1) Board ID(DEC) Switch Position * : Default...
  • Page 41: Channel-Freeze Function

    If Channel-Freeze function is enabled, it will return the value from the buffers on host PC. The MIC-3756 provides digital input channel (CH_FRZ_IN) to enable channel-freeze function. The channel-freeze function acts when the pin CH_FRZ_IN is activated. Moreover, you can setup the input mode...
  • Page 42: Table 4-8 Jp2 Channel-Freeze Function Input Mode

    A value of 1 for the CFS bit indicates an active Channel-Freeze Function; whereas a value of 0 indicates a non-active Channel-Freeze Function. Table 4-8 JP2 Channel-Freeze function input mode MIC-3756 JP2 Input Mode Dry contact input mode Normal mode (Wet contact input mode)
  • Page 43: Table 4-9 Channel-Freeze Function Register

    Table 4-9 Channel -Freeze function register Channel-Freeze function register Base Add.+12 h Abbreviation Table 4-10 Channel -Freeze function bit value Channel-Freeze function control Disable Enable Channel-Freeze function status...
  • Page 44: Counter Function

    4.4 Counter Function The MIC-3756 provides one 16-bit up Counter/Timer function. Counter/Timer function can be configured by setting the corresponding counter registers. Moreover, you can setup the Counter/Timer mode by Counter Mode Register, as shown in Table 4-11. Table 4-11 Counter Mode Register Counter Mode Register Base Add.+ Ch...
  • Page 45: Table 4-12 Counter Read Register

    Table 4-12 Counter Read Register Counter Read Register Base Add.+ 14h Bit 15~0 Abbreviation CR15~0 Table 4-13 Set Value Register Set Value Register Base Add.+ 18h Bit 15~0 Abbreviation SE15~0 Note: The default value of Set Value Register is 65535 when power on and counter reset Table 4-14 shows the counter reset register.
  • Page 46: Table 4-15 Int Register Of Counter

    Table 4-15 shows how to set the counter INT. The Counter INT state register is the read-only register. When Bit0 is “1”, the counter’s interrupt has occurred. To clear the interrupt of counter, users can write any value (including “0”) to the Clear INT register. The Clear INT register is write-only register and has the same address as the INT State register.
  • Page 47 active for only one clock cycle. The other output form, TC Toggle, uses the trailing edge of TC to toggle a flip-flop to generate an output level instead of a pulse. The toggle output is 1/2 the frequency of TC. The TC Toggled output will frequently be used to generate variable duty-cycle square waves.
  • Page 48 counting can proceed only when the Gate source is logical low level. When “Stop Counter” is selected (CM1, CM0 = 00), counting will stop, and the current value of the counter is held in the Counter Read Register (Base add. + 14h). Counter Reset This command will reset the counter, set value, set mode and INT register to a preset condition.
  • Page 49 Appendixes...
  • Page 50 (This page is left blank for hard printing.)
  • Page 51: Appendix A. Specifications

    Appendix A. Specifications Isolated Digital Input Number of Input Channel Interrupt Inputs 2 (DI00, DI16) Optical Isolation 2500 V DC Input *OFF delay *ON delay Voltage (± 20%) (± 20%) 100us 60us Photo-Couple 120us 10us response time 140us 150us 200us Over- voltage Protect 70 V DC VIH (max.)
  • Page 52 Counter Channels 1 (independent) Resolution 16-bit Programmable On board 1MHz clock source Clock Source or External DI00 input Stop counter DI16 as GATE high Gate Control DI16 as GATE low No Gating General I/O Connector 78-pin DB female Type Dimensions 160 mm(L)x 100 mm(W) +5V @ 220 mA Power...
  • Page 53: Appendix B. Register Structure & Format

    Appendix B. Register Structure and format B.1 Register Structure The MIC-3756 is delivered with an easy-to-use 32-bit DLL driver for users to program under Windows 98/NT/2000/XP. We advise users to program the MIC-3756 using the 32-bit DLL driver provided by Advantech to avoid complexity of low-level programming by register.
  • Page 54: Register Format

    B.2 Register Format MIC-3756 Register Format Base Add. 15 Digital Input Group 0 DI 15 DI 14 DI 13 DI 12 DI 11 DI 10 DI 9 DI 8 DI 7 DI 6 DI 5 DI 4 DI 3 DI 2 DI 1 DI 0...
  • Page 55 MIC-3756 Register Format (Continue) Base Add Counter Mode Register CM5 CM4 CM3 CM2 CM1 CM0 Counter Reset Register D1 D0 Board ID Register ID3 ID2 ID1 ID0 Channel-Freeze Function Control Register CFS CFC Channel-Freeze Function Status Register Counter Read Register...
  • Page 56 Note: Write “1” to the bit Fn in Interrupt Control Register clears the interrupt...
  • Page 57: Appendix C. Waveform Of Counter Mode

    Appendix C. Waveform of Counter Mode The MIC-3756 offers 1 counter function to fulfill your industrial or laboratory applications. This chapter will describe each counter mode in detail with the waveform diagram. Counter Mode without Gate Control In this mode, the gate input does not affect counter operation. Once started, the counter will count to TC repetitively.
  • Page 58 Counter Mode with Low Level Active Gate Control In this mode, the gate input affects counter operation. Once started, the counter will count to TC repetitively. The counter will count all source edges that occurred while the gate low level is active and disregard those edges that occurred while the gate is inactive.
  • Page 59 is Logic“1”, write logic“0” into the Bit1 of Count Reset Register, Users can clear the toggle output. Counter Mode with High Level Active Gate Control In this mode, the gate input affects counter operation. Once started, the counter will count to TC repetitively. The counter will count all source edges that occurred while the gate high level is active and disregard those edges that occurred while the gate is inactive.
  • Page 60 Toggled output uses the trailing edge of TC to toggle a flip-flop to generate an output level instead of a pulse. During the TC toggled output mode, it will hold high output level and ignore the following TCs until users clear the toggled output by writing the Bit1 of count reset register (Base Add.

Table of Contents