BLUE CHIP ADC-42 User Manual

Digital and analogue input/output module

Advertisement

Quick Links

ADC-42
Digital and Analogue
Input/Output Module
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADC-42 and is the answer not in the manual?

Questions and answers

Summary of Contents for BLUE CHIP ADC-42

  • Page 1 ADC-42 Digital and Analogue Input/Output Module User Manual...
  • Page 3 All rights reserved. No part of this publication may be reproduced, stored in any retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopied, recorded or otherwise, without the prior permission, in writing, from the publisher. For permission in the UK contact Blue Chip Technology.
  • Page 4 Amendment History Issue Issue Author Amendment Details Level Date 10.1.92 First issue. Window front cover and logo. See ECN 98/087...
  • Page 5: Table Of Contents

    4.3 Programmable Digital I/O............16 4.4 Interrupts................21 APPENDIX A ................... 24 APPENDIX B ................... 26 PC/XT/AT Port Map ..............26 APPENDIX C ................... 28 PC/XT Interrupt Map ..............28 APPENDIX D ................... 29 AT Interrupt Map ................29 Blue Chip Technology Ltd. 01271014.doc...
  • Page 7: Introduction

    The ADC card is a versatile 12 bit input and output subsystem, having both analogue and digital capability. The card can provide: 24 Digital inputs or outputs. 2 Channels of analogue output. 16 Channels of single-ended analogue input. 8 Channels of differential analogue input. Interrupt generator. Blue Chip Technology Ltd. 01271014.doc...
  • Page 9: Specification

    Max Source Current (0 & 3) -200uA @ 2.4V Max Source Current (1, 2 & 4, 5) -1mA @ 2.4V iv. Power Requirement Power Requirement 5V DC @ 300mA +/-12V @ 50mA Power Dissipation 2.25W Blue Chip Technology Ltd. 01271014.doc Page 1...
  • Page 10: Physical Specification

    This product meets the requirements of the European EMC Directive (89/336/EEC) and is eligible to bear the CE mark. It has been assessed operating in a Blue Chip Technology Icon industrial PC. However, because the board can be installed in a variety of computers, certain conditions have to be applied to ensure that the compatibility is maintained.
  • Page 11: Emc Specification

    This is a Class A product. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures. EMC Specification A Blue Chip Technology Icon industrial PC fitted with this card meets the following specification: Emissions: EN 55022:1995...
  • Page 12: User Adjustments

    IBM. This address is 300 Hex or 768 decimal. All Blue Chip Technology cards are preset to this address at the factory. However, no two devices should be used while set to the same address since contention will occur and neither board will work.
  • Page 13: Port Map

    Digital PIO Port B Base + 10 Digital PIO Port C Base + 11 Digital PIO Control Register (Write) Base + 12 Analogue Multiplexer Channel Address (Write) Base + 13 Programmable Interrupt Source Control Register (Write) Blue Chip Technology Ltd. 01271014.doc Page 5...
  • Page 14: Input Connections

    50 way IDC ribbon cable may be used to connect the I/O channels to a 50 way screw terminal block available from Blue Chip Technology as part number ST-24. The pins are numbered as shown in the following diagram.
  • Page 15: Pin Connections

    Base + 2 = ADC Result Low Byte and Automatic ADC Start Conversion (Read) Base + 12 = ADC Multiplexer Channel Select (Write) A typical sequence of events to acquire data would be: Blue Chip Technology Ltd. 01271014.doc Page 7...
  • Page 16: Analogue Input Options

    Combine the 8 and 4 bits to get the 12 bit result. 4.1.1 Analogue Input Options The analogue input options on the ADC are as follows: Input Mode - Single Ended/Differential. Differential Mode Termination. iii. Input Range - 0-5, 0-10V. Page 8 Blue Chip Technology Ltd. 01271014.doc...
  • Page 17 Signal ended or differential mode is selected by two links marked LKJ and LKH on the ADC card. The following link positions should be used to select the required mode. For Differential Mode Blue Chip Technology Ltd. 01271014.doc Page 9...
  • Page 18 ADC board. Whether the differential signals are terminated or not is selected by two links marked LKE and LKD on the ADC card. Page 10 Blue Chip Technology Ltd. 01271014.doc...
  • Page 19 Input Range Selection - Uni-polar The ADC can be set to give maximum resolution over 0-5V or 0-10V. The input range is selected by link LKC. Uni-polar/bi-polar selection is selected by LKF on the ADC card. Blue Chip Technology Ltd. 01271014.doc Page 11...
  • Page 20 Page 12 Input Connections The following link positions should be used to select the required mode. Uni-polar Selection For 0-5V Input +10V Selection Page 12 Blue Chip Technology Ltd. 01271014.doc...
  • Page 21 Input Connections Page For 0-10V Input +10V Selection Input Range Selection - Bi-polar Bi-polar Selection For +/-2.5V Input +/- 2.5V Selection Blue Chip Technology Ltd. 01271014.doc Page 13...
  • Page 22: 4.1.2 Example Program

    30 OUT BASE+12,CHAN 40 A=INP (BASE+2) ‘Start conversion 50 A=INP (BASE+1) ‘Read high byte 60 B=INP (BASE+2) ‘Read low byte 70 RESULT=(A*256)+B ‘Combine results 80 PRINT RESULT ‘Display value to screen 90 GOTO 40 Page 14 Blue Chip Technology Ltd. 01271014.doc...
  • Page 23: Analogue Outputs

    To select the appropriate output channel voltage, load the low byte register with the desired value followed by the high byte, low order nibble value. The updated strobe must be activated by a write instruction to that port address of any data value. Blue Chip Technology Ltd. 01271014.doc Page 15...
  • Page 24: Programmable Digital I/O

    TTL connections only. The digital I/O appears to the PC as four ports. The first three can be set as input or output by writing suitable code to the Control Port. Page 16 Blue Chip Technology Ltd. 01271014.doc...
  • Page 25 An example program using this sequence is given in the next section. Address Base + 8 DATA (8255 PORT A) Base + 9 DATA (8255 PORT B) Base + 10 DATA (8255 PORT C) Blue Chip Technology Ltd. 01271014.doc Page 17...
  • Page 26 A total of 24 I/O channel signals may be connected to the 8255 I/O device on the ADC board providing 3 eight bit ports. Each signal is connected to one bit within one of these port i.e. Ports Decimal Page 18 Blue Chip Technology Ltd. 01271014.doc...
  • Page 27 The following Control Code Table assumes mode 0 is required. Mode 1 enables the transfer of data to or from a specified 8 bit port (A or B) in conjunction with strobes or handshaking signals. Blue Chip Technology Ltd. 01271014.doc Page 19...
  • Page 28 A and C whilst outputting 255 to channel B. INPUT “BASE ADDRESS”; BASE OUT BASE+11,&H99 A = INP (BASE+8) OUT BASE+9, 255 C = INP (BASE+10) PRINT A, C GOTO 30 Page 20 Blue Chip Technology Ltd. 01271014.doc...
  • Page 29: Interrupts

    IBM-PC, XT and AT are given in the appendices. To select the required interrupt simply install the link as required. For example: to select interrupt 3 as required by the example program, LKB should be set up as shown. Blue Chip Technology Ltd. 01271014.doc Page 21...
  • Page 30 N.B. The duty cycle will vary accordingly to the frequency selected between 33% and 50%. Consult the manufacturer’s data sheet for full details. For example to select 2KHz: Example For example to select 0.016: Example Page 22 Blue Chip Technology Ltd. 01271014.doc...
  • Page 31 STOP Whilst every effort has been taken to ensure that the information provided is accurate, Blue Chip Technology cannot assume responsibility for any errors in this manual or their consequences. Should any errors be detected, the company would greatly appreciate being informed of them. A policy of continuos product development is operated, resulting in the design of the board and the contents of this document being subject to change without notice.
  • Page 32 Appendix A APPENDIX A Note: View board with back panel on RHS. Address Settings for Port 300H 80 100 Address Settings for Port 200H 80 100 Address Settings for Port 210H 80 100 Page 24 Blue Chip Technology Ltd. 01271014.doc...
  • Page 33 Appendix A Page Address Settings for Port 220H 80 100 Address Settings for Port 230H 80 100 Blue Chip Technology Ltd. 01271014.doc Page 25...
  • Page 34: Pc/Xt/At Port Map

    Clear NPX (80287) Busy Reset NPX, 80287 0F8-0FF Numeric Processor Extension, 80287 1F0-1F8 Hard Disk Drive Controller 200-207 Reserved 278-27F Reserved for Parallel Printer Port 2 2F8-2FF Reserved for Serial Port 2 300-31F Reserved 360-36F Reserved Page 26 Blue Chip Technology Ltd. 01271014.doc...
  • Page 35 Address 378-37F Parallel Printer Port 1 380-38F Reserved for SDLC Communications, Bisynchronous 2 3A0-3AF Reserved for Bisynchronous 1 3B0-3BF Reserved 3C0-3CF Reserved 3D0-3DF Display Controller 3F0-3F7 Diskette Drive Controller 3F8-3FF Serial Port 1 Blue Chip Technology Ltd. 01271014.doc Page 27...
  • Page 36: Pc/Xt Interrupt Map

    Page 28 APPENDIX C APPENDIX C PC/XT Interrupt Map Number Usage Parity Timer Keyboard Reserved Asynchronous Communications (Secondary) SDLC Communications Asynchronous Communications (Primary) SDLC Communications Fixed Disk Diskette Parallel Printer Page 28 Blue Chip Technology Ltd. 01271014.doc...
  • Page 37: At Interrupt Map

    Co-processor IRQ 14 Fixed Disk Controller IRQ 15 Reserved IRQ 3 Serial Port 2 IRQ 4 Serial Port 1 IRQ 5 Parallel Port 2 IRQ 6 Diskette Controller IRQ 7 Parallel Port 1 Blue Chip Technology Ltd. 01271014.doc Page 29...

Table of Contents