Diamond Systems RUBY-MM-1612 user manual HOW to Generate AN Analog Output, Hardware Update Command

Page 16

11.HOW TO GENERATE AN ANALOG 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 bytes must be written to the board to generate a single analog output. In addition, many applications require several channels to be updated simultaneously. In order to provide this ability, the update operation is separate from the data write operation.

Thus there are three steps required to generate an analog output. Each step is described in detail. The steps must be completed in the sequence shown below.

To generate an analog output on one or more channels:

1.Write the LSB (least significant byte) to the board at register Base + 0.

2.Write the channel number to the board at register Base + 2..

3.Write the MSB (most significant byte) to the board.

4.Repeat steps 1-3 for each channel to be changed

5.Update all changed channels by reading Base + 0 or Base + 1.

Hardware Update Command

A hardware update command can occur with a falling edge on the external trigger, pin 48 of J3.

To use hardware updating, or triggering, you must program the TRIGEN bit at Base + 3. See Chapter 3 for details.

Note: When a channel is updated, its output will change only if new data has been written to it since the last update. For example, if you do a simultaneous update on all channels but you only wrote data to channel 0, then only channel 0 will change, and channels 1 - 15 will stay the same.

Note: If hardware updating is enabled, software updating will still work.

Copyright 2001 Diamond Systems Corp.

Ruby-MM-1612 User Manual V1.1 P. 16

Image 16
Contents RUBY-MM-1612 Table of Contents Description Signal Name Definition O Header PinoutBase Address Configuration Header J5 Position Hex Decimal Board ConfigurationBase Address Analog Output Range Configuration Adjustable Reference VoltageOn-Board Reference Full-Scale Voltage Selection Full-Scale VoltageAnalog Output Configuration Header J4 Range RUBY-MM-1612 Board Drawing Ruby-MM-1612 I/O Map Reset informationBase + Write Function Read Function Base + 0 or 1, Read Update DACs Register DefinitionsBase + 0, Write DAC LSB register Base + 1, Write DAC MSB registerBase + 3, Write External trigger register Configuration Register 82C55 Digital I/O Chip Operation82C55 Register Map DefinitionsFull Scale 1LSB Analog Output Ranges and ResolutionFull Scale 10. D/A Code Computation LSB = 1/2048 x Full-Scale Voltage Offset Binary Coding for bipolar output rangesOutput Code Explanation Output Voltage for ±5V Range Hardware Update Command HOW to Generate AN Analog OutputTo generate an analog output on one or more channels Examples Single channel output Two channel outputCalibration Procedure Specifications MiscellaneousFeatures Ordering InformationDescription PinoutsFunctional Diagram 82C55A Pin Description82C55A Functional Description Data Bus BufferRead/Write and Control Logic Group a and Group B ControlsMode Selection 82C55AOperational Description Ports A, B, and CSingle Bit Set/Reset Feature Figure Operating ModesInterrupt Control Functions Inte Flip-Flop DefinitionMode 0 Basic Output Mode 0 Basic InputMode 0 Configurations Control Word #4 Control Word #8 STB Strobe Input Input Control Signal DefinitionIBF Input Buffer Full F/F Output Control Signal Definition Intr Interrupt RequestMode 2 Strobed Bi-Directional Bus I/O Bi-Directional Bus I/O Control Signal DefinitionOutput Operations Input OperationsMode Control Word Mode 2 Combinations Special Mode Combination Considerations Current Drive CapabilityApplications of the 82C55A Reading Port C Status Figures 15

RUBY-MM-1612, 16-Channel 12-Bit Analog Output PC/104 Module specifications

The Diamond Systems RUBY-MM-1612 is a versatile 16-channel 12-bit analog output PC/104 module designed to meet the demanding needs of various applications requiring precise analog signal generation. This module excels in environments ranging from industrial automation to scientific research, providing users with reliable performance and high-quality output.

Key features of the RUBY-MM-1612 include its capability to deliver 16 independent analog output channels. Each of these channels supports a resolution of 12 bits, enabling the generation of finely detailed signals for a wide range of applications. The analog outputs are voltage scalable, allowing users to select various output ranges, which enhances the module's flexibility in different system configurations.

Another notable characteristic is the onboard architecture, which employs a specialized digital-to-analog converter (DAC) with excellent linearity and minimal noise, ensuring that the output signals are both accurate and stable. The DAC's specifications allow for output signals with a maximum voltage range of ±10V, providing ample headroom for many applications.

In terms of connectivity, the module utilizes the PC/104 standard, known for its ruggedness and compact form factor. This design allows for easy integration into systems, making it ideal for space-constrained environments. The RUBY-MM-1612 features a robust interface that supports various protocols, ensuring compatibility with a wide array of PC/104 systems.

The module also includes a comprehensive set of support software tools, making it user-friendly for developers. The drivers and libraries provided for various programming environments simplify the process of integrating the module into existing systems, reducing development time and effort.

Additionally, the RUBY-MM-1612 is built for durability, with operational specifications that accommodate a wide temperature range. This reliability makes it suitable for outdoor installations and harsh conditions, where other systems may fail.

In summary, the Diamond Systems RUBY-MM-1612 is an advanced 16-channel 12-bit analog output PC/104 module that combines high performance with flexibility and ease of integration. Its robust features, modern technologies, and durability make it an excellent choice for engineers and developers looking for reliable solutions in analog signal generation. Whether in industrial control systems, data acquisition, or laboratory settings, the RUBY-MM-1612 stands out as a top-tier option for fulfilling complex analog output requirements.