Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module should contain:
- informations concerning technical data of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module
- name of the manufacturer and a year of construction of the Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module item
- rules of operation, control and maintenance of the Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Diamond Systems service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Diamond Systems 16-Channel 12-Bit Analog Output PC/104 Module item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    RUBY - MM - 1612 16 - Channel 12 - Bit Analog Output PC/104 Module User Manual V1.1  Copyright 2001 Diamond Systems Corporation 8430 - D Central Ave. Newark, CA 94560 Tel (510) 456 - 7800 Fax (510) 45 - 7878 techinfo@diamondsystems.com www.dia mondsystems.com[...]

  • Page 2

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 2 TABLE OF CONTENTS 1. DESCRIPTION .......................................................................................................................................... 3 2. I/O HEADER PINOUT ...............................................................................[...]

  • Page 3

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 3 RUBY - MM - 1612 16 - Channel Analog Output PC/104 Module 1. DESCRIPTION Ruby -MM- 1612 is a PC/104 - format data acquisition board that provides analog outputs and digital I/O for process control and other applications. Below is a summary of key features: Analog Outputs Ru[...]

  • Page 4

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 4 2. I/O HEADER PINOUT Ruby -MM- 1612 provides a 50 - pin right - angle header labeled J3 for all user I/O. This header is located on the right side of the board. Pins 1, 2, 49, and 50 are marked to aid in proper orientation. A standard 50 - pin cable - mount IDC (insulation [...]

  • Page 5

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 5 3. BOARD CONFIGURATION Refer to the Drawing of Ruby - MM - 1612 on Page 8 for locations of headers described in Chapters 3 and 4. Base Address Each board in the system must have a diff erent base address. Use the pin header labeled J5, base address. The numbers above the ju[...]

  • Page 6

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 6 4. ANALOG OUTPUT RANGE CONFIGURATION Refer to the Drawing of Ruby - MM - 1612 on Page 8 for locations of headers described in Sections 3 and 4. Refer to Figure 4.1 on Page for an expla nation of the voltage reference circuitry. Also refer to Table 4.1 for a quick guide to o[...]

  • Page 7

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 7 Table 4.1: Analog Output Configuration (Header J4) Range 5 F A B U 0 - 5V: X X X 0 - 10V: X X +/ - 5V: X X X +/ - 10V: X X 0 - 2.5V: X X X or X X +/ - 2.5V: X X X or X X An X means that a jumper is installed in that location. Only one half of pin header J4 is shown. Positio[...]

  • Page 8

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 8 5. RUBY - MM - 1612 BOARD DRAWING J1: PC/104 8 - bit bus header J2: PC/104 16 - bit bus header (not used) J3: User I/O header J4: Analog output range configuration he ader J5: Base address selection header J6: ISP header for factory use only; do not connect[...]

  • Page 9

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 9 6. I/O MAP Ruby -MM- 1612 occupies 8 consecutive 8 - bit locations in I/O space. For example, the default base address is 300 Hex (768 Decimal); in this case the boar d occupies addresses 300 - 307 (768 - 775). The first 2 locations are used individually for each analog out[...]

  • Page 10

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 10 7. REGISTER DEFINITIONS Base + 0, Write: DAC LSB register Bit No. 7 6 5 4 3 2 1 0 Name DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 DA7 - 0 D/A data bits 7 - 0. DA0 is the LSB (least significant bit). Base + 1, Wri te: DAC MSB register Bit No. 7 6 5 4 3 2 1 0 Name X X X X DA11 DA10 DA9[...]

  • Page 11

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 11 Base + 3, Write: External trigger register Bit No. 7 6 5 4 3 2 1 0 Name X X X X X X X TRIGEN X Bit not used. These bits will be ignored. TRIGEN Ext ernal trigger enable. 1 = enable, 0 = disable. When external trigger is enabled, digital I/O line C0 will update all DACs sim[...]

  • Page 12

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 12 8. 82C55 DIGITAL I/O CH IP OPERATION This is a short form description of the 82C55 digital I/O chip on the board. A full datasheet is included at the back of this manual. 82C55 Register Map Base + n, Dir, Function D7 D6 D5 D4 D3 D 2 D1 D0 4, R/W, Port A A7 A6 A5 A4 A3 A2 A[...]

  • Page 13

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 13 9. ANALOG OUTPUT RANGES AND RESOLUTION The table below lists the available fixed full - scale output ranges and their corresponding actual full - scale voltage ranges and resolution. For any output range, the resolution is equal to the maximum possible range of output volt[...]

  • Page 14

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 14 10. D/A CODE COMPUTATION Two different methods are used to compute the 12 - bit D/A code used for analog output operat ions. For unipolar output ranges (positive voltages only), straight binary coding is used. For bipolar output ranges (both positive and negative voltages)[...]

  • Page 15

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 15 Offset Binary Coding (for bipolar output ranges) This method takes into account the fact that the lowest output voltage is not zero but a negative value. The output voltage is given by: Output Voltage = (Output Code / 2048) x Full - Scale Voltage - Full - Scale Voltage Exa[...]

  • Page 16

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 16 11. HOW TO GENERATE AN A NALOG OUTPUT This chapter describes how to generate an analog output directly (without the use of the driver software ). Ruby -MM- 1612 has 12 - bit resolution analog outputs. However, data is written to the board in 8 - bit bytes. Therefore two by[...]

  • Page 17

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 17 Examples Single channel output Assume ch annels 0 - 7 are configured for 0 - 5V. To set channel 0 to 3V, do the following: D/A code is 3V / 5V x 4096 = 2458 (value is rounded to nearest integer) LSB = 2458 AND 255 = 154 MSB = (2458 AND 3840) / 256 = 9 Step 1. Write 154 to [...]

  • Page 18

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 18 12. CALIBRATION PROCEDUR E Calibration requires a voltmeter (at least 5 digits of precision is preferred) and a miniature screwdriver to turn the potentiometer screws. The common lead of the voltmeter must be connected to analog ground (not digital gr ound). The best sourc[...]

  • Page 19

    Copyright 2001 Diamond Systems Corp. Ruby - MM - 1612 User Manual V1.1 P. 19 13. SPECIFICATIONS Analog Outputs No. of outputs 16 voltage outputs Resolution 12 bits (1 part in 40 96) Fixed output ranges 0 - 5V, 0 - 10V unipolar, ± 5V, ± 10V bipolar Adjustable output range Preset to 2.5V for 0 - 2.5V, ± 2.5V output ranges Can be adjusted anywhere [...]

  • Page 20

    1 June 1998 82C55A CMOS Pr ogrammable P eripheral Interface Features • Pin Compatible with NMOS 8255A • 24 Programmab le I/O Pins • Fully TTL Compatible • High Speed, No “W ait State” Operation with 5MHz and 8MHz 80C86 and 80C88 • Direct Bit Set/Reset Capability • Enhanced Control W ord Read Capability • L7 Process • 2.5mA Drive[...]

  • Page 21

    2 Functional Diagram Pin Description SYMBOL PIN NUMBER TYPE DESCRIPTION V CC 26 V CC : The +5V power supply pin. A 0.1 µ F capacitor between pins 26 and 7 is recommended for decoupling. GND 7 GROUND D0-D7 27-34 I/O DATA BUS: The Data Bus lines are bidirectional three-state pins connected to the system data bus. RESET 35 I RESET: A high on this inp[...]

  • Page 22

    3 Functional Description Data Bus Buffer This three-state bi-directional 8-bit buff er is used to interf ace the 82C55A to the system data bus . Data is transmitted or received b y the buff er upon ex ecution of input or output instructions by the CPU . Control words and status inf orma- tion are also transf erred through the data bus b uff er . Re[...]

  • Page 23

    4 P orts A, B, and C The 82C55A contains three 8-bit por ts (A, B, and C). All can be configured to a wide variety of functional characteristics by the system softw are but each has its own special f eatures or “personality” to fur ther enhance the power and fle xibility of the 82C55A. Po r t A One 8-bit data output latch/buffer and one 8-bit[...]

  • Page 24

    5 The modes f or P or t A and P or t B can be separately defined, while P or t C is divided into two portions as required by the P or t A and P or t B definitions. All of the output registers, including the status flip-flops, will be reset whene ver the mode is changed. Modes ma y be combined so that their functional definition can be “tailo[...]

  • Page 25

    6 Mode 0 (Basic Input) Mode 0 (Basic Output) Mode 0 Configurations CONTROL WORD #0 CONTROL WORD #2 CONTROL WORD #1 CONTROL WORD #3 tRA tHR tRR tIR tAR tRD tDF RD INPUT CS, A1, A0 D7-D0 tA W tW A tWB tWW tWD tD W WR D7-D0 CS, A1, A0 OUTPUT 1 D7 0 D6 0 D5 0 D4 0 D3 0 D2 0 D1 0 D0 8 P A7 - P A0 4 PC7 - PC4 4 PC3 - PC0 8 PB7 - PB0 D7 - D0 82C55A A B C[...]

  • Page 26

    7 CONTROL WORD #4 CONTROL WORD #8 CONTROL WORD #5 CONTROL WORD #9 CONTROL WORD #6 CONTROL WORD #10 CONTROL WORD #7 CONTROL WORD #11 Mode 0 Configurations (Continued) 1 D7 0 D6 0 D5 0 D4 1 D3 0 D2 0 D1 0 D0 8 P A7 - P A0 4 PC7 - PC4 4 PC3 - PC0 8 PB7 - PB0 D7 - D0 82C55A A B C 1 D7 0 D6 0 D5 1 D4 0 D3 0 D2 0 D1 0 D0 8 P A7 - P A0 4 PC7 - PC4 4 PC3 [...]

  • Page 27

    8 Operating Modes Mode 1 - (Strobed Input/Output). This functional configura- tion provides a means f or transf erring I/O data to or from a specified por t in conjunction with strobes or “hand shaking” signals. In mode 1, port A and por t B use the lines on por t C to generate or accept these “hand shaking” signals. Mode 1 Basic Function[...]

  • Page 28

    9 INTR (Interrupt Request) A “high” on this output can be used to interrupt the CPU when and input de vice is requesting ser vice. INTR is set b y the condition: STB is a “one”, IBF is a “one” and INTE is a “one”. It is reset by the f alling edge of RD . This procedure allows an input de vice to request service from the CPU by simpl[...]

  • Page 29

    10 Operating Modes Mode 2 (Strobed Bi-Directional Bus I/O) The functional configuration provides a means f or communi- cating with a peripheral device or structure on a single 8-bit bus f or both transmitting and receiving data (bi-directional bus I/O). “Hand shaking” signals are pro vided to maintain proper bus flo w discipline similar to Mo[...]

  • Page 30

    11 FIGURE 11. MODE CONTROL WORD FIGURE 12. MODE 2 NO TE: Any sequence where WR occurs before A CK and STB occurs before RD is permissible. (INTR = IBF • MASK • STB • RD ÷ OBF • MASK • ACK • WR) FIGURE 13. MODE 2 (BI-DIRECTIONAL) 1 D7 D6 D5 D4 D3 D2 D1 D0 CONTROL W ORD 1/0 1/0 1 1/0 PC2-PC0 1 = INPUT 0 = OUTPUT PORT B 1 = INPUT 0 = OUTP[...]

  • Page 31

    12 MODE 2 AND MODE 0 (INPUT) MODE 2 AND MODE 0 (OUTPUT) MODE 2 AND MODE 1 (OUTPUT) MODE 2 AND MODE 1 (INPUT) FIGURE 14. MODE 2 COMBINA TIONS 1 D7 1 D6 D5 D4 D3 D2 D1 D0 CONTROL W ORD PC7 8 STBA P A7-P A0 OBF A IBF A PC5 PC2-PC0 3 RD PC2-PC0 1 = INPUT 0 = OUTPUT A CKA PC6 INTRA PC3 I/O PC4 PB7-PB0 01 1/0 8 WR 1 D7 1 D6 D5 D4 D3 D2 D1 D0 CONTROL W OR[...]

  • Page 32

    13 Special Mode Combination Considerations There are se veral combinations of modes possib le. F or any combination, some or all of P or t C lines are used f or control or status. The remaining bits are either inputs or outputs as defined by a “Set Mode” command. During a read of P or t C, the state of all the P or t C lines, e xcept the ACK a[...]

  • Page 33

    14 Reading P ort C Status (Figures 15 and 16) In Mode 0, P or t C transf ers data to or from the peripheral de vice. When the 82C55A is programmed to function in Modes 1 or 2, P or t C generates or accepts “hand shaking” signals with the peripheral device . Reading the contents of P or t C allows the prog rammer to test or verify the “status?[...]